]> sourceware.org Git - glibc.git/blame - ChangeLog
Avoid overwriting earlier flags in CPPFLAGS-nonlib in benchtests
[glibc.git] / ChangeLog
CommitLineData
50b818bf
SP
12013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4 of assigning.
5
60d2f8f3
JM
62013-06-08 Joseph Myers <joseph@codesourcery.com>
7
4902d2c3
JM
8 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9 otherwise empty TRANS lines.
10 * sysdeps/gnu/errlist.c: Regenerated.
11
60d2f8f3
JM
12 * catgets/gencat.c (error_print): Use (void) in function
13 definition.
14 * crypt/crypt_util.c (__init_des): Likewise.
15 * crypt/speeds.c (Stop): Likewise.
16 (main): Likewise.
17 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18 * inet/ruserpass.c (token): Likewise.
19 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20 * intl/localealias.c (extend_alias_table): Likewise.
21 * intl/plural-exp.c (init_germanic_plural): Likewise.
22 * libio/fcloseall.c (__fcloseall): Likewise.
23 * libio/genops.c (_IO_flush_all): Likewise.
24 (_IO_flush_all_linebuffered): Likewise.
25 (_IO_cleanup): Likewise.
26 (_IO_iter_begin): Likewise.
27 (_IO_iter_end): Likewise.
28 (_IO_list_lock): Likewise.
29 (_IO_list_unlock): Likewise.
30 (_IO_list_resetlock): Likewise.
31 * libio/getchar.c (getchar): Likewise.
32 * libio/getchar_u.c (getchar_unlocked): Likewise.
33 * libio/getwchar.c (getwchar): Likewise.
34 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
36 * login/getpt.c (__getpt): Likewise.
37 * login/tst-utmp.c (main): Likewise.
38 * malloc/hooks.c (__malloc_check_init): Likewise.
39 * malloc/malloc.c (__malloc_stats): Likewise.
40 * malloc/mtrace.c (tr_break): Likewise.
41 (mtrace): Likewise.
42 (muntrace): Likewise.
43 * misc/fstab.c (endfsent): Likewise.
44 * misc/getclktck.c (__getclktck): Likewise.
45 * misc/getdtsz.c (__getdtablesize): Likewise.
46 * misc/gethostid.c (gethostid): Likewise.
47 * misc/getpagesize.c (__getpagesize): Likewise.
48 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49 (__get_nprocs): Likewise.
50 (__get_phys_pages): Likewise.
51 (__get_avphys_pages): Likewise.
52 * misc/getttyent.c (getttyent): Likewise.
53 (setttyent): Likewise.
54 (endttyent): Likewise.
55 * misc/getusershell.c (getusershell): Likewise.
56 (endusershell): Likewise.
57 (setusershell): Likewise.
58 (initshells): Likewise.
59 * misc/hsearch.c (__hdestroy): Likewise.
60 * misc/sync.c (sync): Likewise.
61 * misc/syslog.c (closelog_internal): Likewise.
62 (closelog): Likewise.
63 * misc/ttyslot.c (ttyslot): Likewise.
64 * misc/vhangup.c (vhangup): Likewise.
65 * posix/fork.c (__fork): Likewise.
66 * posix/getegid.c (__getegid): Likewise.
67 * posix/geteuid.c (__geteuid): Likewise.
68 * posix/getgid.c (__getgid): Likewise.
69 * posix/getpid.c (__getpid): Likewise.
70 * posix/getppid.c (__getppid): Likewise.
71 * posix/getuid.c (__getuid): Likewise.
72 * posix/pause.c (pause): Likewise.
73 * posix/setpgrp.c (setpgrp): Likewise.
74 * posix/setsid.c (__setsid): Likewise.
75 * posix/test-vfork.c (noop): Likewise.
76 * resolv/gethnamaddr.c (_endhtent): Likewise.
77 (_gethtent): Likewise.
78 (ht_endhostent): Likewise.
79 (gethostent): Likewise.
80 (dns_service): Likewise.
81 * stdlib/drand48.c (drand48): Likewise.
82 * stdlib/lrand48.c (lrand48): Likewise.
83 * stdlib/mrand48.c (mrand48): Likewise.
84 * stdlib/rand.c (rand): Likewise.
85 * stdlib/random.c (__random): Likewise.
86 * stdlib/setenv.c (clearenv): Likewise.
87 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
88 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
89 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
90 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
91 (__get_nprocs): Likewise.
92 (__get_phys_pages): Likewise.
93 (__get_avphys_pages): Likewise.
94 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
95 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
96 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
97 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
98 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
99 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
100 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
101 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
102 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
103 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
104 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
105 * sysdeps/mach/hurd/sync.c (sync): Likewise.
106 * sysdeps/posix/clock.c (clock): Likewise.
107 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
108 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
109 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
110 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
111 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
113 (__get_nprocs_conf): Likewise.
114 (__get_phys_pages): Likewise.
115 (__get_avphys_pages): Likewise.
116 * time/clock.c (clock): Likewise.
117 * time/tzset.c (__tzname_max): Likewise.
118
2e09a79a
JM
1192013-06-07 Joseph Myers <joseph@codesourcery.com>
120
121 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
122 (__bswap_32): Do not use "register".
123 * crypt/crypt.c (_ufc_doit_r): Likewise.
124 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
125 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
126 * gmon/gmon.c (__monstartup): Likewise.
127 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
128 * hurd/hurdmalloc.c (more_memory): Likewise.
129 (malloc): Likewise.
130 (free): Likewise.
131 (realloc): Likewise.
132 (malloc_fork_prepare): Likewise.
133 (malloc_fork_parent): Likewise.
134 (malloc_fork_child): Likewise.
135 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
136 (_svcauth_des): Likewise.
137 * inet/inet_lnaof.c (inet_lnaof): Likewise.
138 * inet/inet_net.c (inet_network): Likewise.
139 * inet/inet_netof.c (inet_netof): Likewise.
140 * inet/rcmd.c (__validuser2_sa): Likewise.
141 * io/fts.c (fts_open): Likewise.
142 (fts_load): Likewise.
143 (fts_close): Likewise.
144 (fts_read): Likewise.
145 (fts_children): Likewise.
146 (fts_build): Likewise.
147 (fts_stat): Likewise.
148 (fts_sort): Likewise.
149 (fts_alloc): Likewise.
150 (fts_lfree): Likewise.
151 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
152 (_IO_file_xsgetn): Likewise.
153 (_IO_file_xsgetn_mmap): Likewise.
154 * libio/iofopncook.c (_IO_cookie_read): Likewise.
155 (_IO_cookie_write): Likewise.
156 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
157 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
158 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
159 * malloc/obstack.c (_obstack_begin): Likewise.
160 (_obstack_begin_1): Likewise.
161 (_obstack_newchunk): Likewise.
162 (_obstack_allocated_p): Likewise.
163 (obstack_free): Likewise.
164 (_obstack_memory_used): Likewise.
165 * misc/getttyent.c (getttynam): Likewise.
166 (getttyent): Likewise.
167 (skip): Likewise.
168 (value): Likewise.
169 * misc/getusershell.c (initshells): Likewise.
170 * misc/syslog.c (__vsyslog_chk): Likewise.
171 * misc/ttyslot.c (ttyslot): Likewise.
172 * nis/nis_hash.c (__nis_hash): Likewise.
173 * posix/fnmatch_loop.c (FCT): Likewise.
174 * posix/getconf.c (print_all): Likewise.
175 (main): Likewise.
176 * posix/getopt.c (exchange): Likewise.
177 * posix/glob.c (globfree): Likewise.
178 (prefix_array): Likewise.
179 (__glob_pattern_type): Likewise.
180 * resolv/arpa/nameser.h (NS_GET16): Likewise.
181 (NS_GET32): Likewise.
182 (NS_PUT16): Likewise.
183 (NS_PUT32): Likewise.
184 * resolv/gethnamaddr.c (getanswer): Likewise.
185 (gethostbyname2): Likewise.
186 (gethostbyaddr): Likewise.
187 (_gethtent): Likewise.
188 (_gethtbyname2): Likewise.
189 (_gethtbyaddr): Likewise.
190 * resolv/ns_print.c (dst_s_get_int16): Likewise.
191 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
192 * resolv/res_init.c (__res_vinit): Likewise.
193 (net_mask): Likewise.
194 * resolv/res_mkquery.c (outchar): Likewise.
195 (PRINT): Likewise.
196 * stdio-common/printf_fp.c (outchar): Likewise.
197 (PRINT): Likewise.
198 * stdio-common/printf_fphex.c (outchar): Likewise.
199 (PRINT): Likewise.
200 * stdio-common/printf_size.c (outchar): Likewise.
201 (PRINT): Likewise.
202 * stdio-common/test_rdwr.c (main): Likewise.
203 * stdio-common/tfformat.c (matches): Likewise.
204 * stdio-common/vfprintf.c (outchar): Likewise.
205 (printf_unknown): Likewise.
206 (buffered_vfprintf): Likewise.
207 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
208 * stdio-common/xbug.c (AppendToBuffer): Likewise.
209 (ReadFile): Likewise.
210 * stdlib/qsort.c (SWAP): Likewise.
211 (_quicksort): Likewise.
212 * stdlib/setenv.c (__add_to_environ): Likewise.
213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
214 * stdlib/strtol_l.c (__strtol_l): Likewise.
215 * stdlib/tst-strtod.c (main): Likewise.
216 * stdlib/tst-strtol.c (main): Likewise.
217 * stdlib/tst-strtoll.c (main): Likewise.
218 * string/bits/string2.h (__strcmp_cc): Likewise.
219 (__strcmp_cg): Likewise.
220 (__strcspn_c1): Likewise.
221 (__strcspn_c2): Likewise.
222 (__strcspn_c3): Likewise.
223 (__strspn_c1): Likewise.
224 (__strspn_c2): Likewise.
225 (__strspn_c3): Likewise.
226 (__strsep_1c): Likewise.
227 (__strsep_2c): Likewise.
228 (__strsep_3c): Likewise.
229 * string/memccpy.c (__memccpy): Likewise.
230 * string/stpcpy.c (__stpcpy): Likewise.
231 * string/strcmp.c (strcmp): Likewise.
232 * string/strrchr.c (strrchr): Likewise.
233 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
234 Likewise.
235 * sysdeps/mach/hurd/getcwd.c
236 (_hurd_canonicalize_directory_name_internal): Likewise.
237 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
238 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
239 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
240 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
241 Likewise, in both definitions.
242 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
243 definitions.
244 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
245 64] (__bswap_64): Likewise.
246 * time/test_time.c (main): Likewise.
247 * time/tzfile.c (__tzfile_read): Likewise.
248 (__tzfile_compute): Likewise.
249 * time/tzset.c (__tzset_parse_tz): Likewise.
250 (tzset_internal): Likewise.
251 (compute_change): Likewise.
252 * wcsmbs/wcscat.c (__wcscat): Likewise.
253 * wcsmbs/wcschr.c (wcschr): Likewise.
254 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
255 * wcsmbs/wcscspn.c (wcscspn): Likewise.
256 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
257 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
258 * wcsmbs/wcsspn.c (wcsspn): Likewise.
259 * wcsmbs/wcsstr.c (wcsstr): Likewise.
260 * wcsmbs/wmemchr.c (wmemchr): Likewise.
261 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
262 * wcsmbs/wmemset.c (wmemset): Likewise.
263
9e54314b
JM
2642013-06-06 Joseph Myers <joseph@codesourcery.com>
265
266 * scripts/config.guess: Update to version 2013-05-16.
267 * scripts/config.sub: Update to version 2013-04-24.
268 * scripts/install-sh: Update to version 2011-11-20.07.
269 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
270 * scripts/move-if-change: Update to version 2012-01-06 07:23.
271
350635a5
OB
2722013-06-06 Ondřej Bílka <neleai@seznam.cz>
273
274 * debug/fgetws_u_chk.c: Fix leading whitespaces.
275 * elf/sln.c: Likewise.
276 * hurd/hurd/ioctl.h: Likewise.
277 * hurd/hurdmalloc.c: Likewise.
278 * hurd/xattr.c: Likewise.
279 * include/shlib-compat.h: Likewise.
280 * inet/ruserpass.c: Likewise.
281 * libio/iofgets_u.c: Likewise.
282 * libio/iofgetws_u.c: Likewise.
283 * locale/programs/ld-identification.c: Likewise.
284 * locale/programs/ld-time.c: Likewise.
285 * mach/msg-destroy.c: Likewise.
286 * nss/nss_files/files-netgrp.c: Likewise.
287 * resolv/res_data.c: Likewise.
288 * soft-fp/op-1.h: Likewise.
289 * soft-fp/op-2.h: Likewise.
290 * soft-fp/op-4.h: Likewise.
291 * soft-fp/op-common.h: Likewise.
292 * stdio-common/printf_fphex.c: Likewise.
293 * stdlib/strtod_l.c: Likewise.
294 * sunrpc/rpc/clnt.h: Likewise.
295 * sysdeps/generic/framestate.c: Likewise.
296 * sysdeps/i386/bsd-_setjmp.S: Likewise.
297 * sysdeps/i386/bsd-setjmp.S: Likewise.
298 * sysdeps/i386/__longjmp.S: Likewise.
299 * sysdeps/i386/setjmp.S: Likewise.
300 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
301 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
303 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
305 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
309 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
310 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
311 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
312 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
313 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
314 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
316 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
318 * sysdeps/ieee754/support.c: Likewise.
319 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
320 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
321 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
322 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
323 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
324 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
325 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
326 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
327 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
328 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
329 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
330 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
331 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
332 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
333 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
334 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
335 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
337
44a988af
OB
3382013-06-05 Ondřej Bílka <neleai@seznam.cz>
339
25506f09 340 * posix/transbug.c: Remove executable mode.
44a988af 341
9c84384c
JM
3422013-06-05 Joseph Myers <joseph@codesourcery.com>
343
344 * crypt/speeds.c: Remove trailing whitespace.
345 * dlfcn/default.c: Likewise.
346 * elf/ifuncdep2.c: Likewise.
347 * elf/ifuncmain1.c: Likewise.
348 * elf/ifuncmain1vis.c: Likewise.
349 * elf/testobj.h: Likewise.
350 * elf/tst-stackguard1.c: Likewise.
351 * gmon/sys/gmon.h: Likewise.
352 * hurd/hurdmsg.c: Likewise.
353 * hurd/new-fd.c: Likewise.
354 * hurd/ports-get.c: Likewise.
355 * iconvdata/ibm1008_420.c: Likewise.
356 * inet/tst-getni1.c: Likewise.
357 * inet/tst-getni2.c: Likewise.
358 * libio/ioungetc.c: Likewise.
359 * libio/wfiledoalloc.c: Likewise.
360 * manual/libm-err-tab.pl: Likewise.
361 * math/w_dremf.c: Likewise.
362 * misc/ftruncate.c: Likewise.
363 * posix/bug-glob2.c: Likewise.
364 * posix/tst-pcre.c: Likewise.
365 * posix/wait4.c: Likewise.
366 * resolv/README: Likewise.
367 * resolv/res_debug.h: Likewise.
368 * resolv/tst-inet_ntop.c: Likewise.
369 * setjmp/bug269-setjmp.c: Likewise.
370 * soft-fp/extended.h: Likewise.
371 * soft-fp/op-1.h: Likewise.
372 * soft-fp/op-2.h: Likewise.
373 * soft-fp/op-4.h: Likewise.
374 * soft-fp/op-8.h: Likewise.
375 * soft-fp/testit.c: Likewise.
376 * stdio-common/bug16.c: Likewise.
377 * stdlib/random.c: Likewise.
378 * sunrpc/rpcsvc/rquota.x: Likewise.
379 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
380 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
381 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
382 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
383 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
384 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
385 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
386 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
387 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
388 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
389 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
390 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
391 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
392 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
393 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
394 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
395 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
396 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
397 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
399 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
400 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
401 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
406 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
407 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
408 * sysdeps/ieee754/s_lib_version.c: Likewise.
409 * sysdeps/mach/hurd/check_fds.c: Likewise.
410 * sysdeps/mach/hurd/getsockname.c: Likewise.
411 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
412 * sysdeps/mach/hurd/recvfrom.c: Likewise.
413 * sysdeps/powerpc/bits/link.h: Likewise.
414 * sysdeps/powerpc/dl-procinfo.c: Likewise.
415 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
416 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
417 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
418 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
420 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
421 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
422 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
423 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
424 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
425 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
426 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
427 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
428 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
429 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
430 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
431 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
433 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
435 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
437 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
438 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
439 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
442 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
443 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
444 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
445 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
446 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
447 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
448 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
449 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
450 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
451 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
452 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
453 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
454 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
455 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
456 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
457 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
458 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
459 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
460 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
461 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
462 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
463 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
466 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
467 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
468 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
469 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
470 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
471 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
472 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
473 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
474 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
475 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
476 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
477 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
478 * sysdeps/powerpc/sysdep.h: Likewise.
479 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
480 * sysdeps/s390/s390-64/sub_n.S: Likewise.
481 * sysdeps/sh/dl-trampoline.S: Likewise.
482 * sysdeps/sh/memset.S: Likewise.
483 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
484 * sysdeps/sh/strlen.S: Likewise.
485 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
486 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
487 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
488 * sysdeps/sparc/sparc32/rem.S: Likewise.
489 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
490 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
491 * sysdeps/sparc/sparc32/strchr.S: Likewise.
492 * sysdeps/sparc/sparc32/udiv.S: Likewise.
493 * sysdeps/sparc/sparc32/urem.S: Likewise.
494 * sysdeps/sparc/sparc64/add_n.S: Likewise.
495 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
496 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
497 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
499 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
500 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
501 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
502 * sysdeps/unix/bsd/times.c: Likewise.
503 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
504 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
510 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
511 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
512 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
513 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
514 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
517 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
518 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
520 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
521 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
522 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
523 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
524 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
525 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
526 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
527 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
528 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
529 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
530 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
531 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
532 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
533 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
534 * sysdeps/x86_64/strcspn.S: Likewise.
535
869378a5
RA
5362013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
537
538 * locale/C-translit.h: Revert #include <stdint.h> because this is a
539 generated file. Regenerate properly from gen-translit.pl.
540 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
541 locale/C-translit.h.
542
840e2943
AS
5432013-06-05 Andreas Schwab <schwab@suse.de>
544
545 [BZ #15100]
546 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
547 week as 6 instead of -1.
548 * time/tst-strptime.c (day_tests): Add test case.
549
4c60cb0c
SP
5502013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
551
552 * sysdeps/generic/math_private.h
553 (libc_feholdexcept_setround_53bit): Replace with
554 libc_feholdsetround_53bit.
555 (libc_feupdateenv_53bit): Replace with
556 libc_feresetround_53bit.
557 (SET_RESTORE_ROUND_53BIT): Adjust.
558
d180203e
SP
5592013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
560
96df079a
SP
561 * string/test-strchrnul.c: Add copyright header.
562
d180203e
SP
563 * posix/tst-getaddrinfo4.c: Increase test timeout.
564
8b0ccb2d
CD
5652013-06-03 Carlos O'Donell <carlos@redhat.com>
566
567 [BZ #15536]
568 * math/libm-test.inc (MAX_EXP): Remove
569 (MIN_EXP): Define.
570 (ulp): Use MIN_EXP - MANT_DIG.
571 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
572
3b3c4d40
CD
5732013-05-31 Carlos O'Donell <carlos@redhat.com>
574
575 * po/be.po: Revert last change.
576 * po/zh_CN.po: Likewise.
577 * po/header.pot: Likewise.
578
fab7ce3f
JM
5792013-05-31 Joseph Myers <joseph@codesourcery.com>
580
581 * Makefile ($(common-objpfx)linkobj/libc.so): Define
582 link-libc-deps to empty as target-specific variable.
583 * Makerules (link-libc-args): New variable.
584 (libc-for-link): Likewise.
585 (link-libc-deps): Likewise.
586 (lib%.so): Depend on $(link-libc-deps). Link with
587 $(link-libc-args).
588 (build-module): Link with $(link-libc-args).
589 (build-module-asneeded): Likewise.
590 (build-module-helper-objlist): Filter out $(link-libc-deps) from
591 list of objects.
592 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
593 target-specific variable.
594 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
595 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
596 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
597 libc.
598 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
599 libc and ld.so.
600 ($(objpfx)libpcprofile.so): Likewise.
601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
602 libc_nonshared.a.
603 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
604 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
605 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
606 $(link-libc-deps).
607 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
608 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
609 * login/Makefile ($(objpfx)libutil.so): Likewise.
610 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
611 * math/Makefile ($(objpfx)libm.so): Likewise.
612 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
613 $(objpfx)libnsl.so): Define libc-for-link as target-specific
614 variable instead of depending directly on libc.
615 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
616 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
617 $(link-libc-deps).
618 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
619 libc.
620 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
621 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
622 ($(objpfx)libanl.so): Likewise.
623 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
624 ld.so.
625 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
626 $(link-libc-deps).
627 * sysdeps/i386/fpu/Makefile: Remove file.
628 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
629 ($(objpfx)libm.so): Remove dependency on ld.so.
630
eca5920c
PF
6312013-05-30 Patsy Franklin <pfrankli@redhat.com>
632
633 [BZ # 15553]
634 * nis/yp_xdr.c (XDRMAXNAME): Define.
635 (XDRMAXRECORD): Define.
636 (xdr_domainname): Use XDRMAXNAME.
637 (xdr_mapname): Likewise.
638 (xdr_peername): Likewise.
639 (xdr_keydat): Use XDRMAXRECORD.
640 (xdr_valdat): Likewise.
641
6422013-05-30 Jeff Law <law@redhat.com>
96945714
JL
643
644 [BZ #14256]
645 * manual/errno.texi (ESTALE): Update to account for more than
646 just NFS file systems.
647 * sysdeps/gnu/errlist.c: Regenerated.
648
b9375348
SP
6492013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
650
651 [BZ #15465]
652 * elf/Makefile (tests): Add tst-null-argv.
653 (modules-names): Add tst-null-argv-lib.
654 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
655 (tst-null-argv-ENV): Set environment for tst-null-argv.
656 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
657 (RTLD_PROGNAME): New macro.
658 * elf/tst-null-argv.c: New test case.
659 * elf/tst-null-argv-lib.c: Library for test case.
660 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
661 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
662 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
663 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
664 * elf/dl-init.c (call_init): Likewise.
665 (_dl_init): Likewise.
666 * elf/dl-load.c (print_search_path): Likewise.
667 (_dl_map_object): Likewise.
668 * elf/dl-lookup.c (do_lookup_x): Likewise.
669 (add_dependency): Likewise.
670 (_dl_lookup_symbol_x): Likewise.
671 (_dl_debug_bindings): Likewise.
672 * elf/dl-open.c (_dl_show_scope): Likewise.
673 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
674 * elf/dl-version.c (match_symbol): Likewise.
675 (_dl_check_map_versions): Likewise.
676 * elf/rtld.c (dl_main): Likewise.
677 (print_unresolved): Use RTLD_PROGNAME.
678 (print_missing_version): Likewise.
679 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
680 (elf_machine_rela): Likewise.
681 * sysdeps/powerpc/powerpc32/dl-machine.c
682 (__process_machine_rela): Likewise.
683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
684 Likewise.
685 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
686 Likewise.
687 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
688 Likewise.
689 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
691 Likewise.
692 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
693 Likewise.
694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
695
8a9f20c8
CD
6962013-05-28 Carlos O'Donell <carlos@redhat.com>
697
698 * po/be.po: Add descriptive title.
699 * po/zh_CN.po: Likewise.
700 * po/header.pot: Likewise.
701
0e60d68e
MF
7022013-05-28 Mike Frysinger <vapier@gentoo.org>
703
704 * locale/programs/locarchive.c (create_archive): Inlucde fname in
705 error message.
706 (enlarge_archive): Likewise.
707
56b672e9
BN
7082013-05-28 Ben North <ben@redfrontdoor.org>
709
710 * manual/arith.texi (frexp): It is the magnitude of the return
711 value which lies in [0.5, 1), not the return value itself.
712
5e056687
AZ
7132013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
714
715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
716
2b66ef5d
TS
7172013-05-26 Thomas Schwinge <thomas@codesourcery.com>
718
528c2405
TS
719 * stdio-common/bug26.c (main): Correct fscanf template.
720
07b4c13d
TS
721 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
722 declare _dl_skip_args.
723
ec9dd97c
TS
724 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
725 Don't declare.
726
2b66ef5d
TS
727 * manual/platform.texi: Add missing @end deftypefun.
728
4f8dfe27
JM
7292013-05-24 Joseph Myers <joseph@codesourcery.com>
730
0323d086
JM
731 [BZ #15529]
732 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
733 bit of mantissa of 2^16382.
734 * math/libm-test.inc (hypot_test_data): Add more tests.
735
dd4259b9
JM
736 * math/libm-test.inc: Add drem and pow10 to list of tested
737 functions.
738 (pow10_test): New function.
739 (drem_test): Likewise.
740 (drem_test_tonearest): Likewise.
741 (drem_test_towardzero): Likewise.
742 (drem_test_downward): Likewise.
743 (drem_test_upward): Likewise.
744 (main): Call the new functions.
745
4f8dfe27
JM
746 * math/libm-test.inc (finite_test_data): Remove.
747 (finite_test): Run tests from isfinite_test_data.
748 (gamma_test_data): Remove.
749 (gamma_test): Run tests from lgamma_test_data.
750 * sysdeps/i386/fpu/libm-test-ulps: Update.
751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
752
d116b7c4
AZ
7532013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754
755 * manual/platform.texi: Add PowerPC PPR function set documentation.
756 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
757 implementation.
758
e96e3767
CD
7592013-05-24 Carlos O'Donell <carlos@redhat.com>
760
761 * math/libm-test.inc (MAX_EXP): Define.
762 (ULPDIFF): Define.
763 (ulp): New function.
764 (check_float_internal): Use ULPDIFF.
765 (cpow_test): Disable failing test.
766 (check_ulp): Test ulp() implemetnation.
767 (main): Call check_ulp before starting tests.
768
b679a606
JM
7692013-05-24 Joseph Myers <joseph@codesourcery.com>
770
e8bdba36
JM
771 * math/gen-libm-test.pl (generate_testfile): Do not handle
772 START_DATA and END_DATA.
773 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
774 END_DATA.
775 (acos_tonearest_test_data): Likewise.
776 (acos_towardzero_test_data): Likewise.
777 (acos_downward_test_data): Likewise.
778 (acos_upward_test_data): Likewise.
779 (acosh_test_data): Likewise.
780 (asin_test_data): Likewise.
781 (asin_tonearest_test_data): Likewise.
782 (asin_towardzero_test_data): Likewise.
783 (asin_downward_test_data): Likewise.
784 (asin_upward_test_data): Likewise.
785 (asinh_test_data): Likewise.
786 (atan_test_data): Likewise.
787 (atanh_test_data): Likewise.
788 (atan2_test_data): Likewise.
789 (cabs_test_data): Likewise.
790 (cacos_test_data): Likewise.
791 (cacosh_test_data): Likewise.
792 (carg_test_data): Likewise.
793 (casin_test_data): Likewise.
794 (casinh_test_data): Likewise.
795 (catan_test_data): Likewise.
796 (catanh_test_data): Likewise.
797 (cbrt_test_data): Likewise.
798 (ccos_test_data): Likewise.
799 (ccosh_test_data): Likewise.
800 (ceil_test_data): Likewise.
801 (cexp_test_data): Likewise.
802 (cimag_test_data): Likewise.
803 (clog_test_data): Likewise.
804 (clog10_test_data): Likewise.
805 (conj_test_data): Likewise.
806 (copysign_test_data): Likewise.
807 (cos_test_data): Likewise.
808 (cos_tonearest_test_data): Likewise.
809 (cos_towardzero_test_data): Likewise.
810 (cos_downward_test_data): Likewise.
811 (cos_upward_test_data): Likewise.
812 (cosh_test_data): Likewise.
813 (cosh_tonearest_test_data): Likewise.
814 (cosh_towardzero_test_data): Likewise.
815 (cosh_downward_test_data): Likewise.
816 (cosh_upward_test_data): Likewise.
817 (cpow_test_data): Likewise.
818 (cproj_test_data): Likewise.
819 (creal_test_data): Likewise.
820 (csin_test_data): Likewise.
821 (csinh_test_data): Likewise.
822 (csqrt_test_data): Likewise.
823 (ctan_test_data): Likewise.
824 (ctan_tonearest_test_data): Likewise.
825 (ctan_towardzero_test_data): Likewise.
826 (ctan_downward_test_data): Likewise.
827 (ctan_upward_test_data): Likewise.
828 (ctanh_test_data): Likewise.
829 (ctanh_tonearest_test_data): Likewise.
830 (ctanh_towardzero_test_data): Likewise.
831 (ctanh_downward_test_data): Likewise.
832 (ctanh_upward_test_data): Likewise.
833 (erf_test_data): Likewise.
834 (erfc_test_data): Likewise.
835 (exp_test_data): Likewise.
836 (exp_tonearest_test_data): Likewise.
837 (exp_towardzero_test_data): Likewise.
838 (exp_downward_test_data): Likewise.
839 (exp_upward_test_data): Likewise.
840 (exp10_test_data): Likewise.
841 (exp2_test_data): Likewise.
842 (expm1_test_data): Likewise.
843 (fabs_test_data): Likewise.
844 (fdim_test_data): Likewise.
845 (finite_test_data): Likewise.
846 (floor_test_data): Likewise.
847 (fma_test_data): Likewise.
848 (fma_towardzero_test_data): Likewise.
849 (fma_downward_test_data): Likewise.
850 (fma_upward_test_data): Likewise.
851 (fmax_test_data): Likewise.
852 (fmin_test_data): Likewise.
853 (fmod_test_data): Likewise.
854 (fpclassify_test_data): Likewise.
855 (frexp_test_data): Likewise.
856 (gamma_test_data): Likewise.
857 (hypot_test_data): Likewise.
858 (ilogb_test_data): Likewise.
859 (isfinite_test_data): Likewise.
860 (isgreater_test_data): Likewise.
861 (isgreaterequal_test_data): Likewise.
862 (isinf_test_data): Likewise.
863 (isless_test_data): Likewise.
864 (islessequal_test_data): Likewise.
865 (islessgreater_test_data): Likewise.
866 (isnan_test_data): Likewise.
867 (isnormal_test_data): Likewise.
868 (issignaling_test_data): Likewise.
869 (isunordered_test_data): Likewise.
870 (j0_test_data): Likewise.
871 (j1_test_data): Likewise.
872 (jn_test_data): Likewise.
873 (ldexp_test_data): Likewise.
874 (lgamma_test_data): Likewise.
875 (lrint_test_data): Likewise.
876 (lrint_tonearest_test_data): Likewise.
877 (lrint_towardzero_test_data): Likewise.
878 (lrint_downward_test_data): Likewise.
879 (lrint_upward_test_data): Likewise.
880 (llrint_test_data): Likewise.
881 (llrint_tonearest_test_data): Likewise.
882 (llrint_towardzero_test_data): Likewise.
883 (llrint_downward_test_data): Likewise.
884 (llrint_upward_test_data): Likewise.
885 (log_test_data): Likewise.
886 (log10_test_data): Likewise.
887 (log1p_test_data): Likewise.
888 (log2_test_data): Likewise.
889 (logb_test_data): Likewise.
890 (logb_downward_test_data): Likewise.
891 (lround_test_data): Likewise.
892 (llround_test_data): Likewise.
893 (modf_test_data): Likewise.
894 (nearbyint_test_data): Likewise.
895 (nextafter_test_data): Likewise.
896 (nexttoward_test_data): Likewise.
897 (pow_test_data): Likewise.
898 (pow_tonearest_test_data): Likewise.
899 (pow_towardzero_test_data): Likewise.
900 (pow_downward_test_data): Likewise.
901 (pow_upward_test_data): Likewise.
902 (remainder_test_data): Likewise.
903 (remainder_tonearest_test_data): Likewise.
904 (remainder_towardzero_test_data): Likewise.
905 (remainder_downward_test_data): Likewise.
906 (remainder_upward_test_data): Likewise.
907 (remquo_test_data): Likewise.
908 (rint_test_data): Likewise.
909 (rint_tonearest_test_data): Likewise.
910 (rint_towardzero_test_data): Likewise.
911 (rint_downward_test_data): Likewise.
912 (rint_upward_test_data): Likewise.
913 (round_test_data): Likewise.
914 (scalb_test_data): Likewise.
915 (scalbn_test_data): Likewise.
916 (scalbln_test_data): Likewise.
917 (signbit_test_data): Likewise.
918 (sin_test_data): Likewise.
919 (sin_tonearest_test_data): Likewise.
920 (sin_towardzero_test_data): Likewise.
921 (sin_downward_test_data): Likewise.
922 (sin_upward_test_data): Likewise.
923 (sincos_test_data): Likewise.
924 (sinh_test_data): Likewise.
925 (sinh_tonearest_test_data): Likewise.
926 (sinh_towardzero_test_data): Likewise.
927 (sinh_downward_test_data): Likewise.
928 (sinh_upward_test_data): Likewise.
929 (sqrt_test_data): Likewise.
930 (tan_test_data): Likewise.
931 (tan_tonearest_test_data): Likewise.
932 (tan_towardzero_test_data): Likewise.
933 (tan_downward_test_data): Likewise.
934 (tan_upward_test_data): Likewise.
935 (tanh_test_data): Likewise.
936 (tgamma_test_data): Likewise.
937 (trunc_test_data): Likewise.
938 (y0_test_data): Likewise.
939 (y1_test_data): Likewise.
940 (yn_test_data): Likewise.
941 (significand_test_data): Likewise.
942
b679a606
JM
943 * math/gen-libm-test.pl (@functions): Remove variable.
944 (generate_testfile): Don't handle START and END lines.
945 * math/libm-test.inc (START): New macro.
946 (END): Likewise.
947 (END_COMPLEX): Likewise.
948 (acos_test): Use END macro without arguments.
949 (acos_test_tonearest): Likewise.
950 (acos_test_towardzero): Likewise.
951 (acos_test_downward): Likewise.
952 (acos_test_upward): Likewise.
953 (acosh_test): Likewise.
954 (asin_test): Likewise.
955 (asin_test_tonearest): Likewise.
956 (asin_test_towardzero): Likewise.
957 (asin_test_downward): Likewise.
958 (asin_test_upward): Likewise.
959 (asinh_test): Likewise.
960 (atan_test): Likewise.
961 (atanh_test): Likewise.
962 (atan2_test): Likewise.
963 (cabs_test): Likewise.
964 (cacos_test): Use END_COMPLEX macro without arguments.
965 (cacosh_test): Likewise.
966 (carg_test): Use END macro without arguments.
967 (casin_test): Use END_COMPLEX macro without arguments.
968 (casinh_test): Likewise.
969 (catan_test): Likewise.
970 (catanh_test): Likewise.
971 (cbrt_test): Use END macro without arguments.
972 (ccos_test): Use END_COMPLEX macro without arguments.
973 (ccosh_test): Likewise.
974 (ceil_test): Use END macro without arguments.
975 (cexp_test): Use END_COMPLEX macro without arguments.
976 (cimag_test): Use END macro without arguments.
977 (clog_test): Use END_COMPLEX macro without arguments.
978 (clog10_test): Likewise.
979 (conj_test): Likewise.
980 (copysign_test): Use END macro without arguments.
981 (cos_test): Likewise.
982 (cos_test_tonearest): Likewise.
983 (cos_test_towardzero): Likewise.
984 (cos_test_downward): Likewise.
985 (cos_test_upward): Likewise.
986 (cosh_test): Likewise.
987 (cosh_test_tonearest): Likewise.
988 (cosh_test_towardzero): Likewise.
989 (cosh_test_downward): Likewise.
990 (cosh_test_upward): Likewise.
991 (cpow_test): Use END_COMPLEX macro without arguments.
992 (cproj_test): Likewise.
993 (creal_test): Use END macro without arguments.
994 (csin_test): Use END_COMPLEX macro without arguments.
995 (csinh_test): Likewise.
996 (csqrt_test): Likewise.
997 (ctan_test): Likewise.
998 (ctan_test_tonearest): Likewise.
999 (ctan_test_towardzero): Likewise.
1000 (ctan_test_downward): Likewise.
1001 (ctan_test_upward): Likewise.
1002 (ctanh_test): Likewise.
1003 (ctanh_test_tonearest): Likewise.
1004 (ctanh_test_towardzero): Likewise.
1005 (ctanh_test_downward): Likewise.
1006 (ctanh_test_upward): Likewise.
1007 (erf_test): Use END macro without arguments.
1008 (erfc_test): Likewise.
1009 (exp_test): Likewise.
1010 (exp_test_tonearest): Likewise.
1011 (exp_test_towardzero): Likewise.
1012 (exp_test_downward): Likewise.
1013 (exp_test_upward): Likewise.
1014 (exp10_test): Likewise.
1015 (exp2_test): Likewise.
1016 (expm1_test): Likewise.
1017 (fabs_test): Likewise.
1018 (fdim_test): Likewise.
1019 (finite_test): Likewise.
1020 (floor_test): Likewise.
1021 (fma_test): Likewise.
1022 (fma_test_towardzero): Likewise.
1023 (fma_test_downward): Likewise.
1024 (fma_test_upward): Likewise.
1025 (fmax_test): Likewise.
1026 (fmin_test): Likewise.
1027 (fmod_test): Likewise.
1028 (fpclassify_test): Likewise.
1029 (frexp_test): Likewise.
1030 (gamma_test): Likewise.
1031 (hypot_test): Likewise.
1032 (ilogb_test): Likewise.
1033 (isfinite_test): Likewise.
1034 (isgreater_test): Likewise.
1035 (isgreaterequal_test): Likewise.
1036 (isinf_test): Likewise.
1037 (isless_test): Likewise.
1038 (islessequal_test): Likewise.
1039 (islessgreater_test): Likewise.
1040 (isnan_test): Likewise.
1041 (isnormal_test): Likewise.
1042 (issignaling_test): Likewise.
1043 (isunordered_test): Likewise.
1044 (j0_test): Likewise.
1045 (j1_test): Likewise.
1046 (jn_test): Likewise.
1047 (ldexp_test): Likewise.
1048 (lgamma_test): Likewise.
1049 (lrint_test): Likewise.
1050 (lrint_test_tonearest): Likewise.
1051 (lrint_test_towardzero): Likewise.
1052 (lrint_test_downward): Likewise.
1053 (lrint_test_upward): Likewise.
1054 (llrint_test): Likewise.
1055 (llrint_test_tonearest): Likewise.
1056 (llrint_test_towardzero): Likewise.
1057 (llrint_test_downward): Likewise.
1058 (llrint_test_upward): Likewise.
1059 (log_test): Likewise.
1060 (log10_test): Likewise.
1061 (log1p_test): Likewise.
1062 (log2_test): Likewise.
1063 (logb_test): Likewise.
1064 (logb_test_downward): Likewise.
1065 (lround_test): Likewise.
1066 (llround_test): Likewise.
1067 (modf_test): Likewise.
1068 (nearbyint_test): Likewise.
1069 (nextafter_test): Likewise.
1070 (nexttoward_test): Likewise.
1071 (pow_test): Likewise.
1072 (pow_test_tonearest): Likewise.
1073 (pow_test_towardzero): Likewise.
1074 (pow_test_downward): Likewise.
1075 (pow_test_upward): Likewise.
1076 (remainder_test): Likewise.
1077 (remainder_test_tonearest): Likewise.
1078 (remainder_test_towardzero): Likewise.
1079 (remainder_test_downward): Likewise.
1080 (remainder_test_upward): Likewise.
1081 (remquo_test): Likewise.
1082 (rint_test): Likewise.
1083 (rint_test_tonearest): Likewise.
1084 (rint_test_towardzero): Likewise.
1085 (rint_test_downward): Likewise.
1086 (rint_test_upward): Likewise.
1087 (round_test): Likewise.
1088 (scalb_test): Likewise.
1089 (scalbn_test): Likewise.
1090 (scalbln_test): Likewise.
1091 (signbit_test): Likewise.
1092 (sin_test): Likewise.
1093 (sin_test_tonearest): Likewise.
1094 (sin_test_towardzero): Likewise.
1095 (sin_test_downward): Likewise.
1096 (sin_test_upward): Likewise.
1097 (sincos_test): Likewise.
1098 (sinh_test): Likewise.
1099 (sinh_test_tonearest): Likewise.
1100 (sinh_test_towardzero): Likewise.
1101 (sinh_test_downward): Likewise.
1102 (sinh_test_upward): Likewise.
1103 (sqrt_test): Likewise.
1104 (tan_test): Likewise.
1105 (tan_test_tonearest): Likewise.
1106 (tan_test_towardzero): Likewise.
1107 (tan_test_downward): Likewise.
1108 (tan_test_upward): Likewise.
1109 (tanh_test): Likewise.
1110 (tgamma_test): Likewise.
1111 (trunc_test): Likewise.
1112 (y0_test): Likewise.
1113 (y1_test): Likewise.
1114 (yn_test): Likewise.
1115 (significand_test): Likewise.
1116
bae143d2
OB
11172013-05-24 Ondřej Bílka <neleai@seznam.cz>
1118
1119 [BZ #15381]
1120 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1121
9323d39b
EM
11222013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1123
d4ea44a0 1124 [BZ #14894]
9323d39b
EM
1125 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1126 __ppc_mdoio and __ppc_mdoom.
1127 * manual/platform.texi: Document new functions __ppc_yield,
1128 __ppc_mdoio and __ppc_mdoom.
1129
13e23af7
CD
11302013-05-22 Carlos O'Donell <carlos@redhat.com>
1131
1132 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1133 (main): Mention "tls" pseudo-hwcap is legacy.
1134 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1135
351fe550
JM
11362013-05-22 Joseph Myers <joseph@codesourcery.com>
1137
1138 * math/gen-libm-test.pl (parse_args): Output only string of
1139 arguments as text for test name, not full call or descriptions of
1140 tests for extra outputs.
1141 (generate_testfile): Do not pass function name to parse_args.
1142 Generate this_func variable from START.
1143 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1144 field to arg_str.
1145 (struct test_ff_f_data): Likewise.
1146 (test_ff_f_data_nexttoward): Likewise.
1147 (struct test_fi_f_data): Likewise.
1148 (struct test_fl_f_data): Likewise.
1149 (struct test_if_f_data): Likewise.
1150 (struct test_fff_f_data): Likewise.
1151 (struct test_c_f_data): Likewise.
1152 (struct test_f_f1_data): Likewise. Remove field extra_name.
1153 (struct test_fF_f1_data): Likewise.
1154 (struct test_ffI_f1_data): Likewise.
1155 (struct test_c_c_data): Rename test_name field to arg_str.
1156 (struct test_cc_c_data): Likewise.
1157 (struct test_f_i_data): Likewise.
1158 (struct test_ff_i_data): Likewise.
1159 (struct test_f_l_data): Likewise.
1160 (struct test_f_L_data): Likewise.
1161 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1162 and extra2_name.
1163 (COMMON_TEST_SETUP): New macro.
1164 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1165 (COMMON_TEST_CLEANUP): Likewise.
1166 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1167 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1168 macros.
1169 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1170 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1171 macros.
1172 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1173 (RUN_TEST_fff_f): Take argument string. Call new setup and
1174 cleanup macros.
1175 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1176 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1177 macros.
1178 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1179 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1180 macros.
1181 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1182 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1183 cleanup macros.
1184 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1185 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1186 cleanup macros.
1187 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1188 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1189 cleanup macros.
1190 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1191 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1192 macros.
1193 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1194 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1195 macros.
1196 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1197 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1198 macros.
1199 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1200 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1201 cleanup macros.
1202 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1203 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1204 cleanup macros.
1205 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1206 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1207 macros.
1208 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1209 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1210 cleanup macros.
1211 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1212 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1213 macros.
1214 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1215 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1216 macros.
1217 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1218 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1219 cleanup macros.
1220 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1221
85118d4d
EBM
12222013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1223
1224 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1225 to _sifields.sigfault.
1226 (si_addr_lsb): Define new macro.
1227 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1229 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1230
7a44c18f
CD
12312013-05-03 Carlos O'Donell <carlos at redhat.com>
1232
1233 [BZ #15441]
1234 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1235 returns -1.
1236 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1237 null return -1.
1238 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1239 loading the domain.
1240
b50a7181
JM
12412013-05-22 Joseph Myers <joseph@codesourcery.com>
1242
1243 * math/gen-libm-test.pl (parse_args): Do not include expected
1244 result in test name.
1245 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1247 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1248 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1251
051063c8
SP
12522013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1253
3ce9e010
SP
1254 * benchtests/Makefile: Sort function entries.
1255
051063c8
SP
1256 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1257 tanh, asinh, acosh, atanh.
1258 * benchtests/acos-inputs: New file.
1259 * benchtests/acosh-inputs: New file.
1260 * benchtests/asin-inputs: New file.
1261 * benchtests/asinh-inputs: New file.
1262 * benchtests/atanh-inputs: New file.
1263 * benchtests/cosh-inputs: New file.
1264 * benchtests/log-inputs: New file.
1265 * benchtests/sinh-inputs: New file.
1266 * benchtests/tanh-inputs: New file.
1267
47c22455
DL
12682013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1269
1270 [BZ #15339]
1271 * posix/tst-getaddrinfo4.c: New test.
1272 * posix/Makefile (tests): Add it.
1273
3d04f5db
SP
12742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1275
1276 [BZ #15339]
1277 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1278 when no services were used.
1279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1280 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1281
d5dd6189
AS
12822013-05-21 Andreas Schwab <schwab@suse.de>
1283
1284 [BZ #15014]
1285 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1286 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1287 successful.
1288 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1289 redundant variable declarations and reallocation of buffer when
1290 parsing as IPv6 address. Always set NSS status when called from
1291 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1292 buffer too small. Correct computation of needed size.
1293 * nss/Makefile (tests): Add test-digits-dots.
1294 * nss/test-digits-dots.c: New test.
1295
fef94eab
SP
12962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1297
1298 * benchtests/Makefile: Remove instructions for adding
1299 benchmark tests.
1300 * benchtests/README: New file to explain how to execute and
1301 enhance the benchmark tests.
1302
e39adf43
AS
13032013-05-21 Andreas Schwab <schwab@suse.de>
1304
1305 [BZ #15493]
1306 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1307 * setjmp/tst-sigsetjmp.c: New test.
1308
b2b671b6
OB
13092013-05-20 Ondřej Bílka <neleai@seznam.cz>
1310
1311 * sysdeps/x86_64/memset.S (memset): New implementation.
1312 (__bzero): Likewise.
1313 (__memset_tail): New function.
1314
2d48b41c
OB
13152013-05-20 Ondřej Bílka <neleai@seznam.cz>
1316
1317 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1318 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1319 __memcpy_sse2_unaligned ifunc selection.
1320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1321 Add memcpy-sse2-unaligned.S.
1322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1323 Add: __memcpy_sse2_unaligned.
1324
f16cc3eb
JM
13252013-05-19 Joseph Myers <joseph@codesourcery.com>
1326
3e694268
JM
1327 [BZ #15490]
1328 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1329 math_force_eval before restoring floating-point envrionment.
1330 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1332 Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1334 <math_private.h>.
1335 (__nearbyintl): Use math_force_eval before restoring
1336 floating-point environment.
1337 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1338
db62a907
JM
1339 * math/gen-libm-test.pl (special_functions): Remove.
1340 (parse_args): Don't handle TEST_extra. Handle functions with no
1341 return value.
1342 * math/libm-test.inc (struct test_sincos_data): Replace with
1343 struct test_fFF_11_data.
1344 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1345 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1346 (sincos_test_data): Change element type to struct
1347 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1348 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1349 RUN_TEST_LOOP_sincos.
1350 * math/README.libm-test: Don't mention special handling of
1351 individual functions.
1352 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1354 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1355 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1356 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1358
f16cc3eb
JM
1359 * math/gen-libm-test.pl (get_variable): Remove function.
1360 (parse_args): Don't show pointer parameters to call in test
1361 names. Use "extra output N" in test names for extra outputs
1362 rather than naming variables.
1363
3779b5b6
JM
13642013-05-18 Joseph Myers <joseph@codesourcery.com>
1365
2ee094ff
JM
1366 [BZ #15488]
1367 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1368 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1369 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1370 double tests.
1371 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1372 disable.
1373 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1374 check_long_double.
1375
3779b5b6
JM
1376 * math/gen-libm-test.pl (@tests): Remove variable.
1377 ($count): Likewise.
1378 (new_test): Remove function.
1379 (show_exceptions): New function.
1380 (special_functions): Use show_exceptions instead of new_test.
1381 (parse_args): Likewise.
1382 (generate_testfile): Pass only function name in generated call to
1383 print_max_error or print_complex_max_error.
1384 (get_ulps): Do not handle complex tests specially.
1385 (output_test): Rename to ...
1386 (get_all_ulps_for_test): ... this. Return a string rather than
1387 printing to a file. Require ulps to be present.
1388 (output_ulps): Generate arrays rather than #defines.
1389 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1390 (struct ulp_data): New type.
1391 (BUILD_COMPLEX_ULP): Remove macro.
1392 (compare_ulp_data): New function.
1393 (find_ulps): Likewise.
1394 (find_test_ulps): Likewise.
1395 (find_function_ulps): Likewise.
1396 (find_complex_function_ulps): Likewise.
1397 (print_max_error): Determine allowed ulps using
1398 find_function_ulps.
1399 (print_complex_max_error): Determine allowed ulps using
1400 find_complex_function_ulps.
1401 (check_float_internal): Determine max ulps using find_test_ulps.
1402 (check_float): Do not take max_ulp parameter. Update call to
1403 check_float_internal.
1404 (check_complex): Likewise.
1405 (check_int): Do not take max_ulp parameter.
1406 (check_long): Likewise.
1407 (check_bool): Likewise.
1408 (check_longlong): Likewise.
1409 (struct test_f_f_data): Remove max_ulp field.
1410 (struct test_ff_f_data): Likewise.
1411 (struct test_ff_f_data_nexttoward): Likewise.
1412 (struct test_fi_f_data): Likewise.
1413 (struct test_fl_f_data): Likewise.
1414 (struct test_if_f_data): Likewise.
1415 (struct test_fff_f_data): Likewise.
1416 (struct test_c_f_data): Likewise.
1417 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1418 (struct test_fF_f1_data): Likewise.
1419 (struct test_ffI_f1_data): Likewise.
1420 (struct test_c_c_data): Remove max_ulp field.
1421 (struct test_cc_c_data): Likewise.
1422 (struct test_f_i_data): Likewise.
1423 (struct test_ff_i_data): Likewise.
1424 (struct test_f_l_data): Likewise.
1425 (struct test_f_L_data): Likewise.
1426 (struct test_sincos_data): Likewise.
1427 (RUN_TEST_f_f): Do not handle ulps.
1428 (RUN_TEST_LOOP_f_f): Likewise.
1429 (RUN_TEST_2_f): Likewise.
1430 (RUN_TEST_LOOP_2_f): Likewise.
1431 (RUN_TEST_fff_f): Likewise.
1432 (RUN_TEST_LOOP_fff_f): Likewise.
1433 (RUN_TEST_c_f): Likewise.
1434 (RUN_TEST_LOOP_c_f): Likewise.
1435 (RUN_TEST_f_f1): Likewise.
1436 (RUN_TEST_LOOP_f_f1): Likewise.
1437 (RUN_TEST_fF_f1): Likewise.
1438 (RUN_TEST_LOOP_fF_f1): Likewise.
1439 (RUN_TEST_fI_f1): Likewise.
1440 (RUN_TEST_LOOP_fI_f1): Likewise.
1441 (RUN_TEST_ffI_f1): Likewise.
1442 (RUN_TEST_LOOP_ffI_f1): Likewise.
1443 (RUN_TEST_c_c): Likewise.
1444 (RUN_TEST_LOOP_c_c): Likewise.
1445 (RUN_TEST_cc_c): Likewise.
1446 (RUN_TEST_LOOP_cc_c): Likewise.
1447 (RUN_TEST_f_i): Likewise.
1448 (RUN_TEST_LOOP_f_i): Likewise.
1449 (RUN_TEST_f_i_tg): Likewise.
1450 (RUN_TEST_LOOP_f_i_tg): Likewise.
1451 (RUN_TEST_ff_i_tg): Likewise.
1452 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1453 (RUN_TEST_f_b): Likewise.
1454 (RUN_TEST_LOOP_f_b): Likewise.
1455 (RUN_TEST_f_b_tg): Likewise.
1456 (RUN_TEST_LOOP_f_b_tg): Likewise.
1457 (RUN_TEST_f_l): Likewise.
1458 (RUN_TEST_LOOP_f_l): Likewise.
1459 (RUN_TEST_f_L): Likewise.
1460 (RUN_TEST_LOOP_f_L): Likewise.
1461 (RUN_TEST_sincos): Likewise.
1462 (RUN_TEST_LOOP_sincos): Likewise.
1463
8269107f
JM
14642013-05-17 Joseph Myers <joseph@codesourcery.com>
1465
bb38759d
JM
1466 [BZ #15480]
1467 [BZ #15485]
1468 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1469 main case of finite arguments, set rounding mode to FE_TONEAREST
1470 and discard exceptions.
1471 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1472 exceptions.
1473 (remainder_tonearest_test_data): New variable.
1474 (remainder_test_tonearest): New function.
1475 (remainder_towardzero_test_data): New variable.
1476 (remainder_test_towardzero): New function.
1477 (remainder_downward_test_data): New variable.
1478 (remainder_test_downward): New function.
1479 (remainder_upward_test_data): New variable.
1480 (remainder_test_upward): New function.
1481 (main): Call the new test functions.
1482
a00bdcf0
JM
1483 * math/libm-test.inc (struct test_f_f1_data): Remove field
1484 extra_init.
1485 (struct test_fF_f1_data): Likewise.
1486 (struct test_ffI_f1_data): Likewise.
1487 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1488 based on value of EXTRA_EXPECTED.
1489 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1490 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1491 EXTRA_VAR based on value of EXTRA_EXPECTED.
1492 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1493 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1494 EXTRA_VAR based on value of EXTRA_EXPECTED.
1495 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1496 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1497 EXTRA_VAR based on value of EXTRA_EXPECTED.
1498 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1499 * math/gen-libm-test.pl (parse_args): Don't output initializers
1500 for extra output values.
1501
de407f79
JM
1502 * math/libm-test.inc (check_int): Expect result to be exactly
1503 equal to expected value and do not handle ulps.
1504 (check_long): Likewise.
1505 (check_longlong): Likewise.
1506
8269107f
JM
1507 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1508 exceptions.
1509 (cimag_test_data): Likewise.
1510 (conj_test_data): Likewise.
1511 (copysign_test_data): Likewise.
1512 (cproj_test_data): Likewise.
1513 (creal_test_data): Likewise.
1514 (fabs_test_data): Likewise.
1515 (fdim_test_data): Likewise.
1516 (finite_test_data): Likewise.
1517 (floor_test_data): Likewise.
1518 (fmax_test_data): Likewise.
1519 (fmin_test_data): Likewise.
1520 (fmod_test_data): Likewise.
1521 (fpclassify_test_data): Likewise.
1522 (frexp_test_data): Likewise.
1523 (ilogb_test_data): Likewise.
1524 (isfinite_test_data): Likewise.
1525 (isgreater_test_data): Likewise.
1526 (isgreaterequal_test_data): Likewise.
1527 (isinf_test_data): Likewise.
1528 (isless_test_data): Likewise.
1529 (islessequal_test_data): Likewise.
1530 (islessgreater_test_data): Likewise.
1531 (isnan_test_data): Likewise.
1532 (isnormal_test_data): Likewise.
1533 (issignaling_test_data): Likewise.
1534 (isunordered_test_data): Likewise.
1535 (ldexp_test_data): Likewise.
1536 (lrint_test_data): Likewise.
1537 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1538 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1539 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1540 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1541 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1542 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1543 test input.
1544 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1545 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1546 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1547 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1548 that test input.
1549 (lrint_downward_test_data): Test for "inexact" exceptions.
1550 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1551 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1552 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1553 test input.
1554 (lrint_upward_test_data): Test for "inexact" exceptions.
1555 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1556 test input.
1557 (llrint_test_data): Test for "inexact" exceptions.
1558 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1559 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1560 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1561 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1562 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1563 (llrint_downward_test_data): Test for "inexact" exceptions.
1564 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1565 (llrint_upward_test_data): Test for "inexact" exceptions.
1566 (logb_test_data): Likewise.
1567 (logb_downward_test_data): Likewise.
1568 (nextafter_test_data): Likewise.
1569 (nexttoward_test_data): Likewise.
1570 (remainder_test_data): Likewise.
1571 (remquo_test_data): Likewise.
1572 (scalbn_test_data): Likewise.
1573 (scalbln_test_data): Likewise.
1574 (signbit_test_data): Likewise.
1575 (sqrt_test_data): Likewise.
1576 (significand_test_data): Likewise.
1577
48a18de1
SP
15782013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1579
1580 [BZ #15424]
1581 * benchtests/bench-modf.c (struct args): Mark arg0 as
1582 volatile.
1583 * scripts/bench.pl: Mark members of struct args as volatile.
1584
13d3b41a
AZ
15852013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1586
68191c1d 1587 [BZ # 15497]
13d3b41a
AZ
1588 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1589 negative infinity on POWER6 or lower.
1590 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1591
2848b105
MR
15922013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1593
1594 [BZ #15442]
1595 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1596 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1597 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1598 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1599 (_FP_SETQNAN): New macro.
1600 (_FP_SETQNAN_SEMIRAW): Likewise.
1601 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1602 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1603 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1604 (FP_EXTEND): Use _FP_FRAC_SNANP.
1605 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1606 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1607 into account.
1608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1609 New macro.
1610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1611 Likewise.
1612
323e5cb7
JM
16132013-05-16 Joseph Myers <joseph@codesourcery.com>
1614
c58b274f
JM
1615 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1616 with DIVIDE_BY_ZERO_EXCEPTION.
1617 (gamma_test_data): Likewise.
1618 (lgamma_test_data): Likewise.
1619 (log_test_data): Likewise.
1620 (log10_test_data): Likewise.
1621 (log2_test_data): Likewise.
1622 (tgamma_test_data): Likewise.
1623
0ab34904
JM
1624 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1625 (acos_test_tonearest): Likewise.
1626 (acos_test_towardzero): Likewise.
1627 (acos_test_downward): Likewise.
1628 (acos_test_upward): Likewise.
1629 (acosh_test): Likewise.
1630 (asin_test): Likewise.
1631 (asin_test_tonearest): Likewise.
1632 (asin_test_towardzero): Likewise.
1633 (asin_test_downward): Likewise.
1634 (asin_test_upward): Likewise.
1635 (asinh_test): Likewise.
1636 (atan_test): Likewise.
1637 (atanh_test): Likewise.
1638 (atan2_test): Likewise.
1639 (cabs_test): Likewise.
1640 (cacos_test): Likewise.
1641 (cacosh_test): Likewise.
1642 (casin_test): Likewise.
1643 (casinh_test): Likewise.
1644 (catan_test): Likewise.
1645 (catanh_test): Likewise.
1646 (cbrt_test): Likewise.
1647 (ccos_test): Likewise.
1648 (ccosh_test): Likewise.
1649 (cexp_test): Likewise.
1650 (clog_test): Likewise.
1651 (clog10_test): Likewise.
1652 (cos_test): Likewise.
1653 (cos_test_tonearest): Likewise.
1654 (cos_test_towardzero): Likewise.
1655 (cos_test_downward): Likewise.
1656 (cos_test_upward): Likewise.
1657 (cosh_test): Likewise.
1658 (cosh_test_tonearest): Likewise.
1659 (cosh_test_towardzero): Likewise.
1660 (cosh_test_downward): Likewise.
1661 (cosh_test_upward): Likewise.
1662 (cpow_test): Likewise.
1663 (csin_test): Likewise.
1664 (csinh_test): Likewise.
1665 (csqrt_test): Likewise.
1666 (ctan_test): Likewise.
1667 (ctan_test_tonearest): Likewise.
1668 (ctan_test_towardzero): Likewise.
1669 (ctan_test_downward): Likewise.
1670 (ctan_test_upward): Likewise.
1671 (ctanh_test): Likewise.
1672 (ctanh_test_tonearest): Likewise.
1673 (ctanh_test_towardzero): Likewise.
1674 (ctanh_test_downward): Likewise.
1675 (ctanh_test_upward): Likewise.
1676 (erf_test): Likewise.
1677 (erfc_test): Likewise.
1678 (exp_test): Likewise.
1679 (exp_test_tonearest): Likewise.
1680 (exp_test_towardzero): Likewise.
1681 (exp_test_downward): Likewise.
1682 (exp_test_upward): Likewise.
1683 (exp10_test): Likewise.
1684 (exp2_test): Likewise.
1685 (expm1_test): Likewise.
1686 (fmod_test): Likewise.
1687 (gamma_test): Likewise.
1688 (hypot_test): Likewise.
1689 (j0_test): Likewise.
1690 (j1_test): Likewise.
1691 (jn_test): Likewise.
1692 (lgamma_test): Likewise.
1693 (log_test): Likewise.
1694 (log10_test): Likewise.
1695 (log1p_test): Likewise.
1696 (log2_test): Likewise.
1697 (logb_test_downward): Likewise.
1698 (pow_test): Likewise.
1699 (pow_test_tonearest): Likewise.
1700 (pow_test_towardzero): Likewise.
1701 (pow_test_downward): Likewise.
1702 (pow_test_upward): Likewise.
1703 (remainder_test): Likewise.
1704 (remquo_test): Likewise.
1705 (sin_test): Likewise.
1706 (sin_test_tonearest): Likewise.
1707 (sin_test_towardzero): Likewise.
1708 (sin_test_downward): Likewise.
1709 (sin_test_upward): Likewise.
1710 (sincos_test): Likewise.
1711 (sinh_test): Likewise.
1712 (sinh_test_tonearest): Likewise.
1713 (sinh_test_towardzero): Likewise.
1714 (sinh_test_downward): Likewise.
1715 (sinh_test_upward): Likewise.
1716 (sqrt_test): Likewise.
1717 (tan_test): Likewise.
1718 (tan_test_tonearest): Likewise.
1719 (tan_test_towardzero): Likewise.
1720 (tan_test_downward): Likewise.
1721 (tan_test_upward): Likewise.
1722 (tanh_test): Likewise.
1723 (tgamma_test): Likewise.
1724 (y0_test): Likewise.
1725 (y1_test): Likewise.
1726 (yn_test): Likewise.
1727
323e5cb7
JM
1728 * math/gen-libm-test.pl (adjust_arg): Remove function.
1729 (special_function): Remove argument $in_func. Only handle
1730 generating output for tables of tests, not inside functions.
1731 (parse_args): Likewise.
1732 (generate_testfile): Remove variable $in_func. Update call to
1733 parse_args.
1734 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1735 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1736 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1737 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1738 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1739 (MAX_VALUE_INIT): Rename macro to max_value.
1740 (MIN_VALUE_INIT): Rename macro to min_value.
1741 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1742 (plus_zero): Remove variable.
1743 (minus_zero): Likewise.
1744 (plus_infty): Likewise.
1745 (minus_infty): Likewise.
1746 (qnan_value): Likewise.
1747 (max_value): Likewise.
1748 (min_value): Likewise.
1749 (min_subnorm_value): Likewise.
1750
e054f494
RA
17512013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1752
1753 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1754 uint64_t or uint32_t usage.
1755 * crypt/sha256-block.c: Likewise.
1756 * crypt/sha256-crypt.c: Likewise.
1757 * crypt/sha256.c: Likewise.
1758 * crypt/sha512-block.c: Likewise.
1759 * crypt/sha512-crypt.c: Likewise.
1760 * crypt/sha512.c: Likewise.
1761 * debug/backtrace-tst.c: Likewise.
1762 * debug/pcprofiledump.c: Likewise.
1763 * elf/cache.c: Likewise.
1764 * elf/dl-cache.c: Likewise.
1765 * elf/dl-misc.c: Likewise.
1766 * elf/dl-profile.c: Likewise.
1767 * elf/dl-support.c: Likewise.
1768 * elf/ldconfig.c: Likewise.
1769 * elf/sprof.c: Likewise.
1770 * iconv/dummy-repertoire.c: Likewise.
1771 * iconv/iconv_charmap.c: Likewise.
1772 * iconv/skeleton.c: Likewise.
1773 * iconvdata/8bit-generic.c: Likewise.
1774 * iconvdata/cp737.h: Likewise.
1775 * iconvdata/cp775.h: Likewise.
1776 * iconvdata/ibm1008.h: Likewise.
1777 * iconvdata/ibm1025.h: Likewise.
1778 * iconvdata/ibm1046.h: Likewise.
1779 * iconvdata/ibm1097.h: Likewise.
1780 * iconvdata/ibm1112.h: Likewise.
1781 * iconvdata/ibm1122.h: Likewise.
1782 * iconvdata/ibm1123.h: Likewise.
1783 * iconvdata/ibm1124.h: Likewise.
1784 * iconvdata/ibm1129.h: Likewise.
1785 * iconvdata/ibm1130.h: Likewise.
1786 * iconvdata/ibm1132.h: Likewise.
1787 * iconvdata/ibm1133.h: Likewise.
1788 * iconvdata/ibm1137.h: Likewise.
1789 * iconvdata/ibm1140.h: Likewise.
1790 * iconvdata/ibm1141.h: Likewise.
1791 * iconvdata/ibm1142.h: Likewise.
1792 * iconvdata/ibm1143.h: Likewise.
1793 * iconvdata/ibm1144.h: Likewise.
1794 * iconvdata/ibm1145.h: Likewise.
1795 * iconvdata/ibm1146.h: Likewise.
1796 * iconvdata/ibm1147.h: Likewise.
1797 * iconvdata/ibm1148.h: Likewise.
1798 * iconvdata/ibm1149.h: Likewise.
1799 * iconvdata/ibm1153.h: Likewise.
1800 * iconvdata/ibm1154.h: Likewise.
1801 * iconvdata/ibm1155.h: Likewise.
1802 * iconvdata/ibm1156.h: Likewise.
1803 * iconvdata/ibm1157.h: Likewise.
1804 * iconvdata/ibm1158.h: Likewise.
1805 * iconvdata/ibm1160.h: Likewise.
1806 * iconvdata/ibm1161.h: Likewise.
1807 * iconvdata/ibm1162.h: Likewise.
1808 * iconvdata/ibm1163.h: Likewise.
1809 * iconvdata/ibm1164.h: Likewise.
1810 * iconvdata/ibm1166.h: Likewise.
1811 * iconvdata/ibm1167.h: Likewise.
1812 * iconvdata/ibm12712.h: Likewise.
1813 * iconvdata/ibm1390.h: Likewise.
1814 * iconvdata/ibm1399.h: Likewise.
1815 * iconvdata/ibm16804.h: Likewise.
1816 * iconvdata/ibm4517.h: Likewise.
1817 * iconvdata/ibm4899.h: Likewise.
1818 * iconvdata/ibm4909.h: Likewise.
1819 * iconvdata/ibm4971.h: Likewise.
1820 * iconvdata/ibm5347.h: Likewise.
1821 * iconvdata/ibm803.h: Likewise.
1822 * iconvdata/ibm856.h: Likewise.
1823 * iconvdata/ibm901.h: Likewise.
1824 * iconvdata/ibm902.h: Likewise.
1825 * iconvdata/ibm9030.h: Likewise.
1826 * iconvdata/ibm9066.h: Likewise.
1827 * iconvdata/ibm921.h: Likewise.
1828 * iconvdata/ibm922.h: Likewise.
1829 * iconvdata/ibm9448.h: Likewise.
1830 * iconvdata/isiri-3342.h: Likewise.
1831 * iconvdata/jis0201.h: Likewise.
1832 * include/link.h: Likewise.
1833 * include/netdb.h: Likewise.
1834 * inet/check_native.c: Likewise.
1835 * inet/check_pf.c: Likewise.
1836 * inet/getipv4sourcefilter.c: Likewise.
1837 * inet/getnameinfo.c: Likewise.
1838 * inet/getsourcefilter.c: Likewise.
1839 * inet/htonl.c: Likewise.
1840 * inet/setipv4sourcefilter.c: Likewise.
1841 * inet/setsourcefilter.c: Likewise.
1842 * inet/test-inet6_opt.c: Likewise.
1843 * inet/tst-network.c: Likewise.
1844 * locale/C-collate.c: Likewise.
1845 * locale/C-ctype.c: Likewise.
1846 * locale/C-time.c: Likewise.
1847 * locale/C-translit.h: Likewise.
1848 * locale/loadarchive.c: Likewise.
1849 * locale/programs/3level.h: Likewise.
1850 * locale/programs/charmap.c: Likewise.
1851 * locale/programs/charmap.h: Likewise.
1852 * locale/programs/ld-address.c: Likewise.
1853 * locale/programs/ld-collate.c: Likewise.
1854 * locale/programs/ld-ctype.c: Likewise.
1855 * locale/programs/ld-identification.c: Likewise.
1856 * locale/programs/ld-measurement.c: Likewise.
1857 * locale/programs/ld-messages.c: Likewise.
1858 * locale/programs/ld-monetary.c: Likewise.
1859 * locale/programs/ld-name.c: Likewise.
1860 * locale/programs/ld-numeric.c: Likewise.
1861 * locale/programs/ld-paper.c: Likewise.
1862 * locale/programs/ld-telephone.c: Likewise.
1863 * locale/programs/ld-time.c: Likewise.
1864 * locale/programs/linereader.c: Likewise.
1865 * locale/programs/locale.c: Likewise.
1866 * locale/programs/locarchive.c: Likewise.
1867 * locale/programs/locfile.h: Likewise.
1868 * locale/programs/repertoire.c: Likewise.
1869 * locale/programs/simple-hash.c: Likewise.
1870 * locale/programs/simple-hash.h: Likewise.
1871 * malloc/memusage.c: Likewise.
1872 * malloc/memusagestat.c: Likewise.
1873 * nis/nis_defaults.c: Likewise.
1874 * nis/nis_hash.c: Likewise.
1875 * nis/nis_print.c: Likewise.
1876 * nis/nis_xdr.c: Likewise.
1877 * nscd/connections.c: Likewise.
1878 * nscd/hstcache.c: Likewise.
1879 * nscd/nscd_gethst_r.c: Likewise.
1880 * nscd/nscd_getserv_r.c: Likewise.
1881 * nscd/nscd_helper.c: Likewise.
1882 * nscd/servicescache.c: Likewise.
1883 * nss/makedb.c: Likewise.
1884 * nss/nss_db/db-XXX.c: Likewise.
1885 * nss/nss_db/db-initgroups.c: Likewise.
1886 * nss/nss_db/db-netgrp.c: Likewise.
1887 * nss/nss_files/files-network.c: Likewise.
1888 * nss/nss_files/files-parse.c: Likewise.
1889 * posix/bug-regex5.c: Likewise.
1890 * posix/fnmatch_loop.c: Likewise.
1891 * posix/regcomp.c: Likewise.
1892 * posix/regexec.c: Likewise.
1893 * posix/tst-rfc3484-2.c: Likewise.
1894 * posix/tst-rfc3484-3.c: Likewise.
1895 * posix/tst-rfc3484.c: Likewise.
1896 * resolv/nss_dns/dns-canon.c: Likewise.
1897 * resolv/nss_dns/dns-network.c: Likewise.
1898 * resolv/res_init.c: Likewise.
1899 * resolv/res_mkquery.c: Likewise.
1900 * resolv/tst-aton.c: Likewise.
1901 * stdlib/cxa_atexit.c: Likewise.
1902 * stdlib/cxa_finalize.c: Likewise.
1903 * stdlib/gen-fpioconst.c: Likewise.
1904 * stdlib/strtol_l.c: Likewise.
1905 * string/tst-endian.c: Likewise.
1906 * sunrpc/auth_des.c: Likewise.
1907 * sunrpc/clnt_udp.c: Likewise.
1908 * sunrpc/rtime.c: Likewise.
1909 * sunrpc/svcauth_des.c: Likewise.
1910 * sunrpc/xdr.c: Likewise.
1911 * sunrpc/xdr_intXX_t.c: Likewise.
1912 * sunrpc/xdr_rec.c: Likewise.
1913 * sysdeps/generic/ldconfig.h: Likewise.
1914 * sysdeps/generic/ldsodefs.h: Likewise.
1915 * sysdeps/generic/memusage.h: Likewise.
1916 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1926 * sysdeps/posix/getaddrinfo.c: Likewise.
1927 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1929 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1930 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1931 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1932 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1933 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1934 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1935 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1937 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1938 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1939 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1940 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1942 * sysdeps/x86_64/dl-tls.h: Likewise.
1943 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1944 * time/alt_digit.c: Likewise.
1945 * time/era.c: Likewise.
1946 * wcsmbs/tst-c16c32-1.c: Likewise.
1947
8c75f674
JM
19482013-05-16 Joseph Myers <joseph@codesourcery.com>
1949
1950 * math/libm-test.inc (struct test_sincos_data): New type.
1951 (RUN_TEST_LOOP_sincos): New macro.
1952 (sincos_test_data): New variable.
1953 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1954
e6e49e59
RH
19552013-05-16 Richard Henderson <rth@redhat.com>
1956
1957 * math/atest-exp2.c (LIMB64): New macro.
1958 (CONSTSZ): New macro.
1959 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1960 (hexdig): Move ...
1961 (print_mpn_fp): ... to function scope.
1962 (read_mpn_hex): Remove.
1963 (get_log2): Remove.
1964 (exp2_mpn): Use mp_log2.
1965 (main): Use mp_exp1.
1966
15c7c18d
JM
19672013-05-16 Joseph Myers <joseph@codesourcery.com>
1968
105a07df
JM
1969 * math/libm-test.inc: Remove comment about not testing "inexact"
1970 exceptions.
1971 (INEXACT_EXCEPTION): New macro.
1972 (NO_INEXACT_EXCEPTION): Likewise.
1973 (INVALID_EXCEPTION_OK): Update value.
1974 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1975 (OVERFLOW_EXCEPTION_OK): Likewise.
1976 (UNDERFLOW_EXCEPTION_OK): Likewise.
1977 (IGNORE_ZERO_INF_SIGN): Likewise.
1978 (ERRNO_UNCHANGED): Likewise.
1979 (ERRNO_EDOM): Likewise.
1980 (ERRNO_ERANGE): Likewise.
1981 (test_exceptions): Handle testing "inexact" exceptions.
1982 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1983 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1984 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1985 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1986 INEXACT_EXCEPTION.
1987 (rint_towardzero_test_data): Likewise.
1988 (rint_downward_test_data): Likewise.
1989 (rint_upward_test_data): Likewise.
1990
e9eee333
JM
1991 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1992 with OVERFLOW_EXCEPTION.
1993 (exp10_test_data): Likewise.
1994 (exp2_test_data): Likewise.
1995 (expm1_test_data): Likewise.
1996 (lgamma_test_data): Likewise.
1997 (pow_test_data): Likewise.
1998 (tgamma_test_data): Likewise.
1999 (yn_test_data): Remove duplicate test of overflow.
2000
1c38ff73
JM
2001 * math/libm-test.inc (struct test_cc_c_data): New type.
2002 (RUN_TEST_LOOP_cc_c): New macro.
2003 (cpow_test_data): New variable.
2004 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2005
15c7c18d
JM
2006 * math/libm-test.inc (struct test_f_L_data): New type.
2007 (RUN_TEST_LOOP_f_L): New macro.
2008 (llrint_test_data): New variable.
2009 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2010 (llrint_tonearest_test_data): New variable.
2011 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2012 (llrint_towardzero_test_data): New variable.
2013 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2014 (llrint_downward_test_data): New variable.
2015 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2016 (llrint_upward_test_data): New variable.
2017 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2018 (llround_test_data): New variable.
2019 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2020
f137ff13
PC
20212013-05-13 Peter Collingbourne <pcc@google.com>
2022
2023 * math/atest-exp2.c (get_log2): Remove const attribute.
2024
3608cb24
JM
20252013-05-15 Joseph Myers <joseph@codesourcery.com>
2026
2027 * math/libm-test.inc (struct test_f_l_data): New type.
2028 (RUN_TEST_LOOP_f_l): New macro.
2029 (lrint_test_data): New variable.
2030 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2031 (lrint_tonearest_test_data): New variable.
2032 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2033 (lrint_towardzero_test_data): New variable.
2034 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2035 (lrint_downward_test_data): New variable.
2036 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2037 (lrint_upward_test_data): New variable.
2038 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2039 (lround_test_data): New variable.
2040 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2041
39b1f617
PC
20422013-05-15 Peter Collingbourne <pcc@google.com>
2043
1deff3dc
PC
2044 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2045 (EXTRACT_WORDS64) Use where appropriate.
2046 (INSERT_WORDS64) Likewise.
2047
791f3ba0
PC
2048 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2049 constraints with x constraints.
2050 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2051
39b1f617
PC
2052 * malloc/obstack.c (_obstack_compat): Add initializer.
2053
12fba011
EM
20542013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2055
2056 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2057 si_trapno and add si_addr_lsb to _sifields.sigfault.
2058 (si_trapno): Remove macro.
2059 (si_addr_lsb): Define new macro.
2060 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2061
d369f531
JM
20622013-05-15 Joseph Myers <joseph@codesourcery.com>
2063
b861c6c4
JM
2064 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2065 instead of TEST_f_l.
2066 (llrint_test_tonearest): Likewise.
2067 (llrint_test_towardzero): Likewise.
2068 (llrint_test_downward): Likewise.
2069 (llrint_test_upward): Likewise.
2070 (llround_test): Likewise.
2071
7abeee12
JM
2072 * math/libm-test.inc (struct test_f_i_data): Add comment.
2073 (RUN_TEST_LOOP_f_b): New macro.
2074 (RUN_TEST_LOOP_f_b_tg): Likewise.
2075 (finite_test_data): New variable.
2076 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2077 (isfinite_test_data): New variable.
2078 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2079 (isinf_test_data): New variable.
2080 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2081 (isnan_test_data): New variable.
2082 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2083 (isnormal_test_data): New variable.
2084 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2085 (issignaling_test_data): New variable.
2086 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2087 (signbit_test_data): New variable.
2088 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2089
cbe8c4d3
JM
2090 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2091 with INVALID_EXCEPTION.
2092 (acosh_test_data): Likewise.
2093 (asin_test_data): Likewise.
2094 (atanh_test_data): Likewise.
2095 (fmod_test_data): Likewise.
2096 (log_test_data): Likewise.
2097 (log10_test_data): Likewise.
2098 (log2_test_data): Likewise.
2099 (pow_test_data): Likewise.
2100 (sqrt_test_data): Likewise.
2101 (y0_test_data): Likewise.
2102 (y1_test_data): Likewise.
2103 (yn_test_data): Likewise.
2104
5575c0e5
JM
2105 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2106 function contents.
2107
d369f531
JM
2108 * math/libm-test.inc (struct test_ff_i_data): New type.
2109 (RUN_TEST_LOOP_ff_i_tg): New macro.
2110 (isgreater_test_data): New variable.
2111 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2112 (isgreaterequal_test_data): New variable.
2113 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2114 (isless_test_data): New variable.
2115 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2116 (islessequal_test_data): New variable.
2117 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2118 (islessgreater_test_data): New variable.
2119 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2120 (isunordered_test_data): New variable.
2121 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2122
781fd748
DM
21232013-05-14 David S. Miller <davem@davemloft.net>
2124
2125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2126
87aa21df
JM
21272013-05-14 Joseph Myers <joseph@codesourcery.com>
2128
5e908270
JM
2129 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2130
f71172e5
JM
2131 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2132 extra_test to int.
2133 (struct test_f_i_data): Change type of max_ulp to int.
2134
8cfa635a
JM
2135 * math/libm-test.inc (test_ffI_f1_data): New type.
2136 (RUN_TEST_LOOP_ffI_f1): New macro.
2137 (remquo_test_data): New variable.
2138 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2139
2bcb36b2
JM
2140 * setjmp/tst-setjmp-fp.c: New file.
2141 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2142 (link-libm): New variable.
2143 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2144
acbd839a
JM
2145 * math/libm-test.inc (struct test_f_i_data): New type.
2146 (RUN_TEST_LOOP_f_i): New macro.
2147 (RUN_TEST_LOOP_f_i_tg): Likewise.
2148 (fpclassify_test_data): New variable.
2149 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2150 (ilogb_test_data): New variable.
2151 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2152
e414d745
JM
2153 * math/libm-test.inc (scalbln_test): Correct function name in END
2154 call.
2155
d9c2a0fd
JM
2156 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2157 (RUN_TEST_LOOP_fI_f1): New macro.
2158 (frexp_test_data): New variable.
2159 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2160
9dc9095d
JM
2161 * math/libm-test.inc (struct test_fF_f1_data): New type.
2162 (RUN_TEST_LOOP_fF_f1): New macro.
2163 (modf_test_data): New variable.
2164 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2165
87aa21df
JM
2166 * math/libm-test.inc (struct test_f_f1_data): New type.
2167 (RUN_TEST_LOOP_f_f1): New macro.
2168 (gamma_test_data): New variable.
2169 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2170 (lgamma_test_data): New variable.
2171 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2172
141af660
CD
21732013-05-13 Carlos O'Donell <carlos@redhat.com>
2174
2175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2176 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2177 (main): Comment "tls" pseudo-hwcap.
2178
6d33265c
JM
21792013-05-13 Joseph Myers <joseph@codesourcery.com>
2180
68fc074c
JM
2181 * math/libm-test.inc (struct test_fl_f_data): New type.
2182 (RUN_TEST_LOOP_fl_f): New variable.
2183 (scalbln_test_data): New variable.
2184 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2185
243216e1
JM
2186 * math/libm-test.inc (struct test_fi_f_data): New type.
2187 (RUN_TEST_LOOP_fi_f): New macro.
2188 (ldexp_test_data): New variable.
2189 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2190 (scalbn_test_data): New variable.
2191 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2192
6a1992e2
JM
2193 * math/libm-test.inc (struct test_c_f_data): New type.
2194 (RUN_TEST_LOOP_c_f): New macro.
2195 (cabs_test_data): New variable.
2196 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2197 (carg_test_data): New variable.
2198 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2199 (cimag_test_data): New variable.
2200 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2201 (creal_test_data): New variable.
2202 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2203
0e400df5
JM
2204 * math/libm-test.inc (struct test_if_f_data): New type.
2205 (RUN_TEST_LOOP_if_f): New macro.
2206 (jn_test_data): New variable.
2207 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2208 (yn_test_data): New variable.
2209 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2210
6d33265c
JM
2211 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2212
f98ece5f
AZ
22132013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214
2215 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2216 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2217
0f7d347b
SP
22182013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2219
43fe811b
SP
2220 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2221 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2222 (bench-deps): Add bench-timing.h.
2223 * benchtests-bench-skeleton.c: Include bench-timing.h.
2224 (main): Use TIMING_* macros instead of clock_gettime.
2225 * benchtests/bench-timing.h: New file.
2226
0f7d347b
SP
2227 [BZ #14582]
2228 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2229 Renamed from _LIB_VERSION.
2230 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2231
601a3a5f
JM
22322013-05-12 Joseph Myers <joseph@codesourcery.com>
2233
4f184d30
JM
2234 * math/libm-test.inc (struct test_fff_f_data): New type.
2235 (RUN_TEST_LOOP_fff_f): New macro.
2236 (fma_test_data): New variable.
2237 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2238 (fma_towardzero_test_data): New variable.
2239 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2240 (fma_downward_test_data): New variable.
2241 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2242 (fma_upward_test_data): New variable.
2243 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2244
08198877
JM
2245 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2246 (struct test_c_c_data): New type.
2247 (RUN_TEST_LOOP_c_c): New macro.
2248 (cacos_test_data): New variable.
2249 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2250 (cacosh_test_data): New variable.
2251 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2252 (casin_test_data): New variable.
2253 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2254 (casinh_test_data): New variable.
2255 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2256 (catan_test_data): New variable.
2257 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2258 (catanh_test_data): New variable.
2259 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2260 (ccos_test_data): New variable.
2261 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2262 (ccosh_test_data): New variable.
2263 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2264 (cexp_test_data): New variable.
2265 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2266 (clog_test_data): New variable.
2267 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2268 (clog10_test_data): New variable.
2269 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2270 (conj_test_data): New variable.
2271 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2272 (cproj_test_data): New variable.
2273 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2274 (csin_test_data): New variable.
2275 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2276 (csinh_test_data): New variable.
2277 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2278 (csqrt_test_data): New variable.
2279 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2280 (ctan_test_data): New variable.
2281 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2282 (ctan_tonearest_test_data): New variable.
2283 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2284 (ctan_towardzero_test_data): New variable.
2285 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2286 (ctan_downward_test_data): New variable.
2287 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2288 (ctan_upward_test_data): New variable.
2289 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2290 (ctanh_test_data): New variable.
2291 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2292 (ctanh_tonearest_test_data): New variable.
2293 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2294 (ctanh_towardzero_test_data): New variable.
2295 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2296 (ctanh_downward_test_data): New variable.
2297 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2298 (ctanh_upward_test_data): New variable.
2299 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2300 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2301 of BUILD_COMPLEX.
2302
601a3a5f
JM
2303 * math/libm-test.inc (struct test_ff_f_data): New type.
2304 (struct test_ff_f_data_nexttoward): Likewise.
2305 (RUN_TEST_LOOP_2_f): New macro.
2306 (RUN_TEST_LOOP_ff_f): Likewise.
2307 (atan2_test_data): New variable.
2308 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2309 (copysign_test_data): New variable.
2310 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2311 (fdim_test_data): New variable.
2312 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2313 (fmax_test_data): New variable.
2314 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2315 (fmin_test_data): New variable.
2316 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2317 (fmod_test_data): New variable.
2318 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2319 (hypot_test_data): New variable.
2320 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2321 (nextafter_test_data): New variable.
2322 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2323 (nexttoward_test_data): New variable.
2324 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2325 (pow_test_data): New variable.
2326 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2327 (pow_tonearest_test_data): New variable.
2328 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2329 (pow_towardzero_test_data): New variable.
2330 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2331 (pow_downward_test_data): New variable.
2332 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2333 (pow_upward_test_data): New variable.
2334 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2335 (remainder_test_data): New variable.
2336 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2337 (scalb_test_data): New variable.
2338 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update.
2340
74c57478
JM
23412013-05-11 Joseph Myers <joseph@codesourcery.com>
2342
8329e4da
JM
2343 * math/libm-test.inc (fma_test): Use max_value instead of local
2344 variable fltmax.
2345 (nextafter_test): Likewise.
2346
74c57478
JM
2347 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2348 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2349 (acos_downward_test_data): New variable.
2350 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2351 (acos_upward_test_data): New variable.
2352 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2353 (acosh_test_data): New variable.
2354 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2355 (asin_test_data): New variable.
2356 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2357 (asin_tonearest_test_data): New variable.
2358 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2359 (asin_towardzero_test_data): New variable.
2360 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2361 (asin_downward_test_data): New variable.
2362 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2363 (asin_upward_test_data): New variable.
2364 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2365 (asinh_test_data): New variable.
2366 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2367 (atan_test_data): New variable.
2368 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2369 (atanh_test_data): New variable.
2370 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2371 (cbrt_test_data): New variable.
2372 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2373 (ceil_test_data): New variable.
2374 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2375 (cos_test_data): New variable.
2376 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2377 (cos_tonearest_test_data): New variable.
2378 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2379 (cos_towardzero_test_data): New variable.
2380 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2381 (cos_downward_test_data): New variable.
2382 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2383 (cos_upward_test_data): New variable.
2384 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2385 (cosh_test_data): New variable.
2386 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2387 (cosh_tonearest_test_data): New variable.
2388 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2389 (cosh_towardzero_test_data): New variable.
2390 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2391 (cosh_downward_test_data): New variable.
2392 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2393 (cosh_upward_test_data): New variable.
2394 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2395 (erf_test_data): New variable.
2396 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2397 (erfc_test_data): New variable.
2398 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2399 (exp_test_data): New variable.
2400 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2401 (exp_tonearest_test_data): New variable.
2402 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2403 (exp_towardzero_test_data): New variable.
2404 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2405 (exp_downward_test_data): New variable.
2406 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2407 (exp_upward_test_data): New variable.
2408 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2409 (exp10_test_data): New variable.
2410 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2411 (exp2_test_data): New variable.
2412 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2413 (expm1_test_data): New variable.
2414 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2415 (fabs_test_data): New variable.
2416 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2417 (floor_test_data): New variable.
2418 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2419 (j0_test_data): New variable.
2420 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2421 (j1_test_data): New variable.
2422 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2423 (log_test_data): New variable.
2424 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2425 (log10_test_data): New variable.
2426 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2427 (log1p_test_data): New variable.
2428 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2429 (log2_test_data): New variable.
2430 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2431 (logb_test_data): New variable.
2432 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2433 (logb_downward_test_data): New variable.
2434 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2435 (nearbyint_test_data): New variable.
2436 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2437 (rint_test_data): New variable.
2438 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2439 (rint_tonearest_test_data): New variable.
2440 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2441 (rint_towardzero_test_data): New variable.
2442 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2443 (rint_downward_test_data): New variable.
2444 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2445 (rint_upward_test_data): New variable.
2446 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2447 (round_test_data): New variable.
2448 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2449 (sin_test_data): New variable.
2450 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2451 (sin_tonearest_test_data): New variable.
2452 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2453 (sin_towardzero_test_data): New variable.
2454 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2455 (sin_downward_test_data): New variable.
2456 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2457 (sin_upward_test_data): New variable.
2458 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2459 (sinh_test_data): New variable.
2460 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2461 (sinh_tonearest_test_data): New variable.
2462 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2463 (sinh_towardzero_test_data): New variable.
2464 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2465 (sinh_downward_test_data): New variable.
2466 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2467 (sinh_upward_test_data): New variable.
2468 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2469 (sqrt_test_data): New variable.
2470 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2471 (tan_test_data): New variable.
2472 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2473 (tan_tonearest_test_data): New variable.
2474 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2475 (tan_towardzero_test_data): New variable.
2476 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2477 (tan_downward_test_data): New variable.
2478 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2479 (tan_upward_test_data): New variable.
2480 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2481 (tanh_test_data): New variable.
2482 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2483 (tgamma_test_data): New variable.
2484 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2485 (trunc_test_data): New variable.
2486 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2487 (y0_test_data): New variable.
2488 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2489 (y1_test_data): New variable.
2490 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2491 (significand_test_data): New variable.
2492 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2493
7187d844
CG
24942013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2495
2496 [BZ #12387]
2497 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2498
f63fae73
PT
24992013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2500
2501 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2502
8a67a4b3
AJ
25032013-05-10 Andreas Jaeger <aj@suse.de>
2504
2505 [BZ #15448]
2506 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2507 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2508
51df539d
JM
25092013-05-10 Joseph Myers <joseph@codesourcery.com>
2510
2511 * math/gen-libm-test.pl (adjust_arg): New function.
2512 (special_functions): Handle generating output in both functions
2513 and arrays.
2514 (parse_args): Likewise.
2515 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2516 $in_func argument to parse_args.
2517 * math/libm-test.inc (struct test_f_f_data): New type.
2518 (IF_ROUND_INIT_): New macro.
2519 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2520 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2521 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2522 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2523 (ROUND_RESTORE_): Likewise.
2524 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2525 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2526 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2527 (ROUND_RESTORE_FE_UPWARD): Likewise.
2528 (RUN_TEST_LOOP_f_f): New macro.
2529 (acos_test_data): New variable.
2530 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2531 (acos_tonearest_test_data): New variable.
2532 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2533
5c637fe5
SP
25342013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2535
2536 * benchtests/bench-skeleton.c (startup): Fix coding style.
2537
ab2b9461
JM
25382013-05-10 Joseph Myers <joseph@codesourcery.com>
2539
2540 [BZ #6809]
2541 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2542 negative infinity argument.
2543 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2544 negative infinity argument.
2545 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2546 negative infinity argument.
2547 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2548 domain errors.
2549
4c0fe6fe
FW
25502013-05-10 Florian Weimer <fweimer@redhat.com>
2551
2552 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2553 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2554 * iconv/iconv_prog.c (main): Likewise.
2555 * locale/programs/charmap-dir.c (charmap_readdir)
2556 (fopen_uncompressed): Likewise.
2557 * locale/programs/locfile.c (siblings_uncached)
2558 (write_locale_data): Use lstat64 instead of lstat.
2559 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2560 stat.
2561
a3375d29
AJ
25622013-05-10 Andreas Jaeger <aj@suse.de>
2563
2564 [BZ #15395]
2565 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2566 localization.
2567 Include <locale.h>.
2568
36129722
CD
25692013-05-09 Carlos O'Donell <carlos@redhat.com>
2570
2571 * elf/dl-close.c (_dl_close_worker): Add comments.
2572
faa7f811
JM
25732013-05-09 Joseph Myers <joseph@codesourcery.com>
2574
ed41ffef
JM
2575 [BZ #15359]
2576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2577 high part of pi/2.
2578 (__ieee754_rem_pio2l): Update comments.
2579
d0213cd0
JM
2580 [BZ #15429]
2581 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2582 high part of pi/2.
2583 (__ieee754_rem_pio2l): Update comments.
2584
0d3e777a
JM
2585 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2586 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2587
24f56066
JM
2588 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2589 M_PI_4l.
2590
faa7f811
JM
2591 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2592 (M_PI_34_LOG10El): Likewise.
2593 (M_PI2_LOG10El): Likewise.
2594 (M_PI4_LOG10El): Likewise.
2595 (M_PI_LOG10El): Likewise.
2596
e9a5e0fd
AZ
25972013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598
2599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2600
d8cd06db
JM
26012013-05-08 Joseph Myers <joseph@codesourcery.com>
2602
a0d9f9d7
JM
2603 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2604 (MINUS_ZERO_INIT): Likewise.
2605 (PLUS_INFTY_INIT): Likewise.
2606 (MINUS_INFTY_INIT): Likewise.
2607 (QNAN_VALUE_INIT): Likewise.
2608 (MAX_VALUE_INIT): Likewise.
2609 (MIN_VALUE_INIT): Likewise.
2610 (MIN_SUBNORM_VALUE_INIT): Likewise.
2611 (plus_zero): Initialize with PLUS_ZERO_INIT.
2612 (minus_zero): Initialize with MINUS_ZERO_INIT.
2613 (plus_infty): Initialize with PLUS_INFTY_INIT.
2614 (minus_infty): Initialize with MINUS_INFTY_INIT.
2615 (qnan_value): Initialize with QNAN_VALUE_INIT.
2616 (max_value): Initialize with MAX_VALUE_INIT.
2617 (min_value): Initialize with MIN_VALUE_INIT.
2618 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2619
ae08db3b
JM
2620 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2621 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2622 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2623 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2624
f44bf14a
JM
2625 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2626 (RUN_TEST_2_f): Likewise.
2627 (RUN_TEST_ff_f): Likewise.
2628 (RUN_TEST_fi_f): Likewise.
2629 (RUN_TEST_fl_f): Likewise.
2630 (RUN_TEST_fff_f): Likewise.
2631 (RUN_TEST_c_f): Likewise.
2632 (RUN_TEST_f_f1): Likewise.
2633 (RUN_TEST_fF_f1): Likewise.
2634 (RUN_TEST_fI_f1): Likewise.
2635 (RUN_TEST_ffI_f1): Likewise.
2636 (RUN_TEST_c_c): Likewise.
2637 (RUN_TEST_cc_c): Likewise.
2638 (RUN_TEST_f_i): Likewise.
2639 (RUN_TEST_f_i_tg): Likewise.
2640 (RUN_TEST_ff_i_tg): Likewise.
2641 (RUN_TEST_f_b): Likewise.
2642 (RUN_TEST_f_b_tg): Likewise.
2643 (RUN_TEST_f_l): Likewise.
2644 (RUN_TEST_f_L): Likewise.
2645 (RUN_TEST_sincos): Likewise.
2646 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2647 whether to show exceptions. Do not include ");\n" in return
2648 value.
2649 (special_functions): Output call to RUN_TEST_sincos instead of
2650 check_float calls. Update calls to new_test.
2651 (parse_args): Output call to single RUN_TEST_* macro instead of
2652 check_* calls and other assignments. Update calls to new_test.
2653
d8cd06db
JM
2654 [BZ #2546]
2655 [BZ #2560]
2656 [BZ #5159]
2657 [BZ #15426]
2658 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2659 input to result for tgamma overflow.
2660 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2661 (gamma_coeff): New variable.
2662 (NCOEFF): New macro.
2663 (gamma_positive): New function.
2664 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2665 underflow here. Use gamma_positive instead of exp (lgamma) for
2666 other arguments.
2667 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2668 (gamma_coeff): New variable.
2669 (NCOEFF): New macro.
2670 (gammaf_positive): New function.
2671 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2672 underflow here. Use gamma_positive instead of exp (lgamma) for
2673 other arguments.
2674 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2675 (gamma_coeff): New variable.
2676 (NCOEFF): New macro.
2677 (gammal_positive): New function.
2678 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2679 underflow here. Use gamma_positive instead of exp (lgamma) for
2680 other arguments.
2681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2682 (gamma_coeff): New variable.
2683 (NCOEFF): New macro.
2684 (gammal_positive): New function.
2685 (__ieee754_gammal_r): Handle positive infinity, overflow and
2686 underflow here. Handle NaN the same as positive infinity. Remove
2687 check x < 0xffffffff for negative integers. Use gamma_positive
2688 instead of exp (lgamma) for other arguments.
2689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2690 (gamma_coeff): New variable.
2691 (NCOEFF): New macro.
2692 (gammal_positive): New function.
2693 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2694 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2697 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2698 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2699 * sysdeps/generic/math_private.h (__gamma_productf): New
2700 prototype.
2701 (__gamma_product): Likewise.
2702 (__gamma_productl): Likewise.
2703 * math/Makefile (libm-calls): Add gamma_product.
2704 * math/libm-test.inc (tgamma_test): Add more tests.
2705 * sysdeps/i386/fpu/libm-test-ulps: Update.
2706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2707
bb7cf681
OB
27082013-05-08 Ondřej Bílka <neleai@seznam.cz>
2709
2710 * benchtests/bench-skeleton.c (main): Preheat CPU.
2711
ba853947
AJ
27122013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2713
2714 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2715
8347c74c
RM
27162013-05-07 Roland McGrath <roland@hack.frob.com>
2717
2718 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2719 and _dl_skip_args_internal.
2720
e8dd4791
CD
27212013-05-07 Carlos O'Donell <carlos@redhat.com>
2722
2723 * manual/message.texi (Message Translation): Talk about users.
2724 Message to key mapping impacts design.
2725
c7405830
RM
27262013-05-06 Roland McGrath <roland@hack.frob.com>
2727
a9173057
RM
2728 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2729
976e2f03
RM
2730 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2731
9723ffc5
RM
2732 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2733 * sysdeps/wordsize-64/glob64.c: ... here.
2734
962e6658
RM
2735 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2736 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2737 New macros.
2738
ee586a6d
RM
2739 * debug/getlogin_r_chk.c: Moved to ...
2740 * login/getlogin_r_chk.c: ... here.
2741 * debug/Makefile (routines): Move getlogin_r_chk to ...
2742 * login/Makefile (routines): ... here.
2743 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2744 * login/Versions (libc: GLIBC_2.4): ... here.
2745
355f9165
RM
2746 * io/poll.c (__poll): Renamed from poll.
2747 Add libc_hidden_def.
2748 (poll): Define as weak alias.
2749
bd9ffde6
RM
2750 * debug/ptsname_r_chk.c: Moved to ...
2751 * login/ptsname_r_chk.c: ... here.
2752 * debug/Makefile (routines): Move ptsname_r_chk to ...
2753 * login/Makefile (routines): ... here.
2754 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2755 * login/Versions (libc: GLIBC_2.4): ... here.
2756
8fb16a04
RM
2757 * posix/getlogin.c: Moved to ...
2758 * login/getlogin.c: ... here.
2759 * posix/getlogin_r.c: Moved to ...
2760 * login/getlogin_r.c: ... here.
2761 * posix/getlogin_r.c: Moved to ...
2762 * login/getlogin_r.c: ... here.
2763 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2764 * login/Makefile (routines): ... here.
2765 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2766 * login/Versions (libc: GLIBC_2.0): ... here.
2767
b99b892f
RM
2768 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2769 (setrlimit): Define as weak alias.
2770
c7405830
RM
2771 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2772 Call __ names for open, ftruncate, and close.
2773 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2774 (truncate): Define as weak alias.
2775
5bf96de5
JM
27762013-05-06 Joseph Myers <joseph@codesourcery.com>
2777
9ea3513c
JM
2778 * math/gen-libm-test.pl (parse_args): Initialize x before each
2779 test of frexp, modf and remquo.
2780
5bf96de5
JM
2781 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2782 test signgam value.
2783
16e616a7
AZ
27842013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2785
2786 [BZ #15418]
2787 [BZ #15419]
2788 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2789 internal tests.
2790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2791
d5e82754
RM
27922013-05-06 Roland McGrath <roland@hack.frob.com>
2793
2794 * elf/dl-writev.h: New file.
2795 * elf/dl-misc.c: Include it.
2796 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2797 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2798
a7548d41
JM
27992013-05-04 Joseph Myers <joseph@codesourcery.com>
2800
b7dab1e4
JM
2801 * math/libm-test.inc (noXFails): Remove variable.
2802 (noXPasses): Likewise.
2803 (BUILD_COMPLEX_INT): Remove macro.
2804 (print_screen): Remove xfail argument.
2805 (print_screen_max_error): Likewise.
2806 (update_stats): Likewise.
2807 (print_max_error): Likewise. Update calls to other affected
2808 functions.
2809 (print_complex_max_error): Likewise.
2810 (test_single_exception): Update calls to print_screen.
2811 (test_single_errno): Likewise.
2812 (check_float_internal): Remove xfail argument. Update calls to
2813 other affected functions.
2814 (check_float): Likewise.
2815 (check_complex): Likewise.
2816 (check_int): Likewise.
2817 (check_long): Likewise.
2818 (check_bool): Likewise.
2819 (check_longlong): Likewise.
2820 (main): Don't print noXFails and noXPasses.
2821 * math/gen-libm-test.pl (top level): Don't mention expected
2822 failure handling in comment.
2823 (new_test): Don't handle expected failures.
2824 (parse_args): Don't mention expected failure handling in comment.
2825 (generate_testfile): Don't handle expected failures.
2826 (parse_ulps): Likewise.
2827 (print_ulps_file): Likewise.
2828 (get_failure): Remove function.
2829 (output_test): Don't handle expected failures.
2830 * make/README.libm-test: Don't mention expected failure handling.
2831
a7548d41
JM
2832 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2833 (minus_zero): Likewise.
2834 (plus_infty): Likewise.
2835 (minus_infty): Likewise.
2836 (qnan_value): Likewise.
2837 (max_value): Likewise.
2838 (min_value): Likewise.
2839 (min_subnorm_value): Likewise.
2840 (initialize): Do not initialize those variables dynamically.
2841
60bfd54c
RM
28422013-05-03 Roland McGrath <roland@hack.frob.com>
2843
cc0e6ed8
RM
2844 * io/open.c (__open_2): Moved to ...
2845 * io/open_2.c: ... this new file.
2846 * io/open64.c (__open64_2): Moved to ...
2847 * io/open64_2.c: ... this new file.
2848 * io/openat.c (__openat_2): Moved to ...
2849 * io/openat_2.c: ... this new file.
2850 * io/openat64.c (__openat64_2): Moved to ...
2851 * io/openat64_2.c: ... this new file.
2852 * io/Makefile (routines): Add them.
2853 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2854 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2855 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2856 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2857 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2858 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2859 (__openat64): Add hidden_ver.
2860 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2861 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2862
60bfd54c
RM
2863 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2864 Separately conditionalize setting of GLRO(dl_sysinfo) so
2865 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2866 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2867
83e7640f
AZ
28682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869
2870 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2871 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2872 definition.
2873 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2874 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2875 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2876 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2877 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2878
d5dc2af3
JM
28792013-05-03 Joseph Myers <joseph@codesourcery.com>
2880
c31a5b1e
JM
2881 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2882 test signgam value.
2883
d5dc2af3
JM
2884 * math/libm-test.inc (hypot_test): Do not use
2885 IGNORE_ZERO_INF_SIGN.
2886
164fd39d
AJ
28872013-05-03 Andreas Jaeger <aj@suse.de>
2888
2889 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2890 Linux 3.9.
2891 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2892 (PF_MAX): Adjust for VSOCK change.
2893
8237f48c
AZ
28942013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895
2896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2897
9df02941
CD
28982013-05-02 Carlos O'Donell <carlos@redhat.com>
2899
2900 [BZ #15264]
2901 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2902 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2903 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2904
d422395e
DM
29052013-05-02 David S. Miller <davem@davemloft.net>
2906
2907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2908
a07c5731
OB
29092013-05-01 Ondřej Bílka <neleai@seznam.cz>
2910
2911 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2912
1324e37f
RM
29132013-05-01 Roland McGrath <roland@hack.frob.com>
2914
2915 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2916
0695940b
RS
29172013-05-01 Richard Smith <richard@metafoo.co.uk>
2918
bb5f27ad 2919 [BZ #14952]
0695940b
RS
2920 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2921 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2922 Use __attribute__ ((__gnu_inline__)).
2923 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2924 Don't use __attribute__ ((__gnu_inline__)).
2925
10de07f5
JM
29262013-05-01 Joseph Myers <joseph@codesourcery.com>
2927
2928 [BZ #15423]
2929 * math/s_catan.c (__catan): Handle small real or imaginary part of
2930 input specially to avoid spurious underflow.
2931 * math/s_catanf.c (__catanf): Likewise.
2932 * math/s_catanh.c (__catanh): Likewise.
2933 * math/s_catanhf.c (__catanhf): Likewise.
2934 * math/s_catanhl.c (__catanhl): Likewise.
2935 * math/s_catanl.c (__catanl): Likewise.
2936 * math/libm-test.inc (catan_test): Add more tests.
2937 (catanh_test): Likewise.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2940
cb4d5414
AZ
29412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942
2943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2944
caf84319
JM
29452013-04-30 Joseph Myers <joseph@codesourcery.com>
2946
2947 [BZ #15416]
2948 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2949 accurately for denominator in atan2.
2950 * math/s_catanf.c (__catanf): Likewise.
2951 * math/s_catanh.c (__catanh): Likewise.
2952 * math/s_catanhf.c (__catanhf): Likewise.
2953 * math/s_catanhl.c (__catanhl): Likewise.
2954 * math/s_catanl.c (__catanl): Likewise.
2955 * math/libm-test.inc (catan_test): Add more tests.
2956 (catanh_test): Likewise.
2957 * sysdeps/i386/fpu/libm-test-ulps: Update.
2958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2959
d569c6ee
SP
29602013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
6dbe713d
SP
2962 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2963
f0ee064b
SP
2964 * benchtests/Makefile (bench): Remove slow benchmarks.
2965 * benchtests/atan-inputs: Add slow benchmark inputs.
2966 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2967 (BENCH_FUNC): Accept variant offset.
2968 (VARIANT): Define.
2969 * benchtests/bench-skeleton.c (main): Run benchmark for each
2970 variant.
2971 * benchtests/cos-inputs: Add slow benchmark inputs.
2972 * benchtests/exp-inputs: Likewise.
2973 * benchtests/pow-inputs: Likewise.
2974 * benchtests/sin-inputs: Likewise.
2975 * benchtests/slowatan-inputs: Remove.
2976 * benchtests/slowatan.c: Remove.
2977 * benchtests/slowcos-inputs: Remove.
2978 * benchtests/slowcos.c: Remove.
2979 * benchtests/slowexp-inputs: Remove.
2980 * benchtests/slowexp.c: Remove.
2981 * benchtests/slowpow-inputs: Remove.
2982 * benchtests/slowpow.c: Remove.
2983 * benchtests/slowsin-inputs: Remove.
2984 * benchtests/slowsin.c: Remove.
2985 * benchtests/slowtan-inputs: Remove.
2986 * benchtests/slowtan.c: Remove.
2987 * benchtests/tan-inputs: Add slow benchmark inputs.
2988 * scripts/bench.pl: Parse comments and directives.
2989
d569c6ee
SP
2990 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2991 in CPPFLAGS.
2992 ($(objpfx)bench-%.c): Remove *-ITER.
2993 * benchtests/bench-modf.c: Remove definition of ITER.
2994 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2995 (main): Loop for DURATION seconds instead of fixed number of
2996 iterations.
2997 * scripts/bench.pl: Don't expect iterations in parameters.
2998
a6a242fe
RM
29992013-04-29 Roland McGrath <roland@hack.frob.com>
3000
3001 * io/fchdir.c (__fchdir): Renamed from fchdir.
3002 (fchdir): Define as weak alias.
3003
f2da7793
JM
30042013-04-29 Joseph Myers <joseph@codesourcery.com>
3005
3006 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3007 (ERRNO_EDOM): Likewise.
3008 (ERRNO_ERANGE): Likewise.
3009 (noErrnoTests): New variable.
3010 (init_max_error): Set errno to 0.
3011 (test_single_errno): New function.
3012 (test_errno): Likewise.
3013 (check_float_internal): Call test_errno. Set errno to 0.
3014 (check_complex): Refer to errno tests in comment.
3015 (check_int): Call test_errno. Set errno to 0.
3016 (check_long): Likewise.
3017 (check_bool): Likewise.
3018 (check_longlong): Likewise.
3019 (cos_test): Use ERRNO_* flags for errno tests instead of
3020 check_int.
3021 (expm1_test): Likewise.
3022 (fmod_test): Likewise.
3023 (ilogb_test): Likewise.
3024 (lgamma_test): Likewise.
3025 (pow_test): Likewise.
3026 (remainder_test): Likewise.
3027 (sin_test): Likewise.
3028 (tan_test): Likewise.
3029 (yn_test): Likewise.
3030 (initialize): Set errno to 0.
3031 (main): Print number of errno tests.
3032 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3033
b1a36ceb
AJ
30342013-04-29 Andreas Jaeger <aj@suse.de>
3035
c3ed8088
AJ
3036 [BZ #15084]
3037 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3038 and RES_USEVC.
3039
f1a24198
AJ
3040 [BZ #15085]
3041 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3042 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3043 unimplemented.
3044
9ce3b2cb
AJ
3045 [BZ #15380]
3046 * stdlib/random.c (__initstate): Return NULL if
3047 __initstate fails.
3048
f1a24198 3049 [BZ #15086]
b1a36ceb
AJ
3050 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3051 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3052 RES_SNGLKUPREOP.
3053
7e7b6f36
AZ
30542013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3057
4d14f449
JM
30582013-04-29 Joseph Myers <joseph@codesourcery.com>
3059
3060 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3061 of individual tests.
3062 (casin_test): Likewise.
3063 (casinh_test): Likewise.
3064
5b4217d7
JM
30652013-04-27 Joseph Myers <joseph@codesourcery.com>
3066
3067 [BZ #15409]
3068 * math/s_catan.c (__catan): Handle arguments with large real or
3069 imaginary part separately without squaring.
3070 * math/s_catanf.c (__catanf): Likewise.
3071 * math/s_catanh.c (__catanh): Likewise.
3072 * math/s_catanhf.c (__catanhf): Likewise.
3073 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3074 and redefine.
3075 (__catanhl): Handle arguments with large real or imaginary part
3076 separately without squaring.
3077 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3078 and redefine.
3079 (__catanl): Handle arguments with large real or imaginary part
3080 separately without squaring.
3081 * math/libm-test.inc (catan_test): Add more tests.
3082 (catanh_test): Likewise.
3083 * sysdeps/i386/fpu/libm-test-ulps: Update.
3084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3085
4220c3ef
AJ
30862013-04-27 Andreas Jaeger <aj@suse.de>
3087
3088 [BZ #15007]
3089 * stdlib/stdlib.h: Update guards for qecvt.
3090 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3091 <stdlib.h>.
3092
4721b2d1
AM
30932013-04-27 Allan McRae <allan@archlinux.org>
3094
3095 * sysdeps/i386/fpu/libm-test-ulps: Update.
3096
f0302940
JM
30972013-04-26 Joseph Myers <joseph@codesourcery.com>
3098
9457fd95
JM
3099 [BZ #15406]
3100 * math/s_catan.c: Include <float.h>.
3101 (__catan): Ensure underflow exception occurs for underflowed
3102 result.
3103 * math/s_catanf.c: Include <float.h>.
3104 (__catanf): Ensure underflow exception occurs for underflowed
3105 result.
3106 * math/s_catanh.c: Include <float.h>.
3107 (__catanh): Ensure underflow exception occurs for underflowed
3108 result.
3109 * math/s_catanhf.c: Include <float.h>.
3110 (__catanhf): Ensure underflow exception occurs for underflowed
3111 result.
3112 * math/s_catanhl.c: Include <float.h>.
3113 (__catanhl): Ensure underflow exception occurs for underflowed
3114 result.
3115 * math/s_catanl.c: Include <float.h>.
3116 (__catanl): Ensure underflow exception occurs for underflowed
3117 result.
3118 * math/libm-test.inc (catan_test): Add more tests.
3119 (catanh_test): Likewise.
3120
f0302940
JM
3121 [BZ #15405]
3122 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3123 underflowed result.
3124 * math/s_ccoshf.c (__ccoshf): Likewise.
3125 * math/s_ccoshl.c (__ccoshl): Likewise.
3126 * math/s_csin.c (__csin): Likewise.
3127 * math/s_csinf.c (__csinf): Likewise.
3128 * math/s_csinh.c (__csinh): Likewise.
3129 * math/s_csinhf.c (__csinhf): Likewise.
3130 * math/s_csinhl.c (__csinhl): Likewise.
3131 * math/s_csinl.c (__csinl): Likewise.
3132 * math/libm-test.inc (ccos_test): Add more tests.
3133 (ccosh_test): Likewise.
3134 (csin_test): Likewise.
3135 (csinh_test): Likewise.
3136
aa630f59
AZ
31372013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3138
3139 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3140 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3141 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3142 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3143 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3144 powerpc/power5+/fpu folders.
3145 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3146
3147
1b835983
MT
31482013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3149
3150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3151
73709b26
JM
31522013-04-25 Joseph Myers <joseph@codesourcery.com>
3153
3154 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3155 additions to variable.
3156 [$(config-machine) = x86_64] (modules-names): Likewise.
3157 ($(objpfx)tst-audit3): Remove dependency.
3158 ($(objpfx)tst-audit3.out): Likewise.
3159 ($(objpfx)tst-audit4): Likewise.
3160 ($(objpfx)tst-audit4.out): Likewise.
3161 ($(objpfx)tst-audit5): Likewise.
3162 ($(objpfx)tst-audit5.out): Likewise.
3163 ($(objpfx)tst-audit6): Likewise.
3164 ($(objpfx)tst-audit6.out): Likewise.
3165 ($(objpfx)tst-audit7): Likewise.
3166 ($(objpfx)tst-audit7.out): Likewise.
3167 (tst-audit3-ENV): Remove variable.
3168 (tst-audit4-ENV): Likewise.
3169 (tst-audit5-ENV): Likewise.
3170 (tst-audit6-ENV): Likewise.
3171 (tst-audit7-ENV): Likewise.
3172 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3173 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3174 addition to variable.
3175 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3176 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3177 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3178 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3180 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3181 tst-audit3, tst-audit4 and tst-audit5.
3182 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3183 tst-audit6 and tst-audit7.
3184 [$(subdir) = elf] (modules-names): Add audit modules for those
3185 tests.
3186 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3187 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3188 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3189 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3190 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3191 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3192 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3193 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3194 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3195 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3196 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3197 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3198 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3199 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3200 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3201 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3202 Likewise.
3203 [$(subdir) = elf && $(config-cflags-avx) = yes]
3204 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3205 [$(subdir) = elf && $(config-cflags-avx) = yes]
3206 (CFLAGS-tst-auditmod4a.c): Likewise.
3207 [$(subdir) = elf && $(config-cflags-avx) = yes]
3208 (CFLAGS-tst-auditmod4b.c): Likewise.
3209 [$(subdir) = elf && $(config-cflags-avx) = yes]
3210 (CFLAGS-tst-auditmod6b.c): Likewise.
3211 [$(subdir) = elf && $(config-cflags-avx) = yes]
3212 (CFLAGS-tst-auditmod6c.c): Likewise.
3213 [$(subdir) = elf && $(config-cflags-avx) = yes]
3214 (CFLAGS-tst-auditmod7b.c): Likewise.
3215 * elf/tst-audit3.c: Move to ...
3216 * sysdeps/x86_64/tst-audit3.c: ... here.
3217 * elf/tst-audit4.c: Move to ...
3218 * sysdeps/x86_64/tst-audit4.c: ... here.
3219 * elf/tst-audit5.c: Move to ...
3220 * sysdeps/x86_64/tst-audit5.c: ... here.
3221 * elf/tst-audit6.c: Move to ...
3222 * sysdeps/x86_64/tst-audit6.c: ... here.
3223 * elf/tst-audit7.c: Move to ...
3224 * sysdeps/x86_64/tst-audit7.c: ... here.
3225 * elf/tst-auditmod3a.c: Move to ...
3226 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3227 * elf/tst-auditmod3b.c: Move to ...
3228 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3229 * elf/tst-auditmod4a.c: Move to ...
3230 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3231 * elf/tst-auditmod4b.c: Move to ...
3232 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3233 * elf/tst-auditmod5a.c: Move to ...
3234 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3235 * elf/tst-auditmod5b.c: Move to ...
3236 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3237 * elf/tst-auditmod6a.c: Move to ...
3238 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3239 * elf/tst-auditmod6b.c: Move to ...
3240 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3241 * elf/tst-auditmod6c.c: Move to ...
3242 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3243 * elf/tst-auditmod7a.c: Move to ...
3244 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3245 * elf/tst-auditmod7b.c: Move to ...
3246 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3247
1ef74943
PP
32482013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3249
3250 [BZ #15366]
3251 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3252 define unconditionally.
3253 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3254 define unconditionally.
3255 (INT8_C, INT16_C, etc.): Likewise.
3256
93fd48c5
MR
32572013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3258
ae9552cf
MR
3259 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3260 __ehdr_start with hidden visibility.
3261
93fd48c5
MR
3262 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3263
418601aa
CD
32642013-04-24 Carlos O'Donell <carlos@redhat.com>
3265
3266 * math/libm-test.inc (cos_test): Use accurate hex constants.
3267 (sincost_test): Likewise.
3268
2f38fbfe
JM
32692013-04-24 Joseph Myers <joseph@codesourcery.com>
3270
5e221800
JM
3271 * math/libm-test.inc (catan_test): Add more tests.
3272 (catanh_test): Likewise.
3273
77f143fd
JM
3274 * math/s_catanf.c (__catanf): Use suffixed floating-point
3275 constants.
3276 * math/s_catanhf.c (__catanhf): Likewise.
3277 * math/s_catanhl.c (__catanhl): Likewise.
3278 * math/s_catanl.c (__catanl): Likewise.
3279
2f38fbfe
JM
3280 [BZ #15394]
3281 * math/s_catan.c (__catan): Calculate imaginary part of result
3282 with log1p not log unless computing log of number close to 0.
3283 * math/s_catanf.c (__catanf): Likewise.
3284 * math/s_catanl.c (__catanl): Likewise.
3285 * math/s_catanh.c (__catanh): Calculate real part of result with
3286 log1p not log unless computing log of number close to 0.
3287 * math/s_catanhf.c (__catanhf): Likewise.
3288 * math/s_catanhl.c (__catanhl): Likewise.
3289 * math/libm-test.inc (catan_test): Add more tests.
3290 (catanh_test): Likewise.
3291 * sysdeps/i386/fpu/libm-test-ulps: Update.
3292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3293
45d69176
SP
32942013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3295
3296 * benchtests/Makefile: Mention files in which fast and slow
3297 paths of math functions are implemented.
3298
87f51853
RM
32992013-04-23 Roland McGrath <roland@hack.frob.com>
3300
3301 * sysdeps/posix/timespec_get.c: New file.
3302
3c026539
AZ
33032013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304
3305 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3306 POWER.
3307 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3308 for POWER.
3309 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3310 powerpc/power5/fpu folders.
3311 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3312 * benchtests/Makefile: Add modf testcase.
3313 * benchtests/bench-modf.c: New file: Benchmark test for mo
3314
ff491d14
SP
33152013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3316
3317 [BZ #14888]
3318 * time/Makefile (tests): Add tst-strptime-whitespace.
3319 * time/strptime_l.c (get_number): Use ISSPACE.
3320 (__strptime_internal): Likewise.
3321 * time/tst-strptime-whitespace.c: New test case.
3322
7ed3f4e8
AS
33232013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3324
3325 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3326 member.
3327 (_nss_files_init): Set it here.
3328
5c95f7b6
HC
33292013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3330
3331 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3332 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3333 unsigned.
3334
d34c9158
JBG
33352013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3336
3337 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3338
2169712d
SP
33392013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3340
3341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3342 size just once.
3343
29c5de99
DM
33442013-04-21 David S. Miller <davem@davemloft.net>
3345
3346 * po/ru.po: Update Russion translation from translation project.
3347
ccdad15d
AC
33482013-04-17 Adam Conrad <adconrad@0c3.net>
3349
3350 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3351 and setfsgid.
3352
0f122b8d
CD
33532013-04-17 Carlos O'Donell <carlos@redhat.com>
3354
5c5b07da 3355 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3356 * configure: Regenerate.
5c5b07da 3357 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3358 Add example to error message.
3359 * sysdeps/i386/configure: Regenerate.
3360
037714dd
SP
33612013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
3363 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3364 slowtan.
3365 * benchtests/cos-inputs: New file.
3366 * benchtests/slowcos-inputs: New file.
3367 * benchtests/slowcos.c: New file.
3368 * benchtests/slowtan-inputs: New file.
3369 * benchtests/slowtan.c: New file.
3370 * benchtests/tan-inputs: New file.
3371
e913141d
RM
33722013-04-16 Roland McGrath <roland@hack.frob.com>
3373
3374 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3375 considered kosher.
3376
a2964074
SP
33772013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3378
4856bcd2
SP
3379 * benchtests/Makefile: Include cppflags-iterator.mk to add
3380 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3381
a2964074
SP
3382 * Makefile.in (bench-clean): New target.
3383 * benchtests/Makefile (bench-clean): Likewise.
3384
9fbf9aca
DH
33852013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3386
3387 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3388
207d1e2a
TS
33892013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3390
3391 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3392
306dfba9
AS
33932013-04-15 Andreas Schwab <schwab@suse.de>
3394
3395 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3397 * nscd/pwdcache.c (cache_addpw): Likewise.
3398 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3399 more than recsize.
3400
206a6699
SP
34012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3402
3403 * benchtests/Makefile (bench): Write all output to
3404 bench-out.tmp together.
3405
0582f6b3
AS
34062013-04-15 Andreas Schwab <schwab@suse.de>
3407
3408 * nscd/nscd.c (main): Don't fork again after closing files.
3409
acb4325f
SP
34102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3411
5cb26d0a
SP
3412 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3413
acb4325f
SP
3414 * benchtests/Rules (bench-deps): Collect dependencies into a
3415 single variable. Add Makefile to dependencies.
3416 ($(objpfx)bench-%.c): Depend on bench-deps.
3417
47792506
RM
34182013-04-12 Roland McGrath <roland@hack.frob.com>
3419 Xavier Roche <roche+kml2@exalead.com>
3420
3421 [BZ #15361]
3422 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3423 just that it's a file descriptor.
3424 * manual/llio.texi (Synchronizing AIO Operations): Update description
3425 for EBADF error from aio_fsync.
3426
8fc1bee5
SP
34272013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3428
3429 * Rules (bench): Move target definition...
3430 * benchtests/Makefile: ... here.
3431
aba5e333
CD
34322013-04-11 Carlos O'Donell <carlos@redhat.com>
3433
3434 * math/libm-test.inc (cos_test): Fix PI/2 test.
3435 (sincos_test): Likewise.
3436 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3437 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3438
273cdee8
AS
34392013-04-11 Andreas Schwab <schwab@suse.de>
3440
6ecec3b6
AS
3441 [BZ #13988]
3442 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3443 accept exponent character only when digits were seen.
3444 * stdio-common/Makefile (tests): Add bug26.
3445 * stdio-common/bug26.c: New file.
3446
273cdee8
AS
3447 [BZ #14293]
3448 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3449 non-freeable.
3450
8da491f5
SP
34512013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3452
01dc6df9
SP
3453 * Makeconfig (rtld-prefix): Define built linker prefix.
3454 * Rules (run-bench): Use it.
3455 * math/Makefile (run-regen-ulps): Likewise.
3456
8da491f5
SP
3457 * Rules (bench): Remove eval.
3458
abe7f530
SP
34592013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3460 Roland McGrath <roland@hack.frob.com>
3461 Ondrej Bilka <neleai@seznam.cz>
3462
3463 [BZ #15346]
3464 * time/getdate.c: Include ctype.h and alloca.h.
3465 (__getdate_r): Trim leading and trailing spaces of input.
3466 * time/tst-getdate.c (tests): Add tests with leading and
3467 trailing spaces.
3468
61c23e62
RM
34692013-04-08 Roland McGrath <roland@hack.frob.com>
3470
3471 [BZ #14280]
3472 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3473 when computing value.
3474
7208a313
CD
34752013-04-06 Carlos O'Donell <carlos@redhat.com>
3476
085b2d41
CD
3477 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3478 Use testrun.sh to run libm tests.
3479
7208a313
CD
3480 [BZ #15309]
3481 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3482
872c0acd
MM
34832013-04-06 Marko Myllynen <myllynen@redhat.com>
3484
3485 [BZ #15264]
3486 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3487
26510bdd
CD
34882013-04-06 Carlos O'Donell <carlos@redhat.com>
3489
3490 * Makefile.in (regen-ulps): New target.
3491 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3492 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3493 [ifneq (no,$(PERL)] (regen-ulps): New target.
3494 [ifeq (no,$(PERL)] (regen-ulps): New target.
3495 * math/libm-test.inc (ulps_file_name): Define.
3496 (output_dir): New variable.
3497 (options): Add "output-dir" option.
3498 (parse_opt): Handle 'o' case.
3499 (main): If output_dir is non-NULL use it as a prefix
3500 otherwise use "".
3501 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3502
a01f19c8
CD
35032013-04-06 Carlos O'Donell <carlos@redhat.com>
3504
3505 [BZ #10060, #10062]
3506 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3507 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3508 fail configure if __sync_val_compare_and_swap is not inlined.
3509 * sysdeps/i386/configure: Regenerate.
3510 * configure.in: Build for i686 when configured for i386.
3511 * configure: Regenerate.
3512 * README: Remove i386 reference.
3513
b7a329a5
CD
35142013-04-06 Carlos O'Donell <carlos@redhat.com>
3515
3516 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3518
bf0f50df
TS
35192013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3520
ee091edf
TS
3521 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3522 (lmsnanval): New variables.
3523 (F): Add conversion tests.
3524 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3525 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3526
a8b792d6
TS
3527 * stdio-common/tstdiomisc.c (F): Properly collect individual
3528 tests' results.
3529
a1cbf437
TS
3530 [BZ #14686, #15336]
3531 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3532 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3533 Instead, use input NaN values or generate a qNaN by arithmetic
3534 operation. Also fix bugs to comply with the standard.
3535 * math/libm-test.inc (remainder_test): Add more tests.
3536
8b43a0c9
TS
3537 [BZ #15335, #15342]
3538 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3540 input NaN values or generate a qNaN by arithmetic operation.
3541
d91da4ce
TS
3542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3543 unreachable code.
3544
bf0f50df
TS
3545 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3546 definitions.
3547
05e166c8
JM
35482013-04-03 Joseph Myers <joseph@codesourcery.com>
3549
3550 [BZ #14478]
3551 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3552 underflowed result.
3553 * math/s_cexpf.c (__cexpf): Likewise.
3554 * math/s_cexpl.c (__cexpl): Likewise.
3555 * math/libm-test.inc (cexp_test): Add more tests.
3556
1cef1b19
AS
35572013-04-03 Andreas Schwab <schwab@suse.de>
3558
3559 [BZ #15330]
3560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3561 order arrays from heap if bigger than alloca cutoff.
3562
74d87055
TS
35632013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3564
3565 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3566 (SNAN_TESTS_double): Refer to GCC PR56831.
3567 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3568 GCC PR56828.
3569
d755bba4
SP
35702013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
90d5d5bb
SP
3572 * Rules (bench): Move bench.out after the run is complete.
3573
73e0cd5d
SP
3574 * Rules (bench): Echo currently running benchmark.
3575
64aabd4b
SP
3576 * benchtests/Makefile (bench): Add atan and slowatan.
3577 * benchtests/atan-inputs: New file.
3578 * benchtests/slowatan-inputs: New file.
3579 * benchtests/slowatan.c: New file.
3580
c871eccd
SP
3581 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3582 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3583 its value.
3584
d755bba4
SP
3585 [BZ #15305]
3586 * sysdeps/unix/sysv/linux/kernel-features.h
3587 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3588 __ASSUME_XFS_RESTRICTED_CHOWN.
3589 * sysdeps/unix/sysv/linux/pathconf.c
3590 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3591 Save and restore errno.
3592
52ce4860
JM
35932013-04-02 Joseph Myers <joseph@codesourcery.com>
3594
3595 [BZ #15327]
3596 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3597 arguments using __kernel_casinh.
3598 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3599 arguments using __kernel_casinhf.
3600 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3601 arguments using __kernel_casinhl.
3602 * math/libm-test.inc (cacosh_test): Add more tests.
3603 * sysdeps/i386/fpu/libm-test-ulps: Update.
3604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605
81f311c2
SP
36062013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3607
e7906a47
SP
3608 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3610
92e3664b
SP
3611 * bench/Makefile (bench): Add sin and slowsin.
3612 * benchtests/sin-inputs: New file.
3613 * benchtests/slowsin-inputs: New file.
3614 * benchtests/slowsin.c: New file.
3615
81f311c2
SP
3616 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3617 (bench): Add slowexp and slowpow.
3618 (exp-ITER): Increase iterations.
3619 (pow-ITER): Likewise.
3620 * benchtests/exp-inputs: Change input.
3621 * benchtests/pow-inputs: Likewise.
3622 * benchtests/slowexp-inputs: New file.
3623 * benchtests/slowexp.c: New file.
3624 * benchtests/slowpow-inputs: New file.
3625 * benchtests/slowpow.c: New file.
3626
ab0f1aa9
AZ
36272013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3628
3629 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3630 instructions.
3631 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3632 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3634 * benchtests/Makefile: Add rint benchtest.
3635 * benchtests/rint-inputs: Input for rint benchtest.
3636
57267616
TS
36372013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3638
3639 * Versions.def (libm): Add GLIBC_2.18.
3640 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3641 hidden libm prototypes.
3642 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3643 * math/Makefile (libm-calls): Add s_issignaling.
3644 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3645 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3646 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3647 declaration.
3648 * math/math.h [__USE_GNU] (issignaling): New macro.
3649 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3650 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3652 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3655 * manual/arith.texi (issignaling): New section.
3656 * manual/libm-err-tab.pl (@all_functions): Update comment.
3657 * math/gen-libm-test.pl (parse_args): Apply special handling for
3658 issignaling.
3659 * math/libm-test.inc (print_float, issignaling_test): New
3660 functions.
3661 (check_float_internal): Add issignaling checks.
3662 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3663 default definition.
3664 * sysdeps/powerpc/math-tests.h: New file.
3665 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3666 tests.
3667 * math/test-snan.c (TEST_FUNC): Likewise.
3668
6142896d
DM
36692013-03-30 David S. Miller <davem@davemloft.net>
3670
3671 * po/de.po: Update from translation team.
3672
ccc8cadf
JM
36732013-03-30 Joseph Myers <joseph@codesourcery.com>
3674
3675 [BZ #10357]
3676 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3677 imaginary part less than 1.0 and real part less than 0.5
3678 specially.
3679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3681 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3682 (cacos_test): Add more tests.
3683 (casin_test): Likewise.
3684 (casinh_test): Likewise.
3685 * sysdeps/i386/fpu/libm-test-ulps: Update.
3686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3687
0f6a8d4b
SP
36882013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3689
0d1029de
SP
3690 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3691 ONE with its value.
3692
c2d94018
SP
3693 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3694 (__pow_mp): Replace ONE and MONE with their values.
3695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3698 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3700 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3701
27ec37f1
SP
3702 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3703
a64d7e0e
SP
3704 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3705 (__pow_mp): Replace ZERO and MZERO with their values.
3706 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3708 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3710 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3711 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3712 (__sqr): Likewise.
3713
d26dd3eb
SP
3714 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3715
0f6a8d4b
SP
3716 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3717
e57b0c61
RM
37182013-03-28 Roland McGrath <roland@hack.frob.com>
3719
3720 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3721 Declare with __attribute__ ((weak)).
3722 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3723 Call __call_tls_dtors only if it's not NULL.
3724
356b3480
RM
37252013-03-28 Roland McGrath <roland@hack.frob.com>
3726
288f7d79
RM
3727 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3728 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3729 magic __ehdr_start linker symbol if it's defined.
3730 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3731 them up here if it was already done.
3732
dc0a0263
RM
3733 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3734 (_dl_aux_init): Use const in cast when setting it.
3735 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3736 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3737 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3738
3d3436ae
RM
3739 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3740 Declare them here.
3741 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3742 * csu/libc-tls.c: Nor here.
3743 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3744
356b3480
RM
3745 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3746 (__libc_message): Never call vsyslog.
3747
b0f1246a
AM
37482013-03-28 Alan Modra <amodra@gmail.com>
3749
3750 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3751 Define as empty.
3752 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3753 Likewise.
3754
fbbe2b9a
AZ
37552013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3756
3757 [BZ #15214]
3758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3759 underflow.
3760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3761
1728ab37
SP
37622013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3763
7a86be6e
SP
3764 [BZ #15304]
3765 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3766 Don't add gid passed as argument.
3767
1728ab37
SP
3768 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3769
3a7182a1
JM
37702013-03-27 Joseph Myers <joseph@codesourcery.com>
3771
3772 [BZ #15307]
3773 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3774 imaginary part between 1.0 and 1.5 and real part less than 0.5
3775 specially.
3776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3778 * math/libm-test.inc (cacos_test): Add more tests.
3779 (casin_test): Likewise.
3780 (casinh_test): Likewise.
3781 * sysdeps/i386/fpu/libm-test-ulps: Update.
3782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3783
6f2e90e7
SP
37842013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3785
5739f705
SP
3786 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3787 constants.
3788 (norm): Likewise.
3789 (denorm): Likewise.
3790 (__dbl_mp): Likewise.
3791 (add_magnitudes): Likewise.
3792 (sub_magnitudes): Likewise.
3793 (__add): Likewise.
3794 (__sub): Likewise.
3795 (__mul): Likewise.
3796 (__sqr): Likewise.
3797 (__inv): Likewise.
3798 (__dvd): Likewise.
3799
e375e83d
SP
3800 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3801 commented code.
3802 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3803 (__dubcos): Likewise.
3804 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3805 (__ieee754_acos): Likewise.
3806 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3807 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3808 (__exp1): Likewise.
3809 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3811 (log1): Likewise.
3812 (my_log2): Likewise.
3813 (checkint): Likewise.
3814 * sysdeps/ieee754/dbl-64/e_remainder.c
3815 (__ieee754_remainder): Likewise.
3816 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3818 (bsloww): Likewise.
3819 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3820
6f2e90e7
SP
3821 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3822 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3823 MANTISSA_STORE_T to store computations on mantissa. Use
3824 macros for rounding and division.
3825 (denorm): Likewise.
3826 (__dbl_mp): Likewise.
3827 (add_magnitudes): Likewise.
3828 (sub_magnitudes): Likewise.
3829 (__mul): Likewise.
3830 (__sqr): Likewise.
3831 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3832 powers of two in terms of TWOPOW macro.
3833 (mp_no): Make type of mantissa as MANTISSA_T.
3834 [!RADIXI]: Define RADIXI.
3835 [!TWO52]: Define TWO52.
3836 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3837
fce14d4e
AZ
38382013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839
3840 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3841 llroundl symbol when building for PPC32.
3842
9ad027fb
MW
38432013-03-24 Mark H Weaver <mhw@netris.org>
3844
3845 * manual/arith.texi (Normalization Functions): Fix prototypes for
3846 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3847
e42a38dd
AZ
38482013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849
3850 [BZ #13889]
3851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3852 high value to check if expl overflow.
3853 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3854 to check for underflow and overflow.
3855 * math/libm-test.inc: Add exp test.
3856
2e0fb521
DL
38572013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3858
3859 [BZ #11120]
3860 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3861 with NOT_IN_libc.
3862
b5784d95
AZ
38632013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3864
3865 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3866 symbol.
3867
5aa4a1a1
TS
38682013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3869
bdef0be7
TS
3870 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3871 wrap blocks consisting of several statements.
3872
5aa4a1a1
TS
3873 * sysdeps/generic/math-tests.h: New file.
3874 * sysdeps/i386/fpu/math-tests.h: Likewise.
3875 * math/test-snan.c: Include it.
3876 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3877
98c48fe5
JM
38782013-03-21 Joseph Myers <joseph@codesourcery.com>
3879
3880 [BZ #15285]
3881 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3882 (__ieee754_j0l): Do not improve calculations using cos of twice
3883 input for inputs above LDBL_MAX / 2.0L.
3884 (__ieee754_y0l): Likewise.
3885 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3886 (__ieee754_j1l): Do not improve calculations using cos of twice
3887 input for inputs above LDBL_MAX / 2.0L.
3888 (__ieee754_y1l): Likewise.
3889 * math/libm-test.inc (j0_test): Add another test.
3890 (j1_test): Likewise.
3891 (y0_test): Likewise.
3892 (y1_test): Likewise.
3893 * sysdeps/i386/fpu/libm-test-ulps: Update.
3894
3775a8bc
SP
38952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3896
3897 * Rules ($(objpfx)bench-%.c): Include code from a C source
3898 file.
3899
0a1b2ae6
JM
39002013-03-21 Joseph Myers <joseph@codesourcery.com>
3901
3902 [BZ #15287]
3903 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3904 imaginary part 1.0 and real part less than 0.5 specially.
3905 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3906 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3907 * math/libm-test.inc (cacos_test): Add more tests.
3908 (casin_test): Likewise.
3909 (casinh_test): Likewise.
3910 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3912
b33d4ce4
SP
39132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3914
3915 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3916 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3917
bef0b507
JM
39182013-03-20 Joseph Myers <joseph@codesourcery.com>
3919
3920 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3921 * config.make.in (config-cflags-sse4): Remove variable.
3922 (config-cflags-avx): Likewise.
3923 (config-cflags-sse2avx): Likewise.
3924 (config-cflags-novzeroupper): Likewise.
3925 (config-asflags-i686): Likewise.
3926 (have-mfma4): Likewise.
3927 (have-as-vis3): Likewise.
3928 (MIG): Likewise.
3929 * configure.in (MIG): Do not AC_SUBST.
3930 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3931 (libc_cv_cc_sse4): Do not AC_SUBST.
3932 (libc_cv_cc_avx): Likewise.
3933 (libc_cv_cc_sse2avx): Likewise.
3934 (libc_cv_cc_novzeroupper): Likewise.
3935 (libc_cv_cc_fma4): Likewise.
3936 (libc_cv_as_i686): Likewise.
3937 (libc_cv_sparc_as_vis3): Likewise.
3938 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3939 LIBC_CONFIG_VAR.
3940 (config-asflags-i686): Likewise.
3941 (config-cflags-avx): Likewise.
3942 (config-cflags-sse2avx): Likewise.
3943 (have-mfma4): Likewise.
3944 (config-cflags-novzeroupper): Likewise.
3945 * sysdeps/mach/configure.in (MIG): Likewise.
3946 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3947 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3948 LIBC_CONFIG_VAR.
3949 (config-cflags-avx): Likewise.
3950 (config-cflags-sse2avx): Likewise.
3951 (have-mfma4): Likewise.
3952 (config-cflags-novzeroupper): Likewise.
3953 * configure: Regenerated.
3954 * sysdeps/i386/configure: Likewise.
3955 * sysdeps/mach/configure: Likewise.
3956 * sysdeps/sparc/configure: Likewise.
3957 * sysdeps/x86_64/configure: Likewise.
3958
912cc4b3
RM
39592013-03-20 Roland McGrath <roland@hack.frob.com>
3960
3961 [BZ #14812]
3962 * locale/programs/localedef.c (options): Put N_ translation marker
3963 on argument names, not just descriptions.
3964
04eed2b0
MS
39652013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3966
3967 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3968
a065ceff
OB
39692013-03-20 Ondřej Bílka <neleai@seznam.cz>
3970
9bb2a810 3971 [BZ #14176]
a065ceff
OB
3972 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3973
a600e5ce
RM
39742013-03-19 Roland McGrath <roland@hack.frob.com>
3975
3976 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3977 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3978 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3979 [!BEFORE_ABORT] (before_abort): New function.
3980 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3981 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3982 (writev_for_fatal): New function.
3983 (WRITEV_FOR_FATAL): New macro; call that.
3984 (backtrace_and_maps): New function.
3985 (BEFORE_ABORT): New macro; call that.
3986 (struct str_list): Type removed.
3987 (__libc_message, __libc_fatal): Functions removed.
3988 Include <sysdeps/posix/libc_fatal.c> instead.
3989
6b18bea6
JM
39902013-03-19 Joseph Myers <joseph@codesourcery.com>
3991
3992 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3993 constants.
3994 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3995 double constants.
3996
aaa8cb4b
AS
39972013-03-19 Andreas Schwab <schwab@suse.de>
3998
44673770
AS
3999 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4000 * sysdeps/gnu/configure: Regenerate.
4001
aaa8cb4b
AS
4002 * configure.in: Substitute libc_cv_rtlddir.
4003 * configure: Regenerate.
4004 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4005 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4006 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4007 * elf/Makefile (install-others, CFLAGS-interp.c)
4008 (ldso_install, common-ldd-rewrite): Likewise.
4009 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4010 $(inst_slibdir)/$(rtld-installed-name).
4011 * scripts/rellns-sh: Add -p option.
4012 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4013 for source.
4014
d3cfc668
SP
40152013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4016
4017 * manual/nptl.texi: Renamed to ...
4018 * manual/threads.texi: ... this.
4019 * manual/Makefile (chapters): Update.
4020
0e2b9cdd
RM
40212013-03-18 Roland McGrath <roland@hack.frob.com>
4022
4023 [BZ #14812]
4024 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4025 on argument names, not just descriptions.
0e2b9cdd
RM
4026 * malloc/memusagestat.c (options): Likewise.
4027 * nss/getent.c (options): Likewise.
63270c24
RM
4028
40292013-03-18 Benno Schulenberg <bensberg@justemail.net>
4030
4031 [BZ #14812]
4032 * iconv/iconv_prog.c (options): Put N_ translation marker
4033 on argument names, not just descriptions.
4034 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4035
b2e1393c
OB
40362013-03-18 Ondrej Bilka <neleai@seznam.cz>
4037
4038 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4039 implementation which is faster on all x86_64 architectures.
4040 Tested on AMD, Intel Nehalem, SNB, IVB.
4041 * sysdeps/x86_64/strnlen.S: Likewise.
4042
4043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4044 Remove all multiarch strlen and strnlen versions.
4045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4046 Remove strlen and strnlen related parts.
4047
4048 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4049 Inline strlen part.
4050 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4051
4052 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4053 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4054 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4055 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4056 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4057 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4058
ec4ff04d
CD
40592013-03-17 Carlos O'Donell <carlos@redhat.com>
4060
4061 * manual/memory.texi (Malloc Tunable Parameters):
4062 Sort parameters alphabetically. Add comments for missing entries.
4063
cd18e90a
DM
40642013-03-17 David S. Miller <davem@davemloft.net>
4065
4066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4067
2a185d32
JM
40682013-03-16 Joseph Myers <joseph@codesourcery.com>
4069
d2f9799e
JM
4070 [BZ #15283]
4071 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4072 for arguments at most half maximum finite value.
4073 * math/libm-test.inc (j0_test): Add more tests.
4074 (j1_test): Likewise.
4075 (y0_test): Likewise.
4076 (y1_test): Likewise.
4077 * sysdeps/i386/fpu/libm-test-ulps: Update.
4078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079
2a185d32
JM
4080 [BZ #14155]
4081 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4082 1 / x and functions P and Q for arguments above 0x1p256L.
4083 (__ieee754_y0l): Likewise.
4084 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4085 (__ieee754_y1l): Likewise.
4086 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4087 (j1_test): Likewise.
4088 (y0_test): Likewise.
4089 (y1_test): Likewise.
4090
6cbec759
TS
40912013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4092
4093 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4094 variable.
4095
bc16e260
RM
40962013-03-15 Roland McGrath <roland@hack.frob.com>
4097
aefc9b8c
RM
4098 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4099 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4100 zero since it's initialized to EXEC_PAGESIZE.
4101
bc16e260
RM
4102 * sysdeps/unix/sysv/linux/ldsodefs.h
4103 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4104 * sysdeps/generic/ldsodefs.h: ... here.
4105
a57da955
TS
41062013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4107
af00a34d
TS
4108 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4109
495ded2c
TS
4110 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4111 math/test-snan.c.
4112 * math/test-snan.c: Renamed from
4113 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4114 * math/Makefile (tests): Add test-snan.
4115 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4116 test-powerpc-snan.
4117
777b0332
TS
4118 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4119 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4120 functions.
4121 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4122 __builtin_nan family of functions.
4123 * math/libm-test.inc (initialize): Initialize qnan_value with
4124 __builtin_nan family of functions.
4125 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4126 Remove variables.
4127 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4128 Remove functions.
4129 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4130 storage class. Initialize qNaN_var and sNaN_var with
4131 __builtin_nan and __builtin_nans families of functions,
4132 respectively.
4133
64d063b8
TS
4134 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4135 (sqrt_test): Remove duplicate test with qNaN input.
4136 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4137 (round_test, signbit_test, significand_test): Note missing +/-Inf
4138 as well as qNaN tests.
4139
67e971f1
TS
4140 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4141 qNaN_var. Fix a few strings, too.
4142 * math/libm-test.inc (nan_value): Rename to qnan_value.
4143 * math/gen-libm-test.pl (%beautify): Adjust to that.
4144 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4145 * math/test-misc.c (main): Likewise.
4146 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4147 to __qnan_bytes, and __qnan_union, respectively.
4148 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4149 Likewise.
4150 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4151 and lqnanval, respectively.
4152 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4153 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4154 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4155 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4156
64487e12
TS
4157 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4158 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4159 doubles.
4160
e015e27b
TS
4161 * math/test-misc.c (main): Fix copy'n'pastos.
4162 * misc/tst-efgcvt.c (special): Likewise.
4163
a57da955
TS
4164 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4165 Remove declarations.
4166
1e380345
SP
41672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4168
4169 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4170 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4171 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4173
ef26eece
AZ
41742013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4175
4176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4177 macro to return vdso values correctly in IFUNC implementations.
4178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4179 Optimization by using IFUNC.
4180
8cfdb7e0
SP
41812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4182 Richard Henderson <rth@redhat.com>
4183 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4184
4185 * Makefile.in (bench): New target.
4186 * NEWS: Mention the benchmark framework.
4187 * Rules (bench): Likewise.
4188 (binaries-bench): Generate binaries for functions to
4189 benchmark.
4190 * benchtests/Makefile: New makefile for benchmark tests.
4191 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4192 programs.
4193 * benchtests/exp-inputs: New input file for EXP function.
4194 * benchtests/pow-inputs: New input file for POW function.
4195 * scripts/bench.pl: New script to generate source files for
4196 benchmark programs.
4197
bcda9880
SP
41982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4199
d22ca8cd
SP
4200 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4202 computations on mantissa. Use macros for rounding and
4203 division.
4204 (denorm): Likewise.
4205 (__dbl_mp): Likewise.
4206 (add_magnitudes): Likewise.
4207 (sub_magnitudes): Likewise.
4208 (__mul): Likewise.
4209 (__sqr): Likewise.
4210 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4211 powers of two in terms of TWOPOW macro.
4212 (mp_no): Make type of mantissa as MANTISSA_T.
4213 [!RADIXI]: Define RADIXI.
4214 [!TWO52]: Define TWO52.
4215 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4216
bcda9880
SP
4217 * manual/nptl.texi (cindex): Modify threads to pthreads.
4218
06d5adfb
JM
42192013-03-15 Joseph Myers <joseph@codesourcery.com>
4220
4221 * sysdeps/x86_64/preconfigure: Regenerated.
4222
41c7328e
JM
42232013-03-14 Joseph Myers <joseph@codesourcery.com>
4224
4225 [BZ #14155]
4226 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4227 0x1p28 and above.
4228 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4229 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4230 0x1p28 and above.
4231 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4232 * math/libm-test.inc (j0_test): Do not allow one spurious
4233 underflow exception.
4234 (y1_test): Likewise.
4235
e25cfa60
SP
42362013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4237
0409959c
SP
4238 * manual/Makefile (chapters): Add nptl.
4239 * manual/debug.texi (Debugging Support): Add link to Threads
4240 chapter.
4241 * manual/nptl.texi: New file.
4242
e25cfa60
SP
4243 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4244
58a1335e
PB
42452013-03-14 Petr Baudis <pasky@ucw.cz>
4246
4247 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4248 for non-NULL pointer before the memory validity test. Pointed
4249 out by Holger Brunck <holger.brunck@keymile.com>.
4250
9dc7c64f
AS
42512013-03-13 Andreas Schwab <schwab@suse.de>
4252
4253 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4254 instead of .os.
4255
54206aa6
JM
42562013-03-13 Joseph Myers <joseph@codesourcery.com>
4257
4258 * timezone/zic.c: Update from tzcode 2013b.
4259
e98cdb38
CD
42602013-03-12 Carlos O'Donell <carlos@redhat.com>
4261
4262 * manual/install.texi (Configuring and compiling):
4263 Mention i686 and i586.
4264 * INSTALL: Regenerate.
4265
9967e003
RM
42662013-03-12 Roland McGrath <roland@hack.frob.com>
4267
4268 * sysdeps/init_array/elf-init.c: New file.
4269 * csu/elf-init.c
4270 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4271 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4272
4273 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4274 __gmon_start__ as global, but as static with a .preinit_array pointer.
4275 * sysdeps/init_array/gmon-start.c: New file. Use that.
4276 * sysdeps/init_array/crti.S: New file, empty except for comments.
4277 * sysdeps/init_array/crtn.S: Likewise.
4278
e6b5a293 42792013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4280
4281 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4282 definining bcopy.
80f844c9
OB
4283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4284 Remove Prefer_SSE_for_memop.
4285 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4286 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4287 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4289 memset-x86-64.
80f844c9 4290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4291 Remove bzero, memset ifunc support.
80f844c9
OB
4292 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4293 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4294 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4295 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4296
fb6b0fcb
AS
42972013-03-11 Andreas Schwab <schwab@suse.de>
4298
4299 [BZ #15234]
4300 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4301 by SHLIB_COMPAT.
4302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4303 (GLIBC_2.16): Remove pthread_atfork.
4304
3e6bd4b1
PP
43052013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4306
4307 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4308 (ptestcases.h): Likewise.
4309
222d7f00
RM
43102013-03-08 Roland McGrath <roland@hack.frob.com>
4311
4312 * Makeconfig ($(common-objpfx)config.status): Depend on
4313 sysdeps/*/preconfigure{,.in} too.
4314
1ba4f030
JM
43152013-03-08 Joseph Myers <joseph@codesourcery.com>
4316
a222d91a
JM
4317 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4318 (__free_hook): Use void * instead of __malloc_ptr_t.
4319 (__malloc_hook): Likewise.
4320 (__realloc_hook): Likewise.
4321 (__memalign_hook): Likewise.
4322 (__after_morecore_hook): Likewise.
4323 * malloc/arena.c (save_malloc_hook): Likewise.
4324 (save_free_hook): Likewise.
4325 * malloc/hooks.c (malloc_hook_ini): Likewise.
4326 (realloc_hook_ini): Likewise.
4327 (memalign_hook_ini): Likewise.
4328 * malloc/malloc.c (malloc_hook_ini): Likewise.
4329 (realloc_hook_ini): Likewise.
4330 (memalign_hook_ini): Likewise.
4331 (__free_hook): Likewise.
4332 (__malloc_hook): Likewise.
4333 (__realloc_hook): Likewise.
4334 (__memalign_hook): Likewise.
4335 (__libc_malloc): Likewise.
4336 (__libc_free): Likewise.
4337 (__libc_realloc): Likewise.
4338 (__libc_memalign): Likewise.
4339 (__libc_valloc): Likewise.
4340 (__libc_pvalloc): Likewise.
4341 (__libc_calloc): Likewise.
4342 (__posix_memalign): Likewise.
4343 * malloc/morecore.c (__sbrk): Likewise.
4344 (__default_morecore): Likewise.
4345
5cc45e10
JM
4346 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4347
dd54b864
JM
4348 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4349 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4350 __malloc_ptrdiff_t.
4351
1ba4f030
JM
4352 * malloc/malloc.h (__malloc_size_t): Remove macro.
4353 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4354 __malloc_size_t.
4355 (old_memalign_hook): Likewise.
4356 (old_realloc_hook): Likewise.
4357 (struct hdr): Likewise.
4358 (flood): Likewise.
4359 (mallochook): Likewise.
4360 (memalignhook): Likewise.
4361 (reallochook): Likewise.
4362 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4363 (tr_old_realloc_hook): Likewise.
4364 (tr_old_memalign_hook): Likewise.
4365 (tr_mallochook): Likewise.
4366 (tr_reallochook): Likewise.
4367 (tr_memalignhook): Likewise.
4368
edf66e57
AZ
43692013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4370
4371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4372 default_ldbl_pack and using as default implementation.
4373 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4374 implementation.
4375 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4376 redundant definition.
4377 (ldbl_insert_mantissa): Likewise.
4378 (ldbl_canonicalize): Likewise.
4379 (ldbl_nearbyint): Likewise.
4380 (ldbl_pack): Rename to ldbl_pack_ppc.
4381 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4382 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4383 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4384
6d9145d8
SP
43852013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4386
4387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4388 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4389 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4390 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4392 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4393 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4394 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4395
4dd4e157
AJ
43962013-03-07 Andreas Jaeger <aj@suse.de>
4397
4398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4399 bits/mman-linux.h.
4400
adbb8027
SP
44012013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4402
ce544b5b
SP
4403 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4404 Include mpa.h and declare __MPEXP.
4405 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4407 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4408 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4410 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4411 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4412
4cc149fd
SP
4413 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4414 (__slowpow): Use long double EXPL and LOGL functions to
4415 compute POW.
4416 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4417 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4420 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4421 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4422
e6ebd4a7
SP
4423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4424 intermediate variable to calculate exponent.
4425 (__sqr): Likewise.
4426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4427 Likewise.
4428 (__sqr): Likewise.
4429
82a9811d
SP
4430 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4431 [!NO__SQR]: Define __sqr.
4432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4433 and NO__SQR. Remove all code except __mul and __sqr. Include
4434 sysdeps/ieee754/dbl-64/mpa.c.
4435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4436
adbb8027
SP
4437 [BZ #12723]
4438 * posix/Makefile (tests): Add tst-pathconf.
4439 * posix/tst-pathconf.c: New test case.
4440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4441 _PC_PIPE_BUF.
4442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4443
39120df9
PF
44442013-03-06 Patsy Franklin <pfrankli@redhat.com>
4445
4446 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4447
67525cb8
AJ
44482013-03-06 Andreas Jaeger <aj@suse.de>
4449
664a9ce4
AJ
4450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4451 definition via __MAP_ANONYMOUS.
4452
8e39047d
AJ
4453 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4454 it's not part of Linux headers.
4455
67525cb8
AJ
4456 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4457 (MAP_HUGE_MASK): Define.
4458
4459 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4460 Define.
4461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4462 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4463 Define.
4464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4465 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4466 Define.
4467 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4468 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4469 Define.
4470 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4471
4472 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4473 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4474 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4475 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4476 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4477 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4478
4479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4480 Handle f2fs.
4481
4482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4483 Handle f2fs and efivarfs.
4484
4485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4486 f2fs.
4487
4488 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4489 (EFIVARFS_MAGIC): Add.
4490 (F2FS_LINK_MAX): Add.
4491
e1b42695
PP
44922013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4493
4494 * stdio-common/vfprintf.c: Replace __builtin_expect with
4495 __glibc_unlikely.
4496
2d67d91a
JM
44972013-03-06 Joseph Myers <joseph@codesourcery.com>
4498
4499 [BZ #13550]
4500 * sysdeps/generic/bp-sym.h: Remove file.
4501 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4502 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4503 <bp-sym.h> and <bp-asm.h>.
4504 (__longjmp): Don't use BP_SYM.
4505 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4506 and <bp-asm.h>.
4507 (memcpy): Don't use BP_SYM.
4508 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4509 <bp-sym.h> and <bp-asm.h>.
4510 (memcpy): Don't use BP_SYM.
4511 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4512 <bp-asm.h>.
4513 (memcpy): Don't use BP_SYM.
4514 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4515 <bp-asm.h>.
4516 (memset): Don't use BP_SYM.
4517 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4518 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4519 (__bzero): Don't use BP_SYM.
4520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4523 <bp-sym.h> and <bp-asm.h>.
4524 (memcmp): Don't use BP_SYM. Remove comment about bounded
4525 pointers.
4526 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4527 <bp-sym.h> and <bp-asm.h>.
4528 (memcpy): Don't use BP_SYM.
4529 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4530 <bp-sym.h> and <bp-asm.h>.
4531 (memset): Don't use BP_SYM.
4532 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4533 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4534 (__bzero): Don't use BP_SYM.
4535 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4536 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4538 <bp-sym.h> and <bp-asm.h>.
4539 (strncmp): Don't use BP_SYM. Remove comment about bounded
4540 pointers.
4541 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4542 <bp-sym.h> and <bp-asm.h>.
4543 (memcpy): Don't use BP_SYM.
4544 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4545 <bp-sym.h> and <bp-asm.h>.
4546 (memset): Don't use BP_SYM.
4547 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4548 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4549 (__bzero): Don't use BP_SYM.
4550 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4551 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4552 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4553 <bp-sym.h> and <bp-asm.h>.
4554 (__memchr): Don't use BP_SYM.
4555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4556 <bp-sym.h> and <bp-asm.h>.
4557 (memcmp): Don't use BP_SYM. Remove comment about bounded
4558 pointers.
4559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4560 <bp-sym.h> and <bp-asm.h>.
4561 (memcpy): Don't use BP_SYM.
4562 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4563 <bp-sym.h> and <bp-asm.h>.
4564 (__mempcpy): Don't use BP_SYM.
4565 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4566 <bp-sym.h> and <bp-asm.h>.
4567 (__memrchr): Don't use BP_SYM.
4568 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4569 <bp-sym.h> and <bp-asm.h>.
4570 (memset): Don't use BP_SYM.
4571 (__bzero): Likewise.
4572 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4573 <bp-sym.h> and <bp-asm.h>.
4574 (__rawmemchr): Don't use BP_SYM.
4575 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4576 <bp-sym.h> and <bp-asm.h>.
4577 (__STRCMP): Don't use BP_SYM.
4578 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4579 <bp-sym.h> and <bp-asm.h>.
4580 (strchr): Don't use BP_SYM.
4581 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4582 <bp-sym.h> and <bp-asm.h>.
4583 (__strchrnul): Don't use BP_SYM.
4584 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4585 <bp-sym.h> and <bp-asm.h>.
4586 (strlen): Don't use BP_SYM.
4587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4588 <bp-sym.h> and <bp-asm.h>.
4589 (strncmp): Don't use BP_SYM. Remove comment about bounded
4590 pointers.
4591 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4592 <bp-sym.h> and <bp-asm.h>.
4593 (__strnlen): Don't use BP_SYM.
4594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4595 <bp-sym.h> and <bp-asm.h>.
4596 (__GI__setjmp): Don't use BP_SYM.
4597 (_setjmp): Likewise.
4598 (__sigsetjmp): Likewise.
4599 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4600 (L(start_addresses)): Don't use BP_SYM.
4601 (_start): Likewise.
4602 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4603 <bp-asm.h>.
4604 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4605 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4606 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4607 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4608 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4609 <bp-asm.h>.
4610 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4611 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4612 about bounded pointers.
4613 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4614 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4615 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4616 <bp-asm.h>.
4617 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4618 about bounded pointers. Remove GKM FIXME comments.
4619 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4620 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4621 <bp-asm.h>.
4622 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4623 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4624 Remove GKM FIXME comments.
4625 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4626 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4627 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4628 <bp-asm.h>.
4629 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4630 about bounded pointers. Remove GKM FIXME comment.
4631 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4632 and <bp-asm.h>.
4633 (strncmp): Don't use BP_SYM. Remove comment about bounded
4634 pointers.
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4636 <bp-sym.h> and <bp-asm.h>.
4637 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4639 <bp-sym.h> and <bp-asm.h>.
4640 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4641 comment.
4642
cdcf361f
PP
46432013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4644
4645 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4646 call free(NULL).
4647
3c4a2b15
DM
46482013-03-05 David S. Miller <davem@davemloft.net>
4649
4650 * po/es.po: Update from translation team.
4651
cdcf361f 46522013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4653
4654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4655 <bits/mman-linux.h>.
4656 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4657 is fine.
4658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4659 <bits/mman-linux.h> to end of file.
4660 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4661 is fine.
4662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4663 <bits/mman-linux.h> to end of file.
4664 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4665 is fine.
4666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4667 <bits/mman-linux.h> to end of file.
4668
4669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4670 (MCL_CURRENT, MCL_FUTURE): Define here.
4671
5f67c04f
AK
46722013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4673
8a4473cc 4674 [BZ #15232]
5f67c04f
AK
4675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4676 attribute_hidden.
4677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4678
c3e94a95
AK
46792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4680
4681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4682 fourth parameter needed for rt_sigprocmask syscall.
4683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4687 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4688 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4689
cfb6382a
JM
46902013-03-04 Joseph Myers <joseph@codesourcery.com>
4691
4692 [BZ #13550]
4693 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4694 comment about bounded pointers.
4695 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4696 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4697
539d8e01
AJ
46982013-03-04 Andreas Jaeger <aj@suse.de>
4699
4700 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4701 common definitions.
4702
4703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4704 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4709
2e167a70 47102013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4711
4712 [BZ #15055]
4713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4714 __ieee754_sqrl instead of __sqrl.
4715
68508633
JM
47162013-03-01 Joseph Myers <joseph@codesourcery.com>
4717
4718 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4719 * sysdeps/powerpc/fpu_control.h: ... here.
4720 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4721 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4722 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4723 * sysdeps/powerpc/bits/mathinline.h: ... here.
4724
7775448e
RM
47252013-03-01 Roland McGrath <roland@hack.frob.com>
4726
4727 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4728 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4729 to just [NEED_DL_SYSINFO_DSO].
4730 * elf/dl-support.c: Likewise.
4731 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4732 * elf/rtld.c (dl_main): Likewise.
4733 * elf/setup-vdso.h (setup_vdso): Likewise.
4734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4735 * sysdeps/unix/sysv/linux/dl-sysdep.c
4736 (_dl_discover_osversion): Likewise.
4737
4e9b5995
CD
47382013-03-01 Carlos O'Donell <carlos@redhat.com>
4739
4740 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4741 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4742
e23872c8
SP
47432013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4744
e5c74c63
SP
4745 * NEWS: Mention libm performance improvements and non-x86 PI
4746 futex support.
4747
e23872c8
SP
4748 * csu/libc-start.c (__pthread_initialize_minimal): Change
4749 function arguments.
4750 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4751
b5510883
JM
47522013-02-28 Joseph Myers <joseph@codesourcery.com>
4753
4754 [BZ #13550]
4755 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4756 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4757 <bp-sym.h> and <bp-asm.h>.
4758 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4759 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4760 and <bp-asm.h>.
4761 (memcpy): Don't use BP_SYM.
4762 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4763 <bp-asm.h>.
4764 (__mpn_add_n): Don't use BP_SYM.
4765 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4766 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4767 and <bp-asm.h>.
4768 (__mpn_addmul_1): Don't use BP_SYM.
4769 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4770 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4771 <bp-sym.h>.
4772 (_setjmp): Don't use BP_SYM.
4773 (__novmx_setjmp): Likewise.
4774 (__GI__setjmp): Likewise.
4775 (__vmx_setjmp): Likewise.
4776 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4777 <bp-sym.h>.
4778 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4779 (__bzero): Don't use BP_SYM.
4780 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4781 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4783 <bp-sym.h> and <bp-asm.h>.
4784 (memcpy): Don't use BP_SYM.
4785 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4786 <bp-sym.h> and <bp-asm.h>.
4787 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4788 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4789 <bp-sym.h> and <bp-asm.h>.
4790 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4791 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4792 <bp-asm.h>.
4793 (__mpn_lshift): Don't use BP_SYM.
4794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4795 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4796 <bp-asm.h>.
4797 (memset): Don't use BP_SYM.
4798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4800 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4801 <bp-asm.h>.
4802 (__mpn_mul_1): Don't use BP_SYM.
4803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4805 <bp-sym.h> and <bp-asm.h>.
4806 (memcmp): Don't use BP_SYM.
4807 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4808 <bp-sym.h> and <bp-asm.h>.
4809 (memcpy): Don't use BP_SYM.
4810 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4811 <bp-sym.h> and <bp-asm.h>.
4812 (memset): Don't use BP_SYM.
4813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4814 <bp-sym.h> and <bp-asm.h>.
4815 (strncmp): Don't use BP_SYM.
4816 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4817 <bp-sym.h> and <bp-asm.h>.
4818 (memcpy): Don't use BP_SYM.
4819 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4820 <bp-sym.h> and <bp-asm.h>.
4821 (memset): Don't use BP_SYM.
4822 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4823 <bp-sym.h> and <bp-asm.h>.
4824 (__memchr): Don't use BP_SYM.
4825 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4826 <bp-sym.h> and <bp-asm.h>.
4827 (memcmp): Don't use BP_SYM.
4828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4829 <bp-sym.h> and <bp-asm.h>.
4830 (memcpy): Don't use BP_SYM.
4831 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4832 <bp-sym.h> and <bp-asm.h>.
4833 (__mempcpy): Don't use BP_SYM.
4834 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4835 <bp-sym.h> and <bp-asm.h>.
4836 (__memrchr): Don't use BP_SYM.
4837 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4838 <bp-sym.h> and <bp-asm.h>.
4839 (memset): Don't use BP_SYM.
4840 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4841 <bp-sym.h> and <bp-asm.h>.
4842 (__rawmemchr): Don't use BP_SYM.
4843 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4844 <bp-sym.h> and <bp-asm.h>.
4845 (__STRCMP): Don't use BP_SYM.
4846 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4847 <bp-sym.h> and <bp-asm.h>.
4848 (strchr): Don't use BP_SYM.
4849 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4850 <bp-sym.h> and <bp-asm.h>.
4851 (__strchrnul): Don't use BP_SYM.
4852 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4853 <bp-sym.h> and <bp-asm.h>.
4854 (strlen): Don't use BP_SYM.
4855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4856 <bp-sym.h> and <bp-asm.h>.
4857 (strncmp): Don't use BP_SYM.
4858 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4859 <bp-sym.h> and <bp-asm.h>.
4860 (__strnlen): Don't use BP_SYM.
4861 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4862 <bp-asm.h>.
4863 (__mpn_rshift): Don't use BP_SYM.
4864 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4865 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4866 <bp-sym.h> and <bp-asm.h>.
4867 (__sigsetjmp): Don't use BP_SYM.
4868 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4869 (L(start_addresses)): Don't use BP_SYM.
4870 (_start): Likewise.
4871 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4872 <bp-asm.h>.
4873 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4874 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4875 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4876 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4877 <bp-asm.h>.
4878 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4879 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4880 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4881 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4882 <bp-asm.h>.
4883 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4884 comments.
4885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4886 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4887 <bp-asm.h>.
4888 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4889 FIXME comments.
4890 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4891 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4892 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4893 <bp-asm.h>.
4894 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4895 comment.
4896 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4897 and <bp-asm.h>.
4898 (strncmp): Don't use BP_SYM,
4899 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4900 <bp-asm.h>.
4901 (__mpn_sub_n): Don't use BP_SYM.
4902 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4903 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4904 and <bp-asm.h>.
4905 (__mpn_submul_1): Don't use BP_SYM.
4906 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4908 <bp-sym.h> and <bp-asm.h>.
4909 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4911 <bp-sym.h> and <bp-asm.h>.
4912 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4913 comment.
4914
8d19fe64
SP
49152013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4916
4917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4918 Use ZK to minimize writes to Z.
4919 (sub_magnitudes): Simplify code a bit.
4920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4921 Use ZK to minimize writes to Z.
4922 (sub_magnitudes): Simplify code a bit.
4923
85bd816a
RM
49242013-02-27 Roland McGrath <roland@hack.frob.com>
4925
4926 * csu/gmon-start.c: Add special exception to license text.
4927
b5977bf2
RH
49282013-02-27 Richard Henderson <rth@redhat.com>
4929
4930 * scripts/config.guess: Update from config.git.
4931 * scripts/config.sub: Likewise.
4932
11d6e2f2
SP
49332013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4934
09c14ed2
SP
4935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4936
a688864e
SP
4937 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4938
6295157a
SP
4939 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4940
b8de2202
SP
4941 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4942
11d6e2f2
SP
4943 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4944
7e80ddb8
RM
49452013-02-26 Roland McGrath <roland@hack.frob.com>
4946
4947 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4948 [$(build-shared = yes].
7e80ddb8 4949
7da6d9ed
SP
49502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
45f05884
SP
4952 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4953 (__mul): Reduce iterations for calculating mantissa.
4954
2236d359
SP
4955 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4956 MPTWO.
4957 (__mpranred): Likewise.
4958
7da6d9ed
SP
4959 [BZ #15160]
4960 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4961 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4962
b7688c42
PE
49632013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4964
4965 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4966 Define __attribute__.
4967
53a5c423
SP
49682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4969
4970 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4971 unused.
4972 * posix/regex_internal.h (__attribute): Remove.
4973 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4974 (re_string_context_at): Likewise.
4975 (bitset_not): Use __attribute__ and mark function as possibly
4976 unused.
4977 (bitset_merge): Likewise.
4978 (bitset_mask): Likewise.
4979 (re_string_char_size_at): Likewise.
4980 (re_string_wchar_at): Likewise.
4981 (re_string_elem_size_at): Likewise.
4982
60f5a8b5
SP
49832013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4984
2a983a2e
SP
4985 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4986 code.
4987 (cc32): Likewise.
4988
e69804d1
SP
4989 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4990 (__acr): Likewise.
4991 (__cpy): Likewise.
4992 (norm): Likewise.
4993 (denorm): Likewise.
4994 (__dbl_mp): Likewise.
4995 (add_magnitudes): Likewise.
4996 (sub_magnitudes): Likewise.
4997 (__mul): Likewise.
4998 (__inv): Likewise.
4999
2f22a1e8
SP
5000 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5001 style.
5002
8930ddc7
SP
5003 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5004 style.
5005
dc60cb11
SP
5006 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5007 code.
5008
60f5a8b5
SP
5009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5010 up changes with default code.
5011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5012 Likewise.
5013
b4d1fd33
AM
50142013-02-24 Allan McRae <allan@archlinux.org>
5015
faf6f8bc
AM
5016 * manual/socket.texi (The Internet Namespace): Order menu items
5017 to match that in the file.
5018
b4d1fd33
AM
5019 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5020 node listing of the info page menu.
5021
2366713d
JM
50222013-02-21 Joseph Myers <joseph@codesourcery.com>
5023
5024 [BZ #13550]
5025 * sysdeps/i386/bp-asm.h: Remove file.
5026 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5027 (PARMS): Do not use macros from bp-asm.h.
5028 (S1): Likewise.
5029 (S2): Likewise.
5030 (SIZE): Likewise.
5031 (__mpn_add_n): Do not use BP_SYM
5032 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5033 "bp-asm.h".
5034 (PARMS): Do not use macros from bp-asm.h.
5035 (S1): Likewise.
5036 (SIZE): Likewise.
5037 (__mpn_addmul_1): Do not use BP_SYM
5038 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5039 "bp-asm.h".
5040 (PARMS): Do not use macros from bp-asm.h.
5041 (SIGMSK): Likewise.
5042 (_setjmp): Likewise. Do not use BP_SYM.
5043 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5044 "bp-asm.h".
5045 (PARMS): Do not use macros from bp-asm.h.
5046 (SIGMSK): Likewise.
5047 (setjmp): Likewise. Do not use BP_SYM.
5048 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5049 "bp-asm.h".
5050 (PARMS): Do not use macros from bp-asm.h.
5051 (__frexp): Do not use BP_SYM.
5052 (frexp): Likewise.
5053 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5054 "bp-asm.h".
5055 (PARMS): Do not use macros from bp-asm.h.
5056 (__frexpf): Do not use BP_SYM.
5057 (frexpf): Likewise.
5058 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5059 "bp-asm.h".
5060 (PARMS): Do not use macros from bp-asm.h.
5061 (__frexpl): Do not use BP_SYM.
5062 (frexpl): Likewise.
5063 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5064 "bp-asm.h".
5065 (PARMS): Do not use macros from bp-asm.h.
5066 (__remquo): Do not use BP_SYM.
5067 (remquo): Likewise.
5068 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5069 "bp-asm.h".
5070 (PARMS): Do not use macros from bp-asm.h.
5071 (__remquof): Do not use BP_SYM.
5072 (remquof): Likewise.
5073 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5074 "bp-asm.h".
5075 (PARMS): Do not use macros from bp-asm.h.
5076 (__remquol): Do not use BP_SYM.
5077 (remquol): Likewise.
5078 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5079 "bp-asm.h".
5080 (PARMS): Do not use macros from bp-asm.h.
5081 (DEST): Likewise.
5082 (SRC): Likewise.
5083 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5084 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5085 "bp-asm.h".
5086 (PARMS): Do not use macros from bp-asm.h.
5087 (strlen): Do not use BP_SYM.
5088 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5089 "bp-asm.h".
5090 (PARMS): Do not use macros from bp-asm.h.
5091 (S1): Likewise.
5092 (S2): Likewise.
5093 (SIZE): Likewise.
5094 (__mpn_add_n): Do not use BP_SYM.
5095 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5096 "bp-asm.h".
5097 (PARMS): Do not use macros from bp-asm.h.
5098 (S1): Likewise.
5099 (SIZE): Likewise.
5100 (__mpn_addmul_1): Do not use BP_SYM.
5101 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5102 weak_alias.
5103 (bzero): Likewise.
5104 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5105 "bp-asm.h".
5106 (PARMS): Do not use macros from bp-asm.h.
5107 (S): Likewise.
5108 (SIZE): Likewise.
5109 (__mpn_lshift): Do not use BP_SYM.
5110 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5111 "bp-asm.h".
5112 (PARMS): Do not use macros from bp-asm.h.
5113 (DEST): Likewise.
5114 (SRC): Likewise.
5115 (LEN): Likewise.
5116 (memcpy): Likewise. Do not use BP_SYM.
5117 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5118 libc_hidden_def and weak_alias.
5119 (mempcpy): Do not use BP_SYM in weak_alias.
5120 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5121 "bp-asm.h".
5122 (PARMS): Do not use macros from bp-asm.h.
5123 (DEST): Likewise.
5124 (LEN): Likewise.
5125 [!BZERO_P] (CHR): Likewise.
5126 (memset): Likewise. Do not use BP_SYM.
5127 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5128 "bp-asm.h".
5129 (PARMS): Do not use macros from bp-asm.h.
5130 (S1): Likewise.
5131 (SIZE): Likewise.
5132 (__mpn_mul_1): Do not use BP_SYM.
5133 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5134 "bp-asm.h".
5135 (PARMS): Do not use macros from bp-asm.h.
5136 (S): Likewise.
5137 (SIZE): Likewise.
5138 (__mpn_rshift): Do not use BP_SYM.
5139 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5140 "bp-asm.h".
5141 (PARMS): Do not use macros from bp-asm.h.
5142 (STR): Likewise.
5143 (CHR): Likewise.
5144 (strchr): Likewise. Do not use BP_SYM.
5145 (index): Do not use BP_SYM in weak_alias.
5146 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5147 "bp-asm.h".
5148 (PARMS): Do not use macros from bp-asm.h.
5149 (DEST): Likewise.
5150 (SRC): Likewise.
5151 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5152 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5153 "bp-asm.h".
5154 (PARMS): Do not use macros from bp-asm.h.
5155 (strlen): Do not use BP_SYM.
5156 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5157 "bp-asm.h".
5158 (PARMS): Do not use macros from bp-asm.h.
5159 (S1): Likewise.
5160 (S2): Likewise.
5161 (SIZE): Likewise.
5162 (__mpn_sub_n): Do not use BP_SYM.
5163 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5164 "bp-asm.h".
5165 (PARMS): Do not use macros from bp-asm.h.
5166 (S1): Likewise.
5167 (SIZE): Likewise.
5168 (__mpn_submul_1): Do not use BP_SYM.
5169 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5170 "bp-asm.h".
5171 (PARMS): Do not use macros from bp-asm.h.
5172 (S1): Likewise.
5173 (S2): Likewise.
5174 (SIZE): Likewise.
5175 (__mpn_add_n): Do not use BP_SYM.
5176 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5177 weak_alias.
5178 (bzero): Likewise.
5179 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5180 "bp-asm.h".
5181 (PARMS): Do not use macros from bp-asm.h.
5182 (BLK2): Likewise.
5183 (LEN): Likewise.
5184 (memcmp): Do not use BP_SYM.
5185 (bcmp): Do not use BP_SYM in weak_alias.
5186 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5187 "bp-asm.h".
5188 (PARMS): Do not use macros from bp-asm.h.
5189 (DEST): Likewise.
5190 (SRC): Likewise.
5191 (LEN): Likewise.
5192 (memcpy): Likewise. Do not use BP_SYM.
5193 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5194 "bp-asm.h".
5195 (PARMS): Do not use macros from bp-asm.h.
5196 (DEST): Likewise.
5197 (SRC): Likewise.
5198 (LEN): Likewise.
5199 (memmove): Likewise. Do not use BP_SYM.
5200 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5201 "bp-asm.h".
5202 (PARMS): Do not use macros from bp-asm.h.
5203 (DEST): Likewise.
5204 (SRC): Likewise.
5205 (LEN): Likewise.
5206 (__mempcpy): Likewise. Do not use BP_SYM.
5207 (mempcpy): Do not use BP_SYM in weak_alias.
5208 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5209 "bp-asm.h".
5210 (PARMS): Do not use macros from bp-asm.h.
5211 (DEST): Likewise.
5212 (LEN): Likewise.
5213 [!BZERO_P] (CHR): Likewise.
5214 (memset): Likewise. Do not use BP_SYM.
5215 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5216 "bp-asm.h".
5217 (PARMS): Do not use macros from bp-asm.h.
5218 (STR2): Likewise.
5219 (strcmp): Do not use BP_SYM.
5220 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5221 "bp-asm.h".
5222 (PARMS): Do not use macros from bp-asm.h.
5223 (STR): Likewise.
5224 (DELIM): Likewise.
5225 [USE_AS_STRTOK_R] (SAVE): Likewise.
5226 (FUNCTION): Likewise. Do not use BP_SYM.
5227 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5228 aliases.
5229 (strtok_r): Likewise.
5230 (__GI___strtok_r): Likewise.
5231 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5232 (PARMS): Do not use macros from bp-asm.h.
5233 (S): Likewise.
5234 (SIZE): Likewise.
5235 (__mpn_lshift): Do not use BP_SYM.
5236 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5237 (PARMS): Do not use macros from bp-asm.h.
5238 (STR): Likewise.
5239 (CHR): Likewise.
5240 (__memchr): Do not use BP_SYM.
5241 (memchr): Do not use BP_SYM in weak_alias.
5242 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5243 (PARMS): Do not use macros from bp-asm.h.
5244 (BLK2): Likewise.
5245 (LEN): Likewise.
5246 (memcmp): Do not use BP_SYM.
5247 (bcmp): Do not use BP_SYM in weak_alias.
5248 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5249 (PARMS): Do not use macros from bp-asm.h.
5250 (S1): Likewise.
5251 (SIZE): Likewise.
5252 (__mpn_mul_1): Do not use BP_SYM.
5253 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5254 "bp-asm.h".
5255 (PARMS): Do not use macros from bp-asm.h.
5256 (STR): Likewise.
5257 (CHR): Likewise.
5258 (__rawmemchr): Do not use BP_SYM.
5259 (rawmemchr): Do not use BP_SYM in weak_alias.
5260 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5261 (PARMS): Do not use macros from bp-asm.h.
5262 (S): Likewise.
5263 (SIZE): Likewise.
5264 (__mpn_rshift): Do not use BP_SYM.
5265 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5266 (PARMS): Do not use macros from bp-asm.h.
5267 (SIGMSK): Likewise.
5268 (__sigsetjmp): Likewise. Do not use BP_SYM.
5269 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5270 (_start): Do not use BP_SYM.
5271 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5272 (PARMS): Do not use macros from bp-asm.h.
5273 (DEST): Likewise.
5274 (SRC): Likewise.
5275 (__stpcpy): Likewise. Do not use BP_SYM.
5276 (stpcpy): Do not use BP_SYM in weak_alias.
5277 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5278 "bp-asm.h".
5279 (PARMS): Do not use macros from bp-asm.h.
5280 (DEST): Likewise.
5281 (SRC): Likewise.
5282 (LEN): Likewise.
5283 (__stpncpy): Likewise. Do not use BP_SYM.
5284 (stpncpy): Do not use BP_SYM in weak_alias.
5285 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5286 (PARMS): Do not use macros from bp-asm.h.
5287 (STR): Likewise.
5288 (CHR): Likewise.
5289 (strchr): Likewise. Do not use BP_SYM.
5290 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5291 "bp-asm.h".
5292 (PARMS): Do not use macros from bp-asm.h.
5293 (STR): Likewise.
5294 (CHR): Likewise.
5295 (__strchrnul): Likewise. Do not use BP_SYM.
5296 (strchrnul): Do not use BP_SYM in weak_alias.
5297 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5298 "bp-asm.h".
5299 (PARMS): Do not use macros from bp-asm.h.
5300 (STOP): Likewise.
5301 (strcspn): Do not use BP_SYM.
5302 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5303 "bp-asm.h".
5304 (PARMS): Do not use macros from bp-asm.h.
5305 (STR): Likewise.
5306 (STOP): Likewise.
5307 (strpbrk): Likewise. Do not use BP_SYM.
5308 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5309 "bp-asm.h".
5310 (PARMS): Do not use macros from bp-asm.h.
5311 (STR): Likewise.
5312 (CHR): Likewise.
5313 (strrchr): Likewise. Do not use BP_SYM.
5314 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5315 (PARMS): Do not use macros from bp-asm.h.
5316 (SKIP): Likewise.
5317 (strspn): Do not use BP_SYM.
5318 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5319 (PARMS): Do not use macros from bp-asm.h.
5320 (STR): Likewise.
5321 (DELIM): Likewise.
5322 (SAVE): Likewise.
5323 (FUNCTION): Likewise. Do not use BP_SYM.
5324 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5325 aliases.
5326 (strtok_r): Likewise.
5327 (__GI___strtok_r): Likewise.
5328 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5329 (PARMS): Do not use macros from bp-asm.h.
5330 (S1): Likewise.
5331 (S2): Likewise.
5332 (SIZE): Likewise.
5333 (__mpn_sub_n): Do not use BP_SYM.
5334 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5335 "bp-asm.h".
5336 (PARMS): Do not use macros from bp-asm.h.
5337 (S1): Likewise.
5338 (SIZE): Likewise.
5339 (__mpn_submul_1): Do not use BP_SYM.
5340 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5341 <bp-sym.h>.
5342 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5343 and <bp-asm.h>.
5344 (PARMS): Do not use macros from bp-asm.h.
5345 (FLAGS): Likewise.
5346 (PTID): Likewise.
5347 (TLS): Likewise.
5348 (CTID): Likewise.
5349 (__clone): Do not use BP_SYM.
5350 (clone): Do not use BP_SYM in weak_alias.
5351 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5352 and <bp-asm.h>.
5353 (PARMS): Do not use macros from bp-asm.h.
5354 (LEN): Likewise.
5355 (__mmap64): Do not use BP_SYM.
5356 (mmap64): Do not use BP_SYM in weak_alias.
5357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5358 <bp-sym.h> and <bp-asm.h>.
5359 (PARMS): Do not use macros from bp-asm.h.
5360 (__posix_fadvise64_l64): Do not use BP_SYM.
5361 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5362 (PARMS): Do not use macros from bp-asm.h.
5363 (NSOPS): Likewise.
5364 (semtimedop): Do not use BP_SYM.
5365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5366 and <bp-asm.h>.
5367
582a3cff
AM
53682013-02-21 Allan McRae <allan@archlinux.org>
5369
5370 * manual/message.texi (Charset conversion in gettext):
5371 Move @end statement to beginning of line.
5372
bab8a695
SP
53732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5374
80945231
SP
5375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5376 static.
5377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5378 Likewise.
5379
bab8a695
SP
5380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5381 (denorm): Likewise.
5382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5384
e21d7aa7
AK
53852013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5386
5387 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5388 tail-call to the resolved function if pltexit isn't needed.
5389
4c7a4263
SP
53902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5391
5392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5393 or Y being zero as being unlikely.
5394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5395 Likewise.
5396
41f49342
CD
53972013-02-20 Carlos O'Donell <carlos@redhat.com>
5398
5399 * manual/nss.texi (System Databases and Name Service Switch):
5400 Remove frobnicate @pxref.
5401
50022a93
TS
54022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5403
5404 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5405 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5406
08cbd996
PM
54072013-02-20 Petr Machata <pmachata@redhat.com>
5408
5409 * elf/elf.h (R_ARM_TARGET1): New macro.
5410 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5411 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5412 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5413 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5414 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5415 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5416 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5417 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5418 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5419 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5420 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5421 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5422 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5423 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5424 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5425 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5426 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5427 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5428 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5429 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5430 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5431 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5432 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5433 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5434 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5435 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5436 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5437 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5438 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5439 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5440 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5441 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5442 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5443 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5444 (R_ARM_THM_GOT_BREL12): Likewise.
5445 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5446 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5447 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5448 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5449 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5450 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5451 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5452 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5453 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5454
c7b275d6
TS
54552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5456
5457 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5458 __attribute_used__ to __attribute__ ((unused)).
5459
20cd7fb3
SP
54602013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5461
5462 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5463 powerpc mpa.c.
5464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5465 comment formatting.
5466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5467
92945b52
JM
54682013-02-19 Joseph Myers <joseph@codesourcery.com>
5469
5470 [BZ #13550]
5471 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5472 Remove macro.
5473 (ENTER): Remove both macro definitions.
5474 (LEAVE): Likewise.
5475 (CHECK_BOUNDS_LOW): Likewise.
5476 (CHECK_BOUNDS_HIGH): Likewise.
5477 (CHECK_BOUNDS_BOTH): Likewise.
5478 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5479 (RETURN_BOUNDED_POINTER): Likewise.
5480 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5481 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5482 (POP_ERRNO_LOCATION_RETURN): Likewise.
5483 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5484 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5485 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5486 macros.
5487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5488 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5489 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5490 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5491 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5492 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5493 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5494 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5495 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5496 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5497 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5498 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5499 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5500 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5501 removed macros.
5502 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5503 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5504 macros.
5505 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5506 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5507 * sysdeps/i386/i586/memset.S (memset): Likewise.
5508 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5510 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5511 macros.
5512 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5513 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5514 Change uses of L(2) to L(out).
5515 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5516 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5517 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5519 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5520 removed macros.
5521 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5522 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5523 macros.
5524 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5525 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5526 (RETURN): Do not use macro LEAVE.
5527 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5528 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5529 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5530 * sysdeps/i386/i686/memset.S (memset): Likewise.
5531 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5532 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5533 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5534 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5535 Likewise.
5536 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5537 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5538 L(1_2) and L(1_3) into L(1).
5539 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5540 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5542 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5543 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5544 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5545 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5547 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5548 macros.
5549 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5550 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5551 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5552 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5553 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5554 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5555 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5556 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5557 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5558 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5559 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5560 * sysdeps/i386/strspn.S (strspn): Likewise.
5561 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5562 conditional code.
5563 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5564 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5565 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5566 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5567 L(1_3) into L(1_1).
5568 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5569 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5570 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5571 macros.
5572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5573
2389741a
JJ
55742013-02-19 Jakub Jelinek <jakub@redhat.com>
5575
5576 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5577 macro.
5578
2016b3cd
SP
55792013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
e4f22324
SP
5581 * math/atest-exp.c (exp_mpn): Remove ROUND.
5582 * math/atest-exp2.c (exp_mpn): Likewise.
5583 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5584
2016b3cd
SP
5585 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5586 * stdlib/tst-tls-atexit-lib.c: Likewise.
5587 * stdlib/tst-tls-atexit.c: Likewise.
5588
4be9b544
MF
55892013-02-18 Mike Frysinger <vapier@gentoo.org>
5590
5591 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5592 and __attribute_alloc_size__.
5593
2f62b9ee
MF
55942013-02-18 Mike Frysinger <vapier@gentoo.org>
5595
5596 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5597 __attribute_alloc_size__.
5598 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5599 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5600
6ff444c4
MF
56012013-02-18 Mike Frysinger <vapier@gentoo.org>
5602
5603 * include/programs/xmalloc.h: New file.
5604 * catgets/gencat.c: Include it.
5605 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5606 * elf/pldd.c: Likewise.
5607 * iconv/iconv_charmap.c: Likewise.
5608 * iconv/iconvconfig.c: Likewise.
5609 * iconv/strtab.c: Likewise.
5610 * locale/programs/locale.c: Likewise.
5611 * locale/programs/localedef.h: Likewise.
5612 * locale/programs/simple-hash.c: Likewise.
5613 * nscd/nscd.h: Likewise.
5614 * nss/makedb.c: Likewise.
5615 * sysdeps/generic/ldconfig.h: Likewise.
5616
be179c8a
SP
56172013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
ba384f6e
SP
5619 * Versions.def: Add GLIBC_2.18.
5620 * include/link.h (struct link_map): New member l_tls_dtor_count.
5621 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5622 (__call_tls_dtors): Likewise.
5623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5624 __cxa_thread_atexit_impl.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5626 Likewise.
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5628 Likewise.
5629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5630 Likewise.
5631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5632 Likewise.
5633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5635 Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5637 Likewise.
5638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5640 Likewise.
5641 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5642 (tests): Add test case tst-tls-atexit.
5643 (modules-names): Add shared library for tst-tls-atexit.
5644 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5645 (GLIBC_PRIVATE): Add __call_tls_dtors.
5646 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5647 for libstdc++.
5648 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5649 * stdlib/tst-tls-atexit.c: New test case.
5650 * stdlib/tst-tls-atexit-lib.c: New test case.
5651
ffaa74cf 5652 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5653
be179c8a
SP
5654 * elf/Versions (ld): Add _dl_find_dso_for_object.
5655 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5656 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5657 (dl_open_worker): Use _dl_find_dso_for_object.
5658 * elf/dl-sym.c (do_sym): Likewise.
5659 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5660
f78b5caa
AK
56612013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5662
5663 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5664 Syntactic changes only.
5665 (_dl_runtime_profile): Do a tail-call to the resolved function.
5666
29691210
JM
56672013-02-17 Joseph Myers <joseph@codesourcery.com>
5668
5669 [BZ #13550]
5670 * sysdeps/x86_64/bp-asm.h: Remove file.
5671 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5672 <bp-sym.h> and <bp-asm.h>.
5673 (__clone): Do not use BP_SYM.
5674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5675 <bp-sym.h> and <bp-asm.h>.
5676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5677 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5678 "bp-asm.h".
5679 (_setjmp): Do not use BP_SYM.
5680 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5681 "bp-asm.h".
5682 (setjmp): Do not use BP_SYM.
5683 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5684 libc_hidden_def.
5685 (mempcpy): Do not use BP_SYM in weak_alias.
5686 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5687 "bp-asm.h".
5688 (strchr): Do not use BP_SYM.
5689 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5690 "bp-asm.h".
5691 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5692 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5693 (_start): Do not use BP_SYM.
5694 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5695 "bp-asm.h".
5696 (strcat): Do not use BP_SYM.
5697 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5698 "bp-asm.h".
5699 (STRCMP): Do not use BP_SYM.
5700 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5701 "bp-asm.h".
5702 (STRCPY): Do not use BP_SYM.
5703 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5704 "bp-asm.h".
5705 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5706 "bp-asm.h".
5707 (FUNCTION): Do not use BP_SYM.
5708 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5709 weak_alias.
5710 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5711
f238fd19
AJ
57122013-02-17 Andreas Jaeger <aj@suse.de>
5713
5714 * time/Versions: Sort entries.
5715 * string/Versions: Likewise.
5716 * resolv/Versions: Likewise.
5717 * posix/Versions: Likewise.
5718 * iconv/Versions: Likewise.
5719 * elf/Versions: Likewise.
5720 * wcsmbs/Versions: Likewise.
5721
bd07f23c 57222013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5723
22af19f9
SP
5724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5725 loop termination condition.
5726
4709fe76
SP
5727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5728 variable to calculate EZ.
5729 (__sqr): Likewise.
2d0e0f29
SP
5730
5731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5732 the lower precision input.
5733
daaa7713
JM
57342013-02-15 Joseph Myers <joseph@codesourcery.com>
5735
5736 [BZ #13550]
5737 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5738 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5739 (run-via-rtld-prefix): Do not handle %-bp tests.
5740 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5741 (all-object-suffixes): Remove .ob.
5742 (bppfx): Remove variable.
5743 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5744 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5745 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5746 [$(build-bounded) = yes] (libtype.ob): Likewise.
5747 * Makerules (elide-routines.ob): Remove variable.
5748 (do-tests-clean): Do not handle *-bp.out.
5749 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5750 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5751 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5752 (tests): Do not include $(tests-bp.out).
5753 (xtests): Do not include $(xtests-bp.out).
5754 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5755 [$(build-bounded) = yes] ($(addprefix
5756 $(objpfx),$(binaries-bounded))): Remove rule.
5757 ($(objpfx)%-bp.out): Remove rule.
5758 * config.make.in (build-bounded): Remove variable.
5759 * crypt/Makefile [$(build-bounded) = yes]
5760 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5761 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5762 append to variable.
5763 [$(build-bounded) = yes] (install-lib): Likewise.
5764 [$(build-bounded) = yes] (generated): Likewise.
5765 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5766 Remove rule.
5767 * intl/Makefile [$(build-bounded) = yes]
5768 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5769 * math/Makefile [$(build-bounded) = yes]
5770 ($(tests:%=$(objpfx)%-bp): Likewise.
5771 * misc/Makefile [$(build-bounded) = yes]
5772 ($(objpfx)tst-tsearch-bp): Likewise.
5773 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5774 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5775 Remove dependency.
5776 * string/Makefile (o-objects.ob): Remove variable.
5777 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5778 (CFLAGS-.ob): Remove variable.
5779 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5780 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5781 both definitions of variable.
5782 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5783 (ASFLAGS-.ob): Remove variable.
5784
e97ed6dd
JM
57852013-02-14 Joseph Myers <joseph@codesourcery.com>
5786
2bdd4ca6
JM
5787 [BZ #13550]
5788 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5789 Remove __BOUNDED_POINTERS__ from condition.
5790 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5791 * string/bits/string2.h [!__NO_STRING_INLINES &&
5792 !__BOUNDED_POINTERS__]: Likewise.
5793 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5794 Likewise.
5795 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5796 Remove conditional code.
5797 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5798 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5799 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5800 condition.
5801
e97ed6dd
JM
5802 [BZ #13550]
5803 * csu/libc-start.c: Do not include <bp-sym.h>.
5804 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5805 * elf/dl-open.c: Do not include <bp-sym.h>.
5806 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5807 * math/fegetenv.c: Do not include <bp-sym.h>.
5808 (fegetenv): Do not use BP_SYM in versioned symbols.
5809 * nptl/sysdeps/pthread/bits/libc-lockP.h
5810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5811 <bp-sym.h>.
5812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5813 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5815 (__pthread_mutex_destroy): Likewise.
5816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5817 (__pthread_mutex_lock): Likewise.
5818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5819 (__pthread_mutex_trylock): Likewise.
5820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5821 (__pthread_mutex_unlock): Likewise.
5822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5823 (__pthread_mutexattr_init): Likewise.
5824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5825 (__pthread_mutexattr_destroy): Likewise.
5826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5827 (__pthread_mutexattr_settype): Likewise.
5828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5829 (__pthread_rwlock_init): Likewise.
5830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5831 (__pthread_rwlock_destroy): Likewise.
5832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5833 (__pthread_rwlock_rdlock): Likewise.
5834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5835 (__pthread_rwlock_tryrdlock): Likewise.
5836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5837 (__pthread_rwlock_wrlock): Likewise.
5838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5839 (__pthread_rwlock_trywrlock): Likewise.
5840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5841 (__pthread_rwlock_unlock): Likewise.
5842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5843 (__pthread_key_create): Likewise.
5844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5845 (__pthread_setspecific): Likewise.
5846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5847 (__pthread_getspecific): Likewise.
5848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5849 Likewise.
5850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5851 (_pthread_cleanup_push_defer): Likewise.
5852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5853 (_pthread_cleanup_pop_restore): Likewise.
5854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5855 (pthread_setcancelstate): Likewise.
5856 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5857 <bp-sym.h>.
5858 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5859 (memchr): Do not use BP_SYM in weak_alias.
5860 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5861 (fegetenv): Do not use BP_SYM in versioned symbols.
5862 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5863 (fesetenv): Do not use BP_SYM in versioned symbols.
5864 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5865 (feupdateenv): Do not use BP_SYM in versioned symbols.
5866 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5867 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5868 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5869 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5870 (open64): Do not use BP_SYM in weak_alias.
5871 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5872 (fegetenv): Do not use BP_SYM in versioned symbols.
5873 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5874 (fesetenv): Do not use BP_SYM in versioned symbols.
5875 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5876 (feupdateenv): Do not use BP_SYM in versioned symbols.
5877 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5878 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5879 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5880 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5881 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5882 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5884 <bp-sym.h>.
5885 (__libc_start_main): Do not use BP_SYM.
5886
d6752ccd
SP
58872013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5888
cb57ce60
SP
5889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5890 redundant return line.
5891 (norm): Likewise.
5892 (denorm): Likewise.
5893 (dbl_mp): Likewise.
5894 (sub_magnitudes): Likewise.
5895 (__add): Likewise.
5896 (__sub): Likewise.
5897 (__mul): Likewise.
5898 (__inv): Likewise.
5899 (__dvd): Likewise.
5900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5901 (norm): Likewise.
5902 (denorm): Likewise.
5903 (dbl_mp): Likewise.
5904 (sub_magnitudes): Likewise.
5905 (__add): Likewise.
5906 (__sub): Likewise.
5907 (__mul): Likewise.
5908 (__inv): Likewise.
5909 (__dvd): Likewise.
5910
f414520d
SP
5911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5912 instead of __mul.
5913 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5914 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5915 (cc32): Likewise.
5916
d6752ccd
SP
5917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5918 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5920 of __mul for squares.
5921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5922 function
5923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5924 Likewise.
5925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5927
70d9946a
JM
59282013-02-13 Joseph Myers <joseph@codesourcery.com>
5929
5930 [BZ #13550]
5931 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5932 code.
5933 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5934 prototype or function definition. Rename ubp_* variables and
5935 parameters. Remove argv definitions conditional on
5936 [__BOUNDED_POINTERS__].
5937 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5938 * elf/dl-runtime.c (_dl_fixup): Likewise.
5939 * include/set-hooks.h (RUN_HOOK): Likewise.
5940 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5941 definition.
5942 * string/strcpy.c (strcpy): Do not use __unbounded.
5943 * sysdeps/generic/frame.h (struct layout): Likewise.
5944 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5945 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5946 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5947 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5948 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5949 (__backtrace): Likewise.
5950 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5951 use __ptrvalue.
5952 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5953 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5954 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5955 Likewise.
5956 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5957 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5958 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5960 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5961 Do not use __unbounded.
5962 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5963 Rename __unboundedrlimits parameter to rlimits in prototype.
5964 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5965 Do not use __unbounded.
5966 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5967 not use __ptrvalue.
5968 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5969 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5970 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5971 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5972 __ptrvalue or __unbounded.
5973 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5974 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5975 use __unbounded.
5976 (__new_msgctl): Do not use __ptrvalue.
5977 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5978 __unbounded.
5979 (__libc_msgrcv): Do not use __ptrvalue.
5980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5981 startup_info): Do not use __unbounded.
5982 (__libc_start_main): Likewise. Rename ubp_* variables and
5983 parameters. Remove argv definitions conditional on
5984 [__BOUNDED_POINTERS__].
5985 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5986 __ptrvalue.
5987 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5988 use __unbounded.
5989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5990 or __ptrvalue.
5991 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5992 use __unbounded.
5993 (__new_shmctl): Do not use __ptrvalue.
5994 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5995 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5996 Likewise.
5997 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5999 (__libc_sigaction): Likewise.
6000 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6002 Likewise.
6003 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6004
cc7834d6
OB
60052013-02-13 Ondřej Bílka <neleai@seznam.cz>
6006
ffb1ec7b 6007 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6008
6009 * string/mempcpy.c: Implement by calling memcpy.
6010
bdf02814
SP
60112013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6012
c2af38aa
SP
6013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6014
4e92d59e
SP
6015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6016 evaluation.
6017
909279a5
SP
6018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6019 values in the mantissa.
6020
bdf02814
SP
6021 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6022 minimize writes to Z.
6023 (sub_magnitudes): Simplify code a bit.
6024
cd525923
RM
60252013-02-12 Roland McGrath <roland@hack.frob.com>
6026
6027 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6028 from the message. The linker prefixes all warnings with that already.
6029
7e2f0d2d
AS
60302013-02-12 Andreas Schwab <schwab@suse.de>
6031
a445af0b
AS
6032 [BZ #15078]
6033 * posix/regexec.c (extend_buffers): Add parameter min_len.
6034 (check_matching): Pass minimum needed length.
6035 (clean_state_log_if_needed): Likewise.
6036 (get_subexp): Likewise.
6037 * posix/Makefile (tests): Add bug-regex34.
6038 (bug-regex34-ENV): Define.
6039 * posix/bug-regex34.c: New file.
6040
7e2f0d2d
AS
6041 [BZ #11561]
6042 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6043 elements compare against the byte sequence of it, not its name.
6044 * posix/Makefile (tests): Add bug-regex35.
6045 (bug-regex35-ENV): Define.
6046 * posix/bug-regex35.c: New file.
6047
a175b684
TV
60482013-02-11 Tom de Vries <tom@codesourcery.com>
6049
6050 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6051 comment.
6052 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6053 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6054 (CHECK_EOL): Add undef.
6055
310998fe 60562013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6057
6058 * bits/stdlib-bsearch.h: New file.
6059 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6060 * stdlib/stdlib.h: Likewise.
41eda41d 6061
8ded91fb
RM
60622013-02-11 Roland McGrath <roland@hack.frob.com>
6063
6064 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6065 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6066 declaration.
6067 * manual/search.texi (Array Search Function): Add missing const in
6068 lfind prototype.
6069 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6070 declaration to use rlim_t.
6071 (Basic Scheduling Functions): Remove erroneous const from
6072 sched_getparam prototype. Remove erroneous * from
6073 sched_get_priority_max and sched_get_priority_min prototypes.
6074 (Resource Usage): Fix summary @comment on vtimes to refer to
6075 sys/vtimes.h rather than vtimes.h.
6076 Add missing *s in vtimes prototype.
6077 (Limits on Resources): Fix ulimit prototype to return long int.
6078 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6079 prototypes to use long int rather than double.
6080 (BSD Random): Fix initstate and setstate to use char *, not void *.
6081 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6082 prototype to make second argument 'struct aiocb64 *const[]'.
6083 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6084 (Status of AIO Operations): Remove erroneous const in aio_return and
6085 aio_return64 prototypes.
6086 (Synchronizing I/O): Fix sync prototype to return void.
6087 * manual/startup.texi (Suboptions): Remove an erroneous const in
6088 getsubopt prototype.
6089 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6090 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6091 use size_t rather than int.
6092 (Scanning All Users): Likewise for getpwent_r.
6093 (Setting Groups): Add missing const to setgroups prototype.
6094 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6095 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6096 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6097 'const void *' rather than 'const char *'.
6098 (Host Address Functions): Likewise for inet_ntop.
6099 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6100 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6101 ssize_t for return value.
6102 (Sending Data): Likewise for send, sendto, sendmsg.
6103 (Socket Option Functions): Add a missing const in setsockopt prototype.
6104 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6105 use wchar_t for the argument.
6106 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6107 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6108 take no arguments.
6109 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6110 double/float/long double for second argument.
6111 Fix return types of significand, significandf, significandl.
6112 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6113 argument in fchmod prototype.
6114 (File Owner): Use uid_t and gid_t in fchown prototype.
6115 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6116 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6117 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6118 use 'const struct dirent **' as argument types to CMP function pointer
6119 argument.
6120 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6121 (File Times): Fix summary magic @comment for struct utimbuf and utime
6122 to refer to utime.h, not time.h.
6123 * manual/string.texi (Argz Functions): Add missing const in
6124 argz_extract and argz_next prototypes.
6125 (Finding Tokens in a String): Likewise for basename.
6126 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6127 (Copying and Concatenation): Fix typo in wmemmove prototype.
6128 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6129 (Signal Stack): Remove erroneous const in sigstack prototype.
6130 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6131 prototype.
6132 (Simple Calendar Time): Likewise for stime.
6133 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6134 prototype.
6135 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6136 say sys/sysctl.h instead.
6137 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6138 and vsyslog prototypes.
6139
fe77fe6d
TV
61402013-02-11 Tom de Vries <tom@codesourcery.com>
6141
6142 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6143 Remove.
6144
3a09b620
RM
61452013-02-11 Roland McGrath <roland@hack.frob.com>
6146
6147 * misc/sys/mman.h: Fix typo in mremap comment.
6148
550a0b89
RM
61492013-02-08 Roland McGrath <roland@hack.frob.com>
6150
6151 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6152 the '\0' terminator.
6153
a2da1673
JM
61542013-02-08 Joseph Myers <joseph@codesourcery.com>
6155
6156 [BZ #13550]
6157 * debug/segfault.c: Don't include <bp-checks.h>.
6158 * sysdeps/generic/bp-checks.h: Remove file.
6159 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6160 (__GETDENTS): Don't use CHECK_N.
6161 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6162 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6163 (__getgroups): Don't use CHECK_N.
6164 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6165 (setgroups): Don't use CHECK_N.
6166 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6167 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6168 (__libc_msgrcv): Don't use CHECK_N.
6169 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6170 (__libc_msgsnd): Don't use CHECK_N.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6172 <bp-checks.h>.
6173 (__libc_pread): Don't use CHECK_N.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6175 include <bp-checks.h>.
6176 (__libc_pread64): Don't use CHECK_N.
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6178 include <bp-checks.h>.
6179 (__libc_pwrite): Don't use CHECK_N.
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6181 include <bp-checks.h>.
6182 (__libc_pwrite64): Don't use CHECK_N.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6184 <bp-checks.h>.
6185 (__libc_pread): Don't use CHECK_N.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6187 include <bp-checks.h>.
6188 (__libc_pread64): Don't use CHECK_N.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6190 include <bp-checks.h>.
6191 (__libc_pwrite): Don't use CHECK_N.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6193 include <bp-checks.h>.
6194 (__libc_pwrite64): Don't use CHECK_N.
6195 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6196 (do_pread): Don't use CHECK_N.
6197 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6198 (do_pread64): Don't use CHECK_N.
6199 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6200 (do_pwrite): Don't use CHECK_N.
6201 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6202 (do_pwrite64): Don't use CHECK_N.
6203 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6204 (__libc_readv): Don't use CHECK_N.
6205 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6206 (semop): Don't use CHECK_N.
6207 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6208 <bp-checks.h>.
6209 (semtimedop): Don't use CHECK_N.
6210 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6211 (__libc_pread): Don't use CHECK_N.
6212 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6213 <bp-checks.h>.
6214 (__libc_pread64): Don't use CHECK_N.
6215 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6216 <bp-checks.h>.
6217 (__libc_pwrite): Don't use CHECK_N.
6218 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6219 <bp-checks.h>.
6220 (__libc_pwrite64): Don't use CHECK_N.
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6222 <bp-checks.h>.
6223 (__libc_msgrcv): Don't use CHECK_N.
6224 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6225 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6226 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6227 (__libc_writev): Don't use CHECK_N.
6228
b84660a8
RM
62292013-02-08 Roland McGrath <roland@hack.frob.com>
6230
7f3e75f8
RM
6231 * string/strcpy.c: Removed unused variable.
6232
b84660a8
RM
6233 * Makeconfig (+sysdep-includes): Define with := rather than =.
6234 Use an existing include/ subdir of each sysdeps dir before it.
6235
471514d3
CD
62362013-02-08 Carlos O'Donell <carlos@redhat.com>
6237
6238 * nscd/connection.c (register_traced_file): Comment function.
6239 [HAVE_INOTIFY] (union __inev): Define.
6240 [HAVE_INOTIFY] (inotify_check_files): New function.
6241 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6242 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6243 clear_db_cache.
6244 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6245
b2d3c3be
CD
62462013-02-08 Carlos O'Donell <carlos@redhat.com>
6247
6248 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6249 loaded if not already and that a failure is permanent.
6250
b39949d2
CD
62512013-02-08 Carlos O'Donell <carlos@redhat.com>
6252
ddacd1db 6253 [BZ #15006]
b39949d2
CD
6254 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6255 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6256
b2c9eff4
JM
62572013-02-08 Joseph Myers <joseph@codesourcery.com>
6258
f3aae3f3
JM
6259 [BZ #13550]
6260 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6261 (CHECK_1_NULL_OK): Likewise.
6262 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6263 (__fxstat): Do not use CHECK_1.
6264 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6265 <bp-checks.h>.
6266 (___fxstat64): Do not use CHECK_1.
6267 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6268 <bp-checks.h>.
6269 (__fxstatat): Do not use CHECK_1.
6270 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6271 <bp-checks.h>.
6272 (__fxstatat64): Do not use CHECK_1.
6273 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6274 <bp-checks.h>.
6275 (__fxstat): Do not use CHECK_1.
6276 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6277 <bp-checks.h>.
6278 (__fxstatat): Do not use CHECK_1.
6279 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6280 <bp-checks.h>.
6281 (__getresgid): Do not use CHECK_1.
6282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6283 <bp-checks.h>.
6284 (__getresuid): Do not use CHECK_1.
6285 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6286 <bp-checks.h>.
6287 (__lxstat): Do not use CHECK_1.
6288 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6289 <bp-checks.h>.
6290 (__old_msgctl): Do not use CHECK_1.
6291 (__new_msgctl): Likewise.
6292 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6293 <bp-checks.h>.
6294 (__new_setrlimit): Do not use CHECK_1.
6295 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6296 <bp-checks.h>.
6297 (__old_shmctl): Do not use CHECK_1.
6298 (__new_shmctl): Likewise.
6299 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6300 <bp-checks.h>.
6301 (__xstat): Do not use CHECK_1.
6302 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6303 (__lxstat): Do not use CHECK_1.
6304 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6305 <bp-checks.h>.
6306 (___lxstat64): Do not use CHECK_1.
6307 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6308 (__old_msgctl): Do not use CHECK_1.
6309 (__new_msgctl): Likewise.
6310 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6311 <bp-checks.h>.
6312 (__gettimeofday): Do not use CHECK_1.
6313 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6314 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6315 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6316 <bp-checks.h>.
6317 (__gettimeofday): Do not use CHECK_1.
6318 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6319 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6320 (__new_shmctl): Do not use CHECK_1.
6321 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6322 <bp-checks.h>.
6323 (do_sigtimedwait): Do not use CHECK_1.
6324 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6325 <bp-checks.h>.
6326 (do_sigwaitinfo): Do not use CHECK_1.
6327 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6328 <bp-checks.h>.
6329 (msgctl): Do not use CHECK_1.
6330 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6331 <bp-checks.h>.
6332 (shmctl): Do not use CHECK_1.
6333 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6334 (ustat): Do not use CHECK_1.
6335 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6336 <bp-checks.h>.
6337 (__fxstat): Do not use CHECK_1.
6338 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6339 <bp-checks.h>.
6340 (__fxstatat): Do not use CHECK_1.
6341 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6342 <bp-checks.h>.
6343 (__lxstat): Do not use CHECK_1.
6344 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6345 <bp-checks.h>.
6346 (__xstat): Do not use CHECK_1.
6347 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6348 (__xstat): Do not use CHECK_1.
6349 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6350 (___xstat64): Do not use CHECK_1.
6351
b2c9eff4
JM
6352 [BZ #13550]
6353 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6354 definitions.
6355 (CHECK_BOUNDS_HIGH): Likewise.
6356 * string/strcpy.c: Do not include <bp-checks.h>.
6357 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6358
f1d70dad
RM
63592013-02-07 Roland McGrath <roland@hack.frob.com>
6360
6361 * nscd/nscd-client.h (__nscd_drop_map_ref):
6362 Add __attribute__ ((unused)).
6363 * nis/nss-nisplus.h (niserr2nss): Likewise.
6364
6365 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6366 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6367
6368 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6369 Remove inline keyword.
6370 * include/rounding-mode.h (round_away): Likewise.
6371 * libio/wfileops.c (adjust_wide_data): Likewise.
6372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6373 (__m128i_strloadu_tolower): Likewise.
6374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6375 (__m128i_strloadu_tolower): Likewise.
6376 * time/mktime.c (ydhms_diff): Likewise.
6377 * locale/elem-hash.h (elem_hash): Likewise.
6378 * locale/setlocale.c (setdata): Likewise.
6379 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6380 (re_string_wchar_at): Likewise.
6381 (bitset_not, bitset_merge, bitset_mask): Likewise.
6382 [!(__GNUC__ > 3)] (inline): Remove macro.
6383 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6384 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6385 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6386 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6387 * string/memcmp.c (memcmp_bytes): Likewise.
6388 * locale/programs/locarchive.c (compute_hashval): Likewise.
6389 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6390 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6391 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6392 * nss/getent.c (print_rpc, print_protocols): Likewise.
6393 (print_passwd, print_group, print_aliases): Likewise.
6394 * nis/nss-nisplus.h (niserr2nss): Likewise.
6395 * nscd/connections.c (restart_p): Likewise.
6396 Change return type to bool.
6397
eab55bfb
RM
63982013-02-05 Roland McGrath <roland@hack.frob.com>
6399
7bd642f5
RM
6400 * Makeconfig (all-Depend-files): Add existing
6401 $(sorted-subdirs:=/Depend) files.
6402 (all-subdirs): Remove nss.
6403 * sysdeps/unix/inet/Subdirs: Add it here instead.
6404 * hesiod/Depend: New file.
6405
573c29b2
RM
6406 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6407 instead of calling alloca.
6408
b2e25af0
RM
6409 * io/lseek.c (__lseek): Rename to __libc_lseek.
6410 Define __lseek as an alias.
6411
eab55bfb
RM
6412 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6413
9a0d1941
CD
64142013-02-04 Carlos O'Donell <carlos@redhat.com>
6415
6416 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6417 else clause and remove check for non-standard endianness.
6418
b83bbec4
DM
64192013-02-04 David S. Miller <davem@davemloft.net>
6420
6421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6422
6277fdab
JM
64232013-02-04 Joseph Myers <joseph@codesourcery.com>
6424
6425 [BZ #13550]
6426 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6427 (__ubp_memchr): Remove prototype.
6428 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6429 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6430 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6431 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6432 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6433 Remove alias.
6434 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6435 (__ubp_memchr): Likewise.
6436 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6437 (__ubp_memchr): Likewise.
6438 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6439 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6440 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6441 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6442 CHECK_STRING.
6443 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6444 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6445 (__getcwd): Do not use CHECK_STRING.
6446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6447 <bp-checks.h>.
6448 (__real_chown): Do not use CHECK_STRING.
6449 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6450 <bp-checks.h>.
6451 (fchownat): Do not use CHECK_STRING.
6452 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6453 CHECK_STRING.
6454 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6455 <bp-checks.h>.
6456 (__lchown): Do not use CHECK_STRING.
6457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6458 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6459 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6460 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6462 include <bp-checks.h>.
6463 (truncate64): Do not use CHECK_STRING.
6464 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6465 <bp-checks.h>.
6466 (__real_chown): Do not use CHECK_STRING.
6467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6468 <bp-checks.h>.
6469 (__lchown): Do not use CHECK_STRING.
6470 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6471 <bp-checks.h>.
6472 (__chown): Do not use CHECK_STRING.
6473 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6474 <bp-checks.h>.
6475 (truncate64): Do not use CHECK_STRING.
6476 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6477 Likewise.
6478 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6479 (__xmknod): Do not use CHECK_STRING.
6480 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6481 <bp-checks.h>.
6482 (__xmknodat): Do not use CHECK_STRING.
6483 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6484 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6485
903ae060
AS
64862013-02-04 Andreas Schwab <schwab@suse.de>
6487
6488 [BZ #14142]
6489 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6490 * include/netdb.h: Likewise for h_errno.
6491 * elf/tst-stackguard1.c: Include <tls.h>.
6492
542f9466
JK
64932013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6494
6495 * elf/link.h (struct link_map): Extend the l_addr comment.
6496 * include/link.h (struct link_map): Likewise.
6497
e782a927
JM
64982013-02-01 Joseph Myers <joseph@codesourcery.com>
6499
6500 [BZ #13550]
6501 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6502 (BOUNDED_1): Remove macro.
6503 * debug/backtrace.c: Don't include <bp-checks.h>.
6504 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6505 (__backtrace): Likewise.
6506 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6507 <bp-checks.h>.
6508 (__backtrace): Don't use BOUNDED_1.
6509 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6510 <bp-checks.h>.
6511 (__backtrace): Don't use BOUNDED_1.
6512 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6513 (__backtrace): Don't use BOUNDED_1.
6514 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6515 (shmat): Don't use BOUNDED_N.
6516
8cf28c5e
JM
65172013-01-31 Joseph Myers <joseph@codesourcery.com>
6518
3a7ac8a0
JM
6519 [BZ #13550]
6520 * sysdeps/generic/bp-start.h: Remove file.
6521 * csu/libc-start.c: Don't include <bp-start.h>.
6522 (LIBC_START_MAIN): Set up __environ directly instead of using
6523 INIT_ARGV_and_ENVIRON.
6524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6525 <bp-start.h>.
6526
f3499f95
JM
6527 [BZ #13550]
6528 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6529 definitions.
6530 (CHECK_FCNTL): Likewise.
6531 (CHECK_N_PAGES): Likewise.
6532
32a45bea
JM
6533 [BZ #13550]
6534 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6535 definitions.
6536 (CHECK_SIGSET_NULL_OK): Likewise.
6537 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6538 <bp-checks.h>.
6539 (sigpending): Don't use CHECK_SIGSET.
6540 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6541 <bp-checks.h>.
6542 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6543 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6544 <bp-checks.h>.
6545 (do_sigsuspend): Don't use CHECK_SIGSET.
6546 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6547 use CHECK_SIGSET.
6548 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6549 (do_sigwait): Don't use CHECK_SIGSET.
6550 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6551 use CHECK_SIGSET.
6552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6553 include <bp-checks.h>.
6554 (sigpending): Don't use CHECK_SIGSET.
6555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6556 include <bp-checks.h>.
6557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6558 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6559 <bp-checks.h>.
6560 (sigpending): Don't use CHECK_SIGSET.
6561 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6562 <bp-checks.h>.
6563 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6564
2e8a5c8c
JM
6565 [BZ #13550]
6566 * sysdeps/generic/bp-semctl.h: Remove file.
6567 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6568 <bp-checks.h> and <bp-semctl.h>.
6569 (__old_semctl): Don't use CHECK_SEMCTL.
6570 (__new_semctl): Likewise.
6571 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6572 and <bp-semctl.h>.
6573 (__old_semctl): Don't use CHECK_SEMCTL.
6574 (__new_semctl): Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6576 <bp-checks.h> and <bp-semctl.h>.
6577 (__old_semctl): Don't use CHECK_SEMCTL.
6578 (__new_semctl): Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6580 <bp-checks.h> and <bp-semctl.h>.
6581 (semctl): Don't use CHECK_SEMCTL.
6582
c2d54929
JM
6583 [BZ #13550]
6584 * Makerules (elide-bp-thunks): Remove variable.
6585 (elide-routines.oS): Don't use $(elide-bp-thunks).
6586 (elide-routines.os): Likewise.
6587 (elide-routines.o): Likewise.
6588 (elide-routines.op): Likewise.
6589 (elide-routines.og): Likewise.
6590 (objects): Don't use $(bp-thunks).
6591 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6592 include.
6593 (common-generated): Do not add s-proto-bp.d.
6594 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6595 (int): Likewise.
6596 (typ): Likewise.
6597 Do not generate makefile rules for bounded-pointer thunks.
6598 * sysdeps/generic/bp-thunks.h: Remove file.
6599 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6600 * sysdeps/unix/s-proto-bp.S: Likewise.
6601
8cf28c5e
JM
6602 [BZ #15062]
6603 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6604 parts of result separately when argument is not close to line from
6605 -i to i and one part of argument is small.
6606 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6607 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6608 * math/libm-test.inc (cacos_test): Add more tests.
6609 (casin_test): Likewise.
6610 (casinh_test): Likewise.
6611 * sysdeps/i386/fpu/libm-test-ulps: Update.
6612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6613
c4e33b8d
DM
66142013-01-31 David S. Miller <davem@davemloft.net>
6615
6616 * po/de.po: Update from translation team.
6617
3b60b421
MK
66182013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6619
6620 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6621
bb931195
TS
66222013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6623
b5a5da23
TS
6624 * configure.in (_AC_PROG_CC_C89): New definition.
6625 * configure: Regenerate.
6626
bb931195
TS
6627 * configure.in (AC_PROG_CPP): New definition.
6628 * configure: Regenerate.
6629
8c53a12c
JM
66302013-01-23 Joseph Myers <joseph@codesourcery.com>
6631
6632 * debug/tst-backtrace.h: New file.
6633 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6634 (ret): Remove variable.
6635 (x): Likewise.
6636 (FAIL): Remove macro.
6637 (NO_INLINE): Likewise.
6638 (fn1): Use match function instead of strstr.
6639 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6640 (ret): Remove variable.
6641 (x): Likewise.
6642 (FAIL): Remove macro.
6643 (NO_INLINE): Likewise.
6644 (fn): Use match function instead of strstr.
6645 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6646 (ret): Remove variable.
6647 (x): Likewise.
6648 (FAIL): Remove macro.
6649 (NO_INLINE): Likewise.
6650 (handle_signal): Use match function instead of strstr.
6651 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6652 (ret): Remove variable.
6653 (x): Likewise.
6654 (FAIL): Remove macro.
6655 (NO_INLINE): Likewise.
6656 (handle_signal): Use match function instead of strstr.
6657
4858fa2a
RM
66582013-01-23 Roland McGrath <roland@hack.frob.com>
6659
6660 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6661
bae8e7f5
DM
66622013-01-23 David S. Miller <davem@davemloft.net>
6663
6664 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6665 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6666 argument of CAS if possible.
6667 * sysdeps/sparc/sparc64/bits/atomic.h
6668 (__arch_compare_and_exchange_val_32_acq): Likewise.
6669 (__arch_compare_and_exchange_val_64_acq): Likewise.
6670
9cbbc4ae
PT
66712013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6672
6673 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6674 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6675 Include <limits.h>.
67b3f58c 6676 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6677
5655a0b5
AC
66782013-01-23 Adam Conrad <adconrad@0c3.net>
6679
6680 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6681 (LDFLAGS-tst-array5): Likewise.
6682
052aff95
JM
66832013-01-23 Joseph Myers <joseph@codesourcery.com>
6684
6685 [BZ #15036]
6686 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6687 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6688 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6689 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6690
7c1e01aa
DM
66912013-01-21 David S. Miller <davem@davemloft.net>
6692
6693 * sysdeps/sparc/backtrace.c: New file.
6694 * sysdeps/sparc/sparc32/backtrace.h: New file.
6695 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6696 * sysdeps/sparc/sparc64/backtrace.h: New file.
6697 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6698 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6699 -funwind-tables.
6700
ab087e0a
AS
67012013-01-21 Andreas Schwab <schwab@suse.de>
6702
6703 [BZ #15020]
6704 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6705 closed its stdout.
6706
ed689c2f
AS
67072013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6710 "mpa2.h".
6711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6712
31d470ac
JM
67132013-01-18 Joseph Myers <joseph@codesourcery.com>
6714 Mark Mitchell <mark@codesourcery.com>
6715 Tom de Vries <tom@codesourcery.com>
6716 Paul Pluzhnikov <ppluzhnikov@google.com>
6717
6718 * debug/tst-backtrace2.c: New file.
6719 * debug/tst-backtrace3.c: Likewise.
6720 * debug/tst-backtrace4.c: Likewise.
6721 * debug/tst-backtrace5.c: Likewise.
6722 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6723 (CFLAGS-tst-backtrace3.c): Likewise.
6724 (CFLAGS-tst-backtrace4.c): Likewise.
6725 (CFLAGS-tst-backtrace5.c): Likewise.
6726 (LDFLAGS-tst-backtrace2): Likewise.
6727 (LDFLAGS-tst-backtrace3): Likewise.
6728 (LDFLAGS-tst-backtrace4): Likewise.
6729 (LDFLAGS-tst-backtrace5): Likewise.
6730 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6731 tst-backtrace4 and tst-backtrace5.
6732
90567f30 67332013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6734 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6735
6736 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6737 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6739 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6741 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6742 "+r" and remove output regs list as redundant. Add explicit inline
6743 asm to specify register of return val to work around compiler codegen
6744 bug. Remove (int) cast on return value. Add return type parameter to
6745 use in macro so that this macro does not truncate return value for
6746 64-bit values.
6747 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6748 pass to INTERNAL_VSYSCALL_NCS.
6749 (INLINE_VSYSCALL): Add 'long int' as return type to
6750 INTERNAL_VSYSCALL_NCS macro invocation.
6751 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6752 INTERNAL_VSYSCALL_NCS macro invocation.
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6754
d3b9ea61
SP
67552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6756
0b57daeb
SP
6757 [BZ #14496]
6758 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6759 Fix application of SIMD FP exception mask.
6760
caa99d06
SP
6761 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6762 mp_no from a power of two.
6763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6764 __mpexp_twomm1. Use __pow_mp.
6765
d3b9ea61
SP
6766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6767 multiplication.
6768
1dbaee3c
DM
67692013-01-17 David S. Miller <davem@davemloft.net>
6770
6771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6772
728d7b43
JM
67732013-01-17 Joseph Myers <joseph@codesourcery.com>
6774
6775 [BZ #15023]
6776 * include/complex.h: Condition contents on [!_COMPLEX_H].
6777 (__kernel_casinhf): New prototype.
6778 (__kernel_casinh): Likewise.
6779 (__kernel_casinhl): Likewise.
6780 * math/Makefile (libm_calls): Add k_casinh.
6781 * math/k_casinh.c: New file.
6782 * math/k_casinhf.c: Likewise.
6783 * math/k_casinhl.c: Likewise.
6784 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6785 finite nonzero arguments.
6786 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6787 finite nonzero arguments.
6788 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6789 finite nonzero arguments.
6790 * math/s_casinh.c: Do not include <float.h>.
6791 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6792 * math/s_casinhf.c: Do not include <float.h>.
6793 (__casinhf): Move code for finite nonzero arguments to
6794 k_casinhf.c.
6795 * math/s_casinhl.c: Do not include <float.h>.
6796 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6797 redefine.
6798 (__casinhl): Move code for finite nonzero arguments to
6799 k_casinhl.c.
6800 * math/libm-test.inc (cacos_test): Add more tests.
6801 * sysdeps/i386/fpu/libm-test-ulps: Update.
6802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6803
2a26ef3a
PT
68042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6805
6806 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6807 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6808 [!HAVE_MREMAP]: Remove [defined linux] case.
6809 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6810
a897655d
SP
68112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6812
6813 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6814
881ebe89 68152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6816
6817 * elf/elf.h (R_386_SIZE32): New relocation.
6818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6819 R_386_SIZE32.
6820 (elf_machine_rela): Likewise.
6821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6822 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6823
59981e9b
JM
68242013-01-17 Joseph Myers <joseph@codesourcery.com>
6825
6826 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6827 (FP_FAST_FMA): Do not define.
6828 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6829 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6830 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6831 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6832 !_SOFT_FLOAT]: Likewise.
6833 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6835 value.
6836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6837 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6840 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6841 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6842 file.
6843
cfa8054f
AS
68442013-01-16 Andreas Schwab <schwab@suse.de>
6845
6846 [BZ #14327]
6847 * include/stdlib.h (__mktemp): Add declaration.
6848 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6849 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6850
dd930cc5
SP
68512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6852
881ebe89
SP
6853 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6854 definitions.
6855 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6856 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6857 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6858 definitions here.
6859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6860 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6861 definitions.
6862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6863 and ONE.
6864 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6865 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6867 definitions.
6868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6869 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6870 definitions.
6871 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6872
dd930cc5
SP
6873 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6874
c19a9f89
DM
68752013-01-15 David S. Miller <davem@davemloft.net>
6876
1aa61767
DM
6877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6878 trunc{,f} to libm-sysdep_routes.
6879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6881 file.
6882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6884 file.
6885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6886 file.
6887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6889 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6890 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6891 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6892 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6893 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6894 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6895
c42d5e98
DM
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6897 nearbyint{,f} to libm-sysdep_routes.
6898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6900 New file.
6901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6902 file.
6903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6904 New file.
6905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6906 file.
6907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6910 file.
6911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6913 file.
6914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6915 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6916 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6917
c19a9f89
DM
6918 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6919 libc_feholdexcept and libc_fesetenv.
6920
357679d2
MF
69212013-01-15 Mike Frysinger <vapier@gentoo.org>
6922
6923 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6924
65a82e3d
DM
69252013-01-14 David S. Miller <davem@davemloft.net>
6926
8b954ab9
DM
6927 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6928 (SPARC_ASM_VIS2_IFUNC): Likewise.
6929 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6931 use of 'siam' instruction.
6932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6933 Likewise.
6934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6935 Likewise.
6936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6937 Likewise.
6938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6943 file.
6944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6945 file.
6946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6947 file.
6948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6949 file.
6950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6955 new VIS2 routines.
6956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6959 Likewise.
6960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6965 routines to libm-sysdep_routines.
6966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6967
65a82e3d
DM
6968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6969 fdim/fdimf to libm-sysdep_routines.
6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6971 file.
6972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6974 file.
6975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6978 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6979 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6980 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6981 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6982
e34ab705
SP
69832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6984
2a91b573
SP
6985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6986 to optimize copies.
6987
1066a534
SP
6988 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6991
e34ab705
SP
6992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6993 local variable MPTWO.
6994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6995 Likewise.
6996
aba5e596
MF
69972013-01-13 Mike Frysinger <vapier@gentoo.org>
6998
6999 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7000 GLOB_NOESCAPE.
7001
e557e9e5
MF
70022013-01-13 Mike Frysinger <vapier@gentoo.org>
7003
7004 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7005
0428cec9
MF
70062013-01-13 Mike Frysinger <vapier@gentoo.org>
7007
7008 * manual/pattern.texi (glob_t): Document gl_flags.
7009 (glob64_t): Likewise.
7010
8794a964
DM
70112013-01-11 David S. Miller <davem@davemloft.net>
7012
66438c3f
RM
7013 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7014 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7015 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7016 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7017 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7018 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7019 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7020 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7021 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7022 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7023 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7024 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7025 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7026
4ae4244d
DM
7027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7028 sparc V9 rather than using V8 code.
7029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7031
8794a964
DM
7032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7033 Move to...
7034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7035 Here.
7036
6270516e
RM
70372013-01-11 Roland McGrath <roland@hack.frob.com>
7038
7039 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7040 not in the main loop.
7041 * configure: Regenerated.
7042
6a57d931
JM
70432013-01-11 Joseph Myers <joseph@codesourcery.com>
7044
7045 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7046 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7047 to just #else.
7048 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7049 [!__GLIBC_HAVE_LONG_LONG] case.
7050 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7051 condition to just #else.
7052 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7053 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7054 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7055 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7056 unconditional.
7057 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7058 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7059 #elif condition to just #else.
7060 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7061 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7062 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7063 #elif condition to just #else.
7064
0e8529e9
SE
70652013-01-11 Steve Ellcey <sellcey@mips.com>
7066
7067 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7068 (EF_MIPS_ARCH_64): Fix value.
7069 (EF_MIPS_ARCH_32R2): New.
7070 (EF_MIPS_ARCH_64R2): New.
7071
740b3dbe
L
70722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7073
7074 * Makeconfig (+link-pie-before-libc): New.
7075 (+link-pie-after-libc): Likewise.
7076 (+link-pie-tests): Likewise.
7077 (+link-pie): Rewritten.
7078 (link-before-libc): Remove $(config-LDFLAGS).
7079 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7080 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7081 (config-LDFLAGS): Renamed to ...
7082 (rtld-LDFLAGS): This.
7083 (rtld-tests-LDFLAGS): New macro.
7084 (link-libc-rpath-link): Likewise.
7085 (link-libc-tests-rpath-link): Likewise.
7086 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7087 (link-libc): Prepand $(link-libc-rpath-link).
7088 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7089 (test-program-prefix): New macro.
7090 (test-via-rtld-prefix): Likewise.
7091 (test-program-cmd): Likewise.
7092 (host-test-program-cmd): Likewise.
7093 * Makefile ($(common-objpfx)testrun.sh): Replace
7094 $(run-program-prefix) with $(test-program-prefix).
7095 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7096 $(rtld-LDFLAGS).
7097 ($(common-objpfx)shlib.lds): Likewise.
7098 (build-module-helper): Likewise.
7099 ($(common-objpfx)format.lds): Likewise.
7100 * Rules (binaries-pie-tests): New.
7101 (binaries-pie-notests): Likewise.
7102 (binaries-pie): Rewritten.
7103 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7104 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7105 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7106 (make-test-out): Replace $(host-built-program-cmd) with
7107 $(host-test-program-cmd).
7108 * config.make.in (build-hardcoded-path-in-tests): New variable.
7109 * configure.in (--enable-hardcoded-path-in-tests): New configure
7110 option.
7111 (hardcoded_path_in_tests): New AC_SUBST.
7112 * configure: Regenerated.
7113 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7114 $(built-program-cmd) with $(test-program-cmd).
7115 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7116 (test_program_cmd): This.
7117 * elf/Makefile ($(objpfx)order.out): Run test with
7118 $(test-program-prefix).
7119 ($(objpfx)order2.out): Likewise.
7120 ($(objpfx)tst-initorder.out): Likewise.
7121 ($(objpfx)tst-initorder2.out): Likewise.
7122 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7123 $(test-program-cmd).
7124 ($(objpfx)tst-array1-static.out): Likewise.
7125 ($(objpfx)tst-array2.out): Likewise.
7126 ($(objpfx)tst-array3.out): Likewise.
7127 ($(objpfx)tst-array4.out): Likewise.
7128 ($(objpfx)tst-array5.out): Likewise.
7129 ($(objpfx)tst-array5-static.out): Likewise.
7130 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7131 $(test-program-cmd).
7132 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7133 $(run-program-prefix) with $(test-program-prefix).
7134 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7135 (test_program_prefix): This.
7136 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7137 $(run-program-prefix) with $(test-program-prefix).
7138 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7139 (test_program_prefix): This.
7140 * iconvdata/tst-tables.sh: Likewise.
7141 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7142 $(run-program-prefix) with $(test-program-prefix).
7143 ($(objpfx)tst-translit.out): Likewise.
7144 ($(objpfx)tst-gettext2.out): Likewise.
7145 ($(objpfx)tst-gettext4.out): Likewise.
7146 ($(objpfx)tst-gettext6.out): Likewise.
7147 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7148 (test_program_prefix): This.
7149 * intl/tst-gettext2.sh: Likewise.
7150 * intl/tst-gettext4.sh Likewise.
7151 * intl/tst-gettext6.sh: Likewise.
7152 * intl/tst-translit.sh: Likewise.
7153 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7154 with $(test-program-cmd).
7155 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7156 $(run-program-prefix) with $(test-program-prefix).
7157 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7158 (test_program_prefix): This.
7159 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7160 $(run-program-prefix) with $(test-program-prefix).
7161 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7162 (test_program_prefix): This.
7163 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7164 * posix/Makefile ($(objpfx)globtest.out): Replace
7165 $(run-via-rtld-prefix) and $(test-wrapper) with
7166 $(test-program-prefix) and $(test-via-rtld-prefix).
7167 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7168 $(test-program-prefix).
7169 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7170 $(host-test-program-cmd).
7171 (tst-spawn-ARGS): Likewise.
7172 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7173 $(test-program-prefix).
7174 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7175 (test_via_rtld_prefix): This.
7176 (test_wrapper): Renamed to ...
7177 (test_program_prefix): This.
7178 (run_program_prefix): Replaced by test_program_prefix.
7179 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7180 (test_program_prefix): This.
7181 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7182 with $(host-test-program-cmd).
7183 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7184 $(run-program-prefix) with $(test-program-prefix).
7185 ($(objpfx)tst-printf.out): Likewise.
7186 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7187 $(test-program-cmd).
7188 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7189 (test_program_prefix): This.
7190 * stdio-common/tst-unbputc.sh: Likewise.
7191 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7192 $(run-program-prefix) with $(test-program-prefix).
7193 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7194 (test_program_prefix): This.
7195 * string/Makefile ($(objpfx)tst-svc.out): Replace
7196 $(built-program-cmd) with $(test-program-cmd).
7197
c6fe55cf
AJ
71982013-01-11 Andreas Jaeger <aj@suse.de>
7199
7200 [BZ #15003]
7201 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7202 value. Sync with Linux 3.7.
7203
9e6919c8
DM
72042013-01-10 David S. Miller <davem@davemloft.net>
7205
7206 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7209
1c9f1a02
RM
72102013-01-10 Roland McGrath <roland@hack.frob.com>
7211
7212 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7213 never set.
7214 * configure: Regenerated.
7215
b9de2dde
DM
72162013-01-10 David S. Miller <davem@davemloft.net>
7217
7218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7219 sparc V9 rather than using V8 code.
7220 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7221 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7222
e7f68ef4
RM
72232013-01-10 Roland McGrath <roland@hack.frob.com>
7224
7225 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7226 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7227 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7228 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7229 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7230 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7231 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7232 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7233 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7234 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7235 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7236 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7237 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7238 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7239 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7240 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7241 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7242 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7243 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7244 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7245 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7246 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7247 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7248 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7249 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7250 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7251 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7252
5a47cc9c
DM
72532013-01-10 David S. Miller <davem@davemloft.net>
7254
7255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7256
4cf8f209
L
72572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7258
7259 * posix/Makefile (tests-static): New variable.
7260 (tests): Add $(tests-static).
7261 (tst-exec-static-ARGS): New variable.
7262 (tst-spawn-static-ARGS): Likewise.
7263 * posix/tst-exec-static.c: New file.
7264 * posix/tst-spawn-static.c: Likewise.
7265 * posix/tst-exec.c: Support run directly.
7266 * posix/tst-spawn.c: Likewise.
7267
fed0faa1
JM
72682013-01-10 Joseph Myers <joseph@codesourcery.com>
7269
828beb13
JM
7270 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7271 long.
7272 * math/bits/mathcalls.h (llrint): Likewise.
7273 (llround): Likewise.
7274 * stdlib/stdlib.h (struct drand48_data): Likewise.
7275 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7276 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7277 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7278 Likewise.
7279 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7280 Likewise.
7281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7282 (elf_greg_t): Likewise.
7283 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7284 (__jmp_buf): Likewise.
7285 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7286 definitions.
7287 (llrint): Likewise, for all definitions.
7288 (llrintl): Likewise.
7289
fed0faa1
JM
7290 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7291 Remove [__GNUC__] condition.
7292 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7293 condition to just [__USE_ISOC99].
7294 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7295
1a20cb20
L
72962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7297
7298 [BZ #14200]
7299 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7300 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7301 defined.
7302 (_POSIX_V6_ILP32_OFF32): Likewise.
7303 (_XBS5_ILP32_OFF32): Likewise.
7304 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7305 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7306
751b85f7
SP
73072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7308
7490eb81
SP
7309 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7310
751b85f7
SP
7311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7312 doubles __mpexp_twomm1. Adjust usage.
7313 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7314 Remove.
7315
988197f0
AS
73162013-01-10 Andreas Schwab <schwab@suse.de>
7317
7318 [BZ #14964]
7319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7320 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7321
e83d7298
DM
73222013-01-09 David S. Miller <davem@davemloft.net>
7323
034ed64b 7324 [BZ #15003]
e83d7298
DM
7325 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7326 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7327 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7328 TCP_FASTOPEN): Define.
7329 (tcp_repair_opt): New structure.
7330 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7331 enum values.
7332 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7333 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7334 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7335 (tcp_cookie_transactions): New structure.
7336
d5e0b9bd
AB
73372013-01-09 Anton Blanchard <anton@samba.org>
7338
7339 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7340 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7342 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7343
0c07e3ea
JM
73442013-01-09 Joseph Myers <joseph@codesourcery.com>
7345
7346 * include/features.h (__USE_ANSI): Remove.
7347
232f7002
RM
73482013-01-09 Roland McGrath <roland@hack.frob.com>
7349
ad98e30c
RM
7350 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7351
232f7002
RM
7352 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7353
950c99ca
SP
73542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
b5792741
SP
7356 * sysdeps/s390/fpu/libm-test-ulps: Update.
7357
47cf2278
SP
7358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7359
950c99ca
SP
7360 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7361 (__acr): Likewise.
7362 (__cpy): Likewise.
7363 (norm): Likewise.
7364 (denorm): Likewise.
7365 (__mp_dbl): Likewise.
7366 (__dbl_mp): Likewise.
7367 (add_magnitudes): Likewise.
7368 (sub_magnitudes): Likewise.
7369 (__add): Likewise.
7370 (__sub): Likewise.
7371 (__mul): Likewise.
7372 (__inv): Likewise.
7373 (__dvd): Likewise.
7374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7375 (__acr): Likewise.
7376 (__cpy): Likewise.
7377 (norm): Likewise.
7378 (denorm): Likewise.
7379 (__mp_dbl): Likewise.
7380 (__dbl_mp): Likewise.
7381 (add_magnitudes): Likewise.
7382 (sub_magnitudes): Likewise.
7383 (__add): Likewise.
7384 (__sub): Likewise.
7385 (__mul): Likewise.
7386 (__inv): Likewise.
7387 (__dvd): Likewise.
7388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7389 (__acr): Likewise.
7390 (__cpy): Likewise.
7391 (norm): Likewise.
7392 (denorm): Likewise.
7393 (__mp_dbl): Likewise.
7394 (__dbl_mp): Likewise.
7395 (add_magnitudes): Likewise.
7396 (sub_magnitudes): Likewise.
7397 (__add): Likewise.
7398 (__sub): Likewise.
7399 (__mul): Likewise.
7400 (__inv): Likewise.
7401 (__dvd): Likewise.
7402
eede9df9
JM
74032013-01-08 Joseph Myers <joseph@codesourcery.com>
7404
7405 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7406 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7407 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7408 2 && __USE_EXTERN_INLINES]: Likewise.
7409
c40ea3d9
AJ
74102013-01-08 Andreas Jaeger <aj@suse.de>
7411
7412 [BZ# 14985]
7413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7414 Remove.
7415 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7416 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7417
2ccdea26
AB
74182013-01-07 Anton Blanchard <anton@samba.org>
7419
7420 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7421 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7422 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7423 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7424 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7425 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7426 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7427 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7439 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7441 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7443 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7444 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7445 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7446 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7447 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7449 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7450 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7453 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7454 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7456 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7458 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7460 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7461 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7462 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7463
a9708fed
JM
74642013-01-07 Joseph Myers <joseph@codesourcery.com>
7465
375607b9
JM
7466 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7467 (__MALLOC_PMT): Likewise.
7468 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7469 [__GNUC__], only on [_LIBC].
7470 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7471 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7472 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7473 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7474 forward declaration.
7475 (realloc_hook_ini): Likewise.
7476 (memalign_hook_ini): Likewise.
7477 (__libc_memalign): Do not use __MALLOC_PMT in variable
7478 declaration.
7479 (__libc_valloc): Likewise.
7480 (__libc_pvalloc): Likewise.
7481 (__libc_calloc): Likewise.
7482 (__posix_memalign): Likewise.
7483
a9708fed
JM
7484 [BZ #14996]
7485 * math/s_casinh.c: Include <float.h>.
7486 (__casinh): Do not do computation with squaring and square root
7487 for large arguments.
7488 * math/s_casinhf.c: Include <float.h>.
7489 (__casinhf): Do not do computation with squaring and square root
7490 for large arguments.
7491 * math/s_casinhl.c: Include <float.h>.
7492 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7493 (__casinhl): Do not do computation with squaring and square root
7494 for large arguments.
7495 * math/libm-test.inc (casin_test): Add more tests.
7496 (casinh_test): Likewise.
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499
afec409a
L
75002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7501
7502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7503 (__x86_64_raw_data_cache_size): Likewise.
7504 (__x86_64_data_cache_size_half): Likewise.
7505 (__x86_64_raw_data_cache_size_half): Likewise.
7506 (__x86_64_shared_cache_size): Likewise.
7507 (__x86_64_raw_shared_cache_size): Likewise.
7508 (__x86_64_shared_cache_size_half): Likewise.
7509 (__x86_64_raw_shared_cache_size_half): Likewise.
7510 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7511 to ...
7512 (__x86_data_cache_size): This.
7513 (__x86_64_raw_data_cache_size): Renamed to ...
7514 (__x86_raw_data_cache_size): This.
7515 (__x86_64_data_cache_size_half): Renamed to ...
7516 (__x86_data_cache_size_half): This.
7517 (__x86_64_raw_data_cache_size_half): Renamed to ...
7518 (__x86_raw_data_cache_size_half): This.
7519 (__x86_64_shared_cache_size): Renamed to ...
7520 (__x86_shared_cache_size): This.
7521 (__x86_64_raw_shared_cache_size): Renamed to ...
7522 (__x86_raw_shared_cache_size): This.
7523 (__x86_64_shared_cache_size_half): Renamed to ...
7524 (__x86_shared_cache_size_half): This.
7525 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7526 (__x86_raw_shared_cache_size_half): This.
7527 * sysdeps/x86_64/memcpy.S: Updated.
7528 * sysdeps/x86_64/memset.S: Likewise.
7529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7532
0b3986d0
DM
75332013-01-04 David S. Miller <davem@davemloft.net>
7534
7535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7536
e47686e9
AS
75372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7538
d643bac1
AS
7539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7540 1 to avoid redefinition warning.
7541 (__USE_GNU): Don't define.
7542 (init_signaling_nan): Protoize.
7543
e47686e9
AS
7544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7545
b18decba
SP
75462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7547
fffb407f
SP
7548 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7550 (__cpymn): Likewise.
7551 (norm): Remove commented code.
7552 (denorm): Likewise.
7553 (__mp_dbl): Likewise.
7554 (__inv): Likewise.
7555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7556 (__cpymn): Likewise.
7557 (norm): Remove commented code.
7558 (denorm): Likewise.
7559 (__mp_dbl): Likewise.
7560 (__inv): Likewise.
7561
b18decba
SP
7562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7563 mp_no value for 1.0 and 2.0.
7564 (norm): Use RADIXI instead of radixi.d.
7565 (denorm): Likewise.
7566 (__mul): Use 0.0 instead of zero.d.
7567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7568 mp_no value for 1.0 and 2.0.
7569 (norm): Use RADIXI instead of radixi.d.
7570 (denorm): Likewise.
7571 (__mul): Use 0.0 instead of zero.d.
7572
cdc1c96f
JM
75732013-01-04 Joseph Myers <joseph@codesourcery.com>
7574
7575 [BZ #14994]
7576 * math/s_casinh.c (__casinh): Reduce finite argument to first
7577 quadrant then set signs of results at the end.
7578 * math/s_casinhf.c (__casinhf): Likewise.
7579 * math/s_casinhl.c (__casinhl): Likewise.
7580 * math/libm-test.inc (casin_test): Add more tests.
7581 (casinh_test): Likewise.
7582 * sysdeps/i386/fpu/libm-test-ulps: Update.
7583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7584
302913e1
SP
75852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7586
6420d207
SP
7587 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7588
a9e48ab4
SP
7589 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7590
b7837264
SP
7591 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7592 declarations.
7593 (denorm): Likewise.
7594 (__mp_dbl): Likewise.
7595 (__inv): Likewise.
7596
f8af25d2
SP
7597 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7598 and adjust the header comment.
7599
302913e1
SP
7600 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7601 variable name from declaration.
7602
5d7dd1ca
L
76032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7606 Initialize COMMON_CPUID_INDEX_7 element.
7607 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7608 (CPUID_RTM): Likewise.
7609 (HAS_RTM): Likewise.
7610 (COMMON_CPUID_INDEX_7): New enum.
7611
2f5f40f4
AS
76122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7613
7614 [BZ #14981]
7615 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7616 size is zero, record memory as freed.
7617
4056f4a0
AJ
76182013-01-03 Andreas Jaeger <aj@suse.de>
7619
7620 * po/ia.po: Add new Interlingua translation.
7621
ab15736f 76222012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7623
7624 * locale/programs/localedef.c: Fix description of '--posix' flag.
7625
568035b7
JM
76262013-01-02 Joseph Myers <joseph@codesourcery.com>
7627
e6898b8d
JM
7628 * NEWS: Update dates in second copyright notice.
7629 * README: Update copyright dates in example.
7630 * manual/libc.texinfo: Update copyright dates.
7631 * scripts/test-installation.pl: Update copyright date in --version
7632 output.
7633
0e2f9562
JM
7634 * hurd/ctty-input.c: Fix copyright notice formatting.
7635 * hurd/ctty-output.c: Likewise.
7636 * hurd/dtable.c: Likewise.
7637 * hurd/hurd-raise.c: Likewise.
7638 * hurd/hurdprio.c: Likewise.
7639 * hurd/msgportdemux.c: Likewise.
7640 * misc/sys/file.h: Likewise.
7641 * misc/sys/ioctl.h: Likewise.
7642 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7643 * sysdeps/mach/hurd/chdir.c: Likewise.
7644 * sysdeps/mach/hurd/fchdir.c: Likewise.
7645 * sysdeps/mach/hurd/rename.c: Likewise.
7646 * sysdeps/mach/hurd/rmdir.c: Likewise.
7647 * sysdeps/mach/hurd/seekdir.c: Likewise.
7648 * sysdeps/mach/hurd/setsid.c: Likewise.
7649 * sysdeps/posix/wait3.c: Likewise.
7650
568035b7
JM
7651 * All files with FSF copyright notices: Update copyright dates
7652 using scripts/update-copyrights.
7653 * intl/plural.c: Regenerated.
7654 * locale/programs/charmap-kw.h: Likewise.
7655 * locale/programs/locfile-kw.h: Likewise.
7656
da08f647
SP
76572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7658
0f5477af
SP
7659 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7660 four values.
7661
44e0d4c2
SP
7662 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7663 calculation loop and add branch prediction.
7664
4d55b4e5
SP
7665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7666 check access beyond bounds of m1np.
7667
da08f647
SP
7668 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7669 MPTWO.
7670 (__inv): Remove local variable MPTWO to use the global
7671 constant.
7672 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7674 variable MPTWO.
7675 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7676 MP3HALFS static const.
7677
8e051029
DM
76782013-01-01 David S. Miller <davem@davemloft.net>
7679
7680 * po/ca.po: Update from translation team.
7681
f4cf5f2d
JM
76822013-01-01 Joseph Myers <joseph@codesourcery.com>
7683
7684 * scripts/update-copyrights: New file.
7685 * Makeconfig: Reformat copyright notice.
7686 * ctype/ctype.h: Likewise.
7687 * debug/swprintf_chk.c: Likewise.
7688 * elf/dl-cache.c: Likewise.
7689 * elf/dl-debug.c: Likewise.
7690 * elf/dl-object.c: Likewise.
7691 * grp/initgroups.c: Likewise.
7692 * hurd/Makefile: Likewise.
7693 * hurd/hurd/signal.h: Likewise.
7694 * hurd/hurdfault.c: Likewise.
7695 * hurd/hurdioctl.c: Likewise.
7696 * hurd/hurdlookup.c: Likewise.
7697 * hurd/intr-msg.c: Likewise.
7698 * iconv/gconv_open.c: Likewise.
7699 * libio/swprintf.c: Likewise.
7700 * locale/lc-ctype.c: Likewise.
7701 * locale/nl_langinfo.c: Likewise.
7702 * mach/Machrules: Likewise.
7703 * mach/Makefile: Likewise.
7704 * malloc/obstack.h: Likewise.
7705 * manual/Makefile: Likewise.
7706 * manual/tsort.awk: Likewise.
7707 * misc/bits/stab.def: Likewise.
7708 * nis/nis_print_group_entry.c: Likewise.
7709 * nis/nis_table.c: Likewise.
7710 * nis/nss_compat/compat-pwd.c: Likewise.
7711 * nis/nss_compat/compat-spwd.c: Likewise.
7712 * po/Makefile: Likewise.
7713 * posix/fnmatch.c: Likewise.
7714 * posix/regex.h: Likewise.
7715 * resolv/Makefile: Likewise.
7716 * resolv/nss_dns/dns-network.c: Likewise.
7717 * resolv/res_hconf.c: Likewise.
7718 * scripts/gen-sorted.awk: Likewise.
7719 * soft-fp/soft-fp.h: Likewise.
7720 * stdio-common/printf.h: Likewise.
7721 * stdlib/monetary.h: Likewise.
7722 * stdlib/random.c: Likewise.
7723 * stdlib/random_r.c: Likewise.
7724 * sysdeps/generic/Makefile: Likewise.
7725 * sysdeps/gnu/Makefile: Likewise.
7726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7754 * sysdeps/mach/hurd/errnos.awk: Likewise.
7755 * sysdeps/mach/hurd/fork.c: Likewise.
7756 * sysdeps/mach/hurd/getcwd.c: Likewise.
7757 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7758 * sysdeps/mach/hurd/mmap.c: Likewise.
7759 * sysdeps/mach/hurd/utimes.c: Likewise.
7760 * sysdeps/mach/hurd/xmknod.c: Likewise.
7761 * sysdeps/posix/profil.c: Likewise.
7762 * sysdeps/posix/readdir_r.c: Likewise.
7763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7764 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7765 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7766 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7768 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7770 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7772 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7774 * sysdeps/pthread/lio_listio.c: Likewise.
7775 * sysdeps/sparc/dl-procinfo.h: Likewise.
7776 * sysdeps/unix/i386/sysdep.S: Likewise.
7777 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7778 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7779 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7780 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7782 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7783 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7784 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7785 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7786 * sysdeps/wordsize-32/divdi3.c: Likewise.
7787 * time/sys/time.h: Likewise.
7788 * wcsmbs/Makefile: Likewise.
7789
0549fbba
DM
77902013-01-01 David S. Miller <davem@davemloft.net>
7791
a141f1a7
DM
7792 * po/fr.po: Update from translation team.
7793
0549fbba
DM
7794 * catgets/gencat.c: Update copyright year.
7795 * csu/version.c: Likewise.
7796 * debug/catchsegv.sh: Likewise.
7797 * debug/pcprofiledump.c: Likewise.
7798 * debug/xtrace.sh: Likewise.
7799 * elf/ldconfig.c: Likewise.
7800 * elf/ldd.bash.in: Likewise.
7801 * elf/pldd.c: Likewise.
7802 * elf/sotruss.ksh: Likewise.
7803 * elf/sprof.c: Likewise.
7804 * iconv/iconv_prog.c: Likewise.
7805 * iconv/iconvconfig.c: Likewise.
7806 * locale/programs/locale.c: Likewise.
7807 * locale/programs/localedef.c: Likewise.
7808 * login/programs/pt_chown.c: Likewise.
7809 * malloc/memusage.sh: Likewise.
7810 * malloc/memusagestat.c: Likewise.
7811 * malloc/mtrace.pl: Likewise.
7812 * nscd/nscd.c: Likewise.
7813 * nss/getent.c: Likewise.
7814 * nss/makedb.c: Likewise.
7815 * posix/getconf.c: Likewise.
7816
18ea052c
SP
78172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7818
7819 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7820 numbers.
7821
9c89fca6
MF
78222012-12-30 Mike Frysinger <vapier@gentoo.org>
7823
7824 * math/bits/mathcalls.h (modf): Use __nonnull.
7825
085ec079
SP
78262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7827
7828 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7829 (split): Use macro CN instead of the bare value.
7830 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7831 could be used.
7832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7833 instead of the bare value.
7834 (power1): Likewise.
7835
6d9f97e1
SP
78362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7837
d63f73be
SP
7838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7839 __ATAN_TWOM.
7840 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7841
6d9f97e1
SP
7842 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7843 their values.
7844 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7846 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7847 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7848
4c4febf5
AJ
78492012-12-28 Andreas Jaeger <aj@suse.de>
7850
af5843ef
AJ
7851 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7852 values are from Linux 3.7.
7853
4c4febf5
AJ
7854 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7855 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7856
99136f82
SP
78572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7858
2f216c3c 7859 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7860 TRUE case.
7861
99136f82
SP
7862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7863 (norm): Likewise.
7864 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7865 variables with preprocessor constants.
7866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7868 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7869
7fffbdff
BH
78702012-12-27 Bruno Haible <bruno@clisp.org>
7871
7872 [BZ #14317]
7873 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7874 only if needed.
7875
b76eb5f0
SP
78762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7877
31a7fe5c
SP
7878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7879 and use variable directly.
7880 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7881
b76eb5f0
SP
7882 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7883 MPONE.
7884 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7885 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7886 variable MPONE.
7887 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7889 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7890 include directive. Remove local variable MPONE.
7891 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7894
2c8bfe7d
DM
78952012-12-25 David S. Miller <davem@davemloft.net>
7896
7897 * version.h (RELEASE): Set to "development".
7898 (VERSION): Set to "2.17.90".
7899 * NEWS: Add 2.18 section.
7900
147d03b0
DM
79012012-12-21 David S. Miller <davem@davemloft.net>
7902
7903 * po/hr.po: Update from translation team.
7904
a8ebb2b9
AK
79052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7906
7907 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7908
95b4f1b6
SE
79092012-12-19 Steve Ellcey <sellcey@mips.com>
7910
b2d94007 7911 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7912
cedb2a90
MS
79132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7914
7915 * manual/contrib.texi (Contributors): Spelling correction.
7916
bbf527d6
DM
79172012-12-15 David S. Miller <davem@davemloft.net>
7918
7919 * po/ru.po: Update from translation team.
7920
bc38c906
DM
79212012-12-13 David S. Miller <davem@davemloft.net>
7922
85429b1a
DM
7923 * NEWS: Mention IFUNC testsuite enhancements.
7924
d283e353
DM
7925 * po/pl.po: Update from translation team.
7926 * po/bg.po: Likewise.
7927
bc38c906
DM
7928 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7929 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7930
a181b0d7
DM
79312012-12-11 David S. Miller <davem@davemloft.net>
7932
4641d57e
DM
7933 * po/sv.po: Update from translation team.
7934
f7bc6495
DM
7935 * po/vi.po: Update from translation team.
7936
6fc9048f
DM
7937 * po/cs.po: Update from translation team.
7938
a181b0d7
DM
7939 * po/de.po: Update from translation team.
7940 * po/eo.po: Likewise.
7941 * po/nl.po: Likewise.
7942
f70bfe80
SP
79432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
3c8b4190
SP
7945 [BZ #14246]
7946 * manual/argp.texi (Argp Helper Functions): Move node to follow
7947 Argp Parsing State.
7948
f70bfe80
SP
7949 [BZ #14872]
7950 * manual/conf.texi (Limits on File System Capacity): Mention if
7951 terminating null is included in the max size.
7952
188f0adf
AJ
79532012-12-10 Andreas Jaeger <aj@suse.de>
7954
7955 * po/cs.po: Update from translation team.
7956
56e7d3ad
SP
79572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7958
7959 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7960 void pointer and cast to uintptr_t.
7961 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7962 path.
7963 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7964 * sysdeps/s390/s390-64/memset.S: Likewise.
7965
76f2d2ea 79662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7967
7968 [BZ #14833]
7969 * menual/message.texi (Message Translation): Fix typos.
7970 (Helper programs for gettext): Likewise.
7971
67cbf9a2
AS
79722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7973
7974 [BZ #14898]
7975 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7976 Change to -1.
7977
682d0e9a
DM
79782012-12-07 David S. Miller <davem@davemloft.net>
7979
7980 * po/libc.pot: Update.
7981
573cd484
RH
79822012-12-07 Richard Henderson <rth@redhat.com>
7983
7e9da188 7984 [BZ #10114]
573cd484
RH
7985 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7986 normal/normal case to before the switch.
7987 (_FP_DIV): Likewise.
7988
e933a943
MF
79892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7990 Mike Frysinger <vapier@gentoo.org>
7991
7992 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7993 check for __NR_fadvise64_64.
7994
82123268
CM
79952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7996
7997 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7998 0, not just to plain "0" as a statement.
7999 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8000 with cw.
8001
d9814526
JM
80022012-12-06 Joseph Myers <joseph@codesourcery.com>
8003
8004 * NEWS: Use sourceware.org in Bugzilla URL.
8005
7728c574
SP
80062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8007
f16946dd
SP
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8010
5704bbcb
SP
8011 * stdio-common/tst-put-error.c (do_test): Add newline to the
8012 padded test to ensure flush.
8013
17aa0516
JL
80142012-12-05 Jeff Law <law@redhat.com>
8015
8016 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8017
363313b5
JM
80182012-12-05 Joseph Myers <joseph@codesourcery.com>
8019
effbd42a
JM
8020 * README: Don't refer to ports add-on as distributed separately.
8021 Mention AArch64 in list of systems supported in the ports add-on.
8022
87600365
JM
8023 * LICENSES: Add more non-FSF copyright and license notices.
8024
a0d7066a
JM
8025 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8026 ((unused)).
8027
66ca5a5b
JM
8028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8029
363313b5
JM
8030 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8031 10000 as width of padded output.
8032
b37984ad
JM
80332012-12-04 Joseph Myers <joseph@codesourcery.com>
8034
9003570a
JM
8035 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8036
b37984ad
JM
8037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8038 variable LX with __attribute__ ((unused)).
8039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8040 Likewise.
8041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8044 with __attribute__ ((unused)).
8045
c8df52ec
DM
80462012-12-04 David S. Miller <davem@abraco.davemloft.net>
8047
8048 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8049
b3b099af
JM
80502012-12-04 Joseph Myers <joseph@codesourcery.com>
8051
c33aa6e3
JM
8052 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8053 (CFLAGS-nldbl-acos.c): New variable.
8054 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8055 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8056 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8057 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8058 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8059 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8060 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8061 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8062 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8063 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8064 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8065 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8066 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8067 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8068 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8069 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8070 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8071 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8072 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8073 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8074 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8075 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8076 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8077 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8078 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8079 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8080 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8081 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8082 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8083 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8084 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8085 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8086 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8087 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8088 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8089 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8090 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8091 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8092 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8093 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8094 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8095 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8096 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8097 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8098 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8099 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8100 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8101 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8102 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8103 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8104 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8105 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8106 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8107 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8108 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8109 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8110 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8111 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8112 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8113 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8114 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8115 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8116 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8117 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8118 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8119 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8120 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8121 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8122 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8123 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8124 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8125 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8126 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8127 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8128 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8129 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8130 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8131 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8132 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8137 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8138 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8139 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8140 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8141 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8142 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8143 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8144 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8145 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8146 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8147 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8148 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8149 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8150 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8151
20f0018d
JM
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8153 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8154
b3b099af
JM
8155 [BZ #14914]
8156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8157 whole low double instead of just low 47 bits when splitting values
8158 into two parts.
8159
029264d1
AM
81602012-12-03 Allan McRae <allan@archlinux.org>
8161
8162 * manual/stdio.texi (Predefined Printf Handlers): Remove
8163 @hsep and @vsep usage.
8164
c9d6789e
MF
81652012-12-03 Mike Frysinger <vapier@gentoo.org>
8166
8167 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8168 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8169
4b7634a5
JL
81702012-12-03 Jeff Law <law@redhat.com>
8171
8172 * time/sys/time.h (settimeofday): Do not mark TV argument
8173 as __nonnull.
8174
eb6cbd24
MF
81752012-12-01 Mike Frysinger <vapier@gentoo.org>
8176
8177 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8178 when currently writing and seek to current position when not.
8179 * libio/Makefile (tests): Remove bug-fclose1.
8180 * libio/bug-fclose1.c: Delete.
8181
f638872a
JM
81822012-12-01 Joseph Myers <joseph@codesourcery.com>
8183
8184 * manual/arith.texi (feenableexcept): Fix typo.
8185 (fedisableexcept): Likewise.
8186
48085d14
RM
81872012-11-30 Roland McGrath <roland@hack.frob.com>
8188
8189 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8190 second, differently-typed declaration, rather than a cast.
8191
1a538b9f
SP
81922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8193
8194 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8195 * include/rpc/svc.h: ... here.
8196
d07f2ff1 81972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8198
8199 [BZ #13013]
8200 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8201 depending n and resplen2 to catch cases where answer
8202 equals answerp2.
8203
c93ec1f0
CD
82042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8205
8206 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8207 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8208
37db69de
MF
82092012-11-29 Mike Frysinger <vapier@gentoo.org>
8210
8211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8212
e10c4e4f
RM
82132012-11-29 Roland McGrath <roland@hack.frob.com>
8214
8215 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8216
2af1b328
JL
82172012-11-28 Jeff Law <law@redhat.com>
8218
8219 [BZ #13761]
8220 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8221 dataset_temporary. Track alloca usage into alloca_used.
8222 If dataset is large allocate and release it via malloc/free.
8223
111db5b1
FW
82242012-06-04 Florian Weimer <fweimer@redhat.com>
8225
f06cc227 8226 [BZ #14197]
111db5b1
FW
8227 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8228
dd694abd
DM
82292012-11-28 David S. Miller <davem@davemloft.net>
8230
8231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8232
9984dd01
JM
82332012-11-28 Joseph Myers <joseph@codesourcery.com>
8234
8235 [BZ #14803]
8236 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8237 of pi/2 rounded to nearest to 64 bits.
8238 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8239 nearest to 64 bits.
8240 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8241 bits.
8242
14bc93a9
JL
82432012-11-28 Jeff Law <law@redhat.com>
8244 Martin Osvald <mosvald@redhat.com>
8245
8246 [BZ #14889]
8247 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8248 * sunrpc/svc.c: Include time.h.
8249 (__svc_accept_failed): New function.
8250 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8251 any reason other than EINTR, call __svc_accept_failed.
8252 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8253 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8254
e3c6aa3a
AS
82552012-11-28 Andreas Schwab <schwab@suse.de>
8256
8257 * scripts/abilist.awk: Also handle indirect functions in .opd
8258 section.
8259
1bead169
JM
82602012-11-28 Joseph Myers <joseph@codesourcery.com>
8261
8262 [BZ #13881]
8263 * sysdeps/x86/fpu/powl_helper.c: New file.
8264 * sysdeps/x86/fpu/Makefile: Likewise.
8265 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8266 (p3): New object.
8267 (__ieee754_powl): Use __powl_helper for finite arguments except
8268 integer exponents below 8.
8269 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8270 (p3): New object.
8271 (__ieee754_powl): Use __powl_helper for finite arguments except
8272 integer exponents below 8.
8273 * math/libm-test.inc (pow_test): Add more tests and enable some
8274 previously disabled tests.
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277
0817d63d
SP
82782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8279 Carlos O'Donell <carlos_odonell@mentor.com>
8280
8281 * nss/makedb.c (is_prime): Assert that input is odd and greater
8282 than 4. Note that fact in a comment too.
8283 (next_prime): Add 4 to input.
8284
de2fd463
SP
82852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8286
8287 [BZ #11741]
8288 * libio/Makefile (tests): Add test case tst-fwrite-error.
8289 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8290 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8291 * libio/tst-fwrite-error.c: New test case.
8292
c515fb51
L
82932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8294
8295 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8296 before casting to void *.
8297 * include/libc-internal.h (__pointer_type): New macro.
8298 (__integer_if_pointer_type_sub): Likewise.
8299 (__integer_if_pointer_type): Likewise.
8300 (cast_to_integer): Likewise.
8301 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8302 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8303 before casting to atomic64_t.
8304 (atomic_exchange_acq): Likewise.
8305 (__arch_exchange_and_add_body): Likewise.
8306 (__arch_add_body): Likewise.
8307 (atomic_add_negative): Likewise.
8308 (atomic_add_zero): Likewise.
8309
4cf77aa9
JM
83102012-11-26 Joseph Myers <joseph@codesourcery.com>
8311
8312 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8313 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8314 (add_fdes): Likewise.
8315 (linear_search_fdes): Likewise.
8316 (binary_search_unencoded_fdes): Likewise.
8317
d260b3b4
AS
83182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8319
8320 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8321
67060746
AC
83222012-11-24 Adam Conrad <adconrad@0c3.net>
8323
8324 * configure.in: Autodetect C++ header directories.
8325 * configure: Regenerated.
8326
800938a1
MF
83272012-11-23 Mike Frysinger <vapier@gentoo.org>
8328
8329 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8330
4e6e34e6
AS
83312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8332
8333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8334
7c7feb47
JM
83352012-11-22 Joseph Myers <joseph@codesourcery.com>
8336
7184dcdf
JM
8337 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8338 LDBL_MANT_DIG == 106]: Disable some tests.
8339 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8340 Likewise.
8341 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8342 Likewise.
8343
0a42601f
JM
8344 [BZ #14871]
8345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8346 input for small inputs. Return +/- pi/2 for large inputs.
8347 * math/libm-test.inc (atan_test): Add more tests.
8348
79c9b9fe
JM
8349 * sysdeps/generic/unwind-dw2-fde-glibc.c
8350 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8351 __attribute__ ((unused)).
8352
c60d3bf2
JM
8353 [BZ #14645]
8354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8355 x * y if x and y are nonzero and z is zero.
8356
ef1e0867
JM
8357 [BZ #14811]
8358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8359 nonzero exponents with absolute value below 0x1p-117 to +/-
8360 0x1p-117.
8361
1468ded3
JM
8362 [BZ #14869]
8363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8364 up arguments below 2**-450, not just those below 2**-500.
8365 * math/libm-test.inc (hypot_test): Add another test.
8366
8e27e3cc
JM
8367 [BZ #14868]
8368 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8369 Return a+b for ratio over 2**120, not 2**60.
8370 * math/libm-test.inc (hypot_test): Add another test.
8371
c9c0279b
JM
8372 * math/libm-test.inc (clog_test): Use
8373 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8374 (clog10_test): Likewise.
8375
7c7feb47
JM
8376 [BZ #6778]
8377 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8378
fff1530e
AS
83792012-11-22 Andreas Schwab <schwab@suse.de>
8380
8381 * sysdeps/i386/fpu/libm-test-ulps: Update.
8382
94558d30
PT
83832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8384
8385 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8386 printf output with newline.
8387
7e1be741
L
83882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8389
6bfea974
L
8390 [BZ #14865]
8391 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8392 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8393 -z nodlopen, -z initfirst and -z execstack support.
8394 * configure: Regenerated.
8395
7e1be741
L
8396 * elf/elf.h (DF_1_NODIRECT): New macro.
8397 (DF_1_IGNMULDEF): Likewise.
8398 (DF_1_NOKSYMS): Likewise.
8399 (DF_1_NOHDR): Likewise.
8400 (DF_1_EDITED): Likewise.
8401 (DF_1_NORELOC): Likewise.
8402 (DF_1_SYMINTPOSE): Likewise.
8403 (DF_1_GLOBAUDIT): Likewise.
8404 (DF_1_SINGLETON): Likewise.
8405 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8406 DT_1_SUPPORTED_MASK bits.
8407 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8408
105ce2ce
CD
84092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8410
8411 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8412
123be9de
TS
84132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8414
d072f3f7
TS
8415 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8416 macro.
8417
123be9de
TS
8418 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8419 (sendmmsg): Move declarations...
8420 * socket/sys/socket.h: ... here.
8421 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8422 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8423 include it from...
8424 * socket/recvmmsg.c: ... this new file.
8425 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8426 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8427 definition of __sendmmsg hidden.
8428 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8429 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8430 Move ENOSYS stub into and include it from...
8431 * socket/sendmmsg.c: ... this new file.
8432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8433 (sysdep_routines): Move recvmmsg and sendmmsg...
8434 * socket/Makefile (routines): ... here.
8435 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8436 (GLIBC_PRIVATE): Add __sendmmsg.
8437 * include/sys/socket.h (__sendmmsg): Add declarations.
8438 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8439 sendmmsg.
8440
cf9a5d18
JM
84412012-11-20 Joseph Myers <joseph@codesourcery.com>
8442
8443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8444 variable I1 with __attribute__ ((unused)).
8445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8446
ecd4caf9
JM
84472012-11-19 Joseph Myers <joseph@codesourcery.com>
8448
be14d48f
JM
8449 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8450 DUMMY variables with __attribute__ ((unused)).
8451
ecd4caf9
JM
8452 * bits/byteswap.h: Include <bits/types.h>.
8453 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8454
986cab95
PT
84552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8456
8457 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8458 string_t. Do not manually set errno.
8459 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8460 length with __strnlen. Make sure to both set errno and return it on
8461 failure.
8462
6d33cc9d
DM
84632012-11-19 David S. Miller <davem@davemloft.net>
8464
8465 With help from Joseph Myers.
8466 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8467 very large arguments properly.
8468 * math/libm-test.inc (atan_test): New tests.
8469 (atan2_test): New tests.
8470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8472
ee663277
JM
84732012-11-19 Joseph Myers <joseph@codesourcery.com>
8474
877f2d8e
JM
8475 [BZ #14856]
8476 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8477 Define to 3.
8478
116fc08a
JM
8479 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8480 [POSIX] (EADDRNOTAVAIL): Likewise.
8481 [POSIX] (EAFNOSUPPORT): Likewise.
8482 [POSIX] (EALREADY): Likewise.
8483 [POSIX] (ECONNABORTED): Likewise.
8484 [POSIX] (ECONNREFUSED): Likewise.
8485 [POSIX] (ECONNRESET): Likewise.
8486 [POSIX] (EDESTADDRREQ): Likewise.
8487 [POSIX] (EDQUOT): Likewise.
8488 [POSIX] (EHOSTUNREACH): Likewise.
8489 [POSIX] (EIDRM): Likewise.
8490 [POSIX] (EISCONN): Likewise.
8491 [POSIX] (ELOOP): Likewise.
8492 [POSIX] (EMULTIHOP): Likewise.
8493 [POSIX] (ENETDOWN): Likewise.
8494 [POSIX] (ENETUNREACH): Likewise.
8495 [POSIX] (ENOBUFS): Likewise.
8496 [POSIX] (ENODATA): Likewise.
8497 [POSIX] (ENOLINK): Likewise.
8498 [POSIX] (ENOMSG): Likewise.
8499 [POSIX] (ENOPROTOOPT): Likewise.
8500 [POSIX] (ENOSR): Likewise.
8501 [POSIX] (ENOSTR): Likewise.
8502 [POSIX] (ENOTCONN): Likewise.
8503 [POSIX] (ENOTSOCK): Likewise.
8504 [POSIX] (EOPNOTSUPP): Likewise.
8505 [POSIX] (EOVERFLOW): Likewise.
8506 [POSIX] (EPROTO): Likewise.
8507 [POSIX] (EPROTONOSUPPORT): Likewise.
8508 [POSIX] (EPROTOTYPE): Likewise.
8509 [POSIX] (ESTALE): Likewise.
8510 [POSIX] (ETIME): Likewise.
8511 [POSIX] (ETXTBSY): Likewise.
8512 [POSIX] (EWOULDBLOCK): Likewise.
8513 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8514 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8515 [POSIX] (SEEK_CUR): Likewise.
8516 [POSIX] (SEEK_END): Likewise.
8517 [POSIX || UNIX98] (mode_t): Do not require.
8518 [POSIX] (off_t): Likewise.
8519 [POSIX] (pid_t): Likewise.
8520 [POSIX] (sys/stat.h): Do not allow header.
8521 [POSIX] (unistd.h): Likewise.
8522 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8523 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8524 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8525 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8526 require.
8527 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8528 sigevent): Specify elements.
8529 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8530 entry.
8531 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8532 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8533
a483863f
JM
8534 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8535 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8536 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8537 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8538 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8539 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8540 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8542 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8543 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8544 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8546 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8548 Likewise.
8549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8550 Likewise.
8551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8552 Likewise.
8553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8554 Likewise.
8555 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8556 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8557 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8558 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8559 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8560 Specify lower bound on value.
8561 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8562 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8563 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8564 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8565 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8566 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8567 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8568 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8569 value.
8570 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8571 as optional.
8572 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8573 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8574 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8575 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8576 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8577 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8578 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8579 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8580 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8581 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8582 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8583 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8584 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8585 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8586 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8587 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8588 entry.
8589 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8590 optional.
8591 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8592 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8593 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8594 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8595 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8597 Likewise.
8598 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8599 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8600 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8601 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8602 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8603 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8605 as optional.
8606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8607 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8609 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8610 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8611 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8612 specify as optional.
8613 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8614 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8615 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8616 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8617 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8618 [XPG3] (NL_LANGMAX): Likewise.
8619 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8620 [POSIX || XPG3] (NL_NMAX): Likewise.
8621 [POSIX || XPG3] (NL_SETMAX): Likewise.
8622 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8623 [XPG3] (NZERO): Likewise.
8624 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8625 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8626 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8627 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8628 (REG_ERANGE): Expect.
8629 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8630 optional-constant.
8631 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8632 Use (void) in prototype.
8633 [POSIX] (*_t): Allow.
8634 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8635 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8636 (WRDE_BADVAL): Expect.
8637
5ba924e3
JM
8638 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8639 expect.
8640 [XPG3 || XPG4] (O_RSYNC): Likewise.
8641 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8642 Likewise.
8643 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8644 [XPG3 || XPG4] (sigqueue): Likewise.
8645 [XPG3 || XPG4] (sigtimedwait): Likewise.
8646 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8647 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8648 [XPG3 || XPG4] (vsnprintf): Likewise.
8649 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8650 Likewise.
8651 [XPG3 || XPG4] (blksize_t): Likewise.
8652 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8653 Likewise.
8654 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8655 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8656 [XPG3 || XPG4] (struct itimerspec): Likewise.
8657 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8658 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8659 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8660 [XPG3 || XPG4] (clockid_t): Likewise.
8661 [XPG3 || XPG4] (timer_t): Likewise.
8662 [XPG3 || XPG4] (clock_getres): Likewise.
8663 [XPG3 || XPG4] (clock_gettime): Likewise.
8664 [XPG3 || XPG4] (clock_settime): Likewise.
8665 [XPG3 || XPG4] (nanosleep): Likewise.
8666 [XPG3 || XPG4] (timer_create): Likewise.
8667 [XPG3 || XPG4] (timer_delete): Likewise.
8668 [XPG3 || XPG4] (timer_gettime): Likewise.
8669 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8670 [XPG3 || XPG4] (timer_settime): Likewise.
8671 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8672 [XPG3 || XPG4] (getlogin_r): Likewise.
8673 [XPG3 || XPG4] (pread): Likewise.
8674 [XPG3 || XPG4] (pthread_atfork): Likewise.
8675 [XPG3 || XPG4] (pwrite): Likewise.
8676
ee663277
JM
8677 [BZ #14835]
8678 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8679 <bits/siginfo.h>.
8680
942caa16
PT
86812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8682
e19af380
PT
8683 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8684 finalizing MALLSTREAM.
8685
942caa16
PT
8686 * sysdeps/mach/hurd/syncfs.c: New file.
8687
cfde9b46
SP
86882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8689
8690 [BZ #14719]
8691 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8692 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8694 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8695 (_nss_dns_gethostbyname4_r): Likewise.
8696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8697 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8698
f6da27e5
PH
86992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8700
8701 [BZ #13763]
8702 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8703
6665d4a2
SM
87042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8705
1f51ee92
SM
8706 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8707 * elf/cache.c (print_entry): Print ",AArch64" for
8708 FLAG_AARCH64_LIB64
8709
6665d4a2
SM
8710 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8711 * elf/cache.c (print_entry): Print ",hard-float" for
8712 FLAG_ARM_LIBHF.
8713
05b227bd
DM
87142012-11-18 David S. Miller <davem@davemloft.net>
8715
8716 With help from Joseph Myers.
8717 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8718 cutoff to 2**-13.
8719 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8720 cutoff to 2**-25.
8721 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8722 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8723 small.
8724 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8725 * math/libm-test.inc (y0_test): New tests.
8726 (y1_test): New tests.
8727 * sysdeps/i386/fpu/libm-test-ulps: Update.
8728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8730
786b0b67
AS
87312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8732
8733 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8734 64-bit targets.
8735 * configure: Regenerated.
8736
8e18b86d
DM
87372012-11-17 David S. Miller <davem@davemloft.net>
8738
8739 [BZ #14811]
8740 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8741 nonzero exponents with absolute value below 0x1p-128 to +/-
8742 0x1p-128.
8743
531f1ae0
JM
87442012-11-17 Joseph Myers <joseph@codesourcery.com>
8745
12df29e2
JM
8746 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8747
150dc1a0
JM
8748 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8749
531f1ae0
JM
8750 * posix/getconf-speclist.c: New file.
8751 * posix/posix-envs.def: Likewise.
8752 * posix/confstr.c (START_ENV_GROUP): New macro.
8753 (END_ENV_GROUP): Likewise.
8754 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8755 (KNOWN_PRESENT_ENV_STRING): Likewise.
8756 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8757 (UNKNOWN_ENVIRONMENT): Likewise.
8758 (confstr): Include posix-envs.def instead of handling
8759 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8760 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8761 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8762 (END_ENV_GROUP): Likewise.
8763 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8764 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8765 (UNKNOWN_ENVIRONMENT): Likewise.
8766 (__sysconf): Include posix-envs.def instead of handling associated
8767 cases directly here.
8768 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8769 preprocessing getconf-speclist.c rather than running getconf or
8770 generating empty file.
8771
a93f9cbc
PT
87722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8773
8774 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8775
d64d9f87
AL
87762012-11-16 Andrej Lajovic <natrij@gmail.com>
8777
8778 [BZ #14672]
8779 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8780
447885eb
DM
87812012-11-16 David S. Miller <davem@davemloft.net>
8782
8783 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8784 smaller than LDBL_EPSILON/2.0L, just return xm1.
8785
bcbf9830
L
87862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8787
8788 * elf/tst-array1.c (init): Set constructor priority to 1000.
8789 (fini): Set destructor priority to 1000.
8790 * elf/tst-array2dep.c: Likewise.
8791
2b766585
SP
87922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8793
8794 [BZ #11741]
8795 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8796 (_IO_new_file_xsputn): Also return EOF if none of the input
8797 data was written when overflow failed.
8798 * libio/iopadn.c (_IO_padn): Likewise.
8799 * libio/iowpadn.c (_IO_wpadn): Likewise.
8800 * stdio-common/tst-put-error.c: Add copyright notice.
8801 (do_test): Add case for printing padded string.
8802 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8803 _IO_padn returned error.
8804 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8805 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8806 return EOF.
8807
b1848fde
SP
88082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
8810 * libio/libioP.h: Add comment note that the references to C++
8811 bits are now obsolete.
8812
2fd89785
MS
88132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8814
8815 * math/libm-test.inc (check_complex): Use asprintf.
8816
e3ea5409
JM
88172012-11-14 Joseph Myers <joseph@codesourcery.com>
8818
8819 * debug/pcprofiledump.c (print_version): Update copyright year.
8820 * malloc/memusagestat.c (print_version): Likewise.
8821
2e64d265
L
88222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8823
8824 [BZ #14831]
8825 * elf/Makefile (tests): Add tst-audit8.
8826 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8827 ($(objpfx)tst-audit8.out): New target.
8828 (tst-audit8-ENV): New variable.
8829 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8830 audit if l_reloc_result is NULL.
8831 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8832 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8833 * elf/tst-audit8.c: New file.
8834
c485e4d2
MS
88352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8836
8837 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8838 * misc/Makefile (CFLAGS-select.c): Define.
8839 * posix/Makefile (CFLAGS-pause.c): Define.
8840
3a0d900a
DM
88412012-11-13 David S. Miller <davem@davemloft.net>
8842
8843 * crypt/Makefile: Move test targets after toplevel Rules
8844 inclusion. Grab any necessary sysdep routines when linking.
8845 * crypt/md5.c (md5_process_block): Remove define, we will always
8846 name it __md5_process_block.
8847 (md5_finish_ctx): Update md5_process_block call.
8848 (md5_stream): Likewise.
8849 (md5_process_bytes): Likewise.
8850 (md5_process_block): Rename to __md5_process_block and move to ...
8851 * crypt/md5-block.c: ... here.
8852 * crypt/sha256.c (sha256_process_block): Move to ...
8853 * crypt/sha256-block.c: ... here.
8854 * crypt/sha512.c (sha512_process_block): Move to ...
8855 * crypt/sha512-block.c: ... here.
8856 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8857 path.
8858 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8859 * sysdeps/sparc/sparc64/multiarch/Makefile
8860 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8861 crypt subdir.
8862 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8864 multiarch changes.
8865 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8866 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8867 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8868 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8869 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8870 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8871 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8872 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8874 file.
8875 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8877 file.
8878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8879
8ca89318
JM
88802012-11-13 Joseph Myers <joseph@codesourcery.com>
8881
e27d476a
JM
8882 * timezone/tzselect.ksh: Update from tzcode git revision
8883 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8884 * timezone/zdump.c: Likewise.
8885 * timezone/zic.c: Likewise.
8886 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8887 in TZVERSION setting, not $(PKGVERSION).
8888 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8889 REPORT_BUGS_TO settings.
8890
8ca89318
JM
8891 [BZ #14838]
8892 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8893 macro.
8894
47594329
MS
88952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8896
8897 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8898 detection to immediately after _FP_ROUND().
8899 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8900 bits are 0.
8901
640ac3f1
DM
89022012-11-11 David S. Miller <davem@davemloft.net>
8903
8904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8905 inttypes.h
8906 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8907 __close rather than their public counterparts.
8908
3d2577bb
JM
89092012-11-10 Joseph Myers <joseph@codesourcery.com>
8910
8911 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8912 file.
8913 [UNIX98] (sem_timedwait): Do not expect.
8914 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8915 [XPG4 || UNIX98] (sockatmark): Do not expect.
8916 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8917 (clock_getcpuclockid): Do not expect.
8918 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8919 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8920 Do not expect.
8921 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8922 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8923 [UNIX98] (vwscanf): Likewise.
8924 [UNIX98] (vswscanf): Likewise.
8925
fb1ae1ee
JM
89262012-11-09 Joseph Myers <joseph@codesourcery.com>
8927
9ec6f8bd
JM
8928 * timezone/version.h: Remove file.
8929 * timezone/README: Do not refer to version.h.
8930 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8931 $(objpfx)version.h.
8932 ($(objpfx)zdump.o): Likewise.
c3f81911 8933 ($(objpfx)version.h): New target.
9ec6f8bd 8934
0aa8f8a1
JM
8935 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8936 2012i.
8937 * timezone/README: Don't mention modification to tzselect.ksh.
8938 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8939 work on unmodified tzselect.ksh. Substitute version numbers in
8940 tzselect.ksh.
8941
4e87147f
JM
8942 * Makefile (format-me): Remove.
8943 (INSTALL): Adjust indentation. Use commands directly instead of
8944 using $(format-me).
8945
8b748aed
JM
8946 * aclocal.m4 (ACX_PKGVERSION): New macro.
8947 (ACX_BUGURL): Likewise.
8948 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8949 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8950 (REPORT_BUGS_TO): Likewise.
8951 * configure: Regenerated.
8952 * config.h.in (PKGVERSION): New macro.
8953 (REPORT_BUGS_TO): Likewise.
8954 * config.make.in (PKGVERSION): New variable.
8955 (PKGVERSION_TEXI): Likewise.
8956 (REPORT_BUGS_TO): Likewise.
8957 (REPORT_BUGS_TEXI): Likewise.
8958 * Makefile (format-me): Use -I$(common-objpfx)manual.
8959 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8960 ($(common-objpfx)manual/%): New target.
8961 (manual/%): Remove target.
8962 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8963 (print_version): Use PKGVERSION.
8964 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8965 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8966 and REPORT_BUGS_TO.
8967 ($(objpfx)xtrace): Likewise.
8968 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8969 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8970 (print_version): Use PKGVERSION.
8971 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8972 (do_version): Use PKGVERSION.
8973 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8974 REPORT_BUGS_TO.
8975 (common-ldd-rewrite): Likewise.
8976 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8977 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8978 (print_version): Use PKGVERSION.
8979 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8980 * elf/pldd.c (argp_program_bug_address): Remove variable.
8981 (more_help): New function.
8982 (argp): Use more_help.
8983 (print_version): Use PKGVERSION.
8984 * elf/sln.c (main): Use PKGVERSION.
8985 (usage): Use REPORT_BUGS_TO.
8986 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8987 (top level): Use PKGVERSION.
8988 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8989 (print_version): Use PKGVERSION.
8990 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8991 (print_version): Use PKGVERSION.
8992 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8993 (print_version): Use PKGVERSION.
8994 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8995 (print_version): Use PKGVERSION.
8996 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8997 (print_version): Use PKGVERSION.
8998 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8999 (print_version): Use PKGVERSION.
9000 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9001 and BUGURL.
9002 ($(objpfx)memusage): Likewise.
9003 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9004 (do_version): Use PKGVERSION.
9005 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9006 (print_version): Use PKGVERSION.
9007 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9008 ($PKGVERSION): New variable.
9009 ($REPORT_BUGS_TO): Likewise.
9010 (usage): Use $REPORT_BUGS_TO.
9011 (top level): Use $PKGVERSION.
9012 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9013 ($(objpfx)pkgvers.texi): New rule.
9014 ($(objpfx)stamp-pkgvers): Likewise.
9015 * manual/install.texi: Include pkgvers.texi.
9016 (--with-pkgversion): Document new configure option.
9017 (--with-bugurl): Likewise.
9018 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9019 than necessarily for this particular distribution. Use
9020 REPORT_BUGS_TO for where to report bugs.
9021 * INSTALL: Regenerated.
9022 * manual/libc.texinfo: Include pkgvers.texi.
9023 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9024 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9025 (print_version): Use PKGVERSION.
9026 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9027 (print_version): Use PKGVERSION.
9028 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9029 (print_version): Use PKGVERSION.
9030 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9031 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9032 macro.
9033 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9034 (print_version): Use PKGVERSION.
9035 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9036 (print_version): Use PKGVERSION.
9037 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9038 and PKGVERSION.
9039
92e4b6a9
JM
9040 * timezone/checktab.awk: Update from tzcode 2012i.
9041 * timezone/ialloc.c: Likewise.
9042 * timezone/private.h: Likewise.
9043 * timezone/scheck.c: Likewise.
9044 * timezone/tzfile.h: Likewise.
9045 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9046 (TZVERSION): Hardcode tzcode version number.
9047 * timezone/zdump.c: Update from tzcode 2012i.
9048 * timezone/zic.c: Likewise.
9049 * timezone/version.h: New file.
9050 * timezone/README: Describe version.h. Update upstream location.
9051
9bde902c
JM
9052 [BZ #14824]
9053 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9054 (mktemp): Enable declaration.
9055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9059 Likewise.
9060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9061 Likewise.
9062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9063 Likewise.
9064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9065 Likewise.
9066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9067 Likewise.
9068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9069 Likewise.
9070
fb1ae1ee
JM
9071 [BZ #14821]
9072 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9073 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9074 for copies of such integer values.
9075 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9076 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9077
2c1adbcb
AJ
90782012-11-09 Andreas Jaeger <aj@suse.de>
9079
9080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9081 definitions and declarations that are provided by
9082 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9083
d0f8457e
AK
90842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9085
3a235abb 9086 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9087 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9088 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9089 definition.
9090
57241e26
MS
90912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9092
9093 * elf/elf.h: Update comment before AArch64 relocations.
9094
60e8270d
DM
90952012-11-07 David S. Miller <davem@davemloft.net>
9096
9097 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9099 (__start_context): Declare.
9100 (__makecontext_ret): Delete.
9101 (__makecontext): Hook up __start_context instead of
9102 __makecontext_ret.
9103 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9104 (sysdep_routines): Add __start_context when in stdlib.
9105
0fbb0fbc
JM
91062012-11-07 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9109 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9110 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9111 hardcoded "nm".
9112 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9113 (READELF): New variable. Use it instead of hardcoded "readelf".
9114
eb48db7e
L
91152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9116
9117 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9118 * sysdeps/x86/Makefile: Here.
9119 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9120 * sysdeps/x86/tst-xmmymm.sh: This.
9121
05bcf62a
JM
91222012-11-07 Joseph Myers <joseph@codesourcery.com>
9123
c4b6cf53
JM
9124 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9125 expectations.
9126 [UNIX98] (pthread_barrier_t): Do not expect.
9127 [UNIX98] (pthread_barrierattr_t): Likewise.
9128 [UNIX98] (pthread_spinlock_t): Likewise.
9129 [UNIX98] (pthread_barrier_destroy): Likewise.
9130 [UNIX98] (pthread_barrier_init): Likewise.
9131 [UNIX98] (pthread_barrier_wait): Likewise.
9132 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9133 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9134 [UNIX98] (pthread_barrierattr_init): Likewise.
9135 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9136 [UNIX98] (pthread_getcpuclockid): Likewise.
9137 [UNIX98] (pthread_mutex_timedlock): Likewise.
9138 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9139 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9140 [UNIX98] (pthread_sigmask): Likewise.
9141 [UNIX98] (pthread_spin_destroy): Likewise.
9142 [UNIX98] (pthread_spin_init): Likewise.
9143 [UNIX98] (pthread_spin_lock): Likewise.
9144 [UNIX98] (pthread_spin_trylock): Likewise.
9145 [UNIX98] (pthread_spin_unlock): Likewise.
9146 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9147 Do not expect.
9148 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9149 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9150 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9151 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9152 [XPG3 || XPG4] (pthread_key_t): Likewise.
9153 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9154 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9155 [XPG3 || XPG4] (pthread_once_t): Likewise.
9156 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9157 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9158 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9159 [XPG3 || XPG4] (pthread_t): Likewise.
9160
cbe6e120
JM
9161 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9162 not expect.
9163 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9164
1b126443
JM
9165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9166 Change function return type to int.
9167
b961a573
JM
9168 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9169 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9170 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9171 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9172 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9173 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9174 [!POSIX] (posix_madvise): Likewise.
9175 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9176 && !UNIX98].
9177 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9178 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9179 (mode_t): Likewise.
9180 (posix_mem_offset): Likewise.
9181 (posix_typed_mem_get_info): Likewise.
9182 (posix_typed_mem_open): Likewise.
9183
9e188909
JM
9184 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9185 Change condition to [XOPEN2K8].
9186
05bcf62a
JM
9187 * conform/conformtest.pl: Preprocess allow-header data with -x c
9188 instead of from stdin.
9189 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9190 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9191 [C99-based standards] (cerfc): Likewise.
9192 [C99-based standards] (cexp2): Likewise.
9193 [C99-based standards] (cexpm1): Likewise.
9194 [C99-based standards] (clog10): Likewise.
9195 [C99-based standards] (clog1p): Likewise.
9196 [C99-based standards] (clog2): Likewise.
9197 [C99-based standards] (clgamma): Likewise.
9198 [C99-based standards] (ctgamma): Likewise.
9199 [C99-based standards] (cerff): Likewise.
9200 [C99-based standards] (cerfcf): Likewise.
9201 [C99-based standards] (cexp2f): Likewise.
9202 [C99-based standards] (cexpm1f): Likewise.
9203 [C99-based standards] (clog10f): Likewise.
9204 [C99-based standards] (clog1pf): Likewise.
9205 [C99-based standards] (clog2f): Likewise.
9206 [C99-based standards] (clgammaf): Likewise.
9207 [C99-based standards] (ctgammaf): Likewise.
9208 [C99-based standards] (cerfl): Likewise.
9209 [C99-based standards] (cerfcl): Likewise.
9210 [C99-based standards] (cexp2l): Likewise.
9211 [C99-based standards] (cexpm1l): Likewise.
9212 [C99-based standards] (clog10l): Likewise.
9213 [C99-based standards] (clog1pl): Likewise.
9214 [C99-based standards] (clog2l): Likewise.
9215 [C99-based standards] (clgammal): Likewise.
9216 [C99-based standards] (ctgammal): Likewise.
9217 * conform/data/inttypes.h-data [C99-based standards]: Include
9218 stdint.h-data. Remove all expectations for stdint.h contents.
9219 [C99-based standards] (PRI*): Do not allow.
9220 [C99-based standards] (SCN*): Likewise.
9221 [C99-based standards] (*_t): Likewise.
9222 [C99-based-standards] (PRId8): Expect macro.
9223 [C99-based-standards] (PRIi8): Likewise.
9224 [C99-based-standards] (PRIo8): Likewise.
9225 [C99-based-standards] (PRIu8): Likewise.
9226 [C99-based-standards] (PRIx8): Likewise.
9227 [C99-based-standards] (PRIX8): Likewise.
9228 [C99-based-standards] (SCNd8): Likewise.
9229 [C99-based-standards] (SCNi8): Likewise.
9230 [C99-based-standards] (SCNo8): Likewise.
9231 [C99-based-standards] (SCNu8): Likewise.
9232 [C99-based-standards] (SCNx8): Likewise.
9233 [C99-based-standards] (PRIdLEAST8): Likewise.
9234 [C99-based-standards] (PRIiLEAST8): Likewise.
9235 [C99-based-standards] (PRIoLEAST8): Likewise.
9236 [C99-based-standards] (PRIuLEAST8): Likewise.
9237 [C99-based-standards] (PRIxLEAST8): Likewise.
9238 [C99-based-standards] (PRIXLEAST8): Likewise.
9239 [C99-based-standards] (SCNdLEAST8): Likewise.
9240 [C99-based-standards] (SCNiLEAST8): Likewise.
9241 [C99-based-standards] (SCNoLEAST8): Likewise.
9242 [C99-based-standards] (SCNuLEAST8): Likewise.
9243 [C99-based-standards] (SCNxLEAST8): Likewise.
9244 [C99-based-standards] (PRIdFAST8): Likewise.
9245 [C99-based-standards] (PRIiFAST8): Likewise.
9246 [C99-based-standards] (PRIoFAST8): Likewise.
9247 [C99-based-standards] (PRIuFAST8): Likewise.
9248 [C99-based-standards] (PRIxFAST8): Likewise.
9249 [C99-based-standards] (PRIXFAST8): Likewise.
9250 [C99-based-standards] (SCNdFAST8): Likewise.
9251 [C99-based-standards] (SCNiFAST8): Likewise.
9252 [C99-based-standards] (SCNoFAST8): Likewise.
9253 [C99-based-standards] (SCNuFAST8): Likewise.
9254 [C99-based-standards] (SCNxFAST8): Likewise.
9255 [C99-based-standards] (PRId16): Likewise.
9256 [C99-based-standards] (PRIi16): Likewise.
9257 [C99-based-standards] (PRIo16): Likewise.
9258 [C99-based-standards] (PRIu16): Likewise.
9259 [C99-based-standards] (PRIx16): Likewise.
9260 [C99-based-standards] (PRIX16): Likewise.
9261 [C99-based-standards] (SCNd16): Likewise.
9262 [C99-based-standards] (SCNi16): Likewise.
9263 [C99-based-standards] (SCNo16): Likewise.
9264 [C99-based-standards] (SCNu16): Likewise.
9265 [C99-based-standards] (SCNx16): Likewise.
9266 [C99-based-standards] (PRIdLEAST16): Likewise.
9267 [C99-based-standards] (PRIiLEAST16): Likewise.
9268 [C99-based-standards] (PRIoLEAST16): Likewise.
9269 [C99-based-standards] (PRIuLEAST16): Likewise.
9270 [C99-based-standards] (PRIxLEAST16): Likewise.
9271 [C99-based-standards] (PRIXLEAST16): Likewise.
9272 [C99-based-standards] (SCNdLEAST16): Likewise.
9273 [C99-based-standards] (SCNiLEAST16): Likewise.
9274 [C99-based-standards] (SCNoLEAST16): Likewise.
9275 [C99-based-standards] (SCNuLEAST16): Likewise.
9276 [C99-based-standards] (SCNxLEAST16): Likewise.
9277 [C99-based-standards] (PRIdFAST16): Likewise.
9278 [C99-based-standards] (PRIiFAST16): Likewise.
9279 [C99-based-standards] (PRIoFAST16): Likewise.
9280 [C99-based-standards] (PRIuFAST16): Likewise.
9281 [C99-based-standards] (PRIxFAST16): Likewise.
9282 [C99-based-standards] (PRIXFAST16): Likewise.
9283 [C99-based-standards] (SCNdFAST16): Likewise.
9284 [C99-based-standards] (SCNiFAST16): Likewise.
9285 [C99-based-standards] (SCNoFAST16): Likewise.
9286 [C99-based-standards] (SCNuFAST16): Likewise.
9287 [C99-based-standards] (SCNxFAST16): Likewise.
9288 [C99-based-standards] (PRId32): Likewise.
9289 [C99-based-standards] (PRIi32): Likewise.
9290 [C99-based-standards] (PRIo32): Likewise.
9291 [C99-based-standards] (PRIu32): Likewise.
9292 [C99-based-standards] (PRIx32): Likewise.
9293 [C99-based-standards] (PRIX32): Likewise.
9294 [C99-based-standards] (SCNd32): Likewise.
9295 [C99-based-standards] (SCNi32): Likewise.
9296 [C99-based-standards] (SCNo32): Likewise.
9297 [C99-based-standards] (SCNu32): Likewise.
9298 [C99-based-standards] (SCNx32): Likewise.
9299 [C99-based-standards] (PRIdLEAST32): Likewise.
9300 [C99-based-standards] (PRIiLEAST32): Likewise.
9301 [C99-based-standards] (PRIoLEAST32): Likewise.
9302 [C99-based-standards] (PRIuLEAST32): Likewise.
9303 [C99-based-standards] (PRIxLEAST32): Likewise.
9304 [C99-based-standards] (PRIXLEAST32): Likewise.
9305 [C99-based-standards] (SCNdLEAST32): Likewise.
9306 [C99-based-standards] (SCNiLEAST32): Likewise.
9307 [C99-based-standards] (SCNoLEAST32): Likewise.
9308 [C99-based-standards] (SCNuLEAST32): Likewise.
9309 [C99-based-standards] (SCNxLEAST32): Likewise.
9310 [C99-based-standards] (PRIdFAST32): Likewise.
9311 [C99-based-standards] (PRIiFAST32): Likewise.
9312 [C99-based-standards] (PRIoFAST32): Likewise.
9313 [C99-based-standards] (PRIuFAST32): Likewise.
9314 [C99-based-standards] (PRIxFAST32): Likewise.
9315 [C99-based-standards] (PRIXFAST32): Likewise.
9316 [C99-based-standards] (SCNdFAST32): Likewise.
9317 [C99-based-standards] (SCNiFAST32): Likewise.
9318 [C99-based-standards] (SCNoFAST32): Likewise.
9319 [C99-based-standards] (SCNuFAST32): Likewise.
9320 [C99-based-standards] (SCNxFAST32): Likewise.
9321 [C99-based-standards] (PRId64): Likewise.
9322 [C99-based-standards] (PRIi64): Likewise.
9323 [C99-based-standards] (PRIo64): Likewise.
9324 [C99-based-standards] (PRIu64): Likewise.
9325 [C99-based-standards] (PRIx64): Likewise.
9326 [C99-based-standards] (PRIX64): Likewise.
9327 [C99-based-standards] (SCNd64): Likewise.
9328 [C99-based-standards] (SCNi64): Likewise.
9329 [C99-based-standards] (SCNo64): Likewise.
9330 [C99-based-standards] (SCNu64): Likewise.
9331 [C99-based-standards] (SCNx64): Likewise.
9332 [C99-based-standards] (PRIdLEAST64): Likewise.
9333 [C99-based-standards] (PRIiLEAST64): Likewise.
9334 [C99-based-standards] (PRIoLEAST64): Likewise.
9335 [C99-based-standards] (PRIuLEAST64): Likewise.
9336 [C99-based-standards] (PRIxLEAST64): Likewise.
9337 [C99-based-standards] (PRIXLEAST64): Likewise.
9338 [C99-based-standards] (SCNdLEAST64): Likewise.
9339 [C99-based-standards] (SCNiLEAST64): Likewise.
9340 [C99-based-standards] (SCNoLEAST64): Likewise.
9341 [C99-based-standards] (SCNuLEAST64): Likewise.
9342 [C99-based-standards] (SCNxLEAST64): Likewise.
9343 [C99-based-standards] (PRIdFAST64): Likewise.
9344 [C99-based-standards] (PRIiFAST64): Likewise.
9345 [C99-based-standards] (PRIoFAST64): Likewise.
9346 [C99-based-standards] (PRIuFAST64): Likewise.
9347 [C99-based-standards] (PRIxFAST64): Likewise.
9348 [C99-based-standards] (PRIXFAST64): Likewise.
9349 [C99-based-standards] (SCNdFAST64): Likewise.
9350 [C99-based-standards] (SCNiFAST64): Likewise.
9351 [C99-based-standards] (SCNoFAST64): Likewise.
9352 [C99-based-standards] (SCNuFAST64): Likewise.
9353 [C99-based-standards] (SCNxFAST64): Likewise.
9354 [C99-based-standards] (PRIdMAX): Likewise.
9355 [C99-based-standards] (PRIiMAX): Likewise.
9356 [C99-based-standards] (PRIoMAX): Likewise.
9357 [C99-based-standards] (PRIuMAX): Likewise.
9358 [C99-based-standards] (PRIxMAX): Likewise.
9359 [C99-based-standards] (PRIXMAX): Likewise.
9360 [C99-based-standards] (SCNdMAX): Likewise.
9361 [C99-based-standards] (SCNiMAX): Likewise.
9362 [C99-based-standards] (SCNoMAX): Likewise.
9363 [C99-based-standards] (SCNuMAX): Likewise.
9364 [C99-based-standards] (SCNxMAX): Likewise.
9365 [C99-based-standards] (PRIdPTR): Likewise.
9366 [C99-based-standards] (PRIiPTR): Likewise.
9367 [C99-based-standards] (PRIoPTR): Likewise.
9368 [C99-based-standards] (PRIuPTR): Likewise.
9369 [C99-based-standards] (PRIxPTR): Likewise.
9370 [C99-based-standards] (PRIXPTR): Likewise.
9371 [C99-based-standards] (SCNdPTR): Likewise.
9372 [C99-based-standards] (SCNiPTR): Likewise.
9373 [C99-based-standards] (SCNoPTR): Likewise.
9374 [C99-based-standards] (SCNuPTR): Likewise.
9375 [C99-based-standards] (SCNxPTR): Likewise.
9376 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9377 allow.
9378 * conform/data/stdint.h-data: Update comments to clarify
9379 requirements.
9380 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9381 type.
9382 [C99-based standards] (INT8_MAX): Likewise.
9383 [C99-based standards] (INT16_MIN): Likewise.
9384 [C99-based standards] (INT16_MAX): Likewise.
9385 [C99-based standards] (INT32_MIN): Likewise.
9386 [C99-based standards] (INT32_MAX): Likewise.
9387 [C99-based standards] (INT64_MIN): Likewise.
9388 [C99-based standards] (INT64_MAX): Likewise.
9389 [C99-based standards] (UINT8_MAX): Likewise.
9390 [C99-based standards] (UINT16_MAX): Likewise.
9391 [C99-based standards] (UINT32_MAX): Likewise.
9392 [C99-based standards] (UINT64_MAX): Likewise.
9393 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9394 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9395 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9396 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9397 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9398 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9399 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9400 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9401 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9402 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9403 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9404 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9405 [C99-based standards] (INT_FAST8_MIN): Likewise.
9406 [C99-based standards] (INT_FAST8_MAX): Likewise.
9407 [C99-based standards] (INT_FAST16_MIN): Likewise.
9408 [C99-based standards] (INT_FAST16_MAX): Likewise.
9409 [C99-based standards] (INT_FAST32_MIN): Likewise.
9410 [C99-based standards] (INT_FAST32_MAX): Likewise.
9411 [C99-based standards] (INT_FAST64_MIN): Likewise.
9412 [C99-based standards] (INT_FAST64_MAX): Likewise.
9413 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9414 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9415 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9416 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9417 [C99-based standards] (INTPTR_MIN): Likewise.
9418 [C99-based standards] (INTPTR_MAX): Likewise.
9419 [C99-based standards] (UINTPTR_MAX): Likewise.
9420 [C99-based standards] (INTMAX_MIN): Likewise.
9421 [C99-based standards] (INTMAX_MAX): Likewise.
9422 [C99-based standards] (UINTMAX_MAX): Likewise.
9423 [C99-based standards] (PTRDIFF_MIN): Likewise.
9424 [C99-based standards] (PTRDIFF_MAX): Likewise.
9425 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9426 [C99-based standards] (SIZE_MAX): Likewise.
9427 [C99-based standards] (WCHAR_MAX): Likewise.
9428 [C99-based standards] (WINT_MAX): Likewise.
9429 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9430 constraint on value.
9431 [C99-based standards] (WCHAR_MIN): Likewise.
9432 [C99-based standards] (WINT_MIN): Likewise.
9433 [C99-based standards] (*_t): Allow.
9434 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9435 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9436 Include math.h-data and complex.h-data. Remove all expectations
9437 of math.h and complex.h contents.
9438 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9439 at end of line.
9440 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9441 (struct tm): Expect tag.
9442 [C99-based-standards] (wcstof): Expect function.
9443 [C99-based-standards] (wcstold): Likewise.
9444 [C99-based-standards] (wcstoll): Likewise.
9445 [C99-based-standards] (wcstoull): Likewise.
9446 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9447 macro-int-constant. Specify type.
9448 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9449 constraint on value.
9450 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9451 Specify type.
9452 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9453 Specify value.
9454 [ISO C standards]: Do not allow headers.
9455 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9456 wcs[abcdefghijklmnopqrstuvwxyz]*.
9457 [ISO C standards] (*_t): Do not allow.
9458 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9459 Expect function.
9460 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9461 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9462 Specify type.
9463 [ISO C standards]: Do not allow headers.
9464 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9465 is[abcdefghijklmnopqrstuvwxyz]*.
9466 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9467 to[abcdefghijklmnopqrstuvwxyz]*.
9468 [ISO C standards] (*_t): Do not allow.
9469 * conform/data/stdalign.h-data: New file.
9470 * conform/data/stdbool.h-data: Likewise.
9471 * conform/data/stdnoreturn.h-data: Likewise.
9472
7514feb8
RM
94732012-11-07 Roland McGrath <roland@hack.frob.com>
9474
9475 [BZ #14815]
9476 * manual/filesys.texi (Directory Entries): Typo fix.
9477 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9478
19b2ecfc
MS
94792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9480
9481 * elf/elf.h (EM_AARCH64): New macro.
9482 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9483 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9484 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9485 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9486 (R_AARCH64_TLSDESC): Likewise.
9487 (NT_ARM_TLS): Likewise.
9488 (NT_ARM_HW_BREAK): Likewise.
9489 (NT_ARM_HW_WATCH): Likewise.
9490
60e235ee
JM
94912012-11-07 Joseph Myers <joseph@codesourcery.com>
9492
9493 [BZ #14811]
9494 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9495 (__ieee754_powl): Saturate nonzero exponents with absolute value
9496 below 0x1p-79 to +/- 0x1p-79.
9497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9498 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9499 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9500 nonzero exponents with absolute value below 0x1p-32 to +/-
9501 0x1p-32.
9502 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9503 (__ieee754_powl): Saturate nonzero exponents with absolute value
9504 below 0x1p-79 to +/- 0x1p-79.
9505 * math/libm-test.inc (pow_test): Add more tests.
9506
0ab234b7
AK
95072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9508
9509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9510 _dl_s390_cap_flags with kernel. Increase string length.
9511 (_dl_s390_platforms): Add z196 and zEC12.
9512
45832f74
JM
95132012-11-07 Joseph Myers <joseph@codesourcery.com>
9514
9515 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9516 Change XOPEN21K to XOPEN2K.
9517
19218757
MK
95182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9519
9520 * string/memmove.c: Use memcpy when possible.
9521
c5f45721
AJ
95222012-11-06 Andreas Jaeger <aj@suse.de>
9523
9524 * po/eo.po: Update from translation team.
9525
82477c28
JM
95262012-11-06 Joseph Myers <joseph@codesourcery.com>
9527
9528 [BZ #14793]
9529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9530 exponent and small x and y exponents, scale x or y up. Increase
9531 by 2 the exponent used in scaling up.
9532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9534 * math/libm-test.inc (fma_test): Add more tests.
9535 (fma_test_towardzero): Likewise.
9536 (fma_test_downward): Likewise.
9537 (fma_test_upward): Likewise.
9538
99252c8c
JM
95392012-11-05 Joseph Myers <joseph@codesourcery.com>
9540
acfa885f
JM
9541 [BZ #14805]
9542 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9543 fenv_t *.
9544
99252c8c
JM
9545 [BZ #14801]
9546 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9547 namespace for names of struct fields.
9548 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9549 fenv_t fields.
9550 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9551 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9552
d6d98dea
ST
95532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9554
9555 [BZ #3665]
9556 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9557
e10bb107
TS
95582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9559
9560 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9561 PTR_DEMANGLE.
9562
9563 [BZ #5246]
9564 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9565 PTR_DEMANGLE.
9566
a0c2940d
JM
95672012-11-04 Joseph Myers <joseph@codesourcery.com>
9568
9569 [BZ #14797]
9570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9571 definitely overflow as x * y not x * y + z.
9572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9574 * math/libm-test.inc (fma_test): Add more tests.
9575 (fma_test_towardzero): Likewise.
9576 (fma_test_downward): Likewise.
9577 (fma_test_upward): Likewise.
9578
b830319d
TS
95792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9580
9581 [BZ #157]
9582
9583 * include/stub-tag.h: Remove file.
9584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9585 '#include' of it.
9586 * manual/maint.texi (Porting): Don't reference it.
9587 * Makerules ($(objpfx)stubs): Likewise.
9588 * dirent/closedir.c: Don't include <stub-tag.h>.
9589 * dirent/dirfd.c: Likewise.
9590 * dirent/fdopendir.c: Likewise.
9591 * dirent/getdents.c: Likewise.
9592 * dirent/getdents64.c: Likewise.
9593 * dirent/opendir.c: Likewise.
9594 * dirent/readdir.c: Likewise.
9595 * dirent/readdir64.c: Likewise.
9596 * dirent/readdir64_r.c: Likewise.
9597 * dirent/readdir_r.c: Likewise.
9598 * dirent/rewinddir.c: Likewise.
9599 * dirent/seekdir.c: Likewise.
9600 * dirent/telldir.c: Likewise.
9601 * gmon/profil.c: Likewise.
9602 * grp/setgroups.c: Likewise.
9603 * inet/if_index.c: Likewise.
9604 * io/access.c: Likewise.
9605 * io/chdir.c: Likewise.
9606 * io/chmod.c: Likewise.
9607 * io/chown.c: Likewise.
9608 * io/close.c: Likewise.
9609 * io/dup.c: Likewise.
9610 * io/dup2.c: Likewise.
9611 * io/dup3.c: Likewise.
9612 * io/euidaccess.c: Likewise.
9613 * io/faccessat.c: Likewise.
9614 * io/fchdir.c: Likewise.
9615 * io/fchmod.c: Likewise.
9616 * io/fchmodat.c: Likewise.
9617 * io/fchown.c: Likewise.
9618 * io/fchownat.c: Likewise.
9619 * io/fcntl.c: Likewise.
9620 * io/flock.c: Likewise.
9621 * io/fstatfs.c: Likewise.
9622 * io/fstatfs64.c: Likewise.
9623 * io/fstatvfs.c: Likewise.
9624 * io/fstatvfs64.c: Likewise.
9625 * io/futimens.c: Likewise.
9626 * io/fxstat.c: Likewise.
9627 * io/fxstat64.c: Likewise.
9628 * io/fxstatat.c: Likewise.
9629 * io/fxstatat64.c: Likewise.
9630 * io/getcwd.c: Likewise.
9631 * io/isatty.c: Likewise.
9632 * io/lchmod.c: Likewise.
9633 * io/lchown.c: Likewise.
9634 * io/link.c: Likewise.
9635 * io/linkat.c: Likewise.
9636 * io/lseek.c: Likewise.
9637 * io/lseek64.c: Likewise.
9638 * io/lxstat64.c: Likewise.
9639 * io/mkdir.c: Likewise.
9640 * io/mkdirat.c: Likewise.
9641 * io/mkfifo.c: Likewise.
9642 * io/mkfifoat.c: Likewise.
9643 * io/open.c: Likewise.
9644 * io/open64.c: Likewise.
9645 * io/openat.c: Likewise.
9646 * io/openat64.c: Likewise.
9647 * io/pipe.c: Likewise.
9648 * io/pipe2.c: Likewise.
9649 * io/poll.c: Likewise.
9650 * io/posix_fadvise.c: Likewise.
9651 * io/posix_fadvise64.c: Likewise.
9652 * io/posix_fallocate.c: Likewise.
9653 * io/posix_fallocate64.c: Likewise.
9654 * io/read.c: Likewise.
9655 * io/readlink.c: Likewise.
9656 * io/readlinkat.c: Likewise.
9657 * io/rmdir.c: Likewise.
9658 * io/sendfile.c: Likewise.
9659 * io/sendfile64.c: Likewise.
9660 * io/statfs.c: Likewise.
9661 * io/statfs64.c: Likewise.
9662 * io/statvfs.c: Likewise.
9663 * io/statvfs64.c: Likewise.
9664 * io/symlink.c: Likewise.
9665 * io/symlinkat.c: Likewise.
9666 * io/ttyname.c: Likewise.
9667 * io/ttyname_r.c: Likewise.
9668 * io/umask.c: Likewise.
9669 * io/unlink.c: Likewise.
9670 * io/unlinkat.c: Likewise.
9671 * io/utime.c: Likewise.
9672 * io/utimensat.c: Likewise.
9673 * io/write.c: Likewise.
9674 * io/xmknod.c: Likewise.
9675 * io/xmknodat.c: Likewise.
9676 * io/xstat.c: Likewise.
9677 * io/xstat64.c: Likewise.
9678 * login/getpt.c: Likewise.
9679 * login/grantpt.c: Likewise.
9680 * login/unlockpt.c: Likewise.
9681 * math/e_acoshl.c: Likewise.
9682 * math/e_acosl.c: Likewise.
9683 * math/e_asinl.c: Likewise.
9684 * math/e_atan2l.c: Likewise.
9685 * math/e_atanhl.c: Likewise.
9686 * math/e_coshl.c: Likewise.
9687 * math/e_expl.c: Likewise.
9688 * math/e_fmodl.c: Likewise.
9689 * math/e_gammal_r.c: Likewise.
9690 * math/e_hypotl.c: Likewise.
9691 * math/e_j0l.c: Likewise.
9692 * math/e_j1l.c: Likewise.
9693 * math/e_jnl.c: Likewise.
9694 * math/e_lgammal_r.c: Likewise.
9695 * math/e_log10l.c: Likewise.
9696 * math/e_log2l.c: Likewise.
9697 * math/e_logl.c: Likewise.
9698 * math/e_powl.c: Likewise.
9699 * math/e_rem_pio2l.c: Likewise.
9700 * math/e_sinhl.c: Likewise.
9701 * math/e_sqrtl.c: Likewise.
9702 * math/fclrexcpt.c: Likewise.
9703 * math/fedisblxcpt.c: Likewise.
9704 * math/feenablxcpt.c: Likewise.
9705 * math/fegetenv.c: Likewise.
9706 * math/fegetexcept.c: Likewise.
9707 * math/fegetround.c: Likewise.
9708 * math/feholdexcpt.c: Likewise.
9709 * math/fesetenv.c: Likewise.
9710 * math/fesetround.c: Likewise.
9711 * math/feupdateenv.c: Likewise.
9712 * math/fgetexcptflg.c: Likewise.
9713 * math/fraiseexcpt.c: Likewise.
9714 * math/fsetexcptflg.c: Likewise.
9715 * math/ftestexcept.c: Likewise.
9716 * math/k_cosl.c: Likewise.
9717 * math/k_rem_pio2l.c: Likewise.
9718 * math/k_sinl.c: Likewise.
9719 * math/k_tanl.c: Likewise.
9720 * math/s_asinhl.c: Likewise.
9721 * math/s_atanl.c: Likewise.
9722 * math/s_cbrtl.c: Likewise.
9723 * math/s_erfl.c: Likewise.
9724 * math/s_expm1l.c: Likewise.
9725 * math/s_log1pl.c: Likewise.
9726 * math/s_tanhl.c: Likewise.
9727 * misc/acct.c: Likewise.
9728 * misc/brk.c: Likewise.
9729 * misc/chflags.c: Likewise.
9730 * misc/chroot.c: Likewise.
9731 * misc/fchflags.c: Likewise.
9732 * misc/fgetxattr.c: Likewise.
9733 * misc/flistxattr.c: Likewise.
9734 * misc/fremovexattr.c: Likewise.
9735 * misc/fsetxattr.c: Likewise.
9736 * misc/fsync.c: Likewise.
9737 * misc/ftruncate.c: Likewise.
9738 * misc/futimes.c: Likewise.
9739 * misc/futimesat.c: Likewise.
9740 * misc/getdomain.c: Likewise.
9741 * misc/getdtsz.c: Likewise.
9742 * misc/gethostid.c: Likewise.
9743 * misc/gethostname.c: Likewise.
9744 * misc/getloadavg.c: Likewise.
9745 * misc/getpagesize.c: Likewise.
9746 * misc/getsysstats.c: Likewise.
9747 * misc/getxattr.c: Likewise.
9748 * misc/gtty.c: Likewise.
9749 * misc/ioctl.c: Likewise.
9750 * misc/lgetxattr.c: Likewise.
9751 * misc/listxattr.c: Likewise.
9752 * misc/llistxattr.c: Likewise.
9753 * misc/lremovexattr.c: Likewise.
9754 * misc/lsetxattr.c: Likewise.
9755 * misc/lutimes.c: Likewise.
9756 * misc/madvise.c: Likewise.
9757 * misc/mincore.c: Likewise.
9758 * misc/mlock.c: Likewise.
9759 * misc/mlockall.c: Likewise.
9760 * misc/mmap.c: Likewise.
9761 * misc/mprotect.c: Likewise.
9762 * misc/msync.c: Likewise.
9763 * misc/munlock.c: Likewise.
9764 * misc/munlockall.c: Likewise.
9765 * misc/munmap.c: Likewise.
9766 * misc/preadv.c: Likewise.
9767 * misc/preadv64.c: Likewise.
9768 * misc/ptrace.c: Likewise.
9769 * misc/pwritev.c: Likewise.
9770 * misc/pwritev64.c: Likewise.
9771 * misc/readv.c: Likewise.
9772 * misc/reboot.c: Likewise.
9773 * misc/remap_file_pages.c: Likewise.
9774 * misc/removexattr.c: Likewise.
9775 * misc/revoke.c: Likewise.
9776 * misc/select.c: Likewise.
9777 * misc/setdomain.c: Likewise.
9778 * misc/setegid.c: Likewise.
9779 * misc/seteuid.c: Likewise.
9780 * misc/sethostid.c: Likewise.
9781 * misc/sethostname.c: Likewise.
9782 * misc/setregid.c: Likewise.
9783 * misc/setreuid.c: Likewise.
9784 * misc/setxattr.c: Likewise.
9785 * misc/sstk.c: Likewise.
9786 * misc/stty.c: Likewise.
9787 * misc/swapoff.c: Likewise.
9788 * misc/swapon.c: Likewise.
9789 * misc/sync.c: Likewise.
9790 * misc/syncfs.c: Likewise.
9791 * misc/syscall.c: Likewise.
9792 * misc/truncate.c: Likewise.
9793 * misc/ualarm.c: Likewise.
9794 * misc/usleep.c: Likewise.
9795 * misc/ustat.c: Likewise.
9796 * misc/utimes.c: Likewise.
9797 * misc/vhangup.c: Likewise.
9798 * misc/writev.c: Likewise.
9799 * posix/_exit.c: Likewise.
9800 * posix/alarm.c: Likewise.
9801 * posix/execve.c: Likewise.
9802 * posix/fexecve.c: Likewise.
9803 * posix/fork.c: Likewise.
9804 * posix/fpathconf.c: Likewise.
9805 * posix/getaddrinfo.c: Likewise.
9806 * posix/getegid.c: Likewise.
9807 * posix/geteuid.c: Likewise.
9808 * posix/getgid.c: Likewise.
9809 * posix/getgroups.c: Likewise.
9810 * posix/getlogin.c: Likewise.
9811 * posix/getlogin_r.c: Likewise.
9812 * posix/getpgid.c: Likewise.
9813 * posix/getpid.c: Likewise.
9814 * posix/getppid.c: Likewise.
9815 * posix/getresgid.c: Likewise.
9816 * posix/getresuid.c: Likewise.
9817 * posix/getsid.c: Likewise.
9818 * posix/getuid.c: Likewise.
9819 * posix/glob64.c: Likewise.
9820 * posix/nanosleep.c: Likewise.
9821 * posix/pathconf.c: Likewise.
9822 * posix/pause.c: Likewise.
9823 * posix/posix_madvise.c: Likewise.
9824 * posix/pread.c: Likewise.
9825 * posix/pread64.c: Likewise.
9826 * posix/pwrite.c: Likewise.
9827 * posix/pwrite64.c: Likewise.
9828 * posix/sched_getaffinity.c: Likewise.
9829 * posix/sched_getp.c: Likewise.
9830 * posix/sched_gets.c: Likewise.
9831 * posix/sched_primax.c: Likewise.
9832 * posix/sched_primin.c: Likewise.
9833 * posix/sched_rr_gi.c: Likewise.
9834 * posix/sched_setaffinity.c: Likewise.
9835 * posix/sched_setp.c: Likewise.
9836 * posix/sched_sets.c: Likewise.
9837 * posix/sched_yield.c: Likewise.
9838 * posix/setgid.c: Likewise.
9839 * posix/setlogin.c: Likewise.
9840 * posix/setpgid.c: Likewise.
9841 * posix/setresgid.c: Likewise.
9842 * posix/setresuid.c: Likewise.
9843 * posix/setsid.c: Likewise.
9844 * posix/setuid.c: Likewise.
9845 * posix/sleep.c: Likewise.
9846 * posix/spawni.c: Likewise.
9847 * posix/sysconf.c: Likewise.
9848 * posix/times.c: Likewise.
9849 * posix/wait.c: Likewise.
9850 * posix/wait3.c: Likewise.
9851 * posix/wait4.c: Likewise.
9852 * posix/waitpid.c: Likewise.
9853 * resolv/gai_sigqueue.c: Likewise.
9854 * resource/getpriority.c: Likewise.
9855 * resource/getrlimit.c: Likewise.
9856 * resource/getrusage.c: Likewise.
9857 * resource/nice.c: Likewise.
9858 * resource/setpriority.c: Likewise.
9859 * resource/setrlimit.c: Likewise.
9860 * resource/ulimit.c: Likewise.
9861 * rt/aio_cancel.c: Likewise.
9862 * rt/aio_fsync.c: Likewise.
9863 * rt/aio_read.c: Likewise.
9864 * rt/aio_sigqueue.c: Likewise.
9865 * rt/aio_suspend.c: Likewise.
9866 * rt/aio_write.c: Likewise.
9867 * rt/clock_getres.c: Likewise.
9868 * rt/clock_gettime.c: Likewise.
9869 * rt/clock_nanosleep.c: Likewise.
9870 * rt/clock_settime.c: Likewise.
9871 * rt/lio_listio.c: Likewise.
9872 * rt/mq_close.c: Likewise.
9873 * rt/mq_getattr.c: Likewise.
9874 * rt/mq_notify.c: Likewise.
9875 * rt/mq_open.c: Likewise.
9876 * rt/mq_receive.c: Likewise.
9877 * rt/mq_send.c: Likewise.
9878 * rt/mq_setattr.c: Likewise.
9879 * rt/mq_timedreceive.c: Likewise.
9880 * rt/mq_timedsend.c: Likewise.
9881 * rt/mq_unlink.c: Likewise.
9882 * rt/shm_open.c: Likewise.
9883 * rt/shm_unlink.c: Likewise.
9884 * rt/timer_create.c: Likewise.
9885 * rt/timer_delete.c: Likewise.
9886 * rt/timer_getoverr.c: Likewise.
9887 * rt/timer_gettime.c: Likewise.
9888 * rt/timer_settime.c: Likewise.
9889 * setjmp/__longjmp.c: Likewise.
9890 * setjmp/setjmp.c: Likewise.
9891 * signal/kill.c: Likewise.
9892 * signal/killpg.c: Likewise.
9893 * signal/raise.c: Likewise.
9894 * signal/sigaction.c: Likewise.
9895 * signal/sigaltstack.c: Likewise.
9896 * signal/sigblock.c: Likewise.
9897 * signal/sigignore.c: Likewise.
9898 * signal/sigintr.c: Likewise.
9899 * signal/signal.c: Likewise.
9900 * signal/sigpause.c: Likewise.
9901 * signal/sigpending.c: Likewise.
9902 * signal/sigqueue.c: Likewise.
9903 * signal/sigreturn.c: Likewise.
9904 * signal/sigset.c: Likewise.
9905 * signal/sigsetmask.c: Likewise.
9906 * signal/sigstack.c: Likewise.
9907 * signal/sigsuspend.c: Likewise.
9908 * signal/sigtimedwait.c: Likewise.
9909 * signal/sigvec.c: Likewise.
9910 * signal/sigwait.c: Likewise.
9911 * signal/sigwaitinfo.c: Likewise.
9912 * signal/sysv_signal.c: Likewise.
9913 * socket/accept.c: Likewise.
9914 * socket/accept4.c: Likewise.
9915 * socket/bind.c: Likewise.
9916 * socket/connect.c: Likewise.
9917 * socket/getpeername.c: Likewise.
9918 * socket/getsockname.c: Likewise.
9919 * socket/getsockopt.c: Likewise.
9920 * socket/isfdtype.c: Likewise.
9921 * socket/listen.c: Likewise.
9922 * socket/recv.c: Likewise.
9923 * socket/recvfrom.c: Likewise.
9924 * socket/recvmsg.c: Likewise.
9925 * socket/send.c: Likewise.
9926 * socket/sendmsg.c: Likewise.
9927 * socket/sendto.c: Likewise.
9928 * socket/setsockopt.c: Likewise.
9929 * socket/shutdown.c: Likewise.
9930 * socket/sockatmark.c: Likewise.
9931 * socket/socket.c: Likewise.
9932 * socket/socketpair.c: Likewise.
9933 * stdio-common/ctermid.c: Likewise.
9934 * stdio-common/cuserid.c: Likewise.
9935 * stdio-common/remove.c: Likewise.
9936 * stdio-common/rename.c: Likewise.
9937 * stdio-common/renameat.c: Likewise.
9938 * stdio-common/tempname.c: Likewise.
9939 * stdlib/getcontext.c: Likewise.
9940 * stdlib/makecontext.c: Likewise.
9941 * stdlib/setcontext.c: Likewise.
9942 * stdlib/swapcontext.c: Likewise.
9943 * stdlib/system.c: Likewise.
9944 * streams/fattach.c: Likewise.
9945 * streams/fdetach.c: Likewise.
9946 * streams/getmsg.c: Likewise.
9947 * streams/getpmsg.c: Likewise.
9948 * streams/putmsg.c: Likewise.
9949 * streams/putpmsg.c: Likewise.
9950 * sysdeps/unix/bsd/getpt.c: Likewise.
9951 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9952 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9953 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9955 Likewise.
9956 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9957 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9958 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9959 * sysvipc/msgctl.c: Likewise.
9960 * sysvipc/msgget.c: Likewise.
9961 * sysvipc/msgrcv.c: Likewise.
9962 * sysvipc/msgsnd.c: Likewise.
9963 * sysvipc/semctl.c: Likewise.
9964 * sysvipc/semget.c: Likewise.
9965 * sysvipc/semop.c: Likewise.
9966 * sysvipc/semtimedop.c: Likewise.
9967 * sysvipc/shmat.c: Likewise.
9968 * sysvipc/shmctl.c: Likewise.
9969 * sysvipc/shmdt.c: Likewise.
9970 * sysvipc/shmget.c: Likewise.
9971 * termios/tcdrain.c: Likewise.
9972 * termios/tcflow.c: Likewise.
9973 * termios/tcflush.c: Likewise.
9974 * termios/tcgetattr.c: Likewise.
9975 * termios/tcgetpgrp.c: Likewise.
9976 * termios/tcsendbrk.c: Likewise.
9977 * termios/tcsetattr.c: Likewise.
9978 * termios/tcsetpgrp.c: Likewise.
9979 * time/adjtime.c: Likewise.
9980 * time/clock.c: Likewise.
9981 * time/getitimer.c: Likewise.
9982 * time/gettimeofday.c: Likewise.
9983 * time/setitimer.c: Likewise.
9984 * time/settimeofday.c: Likewise.
9985 * time/stime.c: Likewise.
9986 * time/time.c: Likewise.
9987
99882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9989
a20492cf
PT
9990 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9991 /usr/old/bin.
9992
72e182e3
PT
9993 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9994 instead of spaces.
9995 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9996
fbeafede
JM
99972012-11-03 Joseph Myers <joseph@codesourcery.com>
9998
5b5b04d6
JM
9999 [BZ #14796]
10000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10001 FE_TONEAREST before applying Dekker multiplication and Knuth
10002 addition. Clear inexact exceptions and check for exact zero
10003 results afterwards.
10004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10007 * math/libm-test.inc (fma_test): Add more tests.
10008 (fma_test_towardzero): Likewise.
10009 (fma_test_downward): Likewise.
10010 (fma_test_upward): Likewise.
10011 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10012 function.
10013 (libc_fesetround): New macro.
10014 (libc_fesetroundf): Likewise.
10015 (libc_fesetroundl): Likewise.
10016 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10017 function.
10018 (libc_fesetround_387): Likewise.
10019 (libc_fesetroundf): New macro.
10020 (libc_fesetround): Likewise.
10021 (libc_fesetroundl): Likewise.
10022 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10023 function.
10024 (libc_fesetroundf): New macro.
10025 (libc_fesetround): Likewise.
10026 (libc_fesetroundl): Likewise.
10027 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10028 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10029 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10030 libm_hidden_ver.
10031 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10032 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10033 libm_hidden_def.
10034 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10035 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10036 libm_hidden_ver.
10037 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10038 libm_hidden_def.
10039
fbeafede
JM
10040 [BZ #3439]
10041 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10042 integer constant usable in #if and use that to give value to enum
10043 constant.
10044 (FE_DIVBYZERO): Likewise.
10045 (FE_UNDERFLOW): Likewise.
10046 (FE_OVERFLOW): Likewise.
10047 (FE_INVALID): Likewise.
10048 (FE_INVALID_SNAN): Likewise.
10049 (FE_INVALID_ISI): Likewise.
10050 (FE_INVALID_IDI): Likewise.
10051 (FE_INVALID_ZDZ): Likewise.
10052 (FE_INVALID_IMZ): Likewise.
10053 (FE_INVALID_COMPARE): Likewise.
10054 (FE_INVALID_SOFTWARE): Likewise.
10055 (FE_INVALID_SQRT): Likewise.
10056 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10057 (FE_TONEAREST): Likewise.
10058 (FE_TOWARDZERO): Likewise.
10059 (FE_UPWARD): Likewise.
10060 (FE_DOWNWARD): Likewise.
10061 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10062 (FE_DIVBYZERO): Likewise.
10063 (FE_OVERFLOW): Likewise.
10064 (FE_UNDERFLOW): Likewise.
10065 (FE_INEXACT): Likewise.
10066 (FE_TONEAREST): Likewise.
10067 (FE_DOWNWARD): Likewise.
10068 (FE_UPWARD): Likewise.
10069 (FE_TOWARDZERO): Likewise.
10070 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10071 (FE_UNDERFLOW): Likewise.
10072 (FE_OVERFLOW): Likewise.
10073 (FE_DIVBYZERO): Likewise.
10074 (FE_INVALID): Likewise.
10075 (FE_TONEAREST): Likewise.
10076 (FE_TOWARDZERO): Likewise.
10077 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10078 (FE_OVERFLOW): Likewise.
10079 (FE_UNDERFLOW): Likewise.
10080 (FE_DIVBYZERO): Likewise.
10081 (FE_INEXACT): Likewise.
10082 (FE_TONEAREST): Likewise.
10083 (FE_TOWARDZERO): Likewise.
10084 (FE_UPWARD): Likewise.
10085 (FE_DOWNWARD): Likewise.
10086 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10087 (FE_DIVBYZERO): Likewise.
10088 (FE_OVERFLOW): Likewise.
10089 (FE_UNDERFLOW): Likewise.
10090 (FE_INEXACT): Likewise.
10091 (FE_TONEAREST): Likewise.
10092 (FE_DOWNWARD): Likewise.
10093 (FE_UPWARD): Likewise.
10094 (FE_TOWARDZERO): Likewise.
10095
105ca950
CM
100962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10097
10098 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10099
a542b389
AS
101002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10101
10102 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10103 commands. Quote $PWD.
10104 (blacklist_exports): Don't use remove_newlines. Replace "declare
10105 -x" by "export".
10106 (remove_newlines): Remove.
10107
f62c8abc
L
101082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10111 * stdlib/stdlib.h (atof): Moved to ...
10112 * include/bits/stdlib-float.h: Here. New file.
10113 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10114 * stdlib/bits/stdlib-float.h: New file.
10115 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10116 -mno-sse -mno-mmx.
10117 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10118 <xmmintrin.h>.
10119
0155d5b2
JM
101202012-11-02 Joseph Myers <joseph@codesourcery.com>
10121
a68d0680
JM
10122 * conform/conformtest.pl (@headers): Add fenv.h.
10123 * conform/data/fenv.h-data: New file.
10124 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10125 include of <math/fenv.h>.
10126
caf7f573
JM
10127 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10128 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10129 && !UNIX98]. Enables tests for XOPEN2K8.
10130 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10131 POSIX2008]: Likewise.
10132
6c073ad6
JM
10133 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10134 (struct rusage): Do not expect type or its members.
10135
0155d5b2
JM
10136 [BZ #3439]
10137 * math/math.h (FP_NAN): Define macro to integer constant usable in
10138 #if and use that to give value to enum constant.
10139 (FP_INFINITE): Likewise.
10140 (FP_ZERO): Likewise.
10141 (FP_SUBNORMAL): Likewise.
10142 (FP_NORMAL): Likewise.
10143
b5dcacb4
AS
101442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10145
10146 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10147 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10148 arguments.
10149
f7934be8
RM
101502012-11-02 Roland McGrath <roland@hack.frob.com>
10151
10152 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10153 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10154 autoconf-time if not.
10155 * configure.in: Remove AC_PREREQ.
10156
d7d08bde
TMQMF
101572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10158
10159 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10160 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10161 of the internal implementation.
10162
dcdae19a
JM
101632012-11-02 Joseph Myers <joseph@codesourcery.com>
10164
10165 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10166 except include of <misc/sys/syslog.h>.
10167
d6cffd3e
AS
101682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10169
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10171 function returns with a NULL context exit with zero.
10172
b3563932
TMQMF
101732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10174
10175 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10176
b288a93d
L
101772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10180 (run_program_cmd): This.
10181 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10182 (tst_langinfo): New variable. Use it.
10183
a2421a68
SAS
101842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10185
10186 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10187 floating point opcodes.
10188
6f796e1b
TS
101892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10190
7402596b
TS
10191 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10192 variable.
10193
d0d4f868
TS
10194 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10195
6f796e1b
TS
10196 * sysdeps/mach/hurd/powerpc: Remove directory.
10197 * sysdeps/mach/powerpc: Likewise.
10198
4da224a2
AS
101992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10200
10201 * scripts/check-local-headers.sh: Ignore c++ headers.
10202
341dd673
TS
102032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10204
10205 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10206 __libc_cleanup_region_start argument.
10207
473611b2
JM
102082012-11-01 Joseph Myers <joseph@codesourcery.com>
10209
10210 [BZ #14784]
10211 [BZ #14785]
10212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10213 x * y using scaling, not as x * y + z.
10214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10216 * math/libm-test.inc (fma_test): Add more tests.
10217 (fma_test_towardzero): Likewise.
10218 (fma_test_downward): Likewise.
10219 (fma_test_upward): Likewise.
10220
4078da3d
TS
102212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10222
10223 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10224
903252aa
JM
102252012-10-31 Joseph Myers <joseph@codesourcery.com>
10226
10227 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10228 New variable.
10229
cbc818d0
TS
102302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10231
10232 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10233
5a03cb1e
AS
102342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10237 Fix sort order.
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10239 Likewise.
10240
90aff2ff
TMQMF
102412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10242
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10244 Fix the order of the list for glibc 2.17.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10246 Likewise.
10247
1818fcb7
AS
102482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10251
ef82f4da
JM
102522012-10-31 Joseph Myers <joseph@codesourcery.com>
10253
16a0e2ec
JM
10254 [BZ #14610]
10255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10256 for low part of x being zero before using __atanl (y).
10257 * math/libm-test.inc (atan2_test): Add another test.
10258
0eb69512
JM
10259 * manual/install.texi (Configuring and compiling): Document
10260 general use of test-wrapper and test-wrapper-env.
10261 * INSTALL: Regenerated.
10262
ef82f4da
JM
10263 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10264 (__fma): Do not extract and scale down low bits on after-rounding
10265 systems when result rounded to normal precision would have normal
10266 exponent.
10267 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10268 (__fmal): Do not extract and scale down low bits on after-rounding
10269 systems when result rounded to normal precision would have normal
10270 exponent.
10271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10272 (__fmal): Do not extract and scale down low bits on after-rounding
10273 systems when result rounded to normal precision would have normal
10274 exponent.
10275 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10276 macro.
10277 (fma_test): Add more tests.
10278 (fma_test_towardzero): Likewise.
10279 (fma_test_downward): Likewise.
10280 (fma_test_upward): Likewise.
10281
954ef0d9
L
102822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10283
10284 * sysdeps/i386/tininess.h: Renamed to ...
10285 * sysdeps/x86/tininess.h: This.
10286 * sysdeps/x86_64/tininess.h: Removed.
10287
df61ffb2
JM
102882012-10-30 Joseph Myers <joseph@codesourcery.com>
10289
10290 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10291 input. Use $(build-program-cmd).
10292 ($(objpfx)tst-array1-static.out): Likewise.
10293 ($(objpfx)tst-array2.out): Likewise.
10294 ($(objpfx)tst-array3.out): Likewise.
10295 ($(objpfx)tst-array4.out): Likewise.
10296 ($(objpfx)tst-array5.out): Likewise.
10297 ($(objpfx)tst-array5-static.out): Likewise.
10298
01767843
CM
102992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10300
47cc1490
CM
10301 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10302 if defined.
10303
01767843
CM
10304 * nss/nsswitch.h (nss_interface_function): Provide new
10305 macro for use with NSS functions.
10306 * grp/initgroups.c: Use new macro.
10307 * nss/getXXbyYY.c: Likewise.
10308 * nss/getXXbyYY_r.c: Likewise.
10309 * nss/getXXent.c: Likewise.
10310 * nss/getXXent_r.c: Likewise.
10311 * sysdeps/posix/getaddrinfo.c: Likewise.
10312
8321aa97
AJ
103132012-10-30 Andreas Jaeger <aj@suse.de>
10314
10315 * po/ru.po: Update Russion translation from translation project.
10316
2a27fd6d
JM
103172012-10-30 Joseph Myers <joseph@codesourcery.com>
10318
8627a232
JM
10319 [BZ #14152]
10320 [BZ #14783]
10321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10322 result and shift together with sticky bit instead of replicating
10323 round-to-nearest rounding.
10324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10326 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10327 missing underflow exceptions.
10328 (fma_test_towardzero): Add more tests.
10329 (fma_test_downward): Likewise.
10330 (fma_test_upward): Likewise.
10331
2a27fd6d
JM
10332 [BZ #14047]
10333 * sysdeps/generic/tininess.h: New file.
10334 * sysdeps/i386/tininess.h: Likewise.
10335 * sysdeps/sh/tininess.h: Likewise.
10336 * sysdeps/x86_64/tininess.h: Likewise.
10337 * stdlib/tst-strtod-underflow.c: Likewise.
10338 * stdlib/tst-tininess.c: Likewise.
10339 * stdlib/strtod_l.c: Include <tininess.h>.
10340 (round_and_return): Do not set errno for exact underflow cases.
10341 Force an underflow exception when setting errno for underflow.
10342 Determine underflow based on rounding to normal precision if
10343 TININESS_AFTER_ROUNDING.
10344 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10345 ERANGE for exact underflow cases.
10346 * stdlib/Makefile (tests): Add tst-tininess and
10347 tst-strtod-underflow.
10348 ($(objpfx)tst-tininess): Use $(link-libm).
10349 ($(objpfx)tst-strtod-underflow): Likewise.
10350
e7170363
AJ
103512012-10-30 Andreas Jaeger <aj@suse.de>
10352
e5088dc6
AJ
10353 [BZ#14767]
10354 * elf/Makefile (tests): Remove conditional for have-initfini-array
10355 since this is now always required and the variable does not exist
10356 anymore.
10357 (tests-static): Likewise.
10358 (modules-names): Likewise.
10359
e7170363 10360 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10361
10362 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10363 merged with constructor/destructor.
10364 (init_array): Likewise.
10365 * elf/tst-array2dep.c (fini_array): Likewise.
10366 (init_array): Likewise.
10367
60457d8a
MF
103682012-10-29 Mike Frysinger <vapier@gentoo.org>
10369
10370 * manual/message.texi: Delete @cartouche tags.
10371
8bece752
PT
103722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10373
94ce799f
PT
10374 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10375 EOPNOTSUPP.
10376 * sysdeps/mach/hurd/fsync.c: Likewise.
10377
8bece752
PT
10378 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10379 [_POSIX_REALTIME_SIGNALS]: Change condition to
10380 [_POSIX_REALTIME_SIGNALS > 0].
10381
86ebe6b1
AJ
103822012-10-27 Andreas Jaeger <aj@suse.de>
10383
10384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10385 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10387 [__WORDSIZE != 64]: Likewise.
10388
54399c08
L
103892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10390
10391 * iconvdata/tst-table.sh: Remove ${SHELL}.
10392 * iconvdata/tst-tables.sh: Likewise.
10393
e2211bed
DM
103942012-10-25 David S. Miller <davem@davemloft.net>
10395
10396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10397 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10398 of strtoull.
10399
f303f97c
DM
10400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10401 ifunc-impl-list.c
10402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10403 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10404 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10405 file.
10406
1e9d84cd
RM
104072012-10-25 Roland McGrath <roland@hack.frob.com>
10408
10409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10410 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10411 __getdirentries.
10412
df381762
JM
104132012-10-25 Joseph Myers <joseph@codesourcery.com>
10414 Jim Blandy <jimb@codesourcery.com>
10415
10416 * scripts/cross-test-ssh.sh: New file.
10417 * manual/install.texi (Configuring and compiling): Document use of
10418 cross-test-ssh.sh.
10419 * INSTALL: Regenerated.
10420
bff64913
PT
104212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10422
10423 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10424 EOPNOTSUPP.
10425
25fe8932
JM
104262012-10-25 Joseph Myers <joseph@codesourcery.com>
10427
10428 * Makeconfig (run-program-prefix): Fix comment.
10429
cc1290d0
JM
104302012-10-24 Joseph Myers <joseph@codesourcery.com>
10431 Jim Blandy <jimb@codesourcery.com>
10432
10433 * Makeconfig (test-wrapper): New variable,
10434 (test-wrapper-env): Likewise.
10435 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10436 (run-built-tests): Define to yes.
10437 (run-program-prefix): Use $(test-wrapper).
10438 (built-program-cmd): Likewise.
10439 * Rules (make-test-out): Use $(test-wrapper-env) and
10440 $(host-built-program-cmd).
10441 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10442 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10443 tst-pathopt.sh.
10444 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10445 $(test-wrapper-env) to tst-rtld-load-self.sh.
10446 ($(objpfx)order2.out): Use $(test-wrapper).
10447 ($(objpfx)tst-initorder.out): Likewise.
10448 ($(objpfx)tst-initorder2.out): Likewise.
10449 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10450 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10451 (test_wrapper_env): New variable. Use it to run ld.so.
10452 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10453 Use it to run ld.so.
10454 (test_wrapper_env): Likewise.
10455 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10456 $(test-wrapper) to run-iconv-test.sh.
10457 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10458 (ICONV): Use $test_wrapper.
10459 * posix/Makefile ($(objpfx)globtest.out): Pass
10460 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10461 globtest.sh, not $(run-program-prefix).
10462 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10463 (test_wrapper): Likewise.
10464 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10465 set together with run_via_rtld_prefix.
10466 (run_program_prefix): Define in terms of test_wrapper and
10467 run_via_rtld_prefix.
10468
6e6249d0
RM
104692012-10-24 Roland McGrath <roland@hack.frob.com>
10470
10471 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10472 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10473 Targets removed.
10474
10475 [BZ #14743]
10476 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10477 Declare __clock_getres, __clock_gettime, __clock_settime,
10478 __clock_nanosleep, and __clock_getcpuclockid.
10479 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10480 Remove librt_hidden_def (clock_gettime).
10481 * sysdeps/unix/clock_gettime.c: Likewise.
10482 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10484 * rt/clock_getres.c: Define __clock_getres as an alias.
10485 * sysdeps/posix/clock_getres.c: Likewise.
10486 * rt/clock_settime.c: Define __clock_settime as an alias.
10487 * sysdeps/unix/clock_settime.c: Likewise.
10488 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10489 * sysdeps/unix/clock_nanosleep.c: Likewise.
10490 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10491 * rt/clock-compat.c: New file.
10492 * rt/Makefile (librt-routines): Add clock-compat and move
10493 $(clock-routines) to ...
10494 (routines): ... here, new variable.
10495 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10496 Don't add get_clockfreq here.
10497 * rt/Versions (libc: GLIBC_2.17): New version set.
10498 Add clock_* symbols here.
10499 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10501 (GLIBC_2.17): Add clock_* symbols.
10502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10506 Likewise.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10508 Likewise.
10509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10513 * NEWS: Mention the move.
10514
10515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10516 Use __open, __read, __close rather than their public counterparts.
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10518 (__get_clockfreq_via_cpuinfo): Likewise.
10519 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10520 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10521
10522 * config.h.in (HAVE_IFUNC): New #undef.
10523 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10524 was successful.
10525 * configure: Regenerated.
10526
0cae3f4b
MF
105272012-10-24 Mike Frysinger <vapier@gentoo.org>
10528
10529 * configure.in: Move READELF check to start of file.
10530 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10531 libc_cv_asm_gnu_indirect_function in the process.
10532 * configure: Regenerated.
10533
8175a253
MF
105342012-10-24 Mike Frysinger <vapier@gentoo.org>
10535
10536 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10537 send the output to /dev/null.
10538 (libc_cv_cc_with_libunwind): Likewise.
10539 (libc_cv_as_noexecstack): Likewise.
10540 * configure: Regenerate.
10541
0708a7d1
JM
105422012-10-24 Joseph Myers <joseph@codesourcery.com>
10543
10b40d85
JM
10544 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10545
0708a7d1
JM
10546 * posix/globtest.sh (TMPDIR): Do not set.
10547 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10548 (testout): Likewise.
10549
9fddec1a
AJ
105502012-10-24 Andreas Jaeger <aj@suse.de>
10551
3a8db22f
AJ
10552 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10553 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10554 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10555 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10556 posix_fadvise64, posix_fallocate64.
10557
9fddec1a
AJ
10558 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10559 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10560 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10561 Likewise.
10562 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10563 Likewise.
10564 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10565
10566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10567 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10568 <bits/fcntl-linux.h>.
10569 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10570
10571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10572 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10573 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10574 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10575 [__WORDSIZE != 64]: Likewise.
10576
ebfd1bbd
JM
105772012-10-23 Joseph Myers <joseph@codesourcery.com>
10578
03ac099f
JM
10579 * Makeconfig (run-built-tests): New variable.
10580 * Rules [$(cross-compiling) = yes]: Change condition to
10581 [$(run-built-tests) = no].
10582 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10583 to [$(run-built-tests) = yes].
10584 * elf/Makefile [$(cross-compiling) = no]: Likewise
10585 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10586 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10587 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10588 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10589 * io/Makefile [$(cross-compiling) = no]: Likewise.
10590 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10591 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10592 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10593 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10594 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10595 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10596 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10597 * string/Makefile [$(cross-compiling) = no]: Likewise.
10598
ebfd1bbd
JM
10599 * posix/Makefile ($(objpfx)globtest.out): Pass
10600 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10601 $(rtld-installed-name).
10602 * posix/globtest.sh (elf_objpfx): Remove variable.
10603 (rtld_installed_name): Likewise.
10604 (library_path): Likewise.
10605 (run_program_prefix): New variable. Use for running globtest
10606 binary.
10607
166bca24
JB
106082012-10-23 Jim Blandy <jimb@codesourcery.com>
10609 Joseph Myers <joseph@codesourcery.com>
10610
10611 * Makeconfig (host-built-program-cmd): New variable.
10612 * elf/Makefile (tst-stackguard1-ARGS): Use
10613 $(host-built-program-cmd).
10614 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10615 (tst-spawn-ARGS): Likewise.
10616 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10617
88866099
JM
106182012-10-23 Joseph Myers <joseph@codesourcery.com>
10619 Jim Blandy <jimb@codesourcery.com>
10620
10621 * Makeconfig (run-via-rtld-prefix): New variable.
10622 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10623 (built-program-cmd): Likewise.
10624
b4b4c296
AJ
106252012-10-22 Andreas Jaeger <aj@suse.de>
10626
10627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10628 __O_RSYNC if it exists, otherwise to O_SYNC.
10629
6fb54a22
JB
106302012-10-22 Jim Blandy <jimb@codesourcery.com>
10631 Joseph Myers <joseph@codesourcery.com>
10632
10633 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10634 /dev/null.
10635 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10636 from /dev/null
10637 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10638 /dev/null.
10639
481b90b9
AJ
106402012-10-22 Andreas Jaeger <aj@suse.de>
10641
2a0e2669
AJ
10642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10643 Define always.
10644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10645
76e38f9a
AJ
10646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10647 bits/fcntl-linux.h.
10648
7cd37b43
AJ
10649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10650 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10651
481b90b9
AJ
10652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10653 to __O_LARGEFILE.
10654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10655 to __O_LARGEFILE.
10656
aba75984
JB
106572012-10-21 Jim Blandy <jimb@codesourcery.com>
10658 Joseph Myers <joseph@codesourcery.com>
10659
10660 * config.make.in (NM): New variable.
10661
88d4247f
AJ
106622012-10-21 Andreas Jaeger <aj@suse.de>
10663
10664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10665 definitions and declarations that are provided by
10666 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10667
f2eed205
L
106682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10669
10670 [BZ #14683]
10671 * elf/Makefile (tests-static): Add tst-leaks1-static.
10672 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10673 ($(objpfx)tst-leaks1-static): New rule.
10674 ($(objpfx)tst-leaks1-static-mem): Likewise.
10675 (tst-leaks1-static-ENV): New macro.
10676 * elf/dl-open.c (dl_open_worker): Check the main application
10677 only if SHARED is defined.
10678 * elf/tst-leaks1-static.c: New file.
10679
335e6931
AJ
106802012-10-20 Andreas Jaeger <aj@suse.de>
10681
10682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10683 generic values for Linux.
10684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10685 and declarations that are provided by <bits/fcntl-linux.h> and
10686 include <bits/fcntl-linux.h>.
10687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10689
ac5c94d3
RM
106902012-10-20 Roland McGrath <roland@hack.frob.com>
10691
10692 * io/fcntl.h: Move include of <bits/types.h> to the top and
10693 include it unconditionally.
10694
de54b33a
L
106952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10696
228cfb01
L
10697 * wcsmbs/Makefile (tests-ifunc): New variable.
10698 (tests): Add $(tests-ifunc).
10699 * wcsmbs/test-wcschr-ifunc.c: New file.
10700 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10701 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10702 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10703 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10704 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10705
69f07e5f
L
10706 * string/Makefile (tests-ifunc): New variable.
10707 (tests): Add $(tests-ifunc).
10708 * string/test-memccpy.c (TEST_NAME): New macro.
10709 * string/test-memchr.c (TEST_NAME): Likewise.
10710 * string/test-memcmp.c (TEST_NAME): Likewise.
10711 * string/test-memcpy.c (TEST_NAME): Likewise.
10712 * string/test-memmem.c (TEST_NAME): Likewise.
10713 * string/test-memmove.c (TEST_NAME): Likewise.
10714 * string/test-memset.c (TEST_NAME): Likewise.
10715 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10716 * string/test-stpcpy.c (TEST_NAME): Likewise.
10717 * string/test-stpncpy.c (TEST_NAME): Likewise.
10718 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10719 * string/test-strcasestr.c (TEST_NAME): Likewise.
10720 * string/test-strcat.c (TEST_NAME): Likewise.
10721 * string/test-strchr.c (TEST_NAME): Likewise.
10722 * string/test-strcmp.c(TEST_NAME): Likewise.
10723 * string/test-strcpy.c (TEST_NAME): Likewise.
10724 * string/test-strcspn.c (TEST_NAME): Likewise.
10725 * string/test-strlen.c (TEST_NAME): Likewise.
10726 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10727 * string/test-strncmp.c (TEST_NAME): Likewise.
10728 * string/test-strncpy.c (TEST_NAME): Likewise.
10729 * string/test-strnlen.c (TEST_NAME): Likewise.
10730 * string/test-strpbrk.c (TEST_NAME): Likewise.
10731 * string/test-strrchr.c (TEST_NAME): Likewise.
10732 * string/test-strspn.c (TEST_NAME): Likewise.
10733 * string/test-strstr.c (TEST_NAME): Likewise.
10734 * string/test-bcopy-ifunc.c: New file.
10735 * string/test-bzero-ifunc.c: Likewise.
10736 * string/test-memccpy-ifunc.c: Likewise.
10737 * string/test-memchr-ifunc.c: Likewise.
10738 * string/test-memcmp-ifunc.c: Likewise.
10739 * string/test-memcpy-ifunc.c: Likewise.
10740 * string/test-memmem-ifunc.c: Likewise.
10741 * string/test-memmove-ifunc.c: Likewise.
10742 * string/test-mempcpy-ifunc.c: Likewise.
10743 * string/test-memset-ifunc.c: Likewise.
10744 * string/test-rawmemchr-ifunc.c: Likewise.
10745 * string/test-stpcpy-ifunc.c: Likewise.
10746 * string/test-stpncpy-ifunc.c: Likewise.
10747 * string/test-strcasecmp-ifunc.c: Likewise.
10748 * string/test-strcasestr-ifunc.c: Likewise.
10749 * string/test-strcat-ifunc.c: Likewise.
10750 * string/test-strchr-ifunc.c: Likewise.
10751 * string/test-strchrnul-ifunc.c: Likewise.
10752 * string/test-strcmp-ifunc.c: Likewise.
10753 * string/test-strcpy-ifunc.c: Likewise.
10754 * string/test-strcspn-ifunc.c: Likewise.
10755 * string/test-strlen-ifunc.c: Likewise.
10756 * string/test-strncasecmp-ifunc.c: Likewise.
10757 * string/test-strncat-ifunc.c: Likewise.
10758 * string/test-strncmp-ifunc.c: Likewise.
10759 * string/test-strncpy-ifunc.c: Likewise.
10760 * string/test-strnlen-ifunc.c: Likewise.
10761 * string/test-strpbrk-ifunc.c: Likewise.
10762 * string/test-strrchr-ifunc.c: Likewise.
10763 * string/test-strspn-ifunc.c: Likewise.
10764 * string/test-strstr-ifunc.c: Likewise.
10765
de54b33a
L
10766 * debug/Makefile (tests-ifunc): New variable.
10767 (tests): Add $(tests-ifunc).
10768 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10769 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10770 * debug/test-stpcpy_chk-ifunc.c: New file.
10771 * debug/test-strcpy_chk-ifunc.c: Likewise.
10772
88481c16
SP
107732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10774
10775 [BZ #13601]
10776 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10777 header is not read in.
10778
135948bd
JM
107792012-10-19 Joseph Myers <joseph@codesourcery.com>
10780
89f1c388
JM
10781 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10782 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10783 directly. Pass built executable to script as
10784 $(built-program-cmd).
10785 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10786 $testprogram without using LD_LIBRARY_PATH and $ldso.
10787
e40a0d21
JM
10788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10789 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10790 $(rtld-installed-name).
10791 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10792 (rtld_installed_name): Likewise.
10793 (library_path): Likewise.
10794 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10795 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10796 $(run-program-prefix) to tst-tables.sh.
10797 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10798 it to run tst-table-from and tst-table-to.
10799 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10800 Pass it to tst-table.sh.
10801 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10802 $(run-program-prefix) to tst-gettext.sh.
10803 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10804 tst-translit.sh.
10805 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10806 tst-gettext2.sh.
10807 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10808 to run tst-gettext.
10809 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10810 to run tst-gettext2.
10811 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10812 to run tst-translit.
10813 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10814 $(run-program-prefix) to tst-mtrace.sh.
10815 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10816 to run tst-mtrace.
10817 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10818 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10819 $(rtld-installed-name).
10820 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10821 (rtld_installed_name): Likewise.
10822 (run_program_prefix): New variable. Use it to run wordexp-test.
10823
728e272a
JM
10824 * Makeconfig (ARCH): Remove all definitions.
10825 (machine): Likewise.
10826 [ARCH]: Remove conditional code.
10827 [!objdir]: Give error.
10828 [!objdir] (objpfx): Remove.
10829 [!objdir] (common-objpfx): Likewise.
10830 [!objdir] (common-objdir): Likewise.
10831 * configure.in (config_makefile): Remove. Hardcode Makefile in
10832 AC_CONFIG_FILES call.
10833 * configure: Regenerated.
10834
d528cdcf
JM
10835 [BZ #13888]
10836 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10837 or TMPDIR.
10838 (testout): Likewise.
10839
135948bd
JM
10840 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10841 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10842 $(rtld-installed-name).
10843 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10844 (rtld_installed_name): Likwise.
10845 (runit): Remove function.
10846 (run_getconf): New variable, Use it for running getconf binary.
10847
38c78296
L
108482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10849
10850 [BZ #14716]
10851 * string/test-memmem.c (check_result): New function.
10852 (do_one_test): Use it.
10853 (check1): New function.
10854 (test_main): Use it.
10855
d077f65f
MT
108562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10857
10858 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10859
ced52c71
JM
108602012-10-18 Joseph Myers <joseph@codesourcery.com>
10861
10862 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10863 (_G_LSEEK64): Likewise.
10864 (_G_MMAP64): Likewise.
10865 (_G_FSTAT64): Likewise.
10866 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10867 (_G_LSEEK64): Likewise.
10868 (_G_MMAP64): Likewise.
10869 (_G_FSTAT64): Likewise.
10870 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10871 unconditional. Call __mmap64 directly.
10872 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10873 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10874 __lseek64 directly.
10875 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10876 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10877 __mmap64 directly.
10878 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10879 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10880 __lseek64 directly.
10881 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10882 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10883 __lseek64 directly.
10884 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10885 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10886 __lseek64 directly.
10887 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10888 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10889 __fxstat64 directly.
10890 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10891 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10892 unconditional.
10893 (freopen64) [!_G_OPEN64]: Remove conditional code.
10894 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10895 unconditional.
10896 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10897 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10898 unconditional.
10899 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10900 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10901 unconditional.
10902 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10903 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10904 unconditional.
10905 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10906 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10907 unconditional.
10908 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10909 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10910 unconditional.
10911 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10912 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10913 unconditional.
10914 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10915
b741de23
SP
109162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10917
10918 [BZ #12140]
10919 * manual/memory.texi (Malloc Tunable Parameters): Add note
10920 about free list pointers overwriting some perturb bytes.
10921 Wording suggested by Roland McGrath.
10922
f9b9d9c9
JM
109232012-10-17 Joseph Myers <joseph@codesourcery.com>
10924
10925 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10926 (lgamma_test): Likewise.
10927 (tgamma_test): Likewise.
10928
172a631a
FW
109292012-10-16 Florian Weimer <fweimer@redhat.com>
10930
10931 [BZ #14700]
10932 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10933 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10934
e9f37252
MK
109352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10936
10937 * NEWS: Mention BZ #14716.
10938 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10939 when removing AVAILABLE1_USES_J macro.
10940
d394eb74
L
109412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10942
10943 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10944 (__bswap_64): __uint64_t for unsigned 64-bit int.
10945
ca38dc17
AS
109462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10947
10948 * include/string.h (memmem): Declare libc hidden alias.
10949 * string/memmem.c (memmem): Define libc hidden alias.
10950 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10951 __read, __close instead of open, read, close.
10952
9a387d1f
L
109532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10954
ac49ecaf
L
10955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10956 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10957 global and hidden.
10958 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10959 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10960 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10961 Likewise.
10962 (__rawmemchr_sse2): Likewise.
10963 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10964 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10965 (__strchr_sse2): Likewise.
10966 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10967 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10968 (__strcasecmp_sse2): Likewise.
10969 (__strncasecmp_sse2): Likewise.
10970 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10971 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10972 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10973 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10974 (__strrchr_sse2): Likewise.
10975 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10976 ifunc-impl-list.c.
10977 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10978 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10979 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10980 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10981 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10983 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10984 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10985 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10986 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10987 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10988 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10989 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10990 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10991 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10992 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10993 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10994 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10995 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10996 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10997 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10998 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10999 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11000 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11001 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11003 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11005 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11006 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11007
b090e8ea
L
11008 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11009 global and hidden.
11010 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11011 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11012 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11013 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11014 Likewise.
11015 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11016 Likewise.
11017 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11018 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11019 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11020 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11021 ifunc-impl-list.c.
11022 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11035 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11036 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11039 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11047 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11048 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11049 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11050 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11052 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11053 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11054 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11055 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11056 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11057 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11058 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11060 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11061 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11063
11dd4af6
L
11064 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11065 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11066 * include/ifunc-impl-list.h: New file.
11067 * misc/ifunc-impl-list.c: Likewise.
11068 * misc/Makefile (routines): Add ifunc-impl-list.
11069 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11070 * string/test-string.h: Include <ifunc-impl-list.h>.
11071 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11072 impl_array): New variables.
11073 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11074 are defined.
11075 (test_init): Call __libc_ifunc_impl_list to initialize
11076 func_list if TEST_IFUNC and TEST_NAME are defined.
11077
9a387d1f
L
11078 * string/Makefile (strop-tests): Add bcopy and bzero.
11079 * string/test-bcopy.c: New file.
11080 * string/test-bzero.c: Likewise.
11081 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11082 defined.
11083 * string/test-memset.c: Support bzero test if TEST_BZERO is
11084 defined.
11085 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11086 __libc_memmove.
11087 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11088 __libc_memset.
11089 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11090 of memset.
11091
472371b9
JM
110922012-10-10 Joseph Myers <joseph@codesourcery.com>
11093
1e4a9536
JM
11094 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11095 * configure: Regenerated.
11096
d173d12e
JM
11097 * Makeconfig (+link-static-before-libc): Don't include
11098 $(link-static-libc).
11099
472371b9
JM
11100 * libio/libio.h (_IO_pos_t): Remove.
11101
89a3ad0b
AO
111022012-10-10 Alexandre Oliva <aoliva@redhat.com>
11103
11104 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11105 McGrath.
11106
e7451425
AO
111072012-10-10 Alexandre Oliva <aoliva@redhat.com>
11108
11109 * crypt/crypt-entry.c: Include fips-private.h.
11110 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11111 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11112 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11113 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11114
4ba74a35
AO
111152012-10-10 Alexandre Oliva <aoliva@redhat.com>
11116
11117 * crypt/crypt-private.h: Include stdbool.h.
11118 (_ufc_setup_salt_r): Return bool.
11119 * crypt/crypt-entry.c: Include errno.h.
11120 (__crypt_r): Return NULL with EINVAL for bad salt.
11121 * crypt/crypt_util.c (bad_for_salt): New.
11122 (_ufc_setup_salt_r): Check that salt is long enough and within
11123 the specified alphabet.
11124 * crypt/badsalttest.c: New file.
11125 * crypt/Makefile (tests): Add it.
11126 ($(objpfx)badsalttest): New.
11127
f96f1242
MK
111282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11129
11130 * NEWS: Add entry for BZ #14602.
11131
0e8e0c1c
JM
111322012-10-09 Joseph Myers <joseph@codesourcery.com>
11133
11134 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11135 type-generic.
11136 * math/libm-test.inc: Update comment listing what functions and
11137 macros are tested.
11138 (isgreater_test): New function.
11139 (isgreaterequal_test): Likewise.
11140 (isless_test): Likewise.
11141 (islessequal_test): Likewise.
11142 (islessgreater_test): Likewise.
11143 (isunordered_test): Likewise.
11144 (main): Call the new functions.
11145
273edc5e
RM
111462012-10-09 Roland McGrath <roland@hack.frob.com>
11147
b8493de0
RM
11148 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11149 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11150 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11151 * sysdeps/i386/configure: Regenerated.
11152 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11153 * sysdeps/mach/configure: Regenerated.
11154 * sysdeps/mach/hurd/configure: Regenerated.
11155 * sysdeps/powerpc/configure: Regenerated.
11156 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11157 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11158 * sysdeps/s390/s390-32/configure: Regenerated.
11159 * sysdeps/s390/s390-64/configure: Regenerated.
11160 * sysdeps/sh/configure: Regenerated.
11161 * sysdeps/sparc/configure: Regenerated.
11162 * sysdeps/unix/sysv/linux/configure: Regenerated.
11163 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11164 * sysdeps/x86_64/configure: Regenerated.
11165
273edc5e
RM
11166 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11167 defined. Don't check if MAP is NULL.
11168
c8450f70
JM
111692012-10-09 Joseph Myers <joseph@codesourcery.com>
11170
11171 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11172 (_G_stat64): Likewise.
11173 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11174 (_G_stat64): Likewise.
11175 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11176 instead of struct _G_stat64.
11177 * libio/fileops.c (mmap_remap_check): Likewise.
11178 (decide_maybe_mmap): Likewise.
11179 (_IO_new_file_seekoff): Likewise.
11180 (_IO_file_stat): Likewise.
11181 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11182 _G_off64_t.
11183 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11184 instead of struct _G_stat64.
11185 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11186
57e605ba
MK
111872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11188
11189 [BZ #14602]
11190 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11191 Replace with ...
11192 (CHECK_EOL): New macro.
11193 (two_way_short_needle): Check beginning of haystack for EOL. Use
11194 CHECK_EOL.
11195 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11196 Replace with CHECK_EOL.
11197 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11198 Replace with CHECK_EOL.
11199
ef1bb361
JM
112002012-10-08 Joseph Myers <joseph@codesourcery.com>
11201
11202 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11203 type-generic.
11204 * math/libm-test.inc: Update comment listing what functions and
11205 macros are tested.
11206 (finite_test): New function.
11207 (isinf_test): Likewise.
11208 (isnan_test): Likewise.
11209 (fpclassify_test): Test subnormal input.
11210 (isfinite_test): Likewise.
11211 (isnormal_test): Likewise.
11212 (main): Call the new functions.
11213
55f11534
JN
112142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11215
11216 [BZ #14660]
11217 * Makerules (%.dynsym): Force C locale when running
11218 $(OBJDUMP) --dynamic-syms.
11219
1ab29350
AS
112202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11221
11222 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11223 <stdint.h>.
11224
f1ecb7ef
DM
112252012-10-06 David S. Miller <davem@davemloft.net>
11226
11227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11228 upper 32-bits of the length value in %o2 since we use branch-on-register
11229 tests which consider the entire 64-bit register.
11230
5d41d91a
L
112312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * string/test-strstr.c (check2): Add a test for page boundary.
11234
3baddb72
DM
112352012-10-05 David S. Miller <davem@davemloft.net>
11236
11237 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11239 file.
11240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11241 sysdep_routines.
11242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11243 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11244 and bzero when HWCAP_SPARC_CRYPTO is present.
11245
9cee5585
L
112462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11247
d7e0dab9
L
11248 [BZ #14602]
11249 * string/test-strstr.c (check2): New function.
11250 (test_main): Call check2.
11251
03759f47
L
11252 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11253 and bug-strchr1.
11254 * string/bug-strcasestr1.c (do_test): Moved to ...
11255 * string/test-strcasestr.c (check1): Here. New function.
11256 (do_one_test): Break out result checking code into ...
11257 (check_result): This. New function.
11258 (do_one_test): Call check_result.
11259 (test_main): Call check1.
11260 * string/bug-strchr1.c (do_test): Moved to ...
11261 * string/test-strchr.c (check1): Here. New function.
11262 (do_one_test): Break out result checking code into ...
11263 (check_result): This. New function.
11264 (do_one_test): Call check_result.
11265 (test_main): Call check1.
11266 * string/bug-strstr1.c (main): Moved to ...
046f153e 11267 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11268 (do_one_test): Break out result checking code into ...
11269 (check_result): This. New function.
11270 (do_one_test): Call check_result.
11271 (test_main): Call check1.
11272 * string/bug-strcasestr1.c: Removed.
11273 * string/bug-strchr1.c: Likewise.
11274 * string/bug-strstr1.c: Likewise.
11275
53cea63e
L
11276 * elf/Makefile (dl-routines): Add hwcaps.
11277 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11278 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11279 (_dl_important_hwcaps): Moved to ...
11280 * elf/dl-hwcaps.c: Here. New file.
11281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11282
9cee5585 11283 [BZ #14557]
bb859b06
L
11284 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11285 if IS_IN_rtld isn't defined.
11286
9cee5585
L
11287 * elf/dl-support.c (_dl_sysinfo_map): New.
11288 Include "get-dynamic-info.h" and "setup-vdso.h".
11289 (_dl_non_dynamic_init): Call setup_vdso.
11290 * elf/dynamic-link.h: Don't include <assert.h>.
11291 (elf_get_dynamic_info): Moved to ...
11292 * elf/get-dynamic-info.h: Here. New file.
11293 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11294 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11295 * elf/setup-vdso.h: Here. New file.
11296 * elf/rtld.c: Include "setup-vdso.h".
11297 (dl_main): Call setup_vdso.
11298
23c31b76
JM
112992012-10-05 Joseph Myers <joseph@codesourcery.com>
11300
28234b07
JM
11301 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11302 creal in comment listing functions tested. List finite, isinf,
11303 isnan, isless, islessequal, isgreater, isgreaterequal,
11304 islessgreater, isunordered, lgamma_r and pow10 as functions and
11305 macros not tested. Mention which functions not tested are aliases
11306 for other functions. Fix typo. Note that signs of NaNs are not
11307 tested.
11308
23c31b76
JM
11309 * scripts/config.guess: Update from config.git.
11310 * scripts/config.sub: Likewise.
11311
9043e228
RM
113122012-10-04 Roland McGrath <roland@hack.frob.com>
11313
11314 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11315 * misc/madvise.c (madvise): Renamed to __madvise.
11316 Make madvise a weak alias.
11317 * include/sys/mman.h: Declare __madvise.
11318 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11319 * sysdeps/unix/syscalls.list
11320 (madvise): Make __madvise the strong name, and madvise a weak alias.
11321 * sysdeps/unix/sysv/linux/syscalls.list
11322 (madvise, mmap): Remove redundant entries.
11323 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11324 * malloc/malloc.c (mtrim): Likewise.
11325 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11326
f57f8055
RM
113272012-10-03 Roland McGrath <roland@hack.frob.com>
11328
11329 * sysdeps/mach/hurd/dl-cache.c: File removed.
11330 * config.h.in (USE_LDCONFIG): New #undef.
11331 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11332 * configure: Regenerated.
11333 * elf/Makefile (dl-routines): Add dl-cache only under
11334 [$(use-ldconfig) = yes].
11335 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11336 cache on [USE_LDCONFIG].
11337 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11338 [USE_LDCONFIG].
11339 * elf/rtld.c (dl_main): Likewise.
11340
5bb0c10a
PT
113412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11342
11343 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11344 _SC_LEVEL4_CACHE_LINESIZE.
11345
010188c6
RM
113462012-10-03 Roland McGrath <roland@hack.frob.com>
11347
11348 * sysdeps/unix/bsd/confstr.h: File removed.
11349
b6c5ec07
AO
113502012-10-02 Alexandre Oliva <aoliva@redhat.com>
11351
11352 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11353 sys/sdt-config.h.
11354
408223d4
RM
113552012-10-02 Roland McGrath <roland@hack.frob.com>
11356
11357 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11358 Make 'mapoff' field ElfW(Off) rather than off_t.
11359
bb9510dc
DL
113602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11361
fc997c6e
DL
11362 * nscd/Makefile: Remove nscd-cflags and all its users.
11363 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11364 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11365
bb9510dc
DL
11366 [BZ #10631]
11367 * malloc.c (malloc_printerr): Clarify error message.
11368
05699367
L
113692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11370
11371 [BZ #14648]
11372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11373 Set bit_FMA_Usable if FMA is supported.
11374 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11375 macro.
11376 (bit_FMA4_Usable): Updated.
11377 (index_FMA_Usable): New macro.
11378 (CPUID_FMA): Likewise
11379 (HAS_FMA): Defined with bit_FMA_Usable.
11380
51367701
RM
113812012-10-01 Roland McGrath <roland@hack.frob.com>
11382
11383 * bits/types.h (__swblk_t): Type removed.
11384 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11385 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11387 (__SWBLK_T_TYPE): Likewise.
11388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11389 (__SWBLK_T_TYPE): Likewise.
11390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11391 (__SWBLK_T_TYPE): Likewise.
11392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11393 (__SWBLK_T_TYPE): Likewise.
11394
4d57bf63 113952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11396 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11397
11398 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11399 (xdr_mapname): Use YPMAXMAP as maxsize.
11400 (xdr_peername): Use YPMAXPEER as maxsize.
11401 (xdr_keydat): Use YPAXRECORD as maxsize.
11402 (xdr_valdat): Use YPMAXRECORD as maxsize.
11403
93c65d43
RM
114042012-10-01 Roland McGrath <roland@hack.frob.com>
11405
497a03d6
RM
11406 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11407
93c65d43
RM
11408 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11409 * csu/init-first.c: ... here.
11410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11411 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11412 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11413 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11414 * sysdeps/i386/init-first.c: File removed.
11415 * sysdeps/sh/init-first.c: File removed.
11416
bec749fd
JM
114172012-10-01 Joseph Myers <joseph@codesourcery.com>
11418
11419 [BZ #14645]
11420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11421 if x * y might underflow to zero and z is zero.
11422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11424 * math/libm-test.inc (min_subnorm_value): New variable.
11425 (fma_test): Add more tests.
11426 (fma_test_towardzero): Likewise.
11427 (fma_test_downward): Likewise
11428 (fma_test_upward): Likewise.
11429 (initialize): Set min_subnorm_value.
11430
8ec5b013
JM
114312012-09-29 Joseph Myers <joseph@codesourcery.com>
11432
11433 [BZ #14638]
11434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11435 0 + 0.
11436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11437 mode for addition resulting in exact zero.
11438 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11440 exact 0 + 0.
11441 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11443 * math/libm-test.inc (fma_test): Add more tests.
11444 (fma_test_towardzero): New function.
11445 (fma_test_downward): Likewise.
11446 (fma_test_upward): Likewise.
11447 (main): Call the new functions.
11448
b1fa802e
DM
114492012-09-28 David S. Miller <davem@davemloft.net>
11450
11451 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11452
d3b9fd9e
RM
114532012-09-28 Roland McGrath <roland@hack.frob.com>
11454
ea4d37b3
RM
11455 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11456 instead of SIGALRM.
11457
ac51c949
RM
11458 * sysdeps/gnu/_G_config.h: Moved to ...
11459 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11460 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11461 * sysdeps/generic/_G_config.h: ... here.
11462
28c195f7
RM
11463 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11464
848917f9
RM
11465 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11466
6bacf05b
RM
11467 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11468 Conditionalize target on [libnss_test1.so-version].
11469
91363dbb
RM
11470 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11471
cc87f7d8
RM
11472 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11473 (elfobjdir): Move out of conditionals.
11474
b1c608fe
RM
11475 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11476 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11477 (__nss_lookup_function): Conditionalize label remove_from_tree on
11478 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11479
1d9a6d96
DM
114802012-09-28 David S. Miller <davem@davemloft.net>
11481
11482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11483 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11484 file.
11485 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11486 sysdep_routines.
11487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11489 when HWCAP_SPARC_CRYPTO is present.
11490
72581615
PT
114912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11492
11493 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11494
715a900c
JL
114952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11496
11497 [BZ #6530]
11498 * stdio-common/vfprintf.c (process_string_arg): Revert
11499 2000-07-22 change.
11500
115012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11502
11503 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11504 for testcase.
11505 * stdio-common/tst-sprintf.c: Include <locale.h>
11506 (main): Test sprintf's handling of incomplete multibyte
11507 characters.
11508
9bac1d86
L
115092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * elf/dl-runtime.c (VERSYMIDX): Removed.
11512 * elf/dl-version.c (VERSYMIDX): Likewise.
11513 * elf/do-rel.h (VERSYMIDX): Likewise.
11514 (VALIDX): Likewise.
11515 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11516 * elf/rtld.c (VALIDX): Likewise.
11517 (ADDRIDX): Likewise.
9bac1d86
L
11518 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11519 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11520 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11521 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11522 (VALIDX): Likewise.
11523 (ADDRIDX): Likewise.
9bac1d86 11524
b31606c0
PT
115252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11526
11527 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11528
11541177
JL
115292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11530
11531 [BZ #11438]
11532 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11533 to global scope.
11534 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11535 addresses are in the same scope as 192.0.2/24.
11536 * posix/gai.conf: Document new scope table defaults.
11537
adb26fae
SP
115382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11539
11540 [BZ #5298]
11541 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11542 for ftell. Compute offsets from write pointers instead.
11543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11544
4573c6b0
SP
115452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11546
11547 [BZ #14543]
11548 * libio/Makefile (tests): New test case tst-fseek.
11549 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11550 combination works in wide mode.
11551 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11552 state when the external buffer state changes.
11553
aa9bbfe6
DM
115542012-09-27 David S. Miller <davem@davemloft.net>
11555
11556 [BZ #14376]
11557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11558 pass reloc->r_addend in as the 'high' argument to
11559 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11560
784421e7
DM
11561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11562
c39bc8b8
PT
115632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11564
11565 * rt/tst-aio2.c: Include <pthread.h>.
11566 * rt/tst-aio3.c: Likewise.
11567
1ccc2399
SE
115682012-09-27 Steve Ellcey <sellcey@mips.com>
11569
11570 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11571
31ed4153
L
115722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11573
25f5f885
L
11574 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11575 contents on [SHARED].
31ed4153 11576
b7bfe116
MP
115772012-09-26 Marek Polacek <polacek@redhat.com>
11578
11579 [BZ #14530]
11580 [BZ #13741]
11581 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11582 for C++ and GCC <4.3 as well as for non GCC compilers.
11583
43c4edba
MT
115842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11585
11586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11587
6a1bf82f
RM
115882012-09-25 Roland McGrath <roland@hack.frob.com>
11589
11590 * Makefile.in (all, install): Declare with .PHONY.
11591 Reported by Michael Hope <michael.hope@linaro.org>.
11592
8ad11b9a
TMQMF
115932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11594
11595 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11596 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11597 system header.
11598 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11599 Likewise.
11600 (sydep_routines): Add the new and the internal functions.
11601 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11602 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11604 (GLIBC_2.17): Add the new function.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11606 (GLIBC_2.17): Likewise.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11608 (GLIBC_2.17): Likewise.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11610 (GLIBC_2.17): Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11612
7e2fca8d
AM
116132012-09-25 Alan Modra <amodra@gmail.com>
11614
11615 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11616 Add release barrier before setting once_control to say
11617 initialisation is done. Add hints on lwarx. Use macro in
11618 place of isync.
11619 (clear_once_control): Add release barrier.
11620
b87c4b24
JM
116212012-09-25 Joseph Myers <joseph@codesourcery.com>
11622
d032e0d2
JM
11623 [BZ #13629]
11624 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11625 specially.
11626 * math/s_clog10.c (__clog10): Likewise.
11627 * math/s_clog10f.c (__clog10f): Likewise.
11628 * math/s_clog10l.c (__clog10l): Likewise.
11629 * math/s_clogf.c (__clogf): Likewise.
11630 * math/s_clogl.c (__clogl): Likewise.
11631 * math/Makefile (libm-calls): Add x2y2m1.
11632 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11633 (__x2y2m1): Likewise.
11634 (__x2y2m1l): Likewise.
11635 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11636 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11641 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11644
b87c4b24
JM
11645 [BZ #14621]
11646 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11647 int as type of variable DEPTH.
11648 (glob): Use size_t instead of int as type of variables NEWCOUNT
11649 and OLD_PATHC.
11650
6d3bf199
LD
116512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11652
22bf5c17
LD
11653 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11654 Add s_sincosf-sse2.
11655 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11656 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11657 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11658 macros for using routine as __sincosf_ia32.
11659 Use macro for function declaration and weak_alias.
11660 * sysdeps/i386/fpu/libm-test-ulps: Update.
11661
11662 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11664
11665 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11666 subnormal argument.
11667 * math/s_cexpf.c (__cexpf): Likewise.
11668 * math/s_csinf.c (__csinf): Likewise.
11669 * math/s_csinhf.c (__csinhf): Likewise.
11670 * math/s_ctanf.c (__ctanf): Likewise.
11671 * math/s_ctanhf.c (__ctanhf): Likewise.
11672 * math/s_ccosh.c (__ccoshf): Likewise.
11673 * math/s_cexp.c (__cexpl): Likewise.
11674 * math/s_csin.c (__csin): Likewise.
11675 * math/s_csinh.c (__csinh): Likewise.
11676 * math/s_ctan.c (__ctan): Likewise.
11677 * math/s_ctanh.c (ctanh): Likewise.
11678 * math/s_ccoshl.c (__ccoshl): Likewise.
11679 * math/s_cexpl.c (__cexpl): Likewise.
11680 * math/s_csinl.c (__csinl): Likewise.
11681 * math/s_csinhl.c (__csinhl): Likewise.
11682 * math/s_ctanl.c (__ctanl): Likewise.
11683 * math/s_ctanhl.c (__ctanhl): Likewise.
11684
203e5603
JM
116852012-09-25 Joseph Myers <joseph@codesourcery.com>
11686
11687 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11688 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11689 (_IO_off_t): Define to __off_t, not _G_off_t.
11690 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11691 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11692 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11693 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11694 type of __dummy and __dummy2 fields.
11695 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11696 (_G_ssize_t): Likewise.
11697 (_G_off_t): Likewise.
11698 (_G_pid_t): Likewise.
11699 (_G_uid_t): Likewise.
11700 (_G_wchar_t): Likewise.
11701 (_G_wint_t): Likewise.
11702 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11703 (_G_ssize_t): Likewise.
11704 (_G_off_t): Likewise.
11705 (_G_pid_t): Likewise.
11706 (_G_uid_t): Likewise.
11707 (_G_wchar_t): Likewise.
11708 (_G_wint_t): Likewise.
11709 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11710 (_G_ssize_t): Likewise.
11711 (_G_off_t): Likewise.
11712 (_G_pid_t): Likewise.
11713 (_G_uid_t): Likewise.
11714 (_G_wchar_t): Likewise.
11715 (_G_wint_t): Likewise.
11716
9fab36eb
SP
117172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11718
11719 * malloc/arena.c: Include malloc-sysdep.h.
11720 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11721 is sufficient to shrink the heap or an unmap is needed.
11722 * sysdeps/generic/malloc-sysdep.h: New file. Define
11723 new function check_may_shrink_heap.
11724 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11725 new function check_may_shrink_heap.
11726
2b4f00d1
SP
117272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11728
11729 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11730 comments.
11731
9a9028b1
DL
117322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11733
57c69bef
DL
11734 * catgets/test-gencat.sh: Add "set -e".
11735 * elf/tst-pathopt.sh: Likewise.
11736 * grp/tst_fgetgrent.sh: Likewise.
11737 * iconvdata/run-iconv-test.sh: Likewise.
11738 * intl/tst-gettext.sh: Likewise.
11739 * intl/tst-gettext2.sh: Likewise.
11740 * intl/tst-gettext4.sh: Likewise.
11741 * intl/tst-gettext6.sh: Likewise.
11742 * intl/tst-translit.sh: Likewise.
11743 * io/ftwtest-sh: Likewise.
11744 * libio/test-freopen.sh: Likewise.
11745 * malloc/tst-mtrace.sh: Likewise.
11746 * posix/globtest.sh: Likewise.
11747 * posix/tst-getconf.sh: Likewise.
11748 * posix/wordexp-tst.sh: Likewise.
11749 * stdio-common/tst-printf.sh: Likewise.
11750 * stdio-common/tst-unbputc.sh: Likewise.
11751 * stdlib/tst-fmtmsg.sh: Likewise.
11752 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11753 * catgets/Makefile: Do not specify -e option when running
11754 testsuite shell scripts.
11755 * elf/Makefile: Likewise.
11756 * grp/Makefile: Likewise.
11757 * iconvdata/Makefile: Likewise.
11758 * intl/Makefile: Likewise.
11759 * io/Makefile: Likewise.
11760 * libio/Makefile: Likewise.
11761 * malloc/Makefile: Likewise.
11762 * posix/Makefile: Likewise.
11763 * stdio-common/Makefile: Likewise.
11764 * stdlib/Makefile: Likewise.
11765 * sysdeps/x86_64/Makefile: Likewise.
11766
9a9028b1
DL
11767 * io/ftwtest-sh: Add copyright header.
11768 * posix/globtest.sh: Likewise.
11769 * posix/tst-getconf.sh: Likewise.
11770 * posix/wordexp-tst.sh: Likewise.
11771 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11772
ced6f16e
L
117732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11774
94b32c39
L
11775 [BZ #13679]
11776 * Makeconfig (+link): Defined as $(+link-static) if
11777 $(build-shared) isn't yes.
11778 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11779 isn't yes.
11780 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11781
189e935b
L
11782 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11783
ced6f16e
L
11784 [BZ #14562]
11785 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11786 new chunk size with MALLOC_ALIGN_MASK.
11787
a9f8e53a
JM
117882012-09-24 Joseph Myers <joseph@codesourcery.com>
11789
11790 [BZ #5044]
11791 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11792 <rounding-mode.h>.
11793 (__printf_fphex): Determine rounding using get_rounding_mode and
11794 round_away.
11795 * stdio-common/tst-printf-round.c (struct hex_test): New
11796 structure.
11797 (hex_tests): New variable.
11798 (test_hex_in_one_mode): New function.
11799 (do_test): Also run tests for hex float output.
11800
43153109
JM
118012012-09-21 Joseph Myers <joseph@codesourcery.com>
11802
11803 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11804 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11805 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11806 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11807 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11808 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11809 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11810 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11811
8a26625d
JM
118122012-09-20 Joseph Myers <joseph@codesourcery.com>
11813
11814 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11815 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11816 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11817 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11818
f3fd569c
DL
118192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11820
11821 [BZ #14579]
11822 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11823 mode only.
11824 * elf/tst-rtld-load-self.sh: New test.
11825 * elf/Makefile: Run it.
11826
63bbedd4
JM
118272012-09-18 Joseph Myers <joseph@codesourcery.com>
11828
11829 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11830 (tst-writev-ENV): Remove.
11831 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11832
626f8b6a
CM
118332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11834
11835 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11836
b7aaa4d6
JM
118372012-09-17 Joseph Myers <joseph@codesourcery.com>
11838
11839 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11840 unconditional.
11841 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11842 Likewise.
11843 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11844 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11846 Likewise.
11847
65513990
L
118482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 [BZ #14587]
11851 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11852 * config.make.in (have-cpp-asm-debuginfo): Removed.
11853 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11854 * configure: Regenerated.
11855
784761be
JM
118562012-09-14 Joseph Myers <joseph@codesourcery.com>
11857
11858 [BZ #5044]
11859 * stdio-common/printf_fp.c: Include <stdbool.h> and
11860 <rounding-mode.h>.
11861 (___printf_fp): Determine rounding using get_rounding_mode and
11862 round_away.
11863 * stdio-common/tst-printf-round.c: New file.
11864 * stdio-common/Makefile (tests): Add tst-printf-round.
11865 (link-libm): New variable.
11866 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11867
9503345f
L
118682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11869
11870 [BZ #14576]
11871 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11872 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11873 Likewise.
11874 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11875 Likewise.
11876
ad35fc00
JM
118772012-09-13 Joseph Myers <joseph@codesourcery.com>
11878
11879 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11880 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11881 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11883
6c9b0f68
JM
118842012-09-12 Joseph Myers <joseph@codesourcery.com>
11885
11886 [BZ #14518]
11887 * include/rounding-mode.h: New file.
11888 * sysdeps/generic/get-rounding-mode.h: Likewise.
11889 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11890 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11891 (MAX_VALUE): New macro.
11892 (MIN_VALUE): Likewise.
11893 (overflow_value): New function.
11894 (underflow_value): Likewise.
11895 (round_and_return): Use overflow_value and underflow_value to
11896 determine return values in overflow and underflow cases. Use
11897 round_away to determine rounding depending on rounding mode.
11898 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11899 determine return values in overflow and underflow cases.
11900 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11901 (struct test_results): New structure.
11902 (struct test): Use struct test_results to store expected results
11903 for all rounding modes.
11904 (TEST): Include expected results for all rounding modes.
11905 (test_in_one_mode): New function.
11906 (do_test): Use test_in_one_mode to compute and check results.
11907 Check results for all rounding modes.
11908 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11909 $(link-libm).
11910
19fcedd5
AM
119112012-12-09 Allan McRae <allan@archlinux.org>
11912
1e9d84cd 11913 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11914
8bbfd2f1
JM
119152012-09-11 Joseph Myers <joseph@codesourcery.com>
11916
11917 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11918 (_G_int32_t): Likewise.
11919 (_G_uint16_t): Likewise.
11920 (_G_uint32_t): Likewise.
11921 (_G_HAVE_BOOL): Likewise.
11922 (_G_HAVE_ATEXIT): Likewise.
11923 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11924 (_G_HAVE_IO_FILE_OPEN): Likewise.
11925 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11926 (_G_int32_t): Likewise.
11927 (_G_uint16_t): Likewise.
11928 (_G_uint32_t): Likewise.
11929 (_G_HAVE_BOOL): Likewise.
11930 (_G_HAVE_ATEXIT): Likewise.
11931 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11932 (_G_HAVE_IO_FILE_OPEN): Likewise.
11933 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11934 (_G_int32_t): Likewise.
11935 (_G_uint16_t): Likewise.
11936 (_G_uint32_t): Likewise.
11937 (_G_HAVE_BOOL): Likewise.
11938 (_G_HAVE_ATEXIT): Likewise.
11939 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11940 (_G_HAVE_IO_FILE_OPEN): Likewise.
11941
b1dc5912
L
119422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 * csu/libc-tls.c: Update copyright years.
11945
0e886ef9
JM
119462012-09-10 Joseph Myers <joseph@codesourcery.com>
11947
28361c5e
JM
11948 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11949 [!_G_USING_THUNKS]: Remove conditional code.
11950 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11951 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11952
0e886ef9
JM
11953 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11954 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11955 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11956 (_G_VTABLE_LABEL_PREFIX): Likewise.
11957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11958 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11959 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11960 (_G_VTABLE_LABEL_PREFIX): Likewise.
11961 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11962 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11964 (_G_VTABLE_LABEL_PREFIX): Likewise.
11965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11966
bcba7aa2
L
119672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 * libio/Makefile: Include ../Makeconfig before tests.
11970 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11971 only if $(build-shared) is yes.
11972
06585ee8
L
11973 * iconv/gconv_db.c: Update copyright years.
11974
80ccd52c
LD
119752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11976
11977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11978 unwind info if defined PIC. Fix special cases description.
11979 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11980
11981 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11982 DP_HI_MASK entry.
11983 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11984
691bc9c1
L
119852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11986
3d9b46b3
L
11987 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11988
de2139a9
L
11989 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11990 is NULL.
11991
5ca78dd0
L
11992 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11993 (LDLIBS-tst-chk4): This.
11994 (LDFLAGS-tst-chk5): Renamed to ...
11995 (LDLIBS-tst-chk5): This.
11996 (LDFLAGS-tst-chk6): Renamed to ...
11997 (LDLIBS-tst-chk6): This.
11998 (LDFLAGS-tst-lfschk4): Renamed to ...
11999 (LDLIBS-tst-lfschk4): This.
12000 (LDFLAGS-tst-lfschk5): Renamed to ...
12001 (LDLIBS-tst-lfschk5): This.
12002 (LDFLAGS-tst-lfschk6): Renamed to ...
12003 (LDLIBS-tst-lfschk6): This.
12004
691bc9c1
L
12005 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12006 on $(common-objpfx)soversions.mk.
12007
65cafb1c
JM
120082012-09-07 Joseph Myers <joseph@codesourcery.com>
12009
12010 [BZ #10014]
12011 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12012 example host name.
12013
c78ab094
SP
120142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12015
12016 * malloc/arena.c (arena_get_retry): New function that gets
12017 another arena for the caller to try its request on.
12018 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12019 current arena cannot fulfill the request.
12020 (__libc_memalign): Likewise.
12021 (__libc_memalign): Likewise.
12022 (__libc_pvalloc): Likewise.
12023 (__libc_calloc): Likewise.
12024
01f49f59
JT
120252012-09-05 John Tobey <john.tobey@gmail.com>
12026
12027 [BZ #13542]
12028 * manual/arith.texi (Operations on Complex): Fix description
12029 of carg branch cut.
12030
4c23fed5
JM
120312012-09-06 Joseph Myers <joseph@codesourcery.com>
12032
1d3c8572
JM
12033 [BZ #10014]
12034 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12035 host name.
12036
4c23fed5
JM
12037 [BZ #10038]
12038 * manual/memory.texi (Memory): Make order of menu items match
12039 order of sections.
12040
04570aaa
L
120412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12042
12043 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12044 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12045 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12046
b80af2f4
L
120472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 * csu/libc-tls.c (static_dtv): Renamed to ...
12050 (_dl_static_dtv): This. Make it global.
12051 (_dl_initial_dtv): Removed.
12052 (__libc_setup_tls): Updated.
12053 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12054 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12055 DL_INITIAL_DTV.
12056
2abe9f15
PM
120572012-09-06 Petr Machata <pmachata@redhat.com>
12058
12059 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12060 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12061 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12062 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12063
0948c3af
L
120642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 [BZ #14545]
12067 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12068 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12069 freeing dtv[-1].
12070
a5055ad1
L
120712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12072
12073 [BZ #14544]
12074 * Makeconfig (link-static-before-libc): Replace $(+prector)
12075 with $(+prectorT).
12076 (link-static-after-libc): Replace $(+postctor) with
12077 $(+postctorT).
12078 (link-bounded): Replace $(+prector)/$(+postctor) with
12079 $(+prectorT)/$(+postctorT).
12080 (+prectorT): New macro.
12081 (+postctorT): Likewise.
12082
ed8c2ecd
JM
120832012-09-06 Joseph Myers <joseph@codesourcery.com>
12084
12085 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12086 (round_str): Handle values above the maximum for IBM long double
12087 as inexact.
12088 * stdlib/tst-strtod-round.c (tests): Regenerated.
12089
14c996c8
AK
120902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12091
12092 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12093 assembler flag.
12094 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12095 zarch_nohighgprs around the zarch optimized routines.
12096 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12097 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12099 for zarch.
12100
430d6ce6
DM
121012012-09-05 David S. Miller <davem@davemloft.net>
12102
12103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12104
ff04dda4
DM
12105 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12106 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12107 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12108 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12109 entries.
12110
24d4e01b
AO
121112012-09-05 Alexandre Oliva <aoliva@redhat.com>
12112
12113 * malloc/arena.c: Fold copyright years.
12114 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12115
61d58174
AO
121162012-09-05 Alexandre Oliva <aoliva@redhat.com>
12117
12118 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12119
20196a5e
AO
121202012-09-05 Alexandre Oliva <aoliva@redhat.com>
12121
12122 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12123
5c447383
AO
121242012-09-05 Alexandre Oliva <aoliva@redhat.com>
12125
12126 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12127 change internal state upon failure.
12128
fad64255
AO
121292012-09-05 Alexandre Oliva <aoliva@redhat.com>
12130
12131 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12132 * malloc/memusage.c (mmap): Likewise.
12133 (mmap64, mremap): Likewise. Adjust name in comment.
12134
1ffb8c90
SP
121352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12136
12137 * libio/fileops.c: Fix typos in comments.
12138 * libio/oldfileops.c: Likewise.
12139 * libio/wfileops.c: Likewise.
12140
6ef9cc37
SP
121412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12142
12143 [BZ #1349]
12144 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12145 (tst-malloc-usable-ENV): Set environment for test case.
12146 * malloc/hooks.c (malloc_check_get_size): New function to get
12147 requested size.
12148 * malloc/malloc.c (musable): Use malloc_check_get_size.
12149 * malloc/tst-malloc-usable.c: New test case.
12150
4d038ae3
AS
121512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12152
12153 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12154
c4e85184
AM
121552012-09-05 Allan McRae <allan@archlinux.org>
12156
b9dafc56 12157 [BZ #13966]
c4e85184
AM
12158 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12159 determine header location.
12160 * configure: Regenerated.
12161
e1343020
AS
121622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12163
12164 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12165 float format.
12166 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12167 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12168 format.
e1343020
AS
12169 (test): Regenerate.
12170
0a9f1987
DM
121712012-09-04 David S. Miller <davem@davemloft.net>
12172
12173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12176
29237804
FW
121772012-09-04 Florian Weimer <fweimer@redhat.com>
12178
12179 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12180 failures.
12181
edb3cb88
FW
12182 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12183
60160d83
JM
121842012-09-04 Joseph Myers <joseph@codesourcery.com>
12185
12186 [BZ #9914]
12187 * libio/iogetdelim.c: Include <limits.h>.
12188 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12189 + len + 1 would overflow.
12190
bcd6c8dc
AJ
121912012-09-03 Andreas Jaeger <aj@suse.de>
12192
12193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12194 * sysdeps/i386/fpu/libm-test-ulps: Update.
12195
4ffffbd2
LD
121962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12197
12198 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12199 Add s_sinf-sse2, s_conf-sse2.
12200
12201 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12202 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12203 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12204 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12205
12206 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12207 for using routine as __sinf_ia32.
12208 Use macro for function declaration and weak_alias.
12209 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12210 for using routine as __cosf_ia32.
12211 Use macro for function declaration and weak_alias.
12212
12213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12214 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12215
12216 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12217 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12219
12220 * math/libm-test.inc (cos_test): Add more test cases.
12221 (sin_test): Likewise.
12222 (sincos_test): Likewise.
12223
511fa286
AK
122242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12225
12226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12227 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12228 hidden.
12229 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12230
5f30cfec
L
122312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12232
12233 [BZ #14538]
12234 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12235 first element of the GOT.
12236 (elf_machine_load_address): Return the difference between
12237 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12238
0786794f
AM
122392012-09-01 Allan McRae <allan@archlinux.org>
12240
5f30cfec
L
12241 [BZ #13412]
12242 * configure.in (AWK): Require gawk version 3.0 or later.
12243 * configure: Regenerated.
0786794f 12244
26889eac
JM
122452012-09-01 Joseph Myers <joseph@codesourcery.com>
12246
12247 * sysdeps/unix/sysv/linux/kernel-features.h
12248 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12250 [__NR_clock_getres]: Make code unconditional.
12251 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12252 (clock_getcpuclockid): Remove code left unreachable by removal of
12253 conditionals.
12254 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12255 code unconditional.
12256 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12257 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12258 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12259 Make code unconditional.
12260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12262 * sysdeps/unix/sysv/linux/clock_settime.c
12263 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12264 conditional code.
12265 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12266 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12267
d22e28b0
L
122682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12269
12270 [BZ #14476]
12271 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12272 scripts/test-installation.pl.
12273
12274 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12275 and $ld_so_version if it is set.
12276
050af9c4
SP
122772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 [BZ #14516]
12280 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12281 failure if reading from procfs failed.
12282 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12283
ad845c0b
JM
122842012-08-27 Joseph Myers <joseph@codesourcery.com>
12285
12286 * sysdeps/unix/sysv/linux/kernel-features.h
12287 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12288 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12289 Remove conditional code.
12290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12291 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12292 Remove conditional code.
12293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12294 * sysdeps/unix/sysv/linux/i386/fxstat.c
12295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12297 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12298 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12300 * sysdeps/unix/sysv/linux/i386/lxstat.c
12301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12303 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12304 Remove conditional code.
12305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12306 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12307 Remove conditional code.
12308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12310 <kernel-features.h>.
12311 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12312 Remove.
12313 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12314 Remove conditional code.
12315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12316 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12317 Remove conditional.
12318
5dbf56af
MF
123192012-08-27 Mike Frysinger <vapier@gentoo.org>
12320
12321 [BZ #5400]
12322 * NEWS: Add fixed bug number.
12323
d6e70f43
JM
123242012-08-27 Joseph Myers <joseph@codesourcery.com>
12325
7efb4737
JM
12326 [BZ #14519]
12327 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12328 underflowing exponent in case of negative sign.
12329 * stdlib/tst-strtod-round-data: Add more tests.
12330 * stdlib/tst-strtod-round.c (tests): Regenerated.
12331
af92131a
JM
12332 [BZ #3479]
12333 * stdlib/strtod_l.c (NDIG): Remove.
12334 (HEXNDIG): Likewise.
12335 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12336 smallest representable value.
12337 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12338 lie within an exact representation of 1/2 ulp of the result.
12339 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12340 unconditionally.
12341 (TENS_P9_IDX): Define unconditionally.
12342 (TENS_P9_SIZE): Likewise.
12343 (TENS_P10_IDX): Likewise.
12344 (TENS_P10_SIZE): Likewise.
12345 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12346 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12348 entries for 10^2^13 and 10^2^14.
12349 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12350 (TENS_P13_IDX): Define.
12351 (TENS_P13_SIZE): Likewise.
12352 (TENS_P14_IDX): Likewise.
12353 (TENS_P14_SIZE): Likewise.
12354 (_fpioconst_pow10): Change array size to
12355 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12356 unconditional.
12357 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12358 1024]: Add entries for 10^2^13 and 10^2^14.
12359 [LAST_POW10 > _LAST_POW10]: Remove #error.
12360 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12361 (_fpioconst_pow10): Change array size to
12362 FPIOCONST_POW10_ARRAY_SIZE.
12363 * stdlib/gen-fpioconst.c: New file.
12364 * stdlib/gen-tst-strtod-round.c: Likewise.
12365 * stdlib/tst-strtod-round-data: Likewise.
12366 * stdlib/tst-strtod-round.c: Likewise.
12367 * stdlib/Makefile (tests): Add tst-strtod-round.
12368
d6e70f43
JM
12369 [BZ #14459]
12370 * stdlib/strtod_l.c: Include <stdint.h>.
12371 (NDEBUG): Do not define.
12372 (round_and_return): Change EXPONENT parameter to type intmax_t.
12373 Rearrange calculations to avoid internal overflow possibilities.
12374 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12375 Rearrange calculations to avoid internal overflow possibilities.
12376 Assert that number fits inside MPNSIZE limbs.
12377 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12378 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12379 calculations and add assertions to avoid internal overflow
12380 possibilities. Add casts to avoid signed/unsigned operations.
12381 * stdlib/tst-strtod-overflow.c: New file.
12382 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12383
1f529f7d
MP
123842012-08-25 Marek Polacek <polacek@redhat.com>
12385
12386 * time/time.h: Fix some typos in comments.
12387
59a629f1
RM
123882012-08-23 Roland McGrath <roland@hack.frob.com>
12389
12390 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12391 * posix/tst-rfc3484-2.c: Likewise.
12392 * posix/tst-rfc3484-3.c: Likewise.
12393
d3bafbc9
SM
123942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12395
12396 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12397 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12398
4efcc022
JM
123992012-08-23 Joseph Myers <joseph@codesourcery.com>
12400
12401 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12402 #include of fxstatat64.c.
12403
3cc3ef96
RM
124042012-08-22 Roland McGrath <roland@hack.frob.com>
12405
f04e2132
RM
12406 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12407 * shadow/getspent_r.c: Likewise.
12408 * shadow/getspnam.c: Likewise.
12409 * shadow/getspnam_r.c: Likewise.
12410 * gshadow/getsgent.c: Likewise.
12411 * gshadow/getsgent_r.c: Likewise.
12412 * gshadow/getsgnam.c: Likewise.
12413 * gshadow/getsgnam_r.c: Likewise.
12414 * inet/getnetbyad.c: Likewise.
12415 * inet/getnetbyad_r.c: Likewise.
12416 * inet/getnetbynm.c: Likewise.
12417 * inet/getnetbynm_r.c: Likewise.
12418 * inet/getnetent.c: Likewise.
12419 * inet/getnetent_r.c: Likewise.
12420 * inet/getproto.c: Likewise.
12421 * inet/getproto_r.c: Likewise.
12422 * inet/getprtent.c: Likewise.
12423 * inet/getprtent_r.c: Likewise.
12424 * inet/getprtname.c: Likewise.
12425 * inet/getprtname_r.c: Likewise.
12426 * inet/getrpcbyname.c: Likewise.
12427 * inet/getrpcbyname_r.c: Likewise.
12428 * inet/getrpcbynumber.c: Likewise.
12429 * inet/getrpcbynumber_r.c: Likewise.
12430 * inet/getrpcent.c: Likewise.
12431 * inet/getrpcent_r.c: Likewise.
12432 * inet/getaliasent.c: Likewise.
12433 * inet/getaliasent_r.c: Likewise.
12434 * inet/getaliasname.c: Likewise.
12435 * inet/getaliasname_r.c: Likewise.
12436 * nscd/getgrgid_r.c: Likewise.
12437 * nscd/getgrnam_r.c: Likewise.
12438 * nscd/gethstbyad_r.c: Likewise.
12439 * nscd/gethstbynm3_r.c: Likewise.
12440 * nscd/getpwnam_r.c: Likewise.
12441 * nscd/getpwuid_r.c: Likewise.
12442 * nscd/getsrvbynm_r.c: Likewise.
12443 * nscd/getsrvbypt_r.c: Likewise.
12444 * nscd/gai.c: Likewise.
12445
c53d909c
RM
12446 * configure.in (build_nscd): New substituted variable, set
12447 by --disable-build-nscd and defaults to $use_nscd.
12448 * configure: Regenerated.
12449 * config.make.in (build-nscd): New substituted variable.
12450 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12451 Change conditional to require [$(build-nscd) = yes] as well.
12452 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12453
3cc3ef96
RM
12454 [BZ# 13696]
12455 * configure.in (use_nscd): New substituted variable, set by
12456 --disable-nscd. If enabled, define USE_NSCD.
12457 * configure: Regenerated.
12458 * config.h.in: Add USE_NSCD.
12459 * config.make.in (use-nscd): New substituted variable.
12460 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12461 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12462 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12463 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12464 (CFLAGS-getgrnam_r.c): Likewise.
12465 (CFLAGS-initgroups.c): Likewise.
12466 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12467 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12468 Variables removed.
12469 * inet/getnetgrent_r.c
12470 (nscd_setnetgrent): New function, broken out of ...
12471 (setnetgrent): ... here. Call it.
12472 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12473 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12474 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12475 * nscd/Makefile (routines, aux): Move definitions after include of
12476 Makeconfig. Conditionalize on [$(use-nscd) != no].
12477 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12478 Conditionalize on [USE_NSCD].
12479 (is_nscd, nscd_init_cb): Likewise.
12480 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12481 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12482 * nss/nss_db/db-init.c: Likewise.
12483 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12484 [USE_NSCD].
12485 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12486 (make_request): Use it.
12487 (cache_valid_p): New function.
12488 (__check_pf): Use it.
12489 * NEWS: Add item for --disable-nscd.
12490
07e51550
DL
124912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12492
12493 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12494 to support sed >= 4.2.1-20-ga9bf076.
12495 * configure: Regenerated.
12496
35a5b08b
RM
124972012-08-22 Roland McGrath <roland@hack.frob.com>
12498
12499 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12500 Conditionalize whole body on [IREL].
12501
8479f23a
JL
125022012-08-22 Jeff Law <law@redhat.com>
12503
12504 [BZ #14505]
12505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12506 if the family is PF_UNSPEC.
12507
48da0b21
MF
125082012-08-22 Mike Frysinger <vapier@gentoo.org>
12509
12510 * Makerules (lib-version): Rename from V.
12511 (install-lib-nosubdir): Change V to lib-version.
12512
15d0da8c
WS
125132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12514
12515 [BZ #14252]
12516 * powerpc32/power6/wcschr.c: New file.
12517 * powerpc32/power6/wcscpy.c: New file.
12518 * powerpc32/power6/wcsrchr.c: New file.
12519 * powerpc64/power6/wcschr.c: New file.
12520 * powerpc64/power6/wcscpy.c: New file.
12521 * powerpc64/power6/wcsrchr.c: New file.
12522
bcca0895
MK
125232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12524
12525 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12526 (two_way_short_needle): Use it.
5a4aaa33
RM
12527 * string/strstr.c (AVAILABLE1_USES_J): Define.
12528 * string/strcasestr.c: Likewise.
99677e57
MK
12529
12530 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12531 array references.
12532 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12533
400726de
MK
12534 [BZ #11607]
12535 * NEWS: Add an entry.
12536 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12537 define their defaults.
12538 (two_way_short_needle): Detect end-of-string on-the-fly.
12539 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12540 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12541 * string/bug-strcasestr1.c: New test.
12542 * string/Makefile: Run it.
12543
20a71f2c
MK
125442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12545
12546 [BZ #11607]
12547 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12548 the first character.
12549
21ad0558
RM
125502012-08-21 Roland McGrath <roland@hack.frob.com>
12551
12552 * csu/elf-init.c (__libc_csu_irel): Function removed.
12553 * csu/libc-start.c (apply_irel): New function.
12554 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12555
0e1d9911
JM
125562012-08-21 Joseph Myers <joseph@codesourcery.com>
12557
12558 * sysdeps/unix/sysv/linux/kernel-features.h
12559 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12561 <kernel-features.h>.
12562 [__NR_fadvise64_64]: Make code unconditional.
12563 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12564 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12565 !__NR_fadvise64_64)]: Likewise.
12566 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12567 !__NR_fadvise64_64))]: Likewise.
12568 [__NR_fadvise64]: Make code unconditional.
12569 [!__NR_fadvise64]: Remove conditional code.
12570 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12571 <kernel-features.h>.
12572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12573 unconditional.
12574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12575 conditional code.
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12577 not include <kernel-features.h>.
12578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12579 unconditional.
12580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12581 conditional code.
12582 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12583 include <kernel-features.h>.
12584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12585 unconditional.
12586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12587 conditional code.
12588
14a50c9d
WS
125892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12590
12591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12592 slight instruction rearrangements per scrollpipe analysis.
12593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12594
c0f4faf0
RM
125952012-08-20 Roland McGrath <roland@hack.frob.com>
12596
696da859
RM
12597 * manual/syslog.texi (syslog; vsyslog, closelog):
12598 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12599 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12600
c0f4faf0
RM
12601 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12602 DSOCAPS to match condition on defining it.
12603
348363b2
JM
126042012-08-20 Joseph Myers <joseph@codesourcery.com>
12605
a35cbf28
JM
12606 * sysdeps/unix/sysv/linux/kernel-features.h
12607 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12612 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12613 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12617
445f7ecd
JM
12618 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12619 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12620
348363b2
JM
12621 * sysdeps/unix/sysv/linux/kernel-features.h
12622 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12623 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12624 unconditional.
12625 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12626 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12627 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12628 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12629 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12630 Make code unconditional.
12631 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12632 (__mmap64) [!__NR_mmap2]: Likewise.
12633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12634 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12635 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12636 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12637 [__NR_mmap2]: Make code unconditional.
12638 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12639 (__mmap64) [!__NR_mmap2]: Likewise.
12640
bc5bc0e5
AK
126412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12642
12643 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12644
88d506de
AJ
126452012-08-18 Andreas Jaeger <aj@suse.de>
12646
12647 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12648
493387d2
MF
126492012-08-18 Mike Frysinger <vapier@gentoo.org>
12650
12651 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12652 * include/unistd.h (__have_sock_cloexec): Likewise.
12653 (__have_pipe2): Likewise.
12654 (__have_dup3): Likewise.
12655
a277af22
MF
126562012-08-18 Mike Frysinger <vapier@gentoo.org>
12657
12658 [BZ #9685]
12659 * include/unistd.h (__have_pipe2): Change define into an extern int.
12660 (__have_dup3): Likewise.
12661 * socket/have_sock_cloexec.c: Include fcntl.h.
12662 (__have_pipe2): New variable.
12663 (__have_dup3): Likewise.
12664
fdab8fd3
MF
126652012-08-17 Mike Frysinger <vapier@gentoo.org>
12666
12667 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12668
31035e80
MP
126692012-08-17 Marek Polacek <polacek@redhat.com>
12670
12671 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12672 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12673
3bd9e993
RM
126742012-08-17 Roland McGrath <roland@hack.frob.com>
12675
c91c505f
RM
12676 * configure.in: Add AC_SUBST for sysheaders.
12677 * configure: Regenerated.
12678 * config.make.in (sysheaders): New substituted variable.
12679
7c6f9d53
RM
12680 * sysdeps/unix/mkfifo.c: Moved ...
12681 * sysdeps/posix/mkfifo.c: ... here.
12682 * sysdeps/unix/mkfifoat.c: Moved ...
12683 * sysdeps/posix/mkfifoat.c: ... here.
12684
12685 * sysdeps/unix/utime.c: Moved ...
12686 * sysdeps/posix/utime.c: ... here.
12687
12688 * sysdeps/unix/time.c: Moved ...
12689 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12690 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12691 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12692
12693 * sysdeps/unix/nice.c: Moved ...
12694 * sysdeps/posix/nice.c: ... here.
12695
12696 * sysdeps/unix/alarm.c: Moved ...
12697 * sysdeps/posix/alarm.c: ... here.
12698
3bd9e993
RM
12699 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12700
d1f09384
JL
127012012-08-17 Jeff Law <law@redhat.com>
12702
12703 * intl/Makefile (codeset_mo): New variable.
12704 ($(codeset_mo)): New target.
12705 (tst-codeset.out): Depend on that. Remove explicit rule.
12706 (tst-gettext3.out, tst-gettext5.out): Likewise.
12707 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12708 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12709 * intl/tst-codeset.sh: Remove.
12710 * intl/tst-gettext3.sh: Likewise.
12711 * intl/tst-gettext5.sh: Likewise.
12712
2ae1ae5c
RM
127132012-08-17 Roland McGrath <roland@hack.frob.com>
12714
c31fdb83
RM
12715 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12716 * sysdeps/unix/syscalls.list: ... here.
12717
a0844057
RM
12718 * sysdeps/posix/getaddrinfo.c
12719 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12720 (gaiconf_init, gaiconf_reload): Use them.
12721 [!_STATBUF_ST_NSEC]
12722 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12723 Define using time_t rather than struct timespec.
12724
750c1f2a
RM
12725 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12726 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12727 Macros removed.
12728 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12729 [!NO_THREADS].
12730 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12731 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12732 Likewise.
12733
2ae1ae5c
RM
12734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12735 __libc_cleanup_push argument.
12736
e66a42f5
RM
12737 * bits/param.h: New file.
12738 * misc/sys/param.h: New file.
12739 * include/sys/param.h: New file.
12740 * misc/Makefile (headers): Add bits/param.h.
12741 * sysdeps/generic/sys/param.h: File removed.
12742 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12743 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12744 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12745 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12746
b7c08a66
RM
12747 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12748 last change.
12749
b2e1c562
RM
12750 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12751 [_IO_MTSAFE_IO].
12752 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12753 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12754 New macros.
12755
c75ccd4c
RM
12756 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12757 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12758 rather than -D_IO_MTSAFE_IO conditionally.
12759 * stdio-common/Makefile (CPPFLAGS): Likewise.
12760 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12761 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12762 Use $(libio-mtsafe).
12763 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12764 of -D_IO_MTSAFE_IO.
12765 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12766 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12767 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12768 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12769 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12770 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12771 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12772 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12773 (CFLAGS-fread_u_chk.c): Likewise.
12774 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12775 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12776 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12777 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12778 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12779 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12780 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12781 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12782 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12783
12784 * libio/Makefile: Test [$(libc-reentrant) = yes]
12785 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12786
12787 * Makeconfig
12788 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12789 * sysdeps/pthread/configure: File removed.
12790 * sysdeps/pthread/Makeconfig: New file.
12791 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12792 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12793
d9195db8
GB
127942012-08-16 Gary Benson <gbenson@redhat.com>
12795
12796 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12797 unmapping the first object in a namespace.
12798
86466cd9
RM
127992012-08-16 Roland McGrath <roland@hack.frob.com>
12800
12801 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12802 (__internal_setnetgrent): ... this. Add internal_function to
12803 definition. Add libc_hidden_def.
12804 (setnetgrent): Update caller.
12805 (internal_endnetgrent): Renamed to ...
12806 (__internal_endnetgrent): ... this. Add internal_function to
12807 definition. Add libc_hidden_def.
12808 (endnetgrent): Update caller.
12809 (internal_getnetgrent_r): Renamed to ...
12810 (__internal_getnetgrent_r): ... this. Add internal_function to
12811 definition. Add libc_hidden_def.
12812 (__getnetgrent_r): Update caller.
12813 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12814
c3c8283c
JM
128152012-08-16 Joseph Myers <joseph@codesourcery.com>
12816
12817 * stdlib/longlong.h: Update from GCC.
12818
db1ee0a8
RM
128192012-08-16 Roland McGrath <roland@hack.frob.com>
12820
12821 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12822 on _QL, which is set by umul_ppmm but never used.
12823 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12824 variables, which are set by GMP macros but never used.
12825 * stdio-common/_itowa.c (_itowa): Likewise.
12826 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12827 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12828
30f69637
CD
128292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12830
12831 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12832 struct La_sh_regs is not constant.
12833 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12834 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12835 and struct La_sparc64_regs are not constant.
12836
93a78ac4
JM
128372012-08-16 Joseph Myers <joseph@codesourcery.com>
12838
12839 * sysdeps/unix/sysv/linux/kernel-features.h
12840 (__ASSUME_POSIX_TIMERS): Remove.
12841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12843 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12844 Make code unconditional.
12845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12846 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12847 Make code unconditional.
12848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12849 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12850 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12852 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12853 Make code unconditional.
12854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12856 (__libc_missing_posix_timers): Remove.
12857
dd924cd7
RM
128582012-08-15 Roland McGrath <roland@hack.frob.com>
12859
4b4f2771
RM
12860 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12861 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12862
601c888b
RM
12863 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12864
176790a7
RM
12865 * elf/dl-sym.c: Include <stdlib.h>.
12866
329bc018
RM
12867 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12868 constants, which avoids warnings in 32-bit builds.
12869
e04e272d
RM
12870 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12871 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12872
952bf94a
RM
12873 * misc/lseek.c: File moved to ...
12874 * io/lseek.c: ... here.
12875
7c99b50a
RM
12876 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12877
dd924cd7
RM
12878 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12879 shifting LEN more than 31 bits at once.
12880
b3f479a8
LD
128812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12882
12883 [BZ #14195]
8c4ae0d4
RM
12884 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12885 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12886 * string/test-strncasecmp.c (check1): Renamed to...
12887 (bz12205): ...this.
12888 (bz14195): Add new testcase for two empty input strings and N > 0.
12889 (test_main): Call new testcase, adapt for renamed function.
12890
9c55864e
AJ
128912012-08-15 Andreas Jaeger <aj@suse.de>
12892
12893 [BZ #14090]
12894 * crypt/md5test2.c: New test, based on test supplied by Serge
12895 Belyshev <belyshev@depni.sinp.msu.ru>.
12896 * crypt/Makefile (xtests): Add md5test-giant..
12897 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12898
02dcb6c5
PE
128992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12900
12901 [BZ #14090]
12902 * crypt/md5.c (md5_process_block): Don't assume the buffer
12903 length is less than 2**32.
12904 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12905 length is less than 2**64.
12906
a3f95dcc
RM
129072012-08-15 Roland McGrath <roland@hack.frob.com>
12908
be75d758
RM
12909 * string/str-two-way.h: Include <sys/param.h>.
12910 (MAX): Macro removed.
12911
7312ca90
RM
12912 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12913 Move #define and #undef of memmove to just before and after
12914 including <string.h>.
12915
9a0a5486
RM
12916 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12917 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12918 and after including <string.h>. Move declarations of
12919 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12920 to before #include "string/memmove.c".
12921
67cc348d
RM
12922 * include/dirent.h: Declare __getdirentries.
12923
a3f95dcc
RM
12924 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12925 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12926
ca98e171
MF
129272012-08-14 Mike Frysinger <vapier@gentoo.org>
12928
12929 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12930 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12931 * sysdeps/i386/configure: Regenerated.
12932 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12933 STABS_CURRENT_FILE, and STABS_FUN.
12934 (END): Remove call to STABS_FUN_END.
12935 (STABS_CURRENT_FILE1): Delete.
12936 (STABS_CURRENT_FILE): Likewise.
12937 (STABS_FUN): Likewise.
12938 (STABS_FUN_END): Likewise.
12939 (STABS_FUN2): Likewise.
12940 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12941 * sysdeps/x86_64/configure: Regenerated.
12942
5908bf46
RM
129432012-08-14 Roland McGrath <roland@hack.frob.com>
12944
12945 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12946 * elf/dl-lookup.c: Likewise.
5908bf46 12947
f2c05b9e
JM
129482012-08-14 Joseph Myers <joseph@codesourcery.com>
12949
12950 * sysdeps/unix/sysv/linux/kernel-features.h
12951 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12952 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12953 unconditionally.
12954 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12955 unconditionally.
12956 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12957 condition on __ASSUME_CLONE_THREAD_FLAGS.
12958
e11f5155
AJ
129592012-08-14 Andreas Jaeger <aj@suse.de>
12960
12961 * sysdeps/i386/fpu/libm-test-ulps: Update.
12962
51a9ba86
MK
129632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12964
2fdd4f78
AJ
12965 * include/atomic.h (atomic_exchange_and_add): Split into ...
12966 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12967 New atomic macros.
51a9ba86 12968
ba6cba9e
MT
129692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12970
12971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12972
42443a47
JL
129732012-08-13 Jeff Law <law@redhat.com>
12974
12975 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12976 null byte in the output string.
12977
121dce05
JM
129782012-08-10 Joseph Myers <joseph@codesourcery.com>
12979
12980 * sysdeps/unix/sysv/linux/kernel-features.h
12981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12982 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12983 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12985 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12986 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12987 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12988
bf51f568
JL
129892012-08-09 Jeff Law <law@redhat.com>
12990
12991 [BZ #13939]
12992 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12993 When avoid_arena is set, don't retry in the that arena. Pick the
12994 next one, whatever it might be.
12995 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12996 (arena_lock): Pass in new parameter to arena_get2.
12997 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12998 arena_get2.
12999 (__libc_malloc): Unify retrying after main arena failure with
13000 __libc_memalign version.
13001 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13002
f85fa270
L
130032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 [BZ #14166]
13006 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13007 to __redirect_strstr.
13008 (__strstr_sse42): Use typeof __redirect_strstr.
13009 (__strstr_ia32): Likewise.
13010 (__libc_strstr): New prototype.
13011 (strstr): Renamed to ...
13012 (__libc_strstr): This.
13013 (strstr): New strong alias of __libc_strstr.
13014 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13015 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13016 __redirect_time.
13017 Include <time.h>.
13018 (__libc_time): New prototype.
13019 (time_ifunc): Replace time with __libc_time.
13020 (time): New strong alias and hidden definition of __libc_time.
13021 (__GI_time): Remove strong alias.
13022 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13023 Include <stddef.h>.
13024 (memmove): Redefined to __redirect_memmove.
13025 (__memmove_sse2): Use typeof __redirect_memmove.
13026 (__memmove_ssse3): Likewise.
13027 (__memmove_ssse3_back): Likewise.
13028 (__libc_memmove): New prototype.
13029 (memmove): Renamed to ...
13030 (__libc_memmove): This.
13031 (memmove): New strong alias of __libc_memmove.
13032
33b4a91e
MS
130332012-08-08 Mark Salter <msalter@redhat.com>
13034
13035 * elf/elf.h
13036 (R_MN10300_TLS_GD): Define.
13037 (R_MN10300_TLS_LD): Likewise.
13038 (R_MN10300_TLS_LDO): Likewise.
13039 (R_MN10300_TLS_GOTIE): Likewise.
13040 (R_MN10300_TLS_IE): Likewise.
13041 (R_MN10300_TLS_LE): Likewise.
13042 (R_MN10300_TLS_DTPMOD): Likewise.
13043 (R_MN10300_TLS_DTPOFF): Likewise.
13044 (R_MN10300_TLS_TPOFF): Likewise.
13045 (R_MN10300_SYM_DIFF): Likewise.
13046 (R_MN10300_ALIGN): Likewise.
13047 (R_MN10300_NUM): Update.
13048
b36137f1
JM
130492012-08-08 Joseph Myers <joseph@codesourcery.com>
13050
13051 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13052 Remove.
13053
cdd915fd
RM
130542012-08-08 Roland McGrath <roland@hack.frob.com>
13055
a2433aac
RM
13056 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13057
cdd915fd
RM
13058 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13059 sysdeps/unix -> sysdeps/posix move.
13060 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13061
bf9b740a
AM
130622012-08-07 Allan McRae <allan@archlinux.org>
13063
13064 [BZ #14303]
13065 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13066 (SUNOS_CPP): Likewise.
13067 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13068 not found.
13069 (open_input): Call CPP using execvp.
13070
93df14ee
JM
130712012-08-07 Joseph Myers <joseph@codesourcery.com>
13072
13073 * sysdeps/unix/sysv/linux/kernel-features.h
13074 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13075 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13076 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13077 (__ASSUME_WAITID_SYSCALL): Likewise.
13078 * sysdeps/unix/sysv/linux/dl-execstack.c
13079 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13080 code unconditional.
13081 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13082 conditional code.
13083 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13084 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13085 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13086 code.
13087 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13088 unconditional.
13089 [__ASSUME_WAITID_SYSCALL]: Likewise.
13090 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13091
d34689de
RM
130922012-08-07 Roland McGrath <roland@hack.frob.com>
13093
a281decc
RM
13094 * sysdeps/unix/closedir.c: Renamed to ...
13095 * sysdeps/posix/closedir.c: ... here.
13096 * sysdeps/unix/dirfd.c: Renamed to ...
13097 * sysdeps/posix/dirfd.c: ... here.
13098 * sysdeps/unix/dirstream.h: Renamed to ...
13099 * sysdeps/posix/dirstream.h: ... here.
13100 * sysdeps/unix/fdopendir.c: Renamed to ...
13101 * sysdeps/posix/fdopendir.c: ... here.
13102 * sysdeps/unix/opendir.c: Renamed to ...
13103 * sysdeps/posix/opendir.c: ... here.
13104 * sysdeps/unix/readdir.c: Renamed to ...
13105 * sysdeps/posix/readdir.c: ... here.
13106 * sysdeps/unix/readdir_r.c: Renamed to ...
13107 * sysdeps/posix/readdir_r.c: ... here.
13108 * sysdeps/unix/rewinddir.c: Renamed to ...
13109 * sysdeps/posix/rewinddir.c: ... here.
13110 * sysdeps/unix/seekdir.c: Renamed to ...
13111 * sysdeps/posix/seekdir.c: ... here.
13112 * sysdeps/unix/telldir.c: Renamed to ...
13113 * sysdeps/posix/telldir.c: ... here.
13114 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13115 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13116 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13117 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13118
22895b47
RM
13119 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13120 * bits/fcntl.h: ... here.
13121
707a53b6
RM
13122 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13123 not 0.
13124 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13125 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13126 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13127 (struct flock): Move l_start, l_len to the beginning.
13128 Use __pid_t for l_pid.
13129 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13130 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13131 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13132 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13133 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13134 [__USE_LARGEFILE64] (struct flock64): New type.
13135 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13136
f0bd3e25
RM
13137 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13138 * bits/dirent.h: ... here.
13139
d34689de
RM
13140 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13141 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13142
6dad2c06
JM
131432012-08-07 Joseph Myers <joseph@codesourcery.com>
13144
13145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13146 Change from 2.6.0 to 2.6.16.
13147 * sysdeps/unix/sysv/linux/configure: Regenerated.
13148 * sysdeps/unix/sysv/linux/kernel-features.h
13149 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13150 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13151 version.
13152 (__ASSUME_UTIMES): Likewise.
13153 (__ASSUME_CLONE_STOPPED): Remove.
13154 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13155 architectures, not kernel version.
13156 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13157 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13158 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13159 (__ASSUME_WAITID_SYSCALL): Likewise.
13160 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13161 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13162 * README: State 2.6.16 as minimum Linux kernel version. Do not
13163 refer to older versions.
13164
03af9520
RM
131652012-08-06 Roland McGrath <roland@hack.frob.com>
13166
8e49df1d
RM
13167 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13168 Define alphasort64 as an alias.
13169 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13170 Define versionsort64 as an alias.
13171 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13172 Define scandir64 as an alias.
13173 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13174 Define scandirat64 as an alias.
13175 * dirent/alphasort64.c (alphasort64):
13176 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13177 * dirent/versionsort64.c: Likewise.
13178 * dirent/scandir64.c: Likewise.
13179 * dirent/scandirat64.c: Likewise.
13180 * sysdeps/wordsize-64/alphasort.c: File removed.
13181 * sysdeps/wordsize-64/alphasort64.c: File removed.
13182 * sysdeps/wordsize-64/scandir.c: File removed.
13183 * sysdeps/wordsize-64/scandir64.c: File removed.
13184 * sysdeps/wordsize-64/scandirat.c: File removed.
13185 * sysdeps/wordsize-64/scandirat64.c: File removed.
13186 * sysdeps/wordsize-64/versionsort.c: File removed.
13187 * sysdeps/wordsize-64/versionsort64.c: File removed.
13188 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13190 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13191 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13192 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13193 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13196
13197 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13199 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13201 [defined __arch64__ || defined __sparcv9]
13202 (__INO_T_MATCHES_INO64_T): New macro.
13203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13204 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13205 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13206 * sysdeps/unix/sysv/linux/bits/dirent.h
13207 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13208 (_DIRENT_MATCHES_DIRENT64): New macro.
13209
03af9520
RM
13210 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13211 Define lockf64 as an alias.
13212 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13213 Define fseeko64 as an alias.
13214 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13215 Define ftello64 as an alias.
13216 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13217 Define _IO_fgetpos64 and fgetpos64 as aliases.
13218 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13219 Define _IO_fsetpos64 and fsetpos64 as aliases.
13220 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13221 Conditionalize body on this.
13222 * libio/fseeko64.c: Likewise.
13223 * libio/ftello64.c: Likewise.
13224 * libio/iofgetpos64.c: Likewise.
13225 * libio/iofsetpos64.c: Likewise.
13226 * sysdeps/wordsize-64/lockf.c: File removed.
13227 * sysdeps/wordsize-64/lockf64.c: File removed.
13228 * sysdeps/wordsize-64/fseeko.c: File removed.
13229 * sysdeps/wordsize-64/fseeko64.c: File removed.
13230 * sysdeps/wordsize-64/ftello.c: File removed.
13231 * sysdeps/wordsize-64/ftello64.c: File removed.
13232 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13233 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13234 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13235 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13246
13247 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13249 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13251 [defined __arch64__ || defined __sparcv9]
13252 (__OFF_T_MATCHES_OFF64_T): New macro.
13253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13254 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13256 (__OFF_T_MATCHES_OFF64_T): New macro.
13257
c5757acd
L
132582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13259
13260 * stdlib/secure-getenv.c (__secure_getenv): Replace
13261 GLIBC_2_16 with GLIBC_2_17.
13262
3a31811e
L
132632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13264
13265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13267
faa2bccb
DM
132682012-08-03 David S. Miller <davem@davemloft.net>
13269
13270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13271
85fe1997
JM
132722012-08-03 Joseph Myers <joseph@codesourcery.com>
13273
13274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13275 Remove.
13276 (__ASSUME_CORRECT_SI_PID): Likewise.
13277 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13278 (__ASSUME_TMPFS_NAME): Likewise.
13279 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13280 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13281 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13282 (HAVE_AUX_SECURE): Make definition unconditional.
13283 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13284 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13285
4f75b7a0
RM
132862012-08-03 Roland McGrath <roland@hack.frob.com>
13287
13288 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13289 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13290 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13292 __eloop_threshold instead of SYMLOOP_MAX.
13293
13294 * sysdeps/generic/eloop-threshold.h: New file.
13295 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13296 of MAXSYMLINKS.
13297 * elf/chroot_canon.c (chroot_canon): Likewise.
13298
7aab07e4
JM
132992012-08-03 Joseph Myers <joseph@codesourcery.com>
13300
13301 [BZ #13717]
13302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13303 Change to 2.6.0 everywhere.
13304 * sysdeps/unix/sysv/linux/configure: Regenerated.
13305 * sysdeps/unix/sysv/linux/kernel-features.h
13306 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13307 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13308 kernel versions.
13309 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13310 (__ASSUME_FUTEX_REQUEUE): Remove.
13311 (__ASSUME_STATFS64): Define unconditionally.
13312 (__ASSUME_AT_SECURE): Likewise.
13313 (__ASSUME_CORRECT_SI_PID): Likewise.
13314 (__ASSUME_TGKILL): Define without depending on kernel version for
13315 i386.
13316 (__ASSUME_UTIMES): Likewise.
13317 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13318 kernel version.
13319 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13320 (__ASSUME_TMPFS_NAME): Likewise.
13321 * README: Update reference to Linux kernel versions.
13322
b67e9372
MP
133232012-08-02 Marek Polacek <polacek@redhat.com>
13324
1f529f7d 13325 [BZ# 14150]
b67e9372
MP
13326 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13327 libc_cv_asm_type_prefix with %.
13328 * configure: Regenerated.
d2441631
RM
13329 * include/libc-symbols.h: Remove comment about
13330 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13331 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13332 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13333 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13334 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13335 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13336 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13337 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13338 * elf/tst-unique2mod1.c: Likewise.
13339 * elf/tst-unique1mod2.c: Likewise.
13340 * elf/tst-unique1mod1.c: Likewise.
13341 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13342 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13343 Replace ASM_TYPE_DIRECTIVE with .type.
13344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13345 * sysdeps/i386/sysdep.h: Likewise.
13346 * sysdeps/x86_64/sysdep.h: Likewise.
13347 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13349 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13350 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13351 * sysdeps/powerpc/powerpc32/sysdep.h:
13352 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13353 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13354 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13355 * sysdeps/i386/fpu/e_powf.S: Likewise.
13356 * sysdeps/i386/fpu/e_expl.S: Likewise.
13357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13358 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13359 * sysdeps/i386/fpu/e_pow.S: Likewise.
13360 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13361 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13362 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13363 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13364 * sysdeps/i386/fpu/e_log2.S: Likewise.
13365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13366 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13367 * sysdeps/i386/fpu/e_powl.S: Likewise.
13368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13370 * sysdeps/i386/fpu/e_logl.S: Likewise.
13371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13372 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13373 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13375 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13376 * sysdeps/i386/fpu/e_log.S: Likewise.
13377 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13378 * sysdeps/i386/fpu/e_logf.S: Likewise.
13379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13381 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13382 * sysdeps/i386/fpu/e_log10.S: Likewise.
13383 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13385 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13386 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13389 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13390 * sysdeps/i386/i686/strtok.S: Likewise.
13391 * sysdeps/i386/i386-mcount.S: Likewise.
13392 * sysdeps/i386/strtok.S: Likewise.
13393 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13394 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13396 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13397 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13399 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13400 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13402 * sysdeps/x86_64/_mcount.S: Likewise.
13403 * sysdeps/x86_64/strtok.S: Likewise.
13404 * sysdeps/sh/_mcount.S: Likewise.
13405
2747bf9a
RM
134062012-08-01 Roland McGrath <roland@hack.frob.com>
13407
13408 * libio/iofopen.c: Include <fcntl.h>.
13409 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13410 (_IO_fopen64, fopen64): Define as aliases.
13411 * libio/iofopen64.c: Include <fcntl.h>.
13412 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13413 Conditionalize body on this.
13414 * sysdeps/wordsize-64/iofopen.c: File removed.
13415 * sysdeps/wordsize-64/iofopen64.c: File removed.
13416
3fb791b8
MP
134172012-08-01 Marek Polacek <polacek@redhat.com>
13418
13419 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13420 Use dlfcn directly instead of a variable.
13421 (binfmt-subdir): Do not define.
13422 (dlfcn): Likewise.
13423
a9f1039f
JM
134242012-08-01 Joseph Myers <joseph@codesourcery.com>
13425
23bddc06
JM
13426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13427 Remove all definitions.
13428 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13429 <kernel-features.h>.
13430 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13431 (miss_F_GETOWN_EX): Remove all definitions.
13432 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13433 macro definition.
13434 [!__ASSUME_FCNTL64]: Remove conditional code.
13435 [__ASSUME_FCNTL64]: Make code unconditional.
13436 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13437 <kernel-features.h>.
13438 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13439 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13440 (lockf64) [__NR_fcntl64]: Make code unconditional.
13441 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13442
a9f1039f
JM
13443 * sysdeps/unix/sysv/linux/kernel-features.h
13444 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13445 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13446 Make code unconditional.
13447 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13448 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13450 [__NR_vfork]: Make code unconditional.
13451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13454 [__NR_vfork]: Make code unconditional.
13455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13457
09c0ee5f
RM
134582012-08-01 Roland McGrath <roland@hack.frob.com>
13459
48aec5b9
RM
13460 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13461 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13462
cd97c966
RM
13463 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13464 Define mkstemp64 as an alias.
3f55550c
RM
13465 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13466 Define mkstemps64 as an alias.
cd97c966
RM
13467 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13468 Define mkostemp64 as an alias.
b8625cfc
RM
13469 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13470 Define mkostemps64 as an alias.
cd97c966
RM
13471 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13472 Conditionalize body on this.
13473 * misc/mkostemp64.c: Likewise.
b8625cfc 13474 * misc/mkostemps64.c: Likewise.
3f55550c 13475 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13476 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13477 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13478 * sysdeps/wordsize-64/mkostemp.c: File removed.
13479 * sysdeps/wordsize-64/mkstemp.c: File removed.
13480 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13481 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13482 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13483 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13484
09c0ee5f
RM
13485 [BZ #14138]
13486 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13487 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13488 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13489 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13490
13491 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13492 compat_symbol macros from <shlib-compat.h> rather than the underlying
13493 default_symbol_version and symbol_version macros, so that DEFAULT
13494 lines in shlib-versions are respected.
13495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13496
7e66ee51
FW
134972012-08-01 Florian Weimer <fweimer@redhat.com>
13498
13499 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13500 Declare with warn_unused_result.
13501 (setgid, setregid, setegid, setresgid): Likewise.
13502 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13503 Likewise.
13504 * WUR-REPORT: Remove set*id functions.
13505
d2a54255
PT
135062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13507
13508 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13509
7ecdb005
RM
135102012-07-31 Roland McGrath <roland@hack.frob.com>
13511
b4180a5e 13512 [BZ #10191]
789bd351
RM
13513 * include/sys/socket.h (__libc_accept, __libc_accept4):
13514 Add attribute_hidden.
13515 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13516
40ce302d
RM
13517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13518 use of PTR_MANGLE.
13519 * inet/getnetgrent_r.c (setup): Likewise.
13520
7ecdb005
RM
13521 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13522
e2eabb2c
DM
135232012-07-31 David S. Miller <davem@davemloft.net>
13524
13525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13526
d0419dbf
JM
135272012-07-31 Joseph Myers <joseph@codesourcery.com>
13528
13529 [BZ #13629]
13530 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13531 value between 1.0 and 2.0 and smaller part has absolute value less
13532 than 1.0.
13533 * math/s_clog10.c (__clog10): Likewise.
13534 * math/s_clog10f.c (__clog10f): Likewise.
13535 * math/s_clog10l.c (__clog10l): Likewise.
13536 * math/s_clogf.c (__clogf): Likewise.
13537 * math/s_clogl.c (__clogl): Likewise.
13538 * math/libm-test.inc (clog_test): Add more tests.
13539 (clog10_test): Likewise.
13540 * sysdeps/i386/fpu/libm-test-ulps: Update.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13542
2bc13872
FW
135432012-07-31 Florian Weimer <fweimer@redhat.com>
13544
13545 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13546 Exit with zero in case no suitable GID is found, and write a
13547 message to standard error.
13548
bea9b193
RM
135492012-07-30 Roland McGrath <roland@hack.frob.com>
13550
13551 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13552 rather than to 1.
13553 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13554 (MAXPATHLEN): Removed.
13555 (NOGROUP, NODEV): New macros.
13556 (setbit, clrbit, isset, isclr): New macros.
13557 (howmany, roundup, powerof2): New macros.
13558 (DEV_BSIZE): New macro.
13559
13560 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13561 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13562
13563 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13564 definition on [!__NO_LONG_DOUBLE_MATH].
13565
13566 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13567 PTR_MANGLE and PTR_DEMANGLE.
13568
13569 * socket/accept4.c (accept4): Rename to __libc_accept4.
13570 Define accept4 as a weak alias.
13571
13572 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13573 on [_DIRENT_HAVE_D_TYPE].
13574 * io/ftw.c (ftw_dir): Likewise.
13575
13576 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13577
13578 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13579
13580 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13581 Use the BSD numbers rather than the arbitrary ones we had.
13582 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13583 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13584 (SIGXCPU, SIGXFSZ): New macros.
13585 (_NSIG): Now 32.
13586
13587 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13588 initializer on [_LIBC_REENTRANT].
13589
13590 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13591 definitions inside [_POSIX_MAPPED_FILES].
13592
13593 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13594
13595 * dirent/opendir.c: Include <fcntl.h>.
13596
13597 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13598 (__libc_getspecific): Likewise.
13599 (__libc_key_create): Likewise.
13600
13601 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13602 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13603 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13604 (tmpfile64): Define as alias.
13605 * sysdeps/wordsize-64/tmpfile.c: File removed.
13606 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13608 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13609
13610 * stdio-common/vfscanf.c: Include <stdbool.h>.
13611 * nss/makedb.c: Likewise.
13612 * stdio-common/_i18n_number.h: Likewise.
13613 * argp/argp-help.c: Likewise.
13614 * posix/wordexp.c: Likewise.
13615 * sysdeps/posix/spawni.c: Likewise.
13616 * nss/nss_files/files-initgroups.c: Likewise.
13617 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13618 * nss/nss_files/files-initgroups.c: Likewise.
13619 * nss/nss_db/db-netgrp.c: Likewise.
13620 * nss/nss_db/db-initgroups.c: Likewise.
13621 * io/fchmodat.c: Include <sys/stat.h>.
13622
13623 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13624 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13625
13626 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13627 [HAVE_MMAP].
13628
13629 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13630 Add multiple inclusion protection.
13631
e5abc686
DM
136322012-07-27 David S. Miller <davem@davemloft.net>
13633
13634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13635
815e6fa3
GB
136362012-07-27 Gary Benson <gbenson@redhat.com>
13637
13638 [BZ #14298]
13639 * elf/rtld.c: Include <stap-probe.h>.
13640 (dl_main): Added static probes "init_start" and "init_complete".
13641 * elf/dl-load.c: Include <stap-probe.h>.
13642 (lose): Take new parameter "nsid".
13643 Added static probe "map_failed".
13644 (_dl_map_object_from_fd): Pass namespace id to lose.
13645 Added static probe "map_start".
13646 (open_verify): Pass namespace id to lose.
13647 * elf/dl-open.c: Include <stap-probe.h>.
13648 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13649 and "reloc_complete".
13650 * elf/dl-close.c: Include <stap-probe.h>.
13651 (_dl_close_worker): Added static probes "unmap_start" and
13652 "unmap_complete".
13653 * elf/rtld-debugger-interface.txt: New file documenting the above.
13654
9f98c16c
RM
136552012-07-26 Roland McGrath <roland@hack.frob.com>
13656
13657 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13658 rather than a string variable.
13659 * sunrpc/rpc_main.c (h_output): Likewise.
13660 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13661
f3c22df3
PT
136622012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13663
13664 * inet/check_native.c: New file.
13665
3129cfc6
JM
136662012-07-26 Joseph Myers <joseph@codesourcery.com>
13667
da865e95
JM
13668 [BZ #13629]
13669 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13670 if larger part has absolute value 1.0.
13671 * math/s_clog10.c (__clog10): Likewise.
13672 * math/s_clog10f.c (__clog10f): Likewise.
13673 * math/s_clog10l.c (__clog10l): Likewise.
13674 * math/s_clogf.c (__clogf): Likewise.
13675 * math/s_clogl.c (__clogl): Likewise.
13676 * math/libm-test.inc (clog_test): Add more tests.
13677 (clog10_test): Likewise.
13678 * sysdeps/i386/fpu/libm-test-ulps: Update.
13679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13680
3129cfc6
JM
13681 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13682 (pltexit): Likewise.
13683 (La_regs): Likewise.
13684 (La_retval): Likewise.
13685 (int_retval): Likewise.
13686 Update #error for removed macros to refer only to definitions in
13687 tst-audit.h.
13688 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13689 macro.
13690 (pltexit): Likewise.
13691 (La_regs): Likewise.
13692 (La_retval): Likewise.
13693 (int_retval): Likewise.
13694 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13695 macro.
13696 (pltexit): Likewise.
13697 (La_regs): Likewise.
13698 (La_retval): Likewise.
13699 (int_retval): Likewise.
13700 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13701 macro.
13702 (pltexit): Likewise.
13703 (La_regs): Likewise.
13704 (La_retval): Likewise.
13705 (int_retval): Likewise.
13706 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13707 macro.
13708 (pltexit): Likewise.
13709 (La_regs): Likewise.
13710 (La_retval): Likewise.
13711 (int_retval): Likewise.
13712 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13713 macro.
13714 (pltexit): Likewise.
13715 (La_regs): Likewise.
13716 (La_retval): Likewise.
13717 (int_retval): Likewise.
13718 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13719 macro.
13720 (pltexit): Likewise.
13721 (La_regs): Likewise.
13722 (La_retval): Likewise.
13723 (int_retval): Likewise.
13724 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13725 macro definitions in tst-audit.h.
13726 * sysdeps/i386/tst-audit.h: New file.
13727 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13728 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13729 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13730 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13731 * sysdeps/sh/tst-audit.h: Likewise.
13732 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13733 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13734 * sysdeps/x86_64/tst-audit.h: Likewise.
13735
bfc07087
AJ
137362012-07-26 Andreas Jaeger <aj@suse.de>
13737
b1b2aaf8
AJ
13738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13739 ptrace.
13740
13741 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13742 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13743 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13744 PTRACE_O_MASK.
13745 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13746 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13747 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13748
bfc07087
AJ
13749 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13750 value.
13751
13752 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13753 _sigsys.
13754 (si_call_addr, si_syscall, si_arch): Define new macro.
13755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13756 _sigsys.
13757 (si_call_addr, si_syscall, si_arch): Define new marcro.
13758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13759 _sigsys.
13760 (si_call_addr, si_syscall, si_arch): Define new macro.
13761 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13762 _sigsys.
13763 (si_call_addr, si_syscall, si_arch): Define new macro.
13764
89b4b02f
JM
137652012-07-25 Joseph Myers <joseph@codesourcery.com>
13766
13767 [BZ #13717]
13768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13769 Change to 2.4.21 where previously 2.4.1.
13770 * sysdeps/unix/sysv/linux/configure: Regenerated.
13771 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13772 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13773 Linux kernel version.
13774 (__ASSUME_STD_AUXV): Remove.
13775 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13776 kernel version.
13777 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13778 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13779 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13780 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13781 (__ASSUME_NETLINK_SUPPORT): Likewise.
13782 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13783 (__no_netlink_support): Remove conditional definition.
13784 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13785 Remove.
13786 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13787 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13788 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13789 (if_nameindex_ioctl): Remove.
13790 (if_nameindex_netlink): Do not handle __no_netlink_support.
13791 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13792 code.
13793 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13794 Remove conditional code.
13795 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13796 code.
13797 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13798 unconditional.
13799 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13800 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13801 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13802 Remove.
13803 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13804 [!__ASSUME_STD_AUXV]: Remove conditional code.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13806 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13807 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13809 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13810 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13811 code.
13812 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13814 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13815 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13816 conditional code.
13817 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13819 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13820 code.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13822 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13823 conditional code.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13825 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13826 code unconditional.
13827 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13828 conditional code.
13829 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13830 unconditional.
13831 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13832 conditional code.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13834 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13835 unconditional.
13836 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13837 conditional code.
13838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13839 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13840 code unconditional.
13841 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13842 conditional code.
13843 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13844 unconditional.
13845 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13846 conditional code.
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13848 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13849 code unconditional.
13850 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13851 conditional code.
13852 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13853 unconditional.
13854 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13855 conditional code.
13856
842a39cd
AS
138572012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13858
13859 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13860 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13861 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13862 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13863 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13864 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13865 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13866 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13867 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13868 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13869 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13870 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13871 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13872 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13875 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13877 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13879 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13880 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13881 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13882
84b3fd84
FW
138832012-07-25 Florian Weimer <fweimer@redhat.com>
13884
13885 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13886 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13887 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13888 Introduce __libc_secure_getenv.
0c7936d5
FW
13889 * stdlib/Versions (2.17): Add secure_getenv
13890 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13891 * stdlib/secure-getenv.c: Rename __secure_getenv to
13892 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13893 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13894 * stdlib/tst-secure-getenv.c: New.
13895 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13896 * manual/startup.texi (Environment Access): Document
13897 secure_getenv.
84b3fd84
FW
13898 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13899 __libc_secure_getenv.
13900 * inet/ruserpass.c (ruserpass): Likewise.
13901 * malloc/mtrace.c (mtrace): Likewise.
13902 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13903 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13904 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13905 * sysdeps/posix/tempname.c: Likewise. Evaluate
13906 HAVE_SECURE_GETENV.
13907 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13908 __secure_getenv to __libc_secure_getenv.
84b3fd84 13909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13911 Likewise.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13913 Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13921
56e49b71
JM
139222012-07-25 Joseph Myers <joseph@codesourcery.com>
13923
13924 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13925 (struct La_i86_retval): Likewise.
13926 (struct La_x86_64_regs): Likewise.
13927 (struct La_x86_64_retval): Likewise.
13928 (struct La_x32_regs): Likewise.
13929 (struct La_x32_retval): Likewise.
13930 (struct La_ppc32_regs): Likewise.
13931 (struct La_ppc32_retval): Likewise.
13932 (struct La_ppc64_regs): Likewise.
13933 (struct La_ppc64_retval): Likewise.
13934 (struct La_sh_regs): Likewise.
13935 (struct La_sh_retval): Likewise.
13936 (struct La_s390_32_regs): Likewise.
13937 (struct La_s390_32_retval): Likewise.
13938 (struct La_s390_64_regs): Likewise.
13939 (struct La_s390_64_retval): Likewise.
13940 (struct La_sparc32_regs): Likewise.
13941 (struct La_sparc32_retval): Likewise.
13942 (struct La_sparc64_regs): Likewise.
13943 (struct La_sparc64_retval): Likewise.
13944 (struct audit_ifaces): Remove architecture-specific pltenter and
13945 pltexit members.
13946 * sysdeps/i386/ldsodefs.h: New file.
13947 * sysdeps/powerpc/ldsodefs.h: Likewise.
13948 * sysdeps/s390/ldsodefs.h: Likewise.
13949 * sysdeps/sh/ldsodefs.h: Likewise.
13950 * sysdeps/sparc/ldsodefs.h: Likewise.
13951 * sysdeps/x86_64/ldsodefs.h: Likewise.
13952
354691b7
MP
139532012-07-25 Marek Polacek <polacek@redhat.com>
13954
13955 [BZ #6808]
13956 * math/libm-test.inc (yn_test): Add another test.
13957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13958 to ERANGE when the result is +-Inf.
13959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13960 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13961 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13962 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13963
bf9e2071
JM
139642012-07-24 Joseph Myers <joseph@codesourcery.com>
13965
13966 * conform/data/time.h-data (NULL): Use macro-constant. Require
13967 equal to 0.
13968 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13969 clock_t.
13970 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13971
57633811
TS
139722012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13973
13974 * configure.in <sysdeps resolving>: Correct printing
13975 Implies_before.
13976 * configure: Regenerate.
13977
c23c33b0
TS
139782012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13979
13980 * math/w_ilogb.c: Include <limits.h>.
13981 * math/w_ilogbl.c: Likewise.
13982
b5982523
JM
139832012-07-20 Joseph Myers <joseph@codesourcery.com>
13984
13985 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13986 va_copy. Document allowing for unavailable va_copy only as
13987 pre-C99 compatibility.
13988 * manual/string.texi (Copying and Concatenation): Use va_copy
13989 instead of __va_copy in concat example.
13990
ac4ea442
PT
139912012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13992
13993 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13994 (__sendto): Use create_address_port. Initialize APORT and deallocate
13995 it if not null.
13996
f98eafbd
PT
13997 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13998 with O_NOLINK passed to __file_name_lookup.
13999
898c7aab
PT
14000 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14001 with O_NOLINK passed to __file_name_lookup.
14002
0ced335a
PT
14003 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14004 negative N or less than NGIDS.
14005
b3404dbd
PT
14006 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14007 type to string_t. Set ERANGE as errno and return it if NAME is not big
14008 enough. Use memcpy instead of strncpy.
14009
0f48659e
JM
140102012-07-20 Joseph Myers <joseph@codesourcery.com>
14011
14012 * elf/Makefile (check-data): Remove.
14013 (localplt.data): New vpath directive.
14014 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14015 instead of $(check-data).
14016 * scripts/data/localplt-generic.data: Move to ...
14017 * sysdeps/generic/localplt.data: ... here.
14018 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14019 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14020 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14022 ... here.
14023 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14025 ... here.
14026 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14028 ... here.
14029 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14031 ... here.
14032 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14034 ... here.
14035 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14037 ... here.
14038
d37cbdaa
AZ
140392012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14040
14041 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14042 PPC32 and PPC64 files.
14043 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14044 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14045
46f85fc2
AK
140462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14047
14048 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14049 __makecontext_ret to ...
14050 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14051 ... here and call exit if uc_link is NULL. New file.
14052 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14053 __makecontext_ret.S.
14054 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14055 __makecontext_ret to ...
14056 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14057 ... here and call exit if uc_link is NULL. New file.
14058 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14059 __makecontext_ret.S.
14060
08f43f9b
AK
140612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14062
14063 * elf/elf.h (R_390_IRELATIVE): New definition.
14064 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14065 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14066 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14067 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14068 (elf_machine_lazy_rel): Likewise.
14069 * sysdeps/s390/dl-irel.h: New file.
14070 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14071 * sysdeps/s390/s390-64/memset.S: New asm code.
14072 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14073 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14074 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14075 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14076 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14077 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14079 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14080 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14081 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14082 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14083 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14084 * sysdeps/s390/s390-32/memset.S: New asm code.
14085 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14086
3b05db33
MP
140872012-07-17 Marek Polacek <polacek@redhat.com>
14088
14089 [BZ #14349]
14090 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14091 * sysdeps/s390/s390-64/configure.in: Likewise.
14092 * sysdeps/sparc/configure.in: Likewise.
14093 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14094 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14095 * sysdeps/i386/configure.in: Likewise.
14096 * sysdeps/x86_64/configure.in: Likewise.
14097 * sysdeps/sh/configure.in: Likewise.
14098 * sysdeps/s390/s390-32/configure: Regenerated.
14099 * sysdeps/s390/s390-64/configure: Likewise.
14100 * sysdeps/x86_64/configure: Likewise.
14101 * sysdeps/sh/configure: Likewise.
14102 * sysdeps/powerpc/powerpc64/configure: Likewise.
14103 * sysdeps/powerpc/powerpc32/configure: Likewise.
14104 * sysdeps/sparc/configure: Likwise.
14105 * sysdeps/i386/configure: Likewise.
14106
a66877c6
MP
14107 * elf/dl-open.c: Comment fixes.
14108
cfc82fd8
JM
141092012-07-17 Joseph Myers <joseph@codesourcery.com>
14110
bd29910a
JM
14111 * Makefile [CXX] (check-data): Remove.
14112 [CXX] (c++-types.data): New vpath directive.
14113 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14114 vpath. Do not allow for C++ type data being missing.
14115 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14116 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14117 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14118 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14119 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14120 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14121 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14123 ... here.
14124 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14126 ... here.
14127 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14129 ... here.
14130 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14132 ... here.
14133 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14135 ... here.
14136 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14138 ... here.
14139 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14141 ... here.
14142 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14144
cfc82fd8
JM
14145 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14146 definitions to architecture-specific files.
14147 (TLS_IE): Likewise.
14148 (TLS_LD): Likewise.
14149 (TLS_GD): Likewise.
14150 * sysdeps/i386/tls-macros.h: New file.
14151 * sysdeps/powerpc/tls-macros.h: Likewise.
14152 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14153 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14154 * sysdeps/sh/tls-macros.h: Likewise.
14155 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14156 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14157 * sysdeps/x86_64/tls-macros.h: Likewise.
14158
f7db3170
TS
141592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14160
07cbfc23
TS
14161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14162 zero value for regular exit case.
14163
f7db3170
TS
14164 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14165 (__start_context): Preserve zero value for regular exit case.
14166
dc97c227
TS
141672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14168 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14169
14170 * manual/setjmp.texi (setcontext): Clarify normal process
14171 termination when uc_link is the null pointer.
14172 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14173 exit call.
14174
d0cd7d02
AS
141752012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14176
14177 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14178 preprocessor. Test for each exception mask separately.
14179
dd318934
AJ
141802012-07-16 Andreas Jaeger <aj@suse.de>
14181
14182 * po/ru.po: Update from translation team.
14183
8048311a
JM
141842012-07-15 Joseph Myers <joseph@codesourcery.com>
14185
14186 * conform/data/string.h-data (NULL): Use macro-constant. Require
14187 equal to 0.
14188 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14189 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14190 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14191 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14193
b637d46e
AJ
141942012-07-13 Andreas Jaeger <aj@suse.de>
14195
14196 * po/fr.po: Update from translation team.
14197
541428fe
MP
141982012-07-12 Marek Polacek <polacek@redhat.com>
14199
14200 [BZ #14173]
14201 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14203 loop condition.
14204
ec332e94
JM
142052012-07-12 Joseph Myers <joseph@codesourcery.com>
14206
14207 [BZ #13717]
14208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14209 Change to 2.4.1 where previously 2.4.0.
14210 * sysdeps/unix/sysv/linux/configure: Regenerated.
14211 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14212 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14213 version.
14214 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14215 (__ASSUME_AT_CLKTCK): Remove.
14216 (__ASSUME_AT_PAGESIZE): Likewise.
14217 (__ASSUME_AT_XID): Likewise.
14218 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14219 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14220 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14221 unconditionally.
14222 (HAVE_AUX_PAGESIZE): Likewise.
14223 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14224 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14225 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14226
7b6e99be
JB
142272012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14228
14229 [BZ #14307]
14230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14231 the temporary buffer used to invoke __gethostbyname2_r,
14232 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14233 host_data / struct gaih_addrtuple.
14234 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14235 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14236 header file nss/nsswitch.h.
14237 * nss/nsswitch.h (global scope): Add definition of implementation
14238 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14239 resolv/nss_dns/dns-host.c).
14240
608404eb
AJ
142412012-07-11 Andreas Jaeger <aj@suse.de>
14242
14243 * po/fr.po: Update from translation team.
14244
71220aca
AJ
14245 * po/sv.po: Update from translation team
14246 * po/fr.po: Another update from translation team.
14247
28cfe843
AZ
142482012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14249
14250 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14251 for subnormals or multiply small sinh result by itself.
14252 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14254
6b90f981
DM
142552012-07-11 David S. Miller <davem@davemloft.net>
14256
14257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14258
c6825772
AS
142592012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14260
14261 [BZ #14347]
14262 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14263 (INTERNAL_MARK): Shift it here.
14264
7b8e0d49
MP
142652012-07-10 Marek Polacek <polacek@redhat.com>
14266
14267 [BZ #14151]
14268 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14269 libc_cv_asm_global_directive with .globl.
14270 * configure: Regenerated.
14271 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14272 with .globl.
14273 * sysdeps/i386/configure: Regenerated.
14274 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14275 with .globl.
14276 * sysdeps/x86_64/configure: Regenerated.
14277 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14278 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14279 * elf/tst-unique2mod2.c: Likewise.
14280 * elf/tst-unique2mod1.c: Likewise.
14281 * elf/tst-unique1mod2.c: Likewise.
14282 * elf/tst-unique1mod1.c: Likewise.
14283 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14284 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14286 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14287 * sysdeps/mach/sysdep.h: Likewise.
14288 * sysdeps/i386/sysdep.h: Likewise.
14289 * sysdeps/i386/i386-mcount.S: Likewise.
14290 * sysdeps/x86_64/_mcount.S: Likewise.
14291 * sysdeps/x86_64/sysdep.h: Likewise.
14292 * sysdeps/sh/_mcount.S: Likewise.
14293 * sysdeps/sh/sysdep.h: Likewise.
14294 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14295 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14296 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14297 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14298 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14299 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14300 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14301 * locale/localeinfo.h: Likewise.
14302 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14303 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14304
6c55cda3
RM
143052012-07-09 Roland McGrath <roland@hack.frob.com>
14306
14307 [BZ #14336]
14308 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14309 system".
14310 * manual/message.texi (The Uniforum approach): Likewise.
14311 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14312 (glibc iconv Implementation): Likewise.
14313
638a572e
JM
143142012-07-09 Joseph Myers <joseph@codesourcery.com>
14315
14316 [BZ #14337]
14317 * math/s_clog.c (__clog): Avoid scaling a value down where that
14318 could result in underflow.
14319 * math/s_clog10.c (__clog10): Likewise.
14320 * math/s_clog10f.c (__clog10f): Likewise.
14321 * math/s_clog10l.c (__clog10l): Likewise.
14322 * math/s_clogf.c (__clogf): Likewise.
14323 * math/s_clogl.c (__clogl): Likewise.
14324 * math/libm-test.inc (clog_test): Add more tests.
14325 (clog10_test): Likewise.
14326 * sysdeps/i386/fpu/libm-test-ulps: Update.
14327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14328
261f4859
AS
143292012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14330
0abaf3e4
AS
14331 [BZ #14283]
14332 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14333 by 7 not 8 to examine high bit of fractional part.
14334
261f4859
AS
14335 [BZ #14042]
14336 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14337 for call to __mcount_internal.
14338 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14339 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14340 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14341
f17ac40d
JM
143422012-07-06 Joseph Myers <joseph@codesourcery.com>
14343
9ad63c23
JM
14344 [BZ #14154]
14345 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14346 approximation for values within 0x1p-13f of an odd multiple of
14347 pi/4.
14348 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14349 exception. Add more tests.
14350 * sysdeps/i386/fpu/libm-test-ulps: Update.
14351
f17ac40d
JM
14352 [BZ #6778]
14353 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14354 inputs and return -1 for them. Do not check for +Inf in case not
14355 reachable for +Inf.
14356 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14357 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14359 and return -1 for them. Do not check for +Inf in case not
14360 reachable for +Inf.
14361 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14362 define.
14363 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14364 and return -1 for them. Do not check for +Inf in case not
14365 reachable for +Inf.
14366 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14367 spurious underflow.
14368 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14370
fb21f89b
MF
143712012-07-06 Mike Frysinger <vapier@gentoo.org>
14372
14373 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14374
cdfe2c5e
JM
143752012-07-05 Joseph Myers <joseph@codesourcery.com>
14376
14377 [BZ #14157]
14378 [BZ #14331]
14379 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14380 could result in spurious underflow. Scale down values above
14381 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14382 * math/s_csqrtf.c (__csqrtf): Likewise.
14383 * math/s_csqrtl.c (__csqrtl): Likewise.
14384 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14385 spurious underflow.
14386 * sysdeps/i386/fpu/libm-test-ulps: Update.
14387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14388
70d35b67
AS
143892012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14390
704bc459
AS
14391 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14392 xopen-msg.sed.
14393 * catgets/xopen-msg.awk: New file.
14394 * catgets/xopen-msg.sed: Removed.
14395
70d35b67
AS
14396 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14397 po2text.sed.
14398 * intl/po2test.awk: New file.
14399 * intl/po2test.sed: Removed.
14400
ca61cf32
JM
144012012-07-04 Joseph Myers <joseph@codesourcery.com>
14402
14403 [BZ #14328]
14404 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14405 or multiply small sinh result by itself.
14406 * math/s_ctanf.c (__ctanf): Likewise.
14407 * math/s_ctanh.c (__ctanh): Likewise.
14408 * math/s_ctanhf.c (__ctanhf): Likewise.
14409 * math/s_ctanhl.c (__ctanhl): Likewise.
14410 * math/s_ctanl.c (__ctanl): Likewise.
14411 * math/libm-test.inc (ctan_test_tonearest): New function.
14412 (ctan_test_towardzero): Likewise.
14413 (ctan_test_downward): Likewise.
14414 (ctan_test_upward): Likewise.
14415 (ctanh_test_tonearest): Likewise.
14416 (ctanh_test_towardzero): Likewise.
14417 (ctanh_test_downward): Likewise.
14418 (ctanh_test_upward): Likewise.
14419 (main): Call these new functions.
14420 * sysdeps/i386/fpu/libm-test-ulps: Update.
14421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14422
ca48a46a
MF
144232012-07-03 Mike Frysinger <vapier@gentoo.org>
14424
14425 * .gitignore: Delete /ports entry.
14426
9d63d37d
AJ
144272012-07-03 Andreas Jaeger <aj@suse.de>
14428
14429 * po/bg.po: Update from translation team.
14430 * po/cs.po: Likewise.
14431 * po/de.po: Likewise.
14432 * po/hr.po: Likewise.
14433 * po/nl.pl: Likewise.
14434 * po/pl.po: Likewise.
14435 * po/vi.po: Likewise.
14436
370ca3d2
JM
144372012-07-03 Joseph Myers <joseph@codesourcery.com>
14438
95f5a9a8
JM
14439 * Makeconfig [!+link] (+link-before-libc): New variable.
14440 [!+link] (+link-after-libc): Likewise.
14441 [!+link] (+link-tests): Likewise.
14442 [!+link] (+link): Define in terms of $(+link-before-libc) and
14443 $(+link-after-libc).
14444 [!+link-static] (+link-static-before-libc): New variable.
14445 [!+link-static] (+link-static-after-libc): Likewise.
14446 [!+link-static] (+link-static-tests): Likewise.
14447 [!+link-static] (+link-static): Define in terms of
14448 $(+link-static-before-libc) and $(+link-static-after-libc).
14449 [build-shared] (link-libc-before-gnulib): New variable.
14450 [build-shared] (link-libc-tests): Likewise.
14451 [build-shared] (link-libc): Define in terms of
14452 $(link-libc-before-gnulib).
14453 [!build-shared] (link-libc-tests): New variable.
14454 (link-libc-static-tests): New variable.
14455 [!gnulib] (gnulib-arch): New variable.
14456 [!gnulib] (gnulib-tests): Likewise.
14457 [!gnulib] (static-gnulib-arch): Likewise.
14458 [!gnulib] (static-gnulib-tests): Likewise.
14459 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14460 Define with "=" instead of ":=".
14461 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14462 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14463 * Rules (binaries-all-notests): New variable.
14464 (binaries-all-tests): Likewise.
14465 (binaries-static-notests): Likewise.
14466 (binaries-static-tests): Likewise.
14467 (binaries-all): Define using $(binaries-all-notests) and
14468 $(binaries-all-tests).
14469 (binaries-static): Define using $(binaries-static-notests) and
14470 $(binaries-static-tests).
14471 (binaries-shared-tests): New variable.
14472 (binaries-shared-notests): Likewise.
14473 (binaries-shared): Remove variable.
14474 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14475 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14476 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14477 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14478 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14479 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14480 * elf/Makefile (sln-modules): New variable.
14481 (extra-objs): Add $(sln-modules:=.o).
14482 (ldconfig-modules): Add static-stubs.
14483 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14484 * elf/static-stubs.c: New file.
14485
7a845b2c
JM
14486 [BZ #14283]
14487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14488 by 7 not 8 to examine high bit of fractional part. Use volatile
14489 variables when splitting into final array of floats if
14490 __FLT_EVAL_METHOD__ != 0.
14491 * math/libm-test.inc (cos_test): Add another test.
14492 (sin_test): Likewise.
14493 * sysdeps/i386/fpu/libm-test-ulps: Update.
14494
e2283f38
JM
14495 [BZ #14273]
14496 * math/libm-test.inc (cosh_test): Add more tests.
14497
370ca3d2
JM
14498 * version.h (RELEASE): Set to "development".
14499 (VERSION): Set to "2.16.90".
14500
ee9247c3
CD
145012012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14502
14503 * NEWS: Update copyright. Remove last-updated date.
14504 Mention math library bug fixes and timezone data changes.
14505 * README: Mention GNU/Hurd, x32, and HPPA support status.
14506
4648c381
TS
145072012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14508
14509 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14510
aac78a43
AJ
145112012-06-27 Andreas Jaeger <aj@suse.de>
14512
14513 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14514
ed3dbfad
AJ
145152012-06-25 Andreas Jaeger <aj@suse.de>
14516
14517 * sysdeps/s390/fpu/libm-test-ulps: Update.
14518
4d0ee855
AS
145192012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14520 Thomas Schwinge <thomas@codesourcery.com>
14521
14522 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14523 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14525 fanotify_mark.
14526
af1bce34
TS
145272012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14528
a9fa33ba
TS
14529 * sysdeps/mach/start.c: Remove file.
14530 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14531 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14532 * sysdeps/sh/init-first.c: Likewise.
14533
58f902b8
TS
14534 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14535 registers for frame unwinding purposes, add CFI directives.
14536 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14537 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14538 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14539 Likewise.
14540
1518f58b
TS
14541 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14542 __fortify_fail returning.
14543 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14544
db9b5059
TS
14545 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14546 sysdeps/sh/____longjmp_chk.S.
14547 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14548 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14549 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14550 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14551
967705fe
TS
14552 * sysdeps/sh/abort-instr.h: New file.
14553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14554 process in case exit returns.
14555
a9def8c4
TS
14556 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14557 initialize the GOT register before use.
14558
2a649725
TS
14559 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14560 calculation of ARGC > 4.
14561
af1bce34
TS
14562 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14563 meaningful names to some local labels.
14564
d230f50a
KK
145652012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14566 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14567
14568 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14569 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14570 (__arch_compare_and_exchange_val_16_acq): Likewise.
14571 (__arch_compare_and_exchange_val_32_acq): Likewise.
14572 (atomic_exchange_and_add): Fix gUSA sequence.
14573 (atomic_add): Likewise.
14574 (atomic_add_negative): Likewise.
14575 (atomic_add_zero): Likewise.
14576 (atomic_bit_test_set): Likewise.
14577
0479b305
AS
145782012-06-22 Andreas Schwab <schwab@redhat.com>
14579
14580 [BZ #13579]
14581 * include/link.h (struct link_map): Add l_free_initfini.
14582 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14583 l_initfini.
14584 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14585 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14586 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14587 set.
14588
0e3933b9
CD
145892012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14590
14591 * configure.in: Use AC_LANG_SOURCE.
14592 * configure: Regenerate.
14593
4248b1b1
RM
145942012-06-22 Roland McGrath <roland@hack.frob.com>
14595
14596 * configure.in (libc_cv_localstatedir): New substituted variable.
14597 * configure: Regenerated.
14598 * config.make.in (localstatedir): New variable, substituted from
14599 libc_cv_localstatedir.
14600 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14601 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14602 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14603 * sysdeps/gnu/configure: Regenerated.
14604
006dd861
JL
146052012-06-21 Jeff Law <law@redhat.com>
14606
14607 [BZ #14277]
14608 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14609 free. Simplify list management for _LIBC case.
14610
79662d42
JM
146112012-06-21 Joseph Myers <joseph@codesourcery.com>
14612
b7abb4bf
JM
14613 [BZ #14273]
14614 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14615 Clear sign bit of 64-bit integer value before comparing against
14616 overflow value.
14617
79662d42
JM
14618 * sysdeps/mach/configure: Regenerated.
14619
1f150908
L
146202012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14621
14622 [BZ #14278]
14623 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14624
28363bbf
JL
146252012-06-21 Jeff Law <law@redhat.com>
14626
14627 [BZ #13882]
14628 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14629 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14630 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14631 * elf/dl-open.c (dl_open_worker): Likewise.
14632
09615db4
CD
146332012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14634
14635 * scripts/list-sources.sh: Scan PORTS for translations.
14636 * po/libc.pot: Regenerated.
14637
2174c6dd
AJ
146382012-06-21 Andreas Jaeger <aj@suse.de>
14639
14640 [BZ #12194]
14641 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14642 warning.
14643 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14644 * bits/byteswap-16.h (__bswap_16): Likewise.
14645 * bits/byteswap.h (__bswap_constant_16): Likewise.
14646
3ee947b1
L
146472012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14648
14649 [BZ #14117]
a2f34833
L
14650 * sysdeps/i386/fpu_control.h: Removed.
14651 * sysdeps/x86_64/fpu_control.h: Moved to ...
14652 * sysdeps/x86/fpu_control.h: Here.
14653
3ee947b1
L
14654 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14655 (_FPU_SETCW): Likewise.
14656
ed1825f8
L
146572012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14658
25f1282a
L
14659 [BZ #14117]
14660 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14661 * sysdeps/x86/fpu/bits/mathinline.h: This.
14662 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14663
ed1825f8
L
14664 [BZ #14050]
14665 [BZ #14117]
14666 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14667 functions if __x86_64__ is defined.
14668
36d54b74
CLT
146692012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14670
14671 * string/endian.h: Add !__ASSEMBLER__ condition for including
14672 conversion interfaces.
14673
10285c21
JM
146742012-06-15 Joseph Myers <joseph@codesourcery.com>
14675
14676 [BZ #14241]
14677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14678 of ABS(x) in calculating zero to negative powers other than odd
14679 integers.
14680 * math/libm-test.inc (pow_test): Add more tests.
14681
06c5abbd
AJ
146822012-06-15 Andreas Jaeger <aj@suse.de>
14683
14684 * manual/contrib.texi (Contributors): Update entry of Liubov
14685 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14686 Machado Filho.
14687
a3aeac40
CH
146882012-06-15 Cyril Hrubis <metan@ucw.cz>
14689
14690 * string/string.h: Add __wur to GNU version of strerror_r.
14691
49bdf4c1
L
146922012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 [BZ #14229]
14695 * string/Makefile (tests): Add tst-strtok_r.
14696 * string/tst-strtok_r.c: New file.
14697 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14698 RAX_LP/RDX_LP on SAVE_PTR.
14699
834f9b8d
RM
147002012-06-14 Roland McGrath <roland@hack.frob.com>
14701
14702 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14703
75fa1921
JM
147042012-06-14 Joseph Myers <joseph@codesourcery.com>
14705
14706 * libm_test.inc (csqrt_test): Allow more spurious underflow
14707 exceptions.
14708 (j0_test): Likewise.
14709 (j1_test): Likewise.
14710 (y0_test): Likewise.
14711 (y1_test): Likewise.
14712
771766df
CD
147132012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14714
14715 * po/Makefile (libc.pot): Use UTF-8 charset.
14716
ceb9e56b
PP
147172012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14718
14719 [BZ #14210]
14720 Suppress sign-conversion warning from FD_SET.
14721 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14722 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14723 not unsigned long int.
14724 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14725
ddb28975
L
147262012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14727
14728 [BZ #14050]
14729 [BZ #14117]
14730 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14731 __extern_always_inline instead of __extern_inline.
14732 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14733 (__signbit): Likewise.
14734 (__signbitl): Support C++ namespace.
14735 (lrintf): New inline function.
14736 (lrint): Likewise.
14737 (llrintf): Likewise.
14738 (llrint): Likewise.
14739 (fmaxf): Likewise.
14740 (fmax): Likewise.
14741 (fminf): Likewise.
14742 (fmin): Likewise.
14743 (rint): Likewise.
14744 (rintf): Likewise.
14745 (ceil): Likewise.
14746 (ceilf): Likewise.
14747 (floor): Likewise.
14748 (floorf): Likewise.
14749 (nearbyint): Likewise.
14750 (nearbyintf): Likewise.
14751
d7b4fb26
TS
147522012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14753
14754 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14755 non-default versions.
14756
eb55f5c2
RM
147572012-06-11 Roland McGrath <roland@hack.frob.com>
14758
14759 [BZ #14218]
14760 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14761
366af02c
TS
147622012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14763
99ff6e5c
TS
14764 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14765 (FE_UPWARD, FE_DOWNWARD): Don't define.
14766 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14767 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14768
366af02c
TS
14769 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14770 reading it.
14771 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14772 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14773
793ea851
KK
147742012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14775
14776 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14778 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14779 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14780
a728a38f
L
147812012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14782
14783 [BZ #14117]
c08010c7
L
14784 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14785 * sysdeps/i386/fpu/Implies: New file.
14786 * sysdeps/x86_64/fpu/Implies: Likewise.
14787 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14788 * sysdeps/x86/fpu/bits/fenv.h: This.
14789
a728a38f
L
14790 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14791 __SSE_MATH__.
14792
6e230d11
SP
147932012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14794
14795 [BZ #14134]
14796 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14797 character 0xffff that matches the last element of the
14798 conversion table.
14799
1b671feb
AZ
148002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14801
14802 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14803 fmodl commit.
14804
6043738b
AZ
148052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14806
14807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14808 values higher than 25.6283.
14809
34ae0b32
AZ
148102012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14811
14812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14813 subnormal exponent extraction and add some __builtin_expect.
14814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14815 Fix for subnormal mantissa calculation.
14816
1214ec8f
MF
148172012-06-04 Mike Frysinger <vapier@gentoo.org>
14818
14819 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14820 cpu2 is -1 and errno is not ENOSYS.
14821
f3d1f93c
L
148222012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14823
14824 [BZ #14117]
0e4a3cd7
L
14825 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14826 * sysdeps/x86/bits/string.h: This.
14827 * sysdeps/x86_64/bits/string.h: Removed.
14828
6704c645
L
14829 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14830 if not compiling for x86-64, but compiling for >= i486.
14831
48495318
L
14832 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14833 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14834
14adcbfc
L
14835 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14836 New macro from Linux kernel 3.4.0.
14837 (FP_XSTATE_MAGIC2): Likewise.
14838 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14839 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14840 (struct _fpx_sw_bytes): New struct.
14841 (struct _xsave_hdr): Likewise.
14842 (struct _ymmh_state): Likewise.
14843 (struct _xstate): Likewise.
14844
68e408ab
L
14845 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14846 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14847 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14848 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14849 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14850 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14851
f3d1f93c
L
14852 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14853 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14854 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14855 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14856 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14857 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14858
d9dc34cd
TMQMF
148592012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14860
14861 [BZ #13743]
14862 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14863 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14864 (sysdep_headers): Include sys/platform/ppc.h.
14865 * sysdeps/powerpc/test-gettimebase.c: Test for
14866 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14867 * manual/Makefile (appendices): Include platform.texi.
14868 * manual/contrib.texi (Contributors): Update @node pointers.
14869 * manual/maint.texi (Maintenance): Likewise.
14870 (Platform): New node.
14871 * manual/platform.texi: New file. Document the new features.
14872
4af3879c
SP
148732012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14874 Jakub Jelinek <jakub@redhat.com>
14875
14876 [BZ #14188]
14877 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14878 where __builtin_expect is unavailable.
14879
2fd6ff13
DM
148802012-06-03 David S. Miller <davem@davemloft.net>
14881
14882 * stdlib/longlong.h: Updated from GCC.
14883
173f7220
AS
148842012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14885
14886 [BZ #14042]
14887 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14888 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14889 __mcount_internal.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14891 (GLIBC_2.16): Likewise.
14892
f34a1c6f
L
148932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14894
14895 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14896
88a4576f
JM
148972012-06-01 Joseph Myers <joseph@codesourcery.com>
14898
ea32bcdd
JM
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14900 (default-abi): New variable.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14902 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14903 variable.
14904 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14905 Likewise.
14906 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14907 Likewise.
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14909 Likewise.
14910
88a4576f
JM
14911 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14912 definition. Document in comment.
14913
402fe938
DM
149142012-06-01 David S. Miller <davem@davemloft.net>
14915
14916 * stdlib/longlong.h: Updated from GCC.
14917
3553723f
L
149182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14919
14920 [BZ #14117]
3bd872c4
L
14921 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14922 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14923 sys/debugreg.h sys/io.h here.
14924 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14925 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14926 sys/io.h.
14927 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14928 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14929 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14930 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14931 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14932 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14933
3553723f
L
14934 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14935 Define only if __x86_64__ is defined.
14936
4842e4fe
JM
149372012-06-01 Joseph Myers <joseph@codesourcery.com>
14938
c5bfe3d5
JM
14939 [BZ #14048]
14940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14941 Use int64_t for variable i.
14942 * math/libm-test.inc (fmod_test): Add more tests.
14943
4842e4fe
JM
14944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14945 z computation is not scheduled after fetestexcept.
14946 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14947 Use math_force_eval instead of asm to ensure calculation scheduled
14948 before exception test.
14949 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14950 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14951
efb73488
AJ
149522012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14953
14954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14955 computation is not scheduled after fetestexcept.
14956
29bcce7c
L
149572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14958
14959 [BZ #14117]
14960 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14961 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14962
73a68f94
AZ
149632012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14964
14965 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14966 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14967
67b6df78
L
149682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14969
edf2933a 14970 [BZ #14117]
ebc64a18
L
14971 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14972 <bits/wordsize.h>.
14973 (__WCHAR_MIN): Support __WORDSIZE == 64.
14974 (__WCHAR_MAX): Likewise.
14975
edf2933a
L
14976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14977 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14978
57c6cf40
L
14979 [BZ #14183]
14980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14981 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14982
67b6df78 14983 [BZ #14117]
8eb6281e
L
14984 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14985 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14986
aac639f4
L
14987 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14988 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14989
67b6df78
L
14990 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14991 Defined to 1 if __x86_64__ isn't defined.
14992 (_STAT_VER_LINUX_OLD): New.
14993 (st_atime): Remove duplicate.
14994 (st_mtime): Likewise.
14995 (st_ctime): Likewise.
14996
1c2cfe81
DM
149972012-05-31 David S. Miller <davem@davemloft.net>
14998
14999 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15000 entries.
15001
5be8418c
AS
150022012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15003
e7725326
AS
15004 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15005 gen-libm-test.pl.
15006
5be8418c
AS
15007 [BZ #14132]
15008 * elf/dl-reloc.c: Include <_itoa.h>.
15009 (_dl_reloc_bad_type): Remove use of INTUSE.
15010 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15011 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15012 * stdio-common/psiginfo.c (psiginfo): Likewise.
15013 * stdio-common/psignal.c (psignal): Likewise.
15014 * string/strsignal.c (strsignal): Likewise.
15015 * include/signal.h (_sys_siglist): Declare hidden proto.
15016 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15017 INTVARDEF with libc_hidden_data_def.
15018 * stdio-common/itoa-udigits.c: Likewise.
15019 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15020 (_itoa_lower_digits_internal): Remove declaration.
15021 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15022 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15023 (_sys_sigabbrev_internal): Remove aliases.
15024 (_sys_siglist): Define hidden alias.
15025
507352f1
MT
150262012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15027
15028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15029 bits/sysctl.h.
15030
42bbb1c3
L
150312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15032
15033 [BZ #14117]
6bd784b6
L
15034 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15035 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15036
8bca20f0
L
15037 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15038 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15039 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15040 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15042 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15043
f9e890a9
L
15044 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15046 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15047
471101a1
L
15048 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15049 with __addr.
15050 (insw): Likewise.
15051 (insl): Likewise.
15052 (outsb): Likewise.
15053 (outsw): Likewise.
15054 (outsl): Likewise.
15055
6451c862
L
15056 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15057 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15058 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15059
a254b8c9
L
15060 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15061 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15063 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15064 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15065 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15066
b8dfdd92
L
15067 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15068 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15069
578cd270
L
15070 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15071 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15072
de662f5f
L
15073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15075 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15076
25653439
L
15077 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15078 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15079 to ...
15080 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15081
6bad24a0
L
15082 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15084 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15085
42bbb1c3
L
15086 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15087 for x86-64.
15088 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15089
2d10d547
JM
150902012-05-31 Joseph Myers <joseph@codesourcery.com>
15091
15092 * math/math.h (M_El): Use two more decimal places.
15093 (M_LOG2El): Likewise.
15094 (M_LOG10El): Likewise.
15095 (M_LN2l): Likewise.
15096 (M_LN10l): Likewise.
15097 (M_PIl): Likewise.
15098 (M_PI_2l): Likewise.
15099 (M_PI_4l): Likewise.
15100 (M_1_PIl): Likewise.
15101 (M_2_PIl): Likewise.
15102 (M_2_SQRTPIl): Likewise.
15103 (M_SQRT2l): Likewise.
15104 (M_SQRT1_2l): Likewise.
15105
f230c29b
DM
151062012-05-31 David S. Miller <davem@davemloft.net>
15107
15108 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15109 values between float registers.
15110 * sysdeps/sparc/sparc64/memset.S: Likewise.
15111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15112
fed806c3
MF
151132012-05-31 Mike Frysinger <vapier@gentoo.org>
15114
15115 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15116 -D_FORTIFY_SOURCE=1.
15117 (CPPFLAGS-tst-longjmp_chk.c): Define.
15118 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15119 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15120 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15121 CFLAGS-tst-wchar-h.c.
15122
30917259
MP
151232012-05-31 Marek Polacek <polacek@redhat.com>
15124
15125 [BZ #14132]
15126 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15127 __endmntent_internal): Remove declaration.
15128 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15129 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15130 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15131
1c58d5dc
DM
151322012-05-30 David S. Miller <davem@davemloft.net>
15133
15134 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15135 (___Q_simulate_exceptions): Use real FP ops rather than writing
15136 into the %fsr.
15137 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15138 Likewise.
15139
7dc00e0d
L
151402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15141
15142 [BZ #14117]
0bd53985
L
15143 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15144 * sysdeps/x86/bits/xtitypes.h: This.
15145
3a257e66
L
15146 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15147 * sysdeps/x86/bits/wordsize.h: This.
15148
62f62904
L
15149 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15150 * sysdeps/x86/bits/huge_vall.h: This.
15151
404fe9d9
L
15152 * sysdeps/i386/bits/select.h: Removed.
15153 * sysdeps/x86_64/bits/select.h: Renamed to ...
15154 * sysdeps/x86/bits/select.h: This.
15155
d48d0446
L
15156 * sysdeps/i386/bits/setjmp.h: Removed.
15157 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15158 * sysdeps/x86/bits/setjmp.h: This.
15159
7dc00e0d
L
15160 * sysdeps/i386/bits/mathdef.h: Removed.
15161 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15162 * sysdeps/x86/bits/mathdef.h: This.
15163
03277f8f
AS
151642012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15165
15166 [BZ #14132]
15167 * include/sys/socket.h (__connect_internal)
15168 (__libc_sa_len_internal): Remove declaration.
15169 (__connect, __libc_sa_len): Declare hidden_proto.
15170 (SA_LEN): Remove use of INTUSE.
15171 * socket/connect.c: Add libc_hidden_def.
15172 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15173 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15174 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15175 alias.
15176 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15177 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15178 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15179 of adding _internal alias.
15180
13764867
L
151812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15182
15183 [BZ #14117]
6bd97696
L
15184 * sysdeps/i386/bits/link.h: Removed.
15185 * sysdeps/i386/bits/linkmap.h: Likewise.
15186 * sysdeps/x86_64/bits/link.h: Renamed to ...
15187 * sysdeps/x86/bits/link.h: This.
15188 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15189 * sysdeps/x86/bits/linkmap.h: This.
15190
f726f0bb
L
15191 * sysdeps/i386/bits/endian.h: Removed.
15192 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15193 * sysdeps/x86/bits/endian.h: This.
15194
13764867
L
15195 * sysdeps/i386/bits/byteswap.h: Removed.
15196 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15197 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15198 * sysdeps/x86/bits/byteswap.h: This.
15199 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15200 * sysdeps/x86/bits/byteswap-16.h: This.
15201 * sysdeps/i386/Implies: Add x86.
15202 * sysdeps/x86_64/Implies: Likewise.
15203
ae251b0b
DM
152042012-05-30 David S. Miller <davem@davemloft.net>
15205
15206 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15207 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15209 (FP_TRAPPING_EXCEPTIONS): Define.
15210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15211 (FP_TRAPPING_EXCEPTIONS): Define.
15212 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15213 subnormals only when inexact has been signalled or underflow
15214 exceptions are enabled.
15215 (_FP_PACK_CANONICAL): Likewise.
15216
d5c90867
L
152172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15218
15219 [BZ #14183]
15220 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15221 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15222
63f1549e
RH
152232012-05-30 Richard Henderson <rth@twiddle.net>
15224
8d8f2279
RH
15225 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15226 with #ifndef NOT_IN_libc.
15227
63f1549e
RH
15228 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15229 marked to avoid plt entry.
15230
0ab0291b
L
152312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 [BZ #14112]
15234 * Makeconfig (default-abi): New macro.
15235 (abi-includes): Likewise.
15236 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15237 $(abi-$(default-abi)-lib-soname) for soname if defined.
15238 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15239 abi-variants.
15240 * Makefile (installed-stubs): Likewise.
15241 * include/stubs-biarch.h: Removed.
15242 * scripts/lib-names.awk: Only handle one library at a time.
15243 * scripts/soversions.awk: Remove WORDSIZE support.
15244 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15245 entries.
15246 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15247 Removed.
15248 (syscall-list-default-condition): Likewise.
15249 (syscall-list-default-condition): Likewise.
15250 (syscall-list-includes): Likewise.
15251 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15252 syscall-list-* with abi-*. Handle undefined abi-variants.
15253 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15254 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15255 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15256 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15257 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15258 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15259 Removed.
15260 (syscall-list-32-options): Likewise.
15261 (syscall-list-32-condition): Likewise.
15262 (syscall-list-64-options): Likewise.
15263 (syscall-list-64-condition): Likewise.
15264 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15265 macro.
15266 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15267 Renamed to ...
15268 (abi-*): This.
15269 (abi-64-ld-soname): New macro.
15270 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15271 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15272 Renamed to ...
15273 (abi-*): This.
15274 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15275 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15276
4da0431d
JM
152772012-05-30 Joseph Myers <joseph@codesourcery.com>
15278
3a85279c
JM
15279 * sysdeps/unix/sysv/linux/kernel-features.h
15280 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15281 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15282 include <kernel-features.h>.
15283 [!__NR_ftruncate64]: Remove conditional code.
15284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15285 [__NR_ftruncate64]: Make code unconditional.
15286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15287 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15288 include <kernel-features.h>.
15289 [!__NR_ftruncate64]: Remove conditional code.
15290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15291 [__NR_ftruncate64]: Make code unconditional.
15292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15294 include <kernel-features.h>.
15295 [!__NR_ftruncate64]: Remove conditional code.
15296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15297 [__NR_ftruncate64]: Make code unconditional.
15298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15300 include <kernel-features.h>.
15301 [!__NR_ftruncate64]: Remove conditional code.
15302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15303 [__NR_ftruncate64]: Make code unconditional.
15304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15305
4da0431d
JM
15306 * configure.in (libc_cv_fpie): Weaken to a compile test using
15307 LIBC_TRY_CC_OPTION.
15308 * configure: Regenerated.
15309
11ef492c
AK
153102012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15311
15312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15316 Refreshed.
15317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15323 Refreshed.
15324
d66ef399
DM
153252012-05-27 David S. Miller <davem@davemloft.net>
15326
15327 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15328 (___Q_zero): New.
15329 (__Q_simulate_exceptions): Return void. Change to simulate
15330 exceptions by writing into the %fsr.
15331 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15332 (__Qp_handle_exceptions): Likewise.
15333 (numbers): Delete.
15334 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15335 __Qp_handle_exceptions.
15336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15337 __Qp_handle_exceptions.
15338 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15339 as unused and give dummy FP_RND_NEAREST initializer.
15340 (FP_INHIBIT_RESULTS): Define.
15341 (___Q_simulate_exceptions): Update declaration.
15342 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15343 formatting.
15344 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15345 as unused and give dummy FP_RND_NEAREST initializer.
15346 (__Qp_handle_exceptions): Update declaration.
15347 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15348 formatting.
15349
04fb54b5
TS
153502012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15351
15352 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15353 the temporary FPU control word.
15354 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15355 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15357 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15358 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15359 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15360 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15362 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15363 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15364 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15365
3f99608f
KK
153662012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15367
15368 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15369 fields.
15370
65a4de4e
CLT
153712012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15372
15373 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15374 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15375 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15376 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15377 Likewise.
15378 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15379 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15380 Likewise.
15381
15749d40
UD
153822012-05-27 Ulrich Drepper <drepper@gmail.com>
15383
15384 * po/h.po: Update from translation team.
15385
25dbcb27
AS
153862012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15387
3d3f8e55
AS
15388 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15389
25dbcb27
AS
15390 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15391 handling of denormals.
15392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15393 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15394 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15395 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15397 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15399 Likewise.
15400
7ad47a80 154012012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15402
15403 [BZ #14152]
15404 * math/libm-test.inc (fma_test): Don't always expect underflow
15405 exception.
15406
9c6ea9fa
SP
154072012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15408
15409 [BZ #12416]
15410 * elf/tst-execstack.c: Include stackinfo.h.
15411 (do_test): Adjust test case to ensure that pthread_getattr_np
15412 behaviour remains the same after marking stack executable.
15413
a8239222
JM
154142012-05-25 Joseph Myers <joseph@codesourcery.com>
15415
15416 * sysdeps/unix/sysv/linux/kernel-features.h
15417 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15418 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15419 kernel-features.h.
15420 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15421 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15422 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15423 kernel-features.h.
15424 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15425 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15426
918b5606
L
154272012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15428
15429 * configure.in: Define the default includes to being none.
15430 * configure: Regenerated.
15431
3a097cc7
RM
154322012-05-25 Roland McGrath <roland@hack.frob.com>
15433
8422c9a5
RM
15434 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15435 * sysdeps/x86_64/setjmp.S: Likewise.
15436 * sysdeps/i386/bsd-setjmp.S: Likewise.
15437 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15438 * sysdeps/i386/setjmp.S: Likewise.
15439 * sysdeps/i386/__longjmp.S: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15442
3a097cc7
RM
15443 * include/stap-probe.h: New file.
15444 * configure.in: Handle --enable-systemtap.
15445 * configure: Regenerated.
15446 * config.h.in (USE_STAP_PROBE): New #undef.
15447 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15448 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15449 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15450
21708942
JM
154512012-05-25 Joseph Myers <joseph@codesourcery.com>
15452
15453 [BZ #13717]
15454 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15455 to 2.4.0 where earlier.
15456 * sysdeps/unix/sysv/linux/configure: Regenerated.
15457 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15458 <kernel-features.h>.
15459 [__ASSUME_32BITUIDS]: Make code unconditional.
15460 [!__ASSUME_32BITUIDS]: Remove conditional code.
15461 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15462 <kernel-features.h>.
15463 [__ASSUME_32BITUIDS]: Make code unconditional.
15464 [!__ASSUME_32BITUIDS]: Remove conditional code.
15465 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15466 [__ASSUME_32BITUIDS]: Make code unconditional.
15467 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15468 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15469 <kernel-features.h>.
15470 [__ASSUME_32BITUIDS]: Make code unconditional.
15471 [!__ASSUME_32BITUIDS]: Remove conditional code.
15472 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15473 <kernel-features.h>.
15474 [__ASSUME_32BITUIDS]: Make code unconditional.
15475 [!__ASSUME_32BITUIDS]: Remove conditional code.
15476 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15477 <kernel-features.h>.
15478 [__ASSUME_32BITUIDS]: Make code unconditional.
15479 [!__ASSUME_32BITUIDS]: Remove conditional code.
15480 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15481 <kernel-features.h>.
15482 [__ASSUME_32BITUIDS]: Make code unconditional.
15483 [!__ASSUME_32BITUIDS]: Remove conditional code.
15484 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15485 <kernel-features.h>.
15486 [__ASSUME_32BITUIDS]: Make code unconditional.
15487 [!__ASSUME_32BITUIDS]: Remove conditional code.
15488 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15489 <kernel-features.h>.
15490 [__ASSUME_32BITUIDS]: Make code unconditional.
15491 [!__ASSUME_32BITUIDS]: Remove conditional code.
15492 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15493 <kernel-features.h>.
15494 [__ASSUME_32BITUIDS]: Make code unconditional.
15495 [!__ASSUME_32BITUIDS]: Remove conditional code.
15496 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15497 <kernel-features.h>.
15498 [__ASSUME_32BITUIDS]: Make code unconditional.
15499 [!__ASSUME_32BITUIDS]: Remove conditional code.
15500 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
15509 <kernel-features.h>.
15510 [__NR_setresgid] (__setresgid): Do not declare.
15511 [__ASSUME_32BITUIDS]: Make code unconditional.
15512 [!__ASSUME_32BITUIDS]: Remove conditional code.
15513 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15514 <kernel-features.h>.
15515 [__NR_setresuid] (__setresuid): Do not declare.
15516 [__ASSUME_32BITUIDS]: Make code unconditional.
15517 [!__ASSUME_32BITUIDS]: Remove conditional code.
15518 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15519 <kernel-features.h>.
15520 [__ASSUME_32BITUIDS]: Make code unconditional.
15521 [!__ASSUME_32BITUIDS]: Remove conditional code.
15522 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15523 <kernel-features.h>.
15524 [__ASSUME_32BITUIDS]: Make code unconditional.
15525 [!__ASSUME_32BITUIDS]: Remove conditional code.
15526 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15527 <kernel-features.h>.
15528 [__ASSUME_32BITUIDS]: Make code unconditional.
15529 [!__ASSUME_32BITUIDS]: Remove conditional code.
15530 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15531 <kernel-features.h>.
15532 [__ASSUME_32BITUIDS]: Make code unconditional.
15533 [!__ASSUME_32BITUIDS]: Remove conditional code.
15534 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15535 <kernel-features.h>.
15536 [__ASSUME_32BITUIDS]: Make code unconditional.
15537 [!__ASSUME_32BITUIDS]: Remove conditional code.
15538 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15539 <kernel-features.h>.
15540 [__ASSUME_32BITUIDS]: Make code unconditional.
15541 [!__ASSUME_32BITUIDS]: Remove conditional code.
15542 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15543 <kernel-features.h>.
15544 [__ASSUME_32BITUIDS]: Make code unconditional.
15545 [!__ASSUME_32BITUIDS]: Remove conditional code.
15546 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15547 <kernel-features.h>.
15548 [__ASSUME_32BITUIDS]: Make code unconditional.
15549 [!__ASSUME_32BITUIDS]: Remove conditional code.
15550 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15551 <kernel-features.h>.
15552 [__ASSUME_32BITUIDS]: Make code unconditional.
15553 [!__ASSUME_32BITUIDS]: Remove conditional code.
15554 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15555 <kernel-features.h>.
15556 [__ASSUME_32BITUIDS]: Make code unconditional.
15557 [!__ASSUME_32BITUIDS]: Remove conditional code.
15558 * sysdeps/unix/sysv/linux/kernel-features.h
15559 (__ASSUME_SETRESUID_SYSCALL): Remove.
15560 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15561 (__ASSUME_32BITUIDS): Likewise.
15562 (__ASSUME_LDT_WORKS): Likewise.
15563 (__ASSUME_O_DIRECTORY): Likewise.
15564 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15565 architecture but not kernel version.
15566 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15567 (__ASSUME_MMAP2_SYSCALL): Likewise.
15568 (__ASSUME_STAT64_SYSCALL): Likewise.
15569 (__ASSUME_IPC64): Likewise.
15570 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15571 <kernel-features.h>.
15572 [__ASSUME_32BITUIDS]: Make code unconditional.
15573 [!__ASSUME_32BITUIDS]: Remove conditional code.
15574 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15575 <kernel-features.h>.
15576 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15577 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15578 132096]: Remove conditional code.
15579 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15580 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15581 <kernel-features.h>.
15582 [__ASSUME_32BITUIDS]: Make code unconditional.
15583 [!__ASSUME_32BITUIDS]: Remove conditional code.
15584 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15585 <kernel-features.h>.
15586 [__ASSUME_32BITUIDS]: Make code unconditional.
15587 [!__ASSUME_32BITUIDS]: Remove conditional code.
15588 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15589 <kernel-features.h>.
15590 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15591 unconditional.
15592 (__setresgid): Do not declare.
15593 [__ASSUME_32BITUIDS]: Make code unconditional.
15594 [!__ASSUME_32BITUIDS]: Remove conditional code.
15595 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15596 <kernel-features.h>.
15597 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15598 unconditional.
15599 (__setresuid): Do not declare.
15600 [__ASSUME_32BITUIDS]: Make code unconditional.
15601 [!__ASSUME_32BITUIDS]: Remove conditional code.
15602 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15603 <kernel-features.h>.
15604 [__ASSUME_32BITUIDS]: Make code unconditional.
15605 [!__ASSUME_32BITUIDS]: Remove conditional code.
15606 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15607 <kernel-features.h>.
15608 [__ASSUME_32BITUIDS]: Make code unconditional.
15609 [!__ASSUME_32BITUIDS]: Remove conditional code.
15610
a386f1cc
RH
156112012-05-25 Richard Henderson <rth@twiddle.net>
15612
15613 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15614 dl_hwcap to ifunc resolver.
15615 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15616 elf_ifunc_invoke.
15617 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15618 dl_hwcap to ifunc resolver.
15619 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15620
b6550497
JM
156212012-05-24 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #14153]
15624 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15625 for |x| <= 2**-26, not 2**-57.
15626 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15627 exception.
15628
b0bc23a1
JL
156292012-05-24 Jeff Law <law@redhat.com>
15630
15631 * stdio-common/Makefile (tests): Add bug25.
15632 * stdio-common/bug25.c: New test.
15633
347c92e9
L
156342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15635
15636 [BZ #13576]
15637 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15638 multiple of MALLOC_ALIGNMENT in size.
15639 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15640
6bcc8b3f
JM
156412012-05-24 Joseph Myers <joseph@codesourcery.com>
15642
15643 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15644 Require >= 256.
15645 (FILENAME_MAX): Use macro-int-constant.
15646 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15647 (_IOFBF): Use macro-int-constant.
15648 (_IOLBF): Likewise.
15649 (_IONBF): Likewise.
15650 (SEEK_CUR): Likewise.
15651 (SEEK_END): Likewise.
15652 (SEEK_SET): Likewise.
15653 (TMP_MAX): Likewise.
15654 (EOF): Use macro-int-constant. Require < 0.
15655 (NULL): Use macro-constant. Require == 0.
15656 (stdin): Require type to be FILE *.
15657 (stdout): Likewise.
15658 (stderr): Likewise.
15659 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15660 macro-int-constant.
15661 (EXIT_SUCCESS): Likewise.
15662 (NULL): Use macro-constant. Require == 0.
15663 (RAND_MAX): Use macro-int-constant.
15664 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15665 [C99-based standards] (strtof): Require function.
15666 [C99-based standards] (strtold): Likewise.
15667 [C99-based standards] (strtoll): Likewise.
15668 [C99-based standards] (strtoull): Likewise.
15669 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15670 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15671 [ISO || ISO99 || ISO11] (math.h): Likewise.
15672 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15673 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15675
d18ea0c5
AS
156762012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15677
15678 [BZ #14132]
56d25bb8
AS
15679 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15680 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15681 * intl/dgettext.c (DCGETTEXT): Likewise.
15682 * intl/gettext.c (DCGETTEXT): Likewise.
15683 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15684 * posix/regex_internal.h (gettext): Likewise.
15685 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15686 Remove declaration.
15687 * include/argz.h (__argz_count_internal)
15688 (__argz_stringify_internal): Remove declaration.
15689 (__argz_count, __argz_stringify): Declare hidden proto.
15690 * intl/dcgettext.c: Remove use of INTDEF.
15691 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15692 * string/argz-stringify.c: Likewise.
15693 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15694 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15695 Declare hidden proto.
d18ea0c5
AS
15696 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15697 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15698 Declare hidden proto.
15699 * include/stdio.h (__asprintf_internal): Don't declare.
15700 (__asprintf): Don't define as macro. Declare hidden proto.
15701 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15702 (__fsetlocking): Declare hidden proto.
15703 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15704 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15705 hidden proto.
15706 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15707 (_IO_setlinebuf): Remove use of INTUSE.
15708 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15709 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15710 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15711 Remove declaration.
15712 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15713 (_IO_do_flush): Remove use of INTUSE.
15714 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15715 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15716 (_IO_adjust_column, _IO_least_wmarker)
15717 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15718 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15719 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15720 (_IO_default_doallocate, _IO_wdefault_doallocate)
15721 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15722 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15723 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15724 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15725 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15726 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15727 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15728 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15729 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15730 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15731 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15732 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15733 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15734 proto.
15735 (_IO_flush_all_internal, _IO_adjust_column_internal)
15736 (_IO_default_uflow_internal, _IO_default_finish_internal)
15737 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15738 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15739 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15740 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15741 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15742 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15743 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15744 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15745 (_IO_file_close_internal, _IO_file_close_it_internal)
15746 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15747 (_IO_file_init_internal, _IO_file_attach_internal)
15748 (_IO_file_fopen_internal, _IO_file_read_internal)
15749 (_IO_file_sync_internal, _IO_file_seek_internal)
15750 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15751 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15752 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15753 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15754 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15755 (_IO_list_all_internal, _IO_link_in_internal)
15756 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15757 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15758 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15759 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15760 (_IO_do_write_internal, _IO_padn_internal)
15761 (_IO_getline_info_internal, _IO_getline_internal)
15762 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15763 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15764 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15765 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15766 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15767 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15768 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15769 with libc_hidden_ver, remove use of INTUSE.
15770 * libio/genops.c: Likewise.
15771 * libio/freopen.c: Likewise.
15772 * libio/freopen64.c: Likewise.
15773 * libio/iofclose.c: Likewise.
15774 * libio/iofdopen.c: Likewise.
15775 * libio/iofflush.c: Likewise.
15776 * libio/iofflush_u.c: Likewise.
15777 * libio/iofgets.c: Likewise.
15778 * libio/iofgets_u.c: Likewise.
15779 * libio/iofopen.c: Likewise.
15780 * libio/iofopncook.c: Likewise.
15781 * libio/iofread.c: Likewise.
15782 * libio/iofread_u.c: Likewise.
15783 * libio/ioftell.c: Likewise.
15784 * libio/iofwrite.c: Likewise.
15785 * libio/iogetline.c: Likewise.
15786 * libio/iogets.c: Likewise.
15787 * libio/iogetwline.c: Likewise.
15788 * libio/iopadn.c: Likewise.
15789 * libio/iopopen.c: Likewise.
15790 * libio/ioseekoff.c: Likewise.
15791 * libio/ioseekpos.c: Likewise.
15792 * libio/iosetbuffer.c: Likewise.
15793 * libio/iosetvbuf.c: Likewise.
15794 * libio/ioungetc.c: Likewise.
15795 * libio/ioungetwc.c: Likewise.
15796 * libio/iovdprintf.c: Likewise.
15797 * libio/iovsprintf.c: Likewise.
15798 * libio/iovsscanf.c: Likewise.
15799 * libio/memstream.c: Likewise.
15800 * libio/obprintf.c: Likewise.
15801 * libio/oldfileops.c: Likewise.
15802 * libio/oldiofclose.c: Likewise.
15803 * libio/oldiofdopen.c: Likewise.
15804 * libio/oldiofopen.c: Likewise.
15805 * libio/oldiopopen.c: Likewise.
15806 * libio/oldstdfiles.c: Likewise.
15807 * libio/putc.c: Likewise.
15808 * libio/setbuf.c: Likewise.
15809 * libio/setlinebuf.c: Likewise.
15810 * libio/stdfiles.c: Likewise.
15811 * libio/strops.c: Likewise.
15812 * libio/vasprintf.c: Likewise.
15813 * libio/vscanf.c: Likewise.
15814 * libio/vsnprintf.c: Likewise.
15815 * libio/vswprintf.c: Likewise.
15816 * libio/wfiledoalloc.c: Likewise.
15817 * libio/wfileops.c: Likewise.
15818 * libio/wgenops.c: Likewise.
15819 * libio/wmemstream.c: Likewise.
15820 * libio/wstrops.c: Likewise.
15821 * libio/__fpurge.c: Likewise.
15822 * libio/__fsetlocking.c: Likewise.
15823 * assert/assert.c: Likewise.
15824 * debug/fgets_chk.c: Likewise.
15825 * debug/fgets_u_chk.c: Likewise.
15826 * debug/fread_chk.c: Likewise.
15827 * debug/fread_u_chk.c: Likewise.
15828 * debug/gets_chk.c: Likewise.
15829 * debug/obprintf_chk.c: Likewise.
15830 * debug/vasprintf_chk.c: Likewise.
15831 * debug/vdprintf_chk.c: Likewise.
15832 * debug/vsnprintf_chk.c: Likewise.
15833 * debug/vsprintf_chk.c: Likewise.
15834 * malloc/mtrace.c: Likewise.
15835 * misc/error.c: Likewise.
15836 * misc/syslog.c: Likewise.
15837 * stdio-common/asprintf.c: Likewise.
15838 * stdio-common/fxprintf.c: Likewise.
15839 * stdio-common/getw.c: Likewise.
15840 * stdio-common/isoc99_fscanf.c: Likewise.
15841 * stdio-common/isoc99_scanf.c: Likewise.
15842 * stdio-common/isoc99_vfscanf.c: Likewise.
15843 * stdio-common/isoc99_vscanf.c: Likewise.
15844 * stdio-common/isoc99_vsscanf.c: Likewise.
15845 * stdio-common/printf-prs.c: Likewise.
15846 * stdio-common/printf_fp.c: Likewise.
15847 * stdio-common/printf_fphex.c: Likewise.
15848 * stdio-common/printf_size.c: Likewise.
15849 * stdio-common/putw.c: Likewise.
15850 * stdio-common/scanf.c: Likewise.
15851 * stdio-common/sprintf.c: Likewise.
15852 * stdio-common/tmpfile.c: Likewise.
15853 * stdio-common/vfprintf.c: Likewise.
15854 * stdio-common/vfscanf.c: Likewise.
15855 * stdlib/strfmon_l.c: Likewise.
15856 * sunrpc/openchild.c: Likewise.
15857 * sunrpc/xdr_stdio.c: Likewise.
15858 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15859 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15860
d6c33fda
RM
158612012-05-24 Roland McGrath <roland@hack.frob.com>
15862
c1487492
RM
15863 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15864
15865 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15866 in the third column, to generate for the shared library an IFUNC
15867 that uses _dl_vdso_vsym.
15868 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15869 * Makeconfig (object-suffixes-noshared): New variable.
15870
15871 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15872 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15873 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15874 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15875
d6c33fda
RM
15876 [BZ #14132]
15877 * include/sys/time.h (__gettimeofday): Remove macro.
15878 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15879 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15880 Remove INTDEF.
15881 (__gettimeofday): Add libc_hidden_def.
15882 (gettimeofday): Add libc_hidden_weak.
15883 * sysdeps/mach/gettimeofday.c: Likewise.
15884 * sysdeps/posix/gettimeofday.c: Likewise.
15885 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15886 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15888 (__gettimeofday_internal): Remove strong_alias.
15889 (__gettimeofday): Add libc_hidden_def.
15890 (gettimeofday): Add libc_hidden_weak.
15891 * sysdeps/unix/syscalls.list (gettimeofday):
15892 Remove __gettimeofday_internal alias.
15893
b5a2bbe6
L
158942012-05-24 Daniel Jacobowitz <drow@false.org>
15895 H.J. Lu <hongjiu.lu@intel.com>
15896
15897 [BZ #12495]
15898 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15899 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15900 (largebin_index_32_big): New.
15901 (largebin_index): Use it for 16-byte alignment.
15902 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15903 correction with front_misalign.
15904
cfba4fda
L
159052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15906
7f907421
L
15907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15909 Likewise.
15910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15911 Likewise.
15912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15913 Likewise.
15914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15915 Likewise.
15916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15917 Likewise.
15918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15919 Likewise.
15920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15921 Likewise.
15922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15923 Likewise.
15924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15925 Likewise.
15926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15927 Likewise.
15928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15929 Likewise.
15930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15931 Likewise.
15932
cfba4fda
L
15933 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15934 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15935
80bad0cc
JM
159362012-05-24 Joseph Myers <joseph@codesourcery.com>
15937
7a25eb06
JM
15938 [BZ #10846]
15939 [BZ #14036]
15940 * math/libm-test.inc (exp_test): Add test from bug 14036.
15941 (pow_test): Add test from bug 10846.
15942
795405f9
JM
15943 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15944 and other flags.
15945 (special_function): Do not include flags in test name.
15946 (parse_args): Likewise.
15947 * sysdeps/i386/fpu/libm-test-ulps: Update.
15948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15949 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15950 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15952
80bad0cc
JM
15953 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15954 exceptions.
15955 * math/libm-test.inc ("Philosophy"): Update comment about
15956 exception testing.
15957 (UNDERFLOW_EXCEPTION): New macro.
15958 (UNDERFLOW_EXCEPTION_OK): Likewise.
15959 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15960 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15961 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15962 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15963 (INVALID_EXCEPTION_OK): Update value.
15964 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15965 (OVERFLOW_EXCEPTION_OK): Likewise.
15966 (IGNORE_ZERO_INF_SIGN): Likewise.
15967 (test_exceptions): Handle underflow exceptions.
15968 (acos_test): Update for underflow exception expectations.
15969 (cexp_test): Likewise.
15970 (clog_test): Likewise.
15971 (clog10_test): Likewise.
15972 (csqrt_test): Likewise.
15973 (ctan_test): Likewise.
15974 (ctanh_test): Likewise.
15975 (exp_test): Likewise.
15976 (exp10_test): Likewise.
15977 (exp2_test): Likewise.
15978 (expm1_test): Likewise.
15979 (fma_test): Likewise.
15980 (j0_test): Likewise.
15981 (jn_test): Likewise.
15982 (nexttoward_test): Likewise.
15983 (pow_test): Likewise.
15984 (scalbn_test): Likewise.
15985 (scalbln_test): Likewise.
15986 (tan_test): Likewise.
15987 (y1_test): Likewise.
15988 * sysdeps/i386/fpu/libm-test-ulps: Update.
15989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15990
9e0e3d0b
DM
159912012-05-23 David S. Miller <davem@davemloft.net>
15992
15993 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15994 (__libc_sigaction): Remove unused local variables.
15995
ccd0a08f
L
159962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15997
15998 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15999
62bdf9a6
PE
160002012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16001
f8591f80
PE
16002 mktime: avoid signed integer overflow
16003 * time/mktime.c (__mktime_internal): Do not mishandle the case
16004 where diff == INT_MIN.
16005
94c7d826
PE
16006 mktime: simplify computation of average
16007 * time/mktime.c (ranged_convert): Use new time_t_avg function
16008 instead of rolling our own (probably-slower) code.
16009
ce73d683
PE
16010 mktime: do not assume signed right shift propagates sign bit
16011 * time/mktime.c (isdst_differ): New static function.
16012 (__mktime_internal): No need to normalize tm_isdst now.
16013 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16014 tm_isdst values.
16015
72a22e59
PE
16016 mktime: merge another wrapv change from gnulib
16017 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16018 from some compilers.
16019
68605433
PE
16020 mktime: remove incorrect attempt at unusual arithmetics
16021 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16022 The code didn't really work on such machines anyway.
16023 (TYPE_MINIMUM): Assume two's complement.
16024 (twos_complement_arithmetic): Verify that long_int and time_t
16025 are two's complement (or unsigned, in the latter case).
16026
03cf7fe3
PE
16027 mktime: check signed shifts on long_int and time_t, too
16028 * time/mktime.c (SHR): Check that shifts work as desired
16029 on the types long_int and time_t too, as SHR is used on
16030 such types.
16031
f04dfbc2
PE
16032 mktime: do not assume 'long' is wide enough
16033 * time/mktime.c (verify): Move decl up.
16034 (long_int): New type.
16035 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16036 to remove assumption in the code that 'long' is wide enough to
16037 store year values. This assumption is not true on x32 and on
16038 some non-glibc platforms.
16039
62bdf9a6
PE
16040 mktime: merge wrapv change from gnulib
16041 * time/mktime.c (WRAPV): New macro.
16042 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16043 (guess_time_tm, __mktime_internal): Do not assume that signed
16044 integer overflow wraps around; modern compilers generate code
16045 where this assumption is no longer valid.
16046
5e292e4f
L
160472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16048
16049 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16050 Replace "jmp L(pseudo_end)" with "ret".
16051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16052 Likewise.
16053
8caf8c87
AJ
160542012-05-23 Andreas Jaeger <aj@suse.de>
16055
16056 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16057 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16058
1a09dc56
AJ
160592012-05-23 Andreas Jaeger <aj@suse.de>
16060 Maximilian Attems <max@stro.at>
16061
16062 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16063 New macros.
16064
1c87aba0
L
160652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16066
16067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16068 code so that pseudo_end is just ret and the stack pointer is
16069 correct also for static library in error case.
16070
40e45bd5
JM
160712012-05-23 Joseph Myers <joseph@codesourcery.com>
16072
c2670533
JM
16073 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16074 move to syscalls.list.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16079
40e45bd5
JM
16080 * manual/install.texi (Running make install): Do not mention Linux
16081 kernel version for which pt_chown is not needed.
16082 (Linux): Do not mention problems with nscd with 2.0 kernels.
16083 * INSTALL: Regenerated.
16084
be08eda5
AJ
160852012-05-23 Andreas Jaeger <aj@suse.de>
16086
16087 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16088 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16089 macro.
16090 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16092 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16094 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16100 * sysdeps/unix/sysv/linux/bits/in.h
16101 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16102
a6a056bb
RM
161032012-05-22 Roland McGrath <roland@hack.frob.com>
16104
16105 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16106 (PREPARE_VERSION): Just use assert instead, it will be elided
16107 under [NDEBUG] anyway.
16108
c9009328
L
161092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 * sysdeps/unix/sysv/linux/Makefile: Include
16112 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16113 (sysdep_routines): Remove sysctl.
c9009328
L
16114 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16115 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16116 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16118 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16119
73338355
AJ
161202012-05-22 Andreas Jaeger <aj@suse.de>
16121
16122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16123 that pseudo_end is just ret and the stack pointer is correct also
16124 for static library in error case.
16125
d44638b0
PP
161262012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16127
16128 [BZ #14122]
16129 * nss/nsswitch.c (defconfig_entries): New variable.
16130 (__nss_database_lookup): Don't leak defconfig entries.
16131 (nss_parse_service_list): Don't leak on error paths.
16132 (free_database_entries): New function.
16133 (free_defconfig): New function.
16134 (free_mem): Move common code to free_database_entries.
16135
31a39bd8
L
161362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16137
da0331a8
L
16138 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16139 Add arch_prctl.
16140 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16141
31a39bd8
L
16142 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16143 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16145 New macro.
16146 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16147 (INTERNAL_SYSCALL_TYPES): Likewise.
16148 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16149 (LOAD_REGS_TYPES_[1-6]): Likewise.
16150 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16151 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16152
45470df3
AZ
161532012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154
16155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16156 copysignl for GLIBC_2_0.
16157 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16158 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16159 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16160 logbl for GLIBC_2_0.
16161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16162 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16163
98a61bcb
L
161642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16165
a4f6e481
L
16166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16167 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16168
f63d5db6
L
16169 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16170 Use "neg %eax".
16171
98a61bcb
L
16172 * time/mktime.c: Update copyright years.
16173
95770f14
PE
161742012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16175
6226efbd
PE
16176 mktime: merge comment-quoting-style change from gnulib
16177 * time/mktime.c: Quote 'like this' in comments.
16178 The GNU coding standards suggest that we no longer quote `like this',
16179 as "`" and "'" are typically rendered asymmetrically nowadays.
16180 The typical gnulib style is to quote 'like this' when quoting
16181 code, and "like this" when quoting English.
16182
b99e4f78
PE
16183 * time/mktime.c (compile-command): Add "-I.".
16184
643e01e6
PE
16185 mktime: merge mktime-internal.h change from gnulib
16186 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16187
2554247d
PE
16188 mktime: merge time_r change from gnulib
16189 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16190
826dd0ab
PE
16191 mktime: merge DEBUG change from gnulib
16192 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16193 case system <time.h> has a #define.
16194
bd83aabe
PE
16195 mktime: merge <sys/types.h> change from gnulib
16196 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16197 since <time.t> is now guaranteed to define time_t.
16198
95770f14
PE
16199 mktime: merge HAVE_CONFIG_H change from gnulib
16200 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16201
5e1a27a9
L
162022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16203
0e44a77e
L
16204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16205 Use "neg %eax".
16206
5e1a27a9
L
16207 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16208 __rlim_t cast.
16209 (struct rusage): Use anonymous union to pad each field to
16210 __syscall_slong_t.
16211
46259bec
DM
162122012-05-21 David S. Miller <davem@davemloft.net>
16213
16214 * Makefules (o-iterator): Remove .s cases.
16215 (compile-command.s): Delete.
16216 (COMPILE.s): Delete.
16217 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16218
59f0c22e
JM
162192012-05-21 Joseph Myers <joseph@codesourcery.com>
16220
16221 * configure.in (libc_cv_predef_stack_protector): Only consider
16222 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16223 * configure: Regenerated.
16224
20c07380
L
162252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16226
bbb3154b
L
16227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16228 New macro. Use R*LP on int and pointer.
16229 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16230 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16231 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16232 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16233
20c07380
L
16234 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16235 [__WORDSIZE_TIME64_COMPAT32] instead of
16236 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16237 (struct utmp): Likewise.
16238 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16239 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16240 Renamed to ...
16241 (__WORDSIZE_TIME64_COMPAT32): This.
16242 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16243 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16244 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16245 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16246 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16247 (__WORDSIZE_TIME64_COMPAT32): New macro.
16248
d8d1017e
AJ
162492012-05-21 Andreas Jaeger <aj@suse.de>
16250
16251 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16252 only if [SHARED]. Add prototype for __wcschr_ia32.
16253
6c7fb145
RM
162542012-05-21 Roland McGrath <roland@hack.frob.com>
16255
16256 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16257 of %rbp unmolested in the jmp_buf while mangling the low bits.
16258 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16259 unmolested high bits of %rbp while demangling the low bits.
16260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16261
66274218
AJ
162622012-05-21 Andreas Jaeger <aj@suse.de>
16263
07c58f8f
AJ
16264 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16265 * sunrpc/svc_simple.c: Use it for registerrpc.
16266 * sunrpc/xcrypt.c: Use it for passwd2des.
16267
66274218
AJ
16268 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16269
61f65140
L
162702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16271
16272 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16273 Don't define if [__SYSCALL_WORDSIZE != 32].
16274 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16275 New macro.
16276
5fefb436
AJ
162772012-05-21 Bruno Haible <bruno@clisp.org>
16278 Andreas Jaeger <aj@suse.de>
16279
16280 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16281 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16282 inptr and inend for must_buffer_ch.
16283 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16284 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16285 * stdio-common/Makefile (tests): Remove bug15.
16286 (bug15-ENV): Remove macro.
16287 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16288 anymore.
16289
d8e272ab
AJ
162902012-05-19 Andreas Jaeger <aj@suse.de>
16291 Roland McGrath <roland@hack.frob.com>
16292
16293 * manual/contrib.texi: Completely rewritten. It contains now an
16294 alphabetical list of contributors and their contributions.
16295
4a56a162
RH
162962012-05-21 Richard Henderson <rth@twiddle.net>
16297
16298 * misc/getauxval.c (__getauxval): Use unsigned long int.
16299 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16300 (getauxval): Use unsigned long int.
16301
d024d23c
L
163022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16303
16304 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16305
cbc00a03
RM
163062012-05-21 Roland McGrath <roland@hack.frob.com>
16307
16308 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16309 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16310 __alignof__ (long double).
16311
478143fa
AZ
163122012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16313
16314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16315
c7683a6d
RH
163162012-05-20 Richard Henderson <rth@twiddle.net>
16317
16318 * misc/getauxval.c: New file.
16319 * misc/sys/auxv.h: New file.
16320 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16321 (routines): Add getauxval.
16322 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16323 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16324 * elf/dl-sysdep.c (_dl_auxv): Remove.
16325 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16326 * elf/dl-support.c (_dl_auxv): New variable.
16327 (_dl_aux_init): Initialize it.
16328 * manual/startup.texi (Auxiliary Vector): New node.
16329 * sysdeps/generic/bits/hwcap.h: New file.
16330 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16331 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16332 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16333 * sysdeps/sparc/sysdep.h: ... here. Include it.
16334 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16337 Update.
c7683a6d
RH
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16346
a6f1845d
AZ
163472012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16348
16349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16350
cbcbe830
DM
163512012-05-19 David S. Miller <davem@davemloft.net>
16352
16353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16354
e0b16cc2
JM
163552012-05-19 Joseph Myers <joseph@codesourcery.com>
16356
16357 [BZ #14123]
16358 * math/s_ccosh.c: Include <float.h>
16359 (__ccosh): Avoid internal overflow calculating sinh and cosh
16360 values before multiplying by sin and cos values.
16361 * math/s_ccoshf.c: Likewise.
16362 * math/s_ccoshl.c: Likewise.
16363 * math/s_csin.c: Likewise.
16364 * math/s_csinf.c: Likewise.
16365 * math/s_csinl.c: Likewise.
16366 * math/s_csinh.c: Likewise.
16367 * math/s_csinhf.c: Likewise.
16368 * math/s_csinhl.c: Likewise.
16369 * math/libm-test.inc (ccos_test): Add more tests.
16370 (ccosh_test): Likewise.
16371 (csin_test): Likewise.
16372 (csinh_test): Likewise.
16373 * sysdeps/i386/fpu/libm-test-ulps: Update.
16374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16375
6ad13e08
L
163762012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16377
f66f0ce8
L
16378 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16379 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16380
6ad13e08
L
16381 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16382
b1d072a7
JM
163832012-05-19 Joseph Myers <joseph@codesourcery.com>
16384
16385 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16386 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16387 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16388 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16389 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16390 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16391 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16392 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16393 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16394 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16395 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16396 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16397 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16398 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16399 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16400 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16401 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16402 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16403 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16404 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16405 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16406 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16407 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16408 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16409 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16410 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16411 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16412 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16413 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16414 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16415 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16416
9eae47cb
AJ
164172012-05-18 Andreas Jaeger <aj@suse.de>
16418
16419 * csu/.gitignore: Delete.
16420
bb07f69f
L
164212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16422
16423 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16424 (timex): Use __syscall_slong_t.
16425
e6bdb741
AJ
164262012-05-18 Andreas Jaeger <aj@suse.de>
16427 Carlos O'Donell <carlos_odonell@mentor.com>
16428
16429 * manual/install.texi (Configuring and compiling): Update
16430 description about files modified in the source directory.
d6c33fda 16431 * INSTALL: Regenerated.
e6bdb741 16432
1b74487e
L
164332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16434
16435 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16436 value. Use "or" to set return value to -1.
16437 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16438 negate return value.
16439
a88b64b9
TMQMF
164402012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16441
16442 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16443 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16444 failure if the compiler has Graphite support disabled.
16445 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16446 Likewise.
16447 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16448 CFLAGS-memmove.c): Likewise.
16449 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16450 Likewise.
16451
3707636e
L
164522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16453
610b8622
L
16454 * sysdeps/x86_64/x32/_itoa.h: New file.
16455
7cd195df
L
16456 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16457 getdents system call only if kernel and user dirents have the
16458 same d_ino and d_off.
16459
94b07d20
L
16460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16461 LLONG_MAX != LONG_MAX.
16462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16463 (_fitoa_word): Likewise.
16464
18298070
L
16465 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16466 years.
16467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16468 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16469 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16470
553c7ea4
L
16471 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16472 include <bits/wordsize.h>. Check __x86_64__ instead of
16473 __WORDSIZE.
16474 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16475 if __x86_64__ is defined. Use anonymous union on fpstate.
16476
3707636e
L
16477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16478 anonymous union.
16479
b53ef01a
AS
164802012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16481
37fb1dc0
AS
16482 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16483 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16484 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16485 Refer to _rtld_local_ro instead of _rtld_global_ro.
16486 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16487 Likewise.
16488 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16489 Likewise.
16490 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16491 Likewise.
16492 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16493 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16494 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16495
b53ef01a
AS
16496 * sysdeps/powerpc/powerpc32/dl-machine.c
16497 (__elf_machine_runtime_setup) [PROF]: Don't reference
16498 _dl_prof_resolve.
16499
7a185db2
AJ
165002012-05-18 Andreas Jaeger <aj@suse.de>
16501
16502 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16503 function only available for GCCs before 3.4 since GCC 3.4
16504 introduced a builtin.
16505 (lrint): Likewise.
16506 (llrintf): Likewise.
16507 (llrint): Likewise.
16508 (fmaxf): Likewise.
16509 (fmax): Likewise.
16510 (fminf): Likewise.
16511 (fmin): Likewise.
16512 (rint): Likewise.
16513 (rintf): Likewise.
16514 (nearbyint): Likewise.
16515 (nearbyintf): Likewise.
16516 (ceil): Likewise.
16517 (ceilf): Likewise.
16518 (floor): Likewise.
16519 (floorf): Likewise.
16520
3e5aef87
L
165212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16522
428bd707
L
16523 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16524 on both fields and cast pointer to __syscall_ulong_t.
16525
3e5aef87
L
16526 * bits/types.h (__fsword_t): New type.
16527 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16528 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16530 (__FSWORD_T_TYPE): Likewise.
16531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16532 (__FSWORD_T_TYPE): Likewise.
16533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16534 (__FSWORD_T_TYPE): Likewise.
16535 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16536 (__FSWORD_T_TYPE): Likewise.
16537 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16538 __SWORD_TYPE with __fsword_t.
16539 (statfs64): Likewise.
16540
1ba7c3dc
DM
165412012-05-17 David S. Miller <davem@davemloft.net>
16542
16543 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16544
59910343
AJ
165452012-05-17 Andreas Jaeger <aj@suse.de>
16546
16547 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16548 warning.
16549
2e4c1e9e
L
165502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16551
16552 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16553
de7f5ce7
AJ
165542012-05-17 Andreas Jaeger <aj@suse.de>
16555
16556 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16557 when it is used.
16558
286abc3d
CM
165592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16560
16561 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16562
477cc68e
L
165632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16564
16565 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16566 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16567
1a0994f5
CD
165682012-05-17 Andreas Jaeger <aj@suse.de>
16569 Carlos O'Donell <carlos_odonell@mentor.com>
16570
16571 [BZ #14059]
16572 * sysdeps/x86_64/multiarch/init-arch.h
16573 (bit_YMM_Usable): Rename to...
16574 (bit_AVX_Usable): ... this.
16575 (bit_FMA4_Usable): New macro.
16576 (bit_XMM_state): New macro.
16577 (bit_YMM_state): New macro.
16578 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16579 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16580 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16581 (CPUID_OSXSAVE): New macro.
16582 (CPUID_AVX): New macro.
16583 (CPUID_FMA4): New macro.
16584 (index_YMM_Usable): Rename to...
16585 (index_AVX_Usable): ... this.
16586 (HAS_AVX): Use HAS_ARCH_FEATURE.
16587 (HAS_FMA4): Likewise.
16588 (HAS_YMM_USABLE): Remove.
16589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16590 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16591 are present.
16592 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16593 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16594 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16595 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16596 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16597
0af797de
CM
165982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16599
16600 * math/libm-test.c: Support platforms without multiple rounding modes.
16601 * math/bug-nextafter.c: Support platforms without FP exceptions.
16602 * math/bug-nexttoward.c: Likewise.
16603 * math/test-fenv.c: Likewise.
16604 * math/test-misc.c: Likewise.
16605 * stdlib/bug-getcontext.c: Likewise.
16606
e39745ff
AJ
166072012-05-17 Andreas Jaeger <aj@suse.de>
16608
16609 * manual/examples/search.c (critter_cmp): Change signature to
16610 avoid warnings.
16611 * manual/string.texi (Collation Functions): Likewise.
16612
48970aba
L
166132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 * bits/types.h: Fold copyright years.
16616 * bits/typesizes.h: Likewise.
16617 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16621 * time/time.h: Likewise.
16622
bedee953
PP
166232012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16624
16625 [BZ #208]
16626 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16627 in instead of returning them. Return void.
16628 (__libc_mallinfo): Accumulate over all arenas.
16629 (__malloc_stats): Adjust for change in int_mallinfo interface.
16630
61653dfb
RM
166312012-05-16 Roland McGrath <roland@hack.frob.com>
16632
30b99d79
RM
16633 [BZ #10375]
16634 * configure.in (NM): Add AC_CHECK_TOOL for it.
16635 (libc_extra_cflags): New substituted variable.
16636 Check for -fstack-protector being used implicitly.
16637 * configure: Regenerated.
16638 * config.make.in (config-extra-cflags): New variable,
16639 gets @libc_extra_cflags@.
16640 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16641
61653dfb
RM
16642 [BZ #10375]
16643 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16644 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16645 * configure: Regenerated.
16646 * config.make.in (CPPUNDEFS): New substituted variable.
16647 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16648 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16649 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16650
661768bb
L
166512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16652
16653 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16654 (mq_attr): Use __syscall_slong_t.
16655
d4261567
L
166562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16657
16658 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16659 Check __x86_64__ instead of __WORDSIZE.
16660 (_STAT_VER_LINUX): Likewise.
16661 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16662 __syscall_ulong_t and __syscall_slong_t.
16663 (stat64): Likewise.
16664
cf3ff365
L
166652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16666
16667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16668
76cf3e4d
L
166692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16670
16671 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16672
a637753a
L
166732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16674
16675 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16676 __syscall_ulong_t.
16677
d5e05119
L
16678 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16679 include <bits/wordsize.h>. Check __x86_64__ instead of
16680 __WORDSIZE.
16681 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16682 defined.
16683 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16684
f62ee380
L
16685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16686 include <bits/wordsize.h>. Check __x86_64__ instead of
16687 __WORDSIZE.
16688 (user_regs_struct): Use "__extension__ unsigned long long"
16689 instead of "unsigned long" if __x86_64__ is defined.
16690 (user): Likewise. Pad after pointer field if __ILP32__ is
16691 defined.
16692
4e124ced
JM
166932012-05-16 Joseph Myers <joseph@codesourcery.com>
16694
6a3951a0
JM
16695 * configure.in (makeinfo): Require version 4.5 or later. Allow
16696 versions 5 to 9.
16697 * configure: Regenerated.
16698 * manual/install.texi (texinfo): Increase version requirement to
16699 4.5 or later.
16700 * INSTALL: Regenerated.
16701
4e124ced
JM
16702 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16703
953ca31a
L
167042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16705
16706 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16707
617aca05
L
16708 * sysdeps/x86_64/x32/ffs.c: New file.
16709
5762f7ae
L
16710 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16711 __syscall_ulong_t.
16712 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16713 defined. Use __syscall_ulong_t.
16714 (shminfo): Use __syscall_ulong_t.
16715 (shm_info): Likewise.
16716
a26b6856
L
16717 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16718 __syscall_ulong_t.
16719
cb2b9ef7
L
16720 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16721 <bits/wordsize.h>.
16722 (msgqnum_t): Use __syscall_ulong_t.
16723 (msglen_t): Likewise.
16724 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16725 __syscall_ulong_t.
16726
34683bb0
L
16727 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16728 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16729
84a68786
L
16730 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16731
48baa5f1
L
16732 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16733 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16734
180be88b
L
16735 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16736 __syscall_slong_t.
16737
5e90c8ad
L
16738 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16739 include <bits/wordsize.h>. Check __x86_64__ instead of
16740 __WORDSIZE.
16741
23dfb58b
L
16742 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16743 "unsigned long long int" if __x86_64__ is defined.
16744 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16745
ce5d54b0
L
16746 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16747 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16748 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16749
13dc9eac
L
16750 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16751 <stdint.h>.
16752 (GET_PC): Cast to uintptr_t first.
16753 (GET_FRAME): Likewise.
16754 (GET_STACK): Likewise.
16755
a7895d15
L
16756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16759 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16761 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16762 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16763 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16764 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16765 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16766 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16769 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16773 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16774 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16776 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16780 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16782 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16783 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16784 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16785
656416c9
AS
167862012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16787
5bd66283
AS
16788 * Makerules (+depfiles): Also collect depfiles from .oS in
16789 $(extra-objs).
16790 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16791 .oS, $(libnldbl-routines)).
16792
656416c9
AS
16793 * Makerules (native-compile-mkdep-flags): Define.
16794 * sunrpc/Makefile (extra-objs): Add $(addprefix
16795 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16796 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16797 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16798 calling $(make-target-directory).
16799
a46f2169
L
168002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * bits/types.h (__snseconds_t): Removed.
16803 * time/time.h (struct timespec): Replace __snseconds_t with
16804 __syscall_slong_t.
16805 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16806 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16807 Likewise.
16808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16809 (__SNSECONDS_T_TYPE): Likewise.
16810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16811 (__SNSECONDS_T_TYPE): Likewise.
16812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16813 (__SNSECONDS_T_TYPE): Likewise.
16814
6af6528b
L
168152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16816
16817 * sysdeps/mach/hurd/bits/typesizes.h
16818 (__SYSCALL_SLONG_TYPE): New macro.
16819 (__SYSCALL_ULONG_TYPE): Likewise.
16820
de986b56
L
168212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16822
16823 * bits/types.h (__syscall_slong_t): New type.
16824 (__syscall_ulong_t): Likewise.
16825
16826 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16827 (__SYSCALL_ULONG_TYPE): Likewise.
16828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16829 (__SYSCALL_SLONG_TYPE): Likewise.
16830 (__SYSCALL_ULONG_TYPE): Likewise.
16831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16832 (__SYSCALL_SLONG_TYPE): Likewise.
16833 (__SYSCALL_ULONG_TYPE): Likewise.
16834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16835 (__SYSCALL_SLONG_TYPE): Likewise.
16836 (__SYSCALL_ULONG_TYPE): Likewise.
16837
85736dc7
L
168382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16839
16840 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16841 Add sigaltstack-offsets.sym.
16842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16843 <sigaltstack-offsets.h>.
16844 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16845 longjmp_msg pointer.
16846 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16847 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16848 signal stack.
16849 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16850
cc03b296
JM
168512012-05-15 Joseph Myers <joseph@codesourcery.com>
16852
a9538892
JM
16853 * elf/stackguard-macros.h: Remove file.
16854 * sysdeps/generic/stackguard-macros.h: New file.
16855 * sysdeps/i386/stackguard-macros.h: Likewise.
16856 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16857 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16858 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16859 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16860 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16861 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16862 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16863 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16864 <elf/stackguard-macros.h>.
16865
cc03b296
JM
16866 [BZ #14109]
16867 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16868 __aligned__ in attribute.
16869 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16870 (gregset_t): Likewise.
16871
93171016
L
168722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16873
16874 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16875 * sysdeps/x86_64/64/Implies-after: Here. New file.
16876 * sysdeps/x86_64/x32/Implies-after: New file.
16877
d86813a0
L
168782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16879
16880 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16881 and access return value for _dl_profile_fixup. Use R10_LP to
16882 load frame size.
16883
2953ec75
L
168842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16885
16886 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16887
3b550e9e
L
168882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16889
16890 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16891 * sysdeps/x86_64/x32/sysdep.h: New file.
16892
eda41706
L
168932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16896 * sysdeps/x86_64/setjmp.S: Likewise.
16897
9ea01d93
AZ
168982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16899
16900 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16901 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16902 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16904 remove unused global constant.
16905
02a91938
CM
169062012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16907
16908 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16909 include of <not-cancel.h>.
16910
6540185f
RM
169112012-05-15 Roland McGrath <roland@hack.frob.com>
16912
16913 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16914
509072a0
AJ
169152012-05-15 Jeff Law <law@redhat.com>
16916 Andreas Jaeger <aj@suse.de>
16917
16918 [BZ #13594]
16919 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16920 out from...
16921 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16922 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16923 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16924 code changing __hst_map_handle.map.
16925
ba75122d
RM
169262012-05-15 Roland McGrath <roland@hack.frob.com>
16927
16928 * configure.in (sysnames): Look for Implies-before and Implies-after
16929 files.
16930 * configure: Regenerated.
16931
890d8bd8
L
169322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16933
16934 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16935 8-byte data alignment with LP_SIZE alignment.
16936
f6ee6623
L
169372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16940 into R10_LP.
16941
ea2626f6
L
169422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16945
085f715e
L
169462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16947
16948 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16949 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16951 Likewise.
16952 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16953
be8498fc
L
169542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16955
16956 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16957 (stackinfo_sub_sp): Likewise.
16958
70bc83b9
L
169592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16960
16961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16962 RAX_LP.
16963
9bc0b730
L
169642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16965
16966 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16967 into R*_LP.
16968
6d2850e7
L
169692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16970
16971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16972 sizes into R*_LP.
16973
3cb84561
L
169742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16977
54e2ed81
L
169782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16979
16980 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16981 into R11_LP and load __x86_64_shared_cache_size_half into
16982 R8_LP.
16983
8a17f349
L
169842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16985
16986 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16987 R8_LP.
16988
777b1eea
AZ
169892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16990
16991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16992 logb for POWER7.
16993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16994 logbf for POWER7.
16995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16996 logbl for POWER7.
16997 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16998 powerpc32/power7/fpu/s_logb.c via #include.
16999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17000 powerpc32/power7/fpu/s_logbf.c via #include.
17001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17002 powerpc32/power7/fpu/s_logbl.c via #include.
17003
d20d4ac2
JM
170042012-05-15 Joseph Myers <joseph@codesourcery.com>
17005
17006 * README.libm: Remove file.
17007
6cdef1ab
L
170082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17009
17010 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17011 count for x32. Use R*_LP and omit operand-size suffix.
17012
0b254d8f
L
170132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17014
17015 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17016 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17017 * sysdeps/x86_64/x32/shlib-versions: New file.
17018
ceb809dc
RM
170192012-05-14 Roland McGrath <roland@hack.frob.com>
17020
17021 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17022 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17023 Use _dl_fatal_printf instead.
17024
37f1abd4
JM
170252012-05-14 Joseph Myers <joseph@codesourcery.com>
17026
17027 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17028 set if not set by the user. Do not allow for being unset.
17029 * sysdeps/unix/sysv/linux/configure: Regenerated.
17030
11de3a33
L
170312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17032
17033 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17034 the `q' suffix from lea and replace .quad with ASM_ADDR.
17035
e02f153a
L
170362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17039 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17040 instead of $17.
17041 (PTR_DEMANGLE): Likewise.
17042
520ae0fd
L
170432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17044
17045 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17046 (LP_OP): Likewise.
17047 (ASM_ADDR): Likewise.
17048 (RAX_LP): Likewise.
17049 (RBP_LP): Likewise.
17050 (RBX_LP): Likewise.
17051 (RCX_LP): Likewise.
17052 (RDI_LP): Likewise.
17053 (RSI_LP): Likewise.
17054 (RSP_LP): Likewise.
17055 (R8_LP): Likewise.
17056 (R9_LP): Likewise.
17057 (R10_LP): Likewise.
17058 (R10_LP): Likewise.
17059 (R11_LP): Likewise.
17060 (R12_LP): Likewise.
17061 (R13_LP): Likewise.
17062 (R14_LP): Likewise.
17063 (R15_LP): Likewise.
17064
b985be81
L
170652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17066
17067 * sysdeps/x86_64/x32/dl-machine.h: New file.
17068
6a4888ff
AJ
170692012-05-14 Andreas Jaeger <aj@suse.de>
17070
17071 * manual/Makefile (subdir): Remove export of subdir.
17072 (all): Remove target.
17073 (.PHONY): Remove all from list.
17074 (mkinstalldirs): Remove.
17075 (.PHONY): Remove installdirs from list.
17076 ($(inst_infodir)/libc.info): Use make-target-directory.
17077 (installdirs): Remove.
17078 (subdir_%): Remove.
17079 (glibc-targets): Remove.
17080 (lib): Remove.
17081 (stubs): Remove.
17082 ($(objpfx)stubs ../po/manual.pot): Remove.
17083 ($(objpfx)stamp%): Remove.
17084 (make-target-directory): Remove.
17085 (subdir_install): Remove.
17086 (routines): Remove.
17087 (aux): Remove.
17088 (sources): Remove.
17089 (objects): Remove.
17090 (headers): Remove.
17091
17092 [BZ #13750]
17093 * manual/.gitignore: Remove, it's not needed anymore.
17094 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17095 all files in it.
17096 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17097 directory.
17098 (texis): Renamed to $(objpfx)texis.
17099 (texis-path): New, contains path to generated files.
17100 (chapters.%): Use texis-path for complete path, add extra argument
17101 libc-texinfo.sh.
17102 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17103 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17104 (summary,texi, stamp-summary): Use complete path of
17105 files. Generate files in build dir.
17106 (dir-add.texi): Build in build dir.
17107 (libm-err.texi,stamp-libm-err): Likewise.
17108 (version.texi, stamp-version): Likewise.
17109 (.%c.texi): Likewise.
17110 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17111 (mostlyclean): Remove target.
17112 (realclean): Remove target.
17113 (generated): Add new variable with contents from mostlyclean and
17114 realclean, remove entries duplicated in common-mostlyclean, add
17115 stamp-libm-err and stamp-version.
17116 (generated-dirs): Add libc directory.
17117 ($(inst_infodir)/libc.info): Install files from build dir.
17118
17119 * manual/install.texi (Configuring and compiling): Adjust since
17120 the info files are not part of the tar ball anymore.
17121
7ac77294
AJ
171222012-05-14 Andreas Jaeger <aj@suse.de>
17123
17124 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17125 variable.
17126
ffb7875d
JM
171272012-05-14 Joseph Myers <joseph@codesourcery.com>
17128
17129 [BZ #13717]
17130 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17131 to 2.2.0 where earlier.
17132 * sysdeps/unix/sysv/linux/configure: Regenerated.
17133 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17134 Remove conditional code.
17135 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17136 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17137 Remove conditional code.
17138 [!__NR_lchown]: Likewise.
17139 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17140 [__NR_lchown]: Likewise.
17141 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17142 comment referencing __ASSUME_LCHOWN_SYSCALL.
17143 * sysdeps/unix/sysv/linux/i386/sigaction.c
17144 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17145 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17146 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17147 Remove conditional code.
17148 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17149 (__protocol_available): Remove #if 0 code.
17150 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17151 conditional code.
17152 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17153 * sysdeps/unix/sysv/linux/kernel-features.h
17154 (__ASSUME_GETCWD_SYSCALL): Don't define.
17155 (__ASSUME_REALTIME_SIGNALS): Likewise.
17156 (__ASSUME_PREAD_SYSCALL): Likewise.
17157 (__ASSUME_PWRITE_SYSCALL): Likewise.
17158 (__ASSUME_POLL_SYSCALL): Likewise.
17159 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17160 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17161 non-SPARC.
17162 (__ASSUME_SIOCGIFNAME): Don't define.
17163 (__ASSUME_MSG_NOSIGNAL): Likewise.
17164 (__ASSUME_SENDFILE): Define unconditionally.
17165 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17166 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17167 conditional code.
17168 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17169 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17170 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17171 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17172 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17173 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17174 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17199 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17200 Remove conditional code.
17201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17202 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17203 Remove conditional code.
17204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17205 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17206 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17207 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17208 Remove conditional code.
17209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17210 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17211 Remove conditional code.
17212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17213 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17214 Remove conditional code.
17215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17216 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17217 Remove conditional code.
17218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17219 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17220 Remove conditional code.
17221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17222 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17225 * sysdeps/unix/sysv/linux/sigaction.c
17226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17228 * sysdeps/unix/sysv/linux/sigpending.c
17229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17231 * sysdeps/unix/sysv/linux/sigprocmask.c
17232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17234 * sysdeps/unix/sysv/linux/sigsuspend.c
17235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17237 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17238 (__libc_missing_rt_sigs): Remove.
17239 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17240 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17241 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17242 Remove conditional code.
17243 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17244 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17245 return 1.
17246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17247 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17248 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17249 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17250
1bfb7291
AJ
172512012-05-14 Andreas Jaeger <aj@suse.de>
17252
caae5a81
AJ
17253 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17254 it's not used in glibc.
17255 (__coshm1): Likewise.
17256 (__acosh1p): Likewise.
17257 (__sgn): Likewise.
17258
1bfb7291
AJ
17259 * manual/string.texi (Copying and Concatenation): Add missing
17260 variable in concat example.
17261 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17262
c044d724
L
172632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17264
144c5467 17265 [BZ #14103]
c044d724
L
17266 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17267 __builtin_clzl with __builtin_clzll.
17268
2523c62b
L
172692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 [BZ #14104]
17272 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17273 libc_freeres_ptr.
17274
d7bb4c42
LD
172752012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17276
17277 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17278 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17279 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17281
9dc4e1fb
MF
172822012-05-14 Mike Frysinger <vapier@gentoo.org>
17283
17284 * NEWS: Update ia64 info.
17285
c7df0112
AS
172862012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17287
17288 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17289 used as bcopy.
17290
dc70356c
TS
172912012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17292
17293 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17294 * sysdeps/unix/syscalls.list (dup3): Likewise.
17295 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17296 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17297
9fb1a21f
L
172982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17301 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17302
4822a2a5
L
173032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17304
17305 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17306 thread pointer.
17307 (TLS_IE): Use mov/add instead of movq/addq to load thread
17308 pointer.
17309 (TLS_GD_PREFIX): New.
17310 (TLS_GD): Use it.
17311
842b81d6
DM
173122012-05-11 David S. Miller <davem@davemloft.net>
17313
17314 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17315 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17316 (_FPU_SETCW): Likewise.
17317
1cf463cd
L
173182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17321 is 32-byte aligned.
17322
60cc4a18
AS
173232012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17324
17325 [BZ #11837]
17326 * iconvdata/gb18030.c: Update tables.
17327 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17328 characters specially.
17329 (BODY for TO_LOOP): Add encoding of missing ranges.
17330
febb44a4
TS
173312012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17332
17333 [BZ #13673]
17334 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17335 * sysdeps/mach/hurd/dup3.c: Likewise.
17336 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17337 * sysdeps/powerpc/memmove.c:: Likewise.
17338
0a10fb9e
L
173392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17342 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17343
df8a552f
L
173442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 * elf/elf.h (R_X86_64_RELATIVE64): New.
17347 (R_X86_64_NUM): Updated.
17348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17349 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17350 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17351 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17352 tst-quad1pie tst-quad2pie
17353 (modules-names): Add tst-quadmod1 tst-quadmod2.
17354 ($(objpfx)tst-quad1): New dependency.
17355 ($(objpfx)tst-quad2): Likewise.
17356 ($(objpfx)tst-quad1pie): Likewise.
17357 ($(objpfx)tst-quad2pie): Likewise.
17358 * sysdeps/x86_64/tst-quad1.c: New file.
17359 * sysdeps/x86_64/tst-quad1pie.c: New file.
17360 * sysdeps/x86_64/tst-quad2.c: Likewise.
17361 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17362 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17363 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17364 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17365 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17366
f34d6f84
ST
173672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17368
f42d41d1
ST
17369 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17370 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17371 * streams/stropts.h (t_scalar_t): Define type.
17372
3c3571fc
ST
17373 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17374 (_PATH_PRESERVE): Set to "/var/lib".
17375 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17376
61f06bd3
ST
17377 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17378 instead of int.
17379
918d4d71
ST
17380 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17381 if __dir_mkfile succeeded.
17382
f34d6f84
ST
17383 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17384 checking for _hurd_dtablesize. Unlock it right after having
17385 finished _hurd_dtable allocation.
17386
10589b4a
TS
173872012-05-10 Thomas Schwinge <thomas@schwinge.name>
17388
674cdbc7
TS
17389 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17390 * sysdeps/mach/hurd/configure: Regenerated.
17391 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17392 special-casing to...
17393 * sysdeps/gnu/configure.in: ... this new file.
17394 * sysdeps/unix/sysv/linux/configure: Regenerated.
17395 * sysdeps/gnu/configure: New generated file.
17396
8e41b99f
TS
17397 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17398 for Linux: use nsec instead of usec, as well as:
17399 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17400 members of type struct timespec.
17401 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17402 New macros.
17403 (struct stat64): Likewise.
17404 (_STATBUF_ST_NSEC): New macro.
17405 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17406
10589b4a
TS
17407 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17408 __strtoul_internal rather than strtoul.
17409
63643c85
PT
174102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17411
17412 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17413 and reject them.
17414
3faebe6a
ST
174152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17416
17417 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17418 which preserves existing values.
17419 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17420
c6474b07
PT
174212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17422
17423 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17424 TIMEOUT values. Return EINVAL for NFDS values either negative or
17425 greater than FD_SETSIZE.
17426
1043890b
ST
174272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17428
17429 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17430 allocated, call __vm_protect to finish enabling the existing space, and
17431 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17432 allocate the remainder.
17433
37ed8b9b
PT
174342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17435
17436 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17437 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17438
db653660
ST
174392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17440
37ed8b9b
PT
17441 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17442 sysdeps/mach/hurd/readlink.c.
b29d4053 17443
db653660
ST
17444 * posix/tst-sysconf.c (posix_options): Only use
17445 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17446 _POSIX_SYNCHRONIZED_IO when they are defined
17447 * sysdeps/mach/hurd/bits/posix_opt.h:
17448 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17449 (_XOPEN_REALTIME): Undefine macro.
17450 (_XOPEN_REALTIME_THREADS): Undefine macro.
17451 (_XOPEN_SHM): Undefine macro.
17452 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17453 macro to -1.
17454 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17455 macro to -1.
17456 (_POSIX_ASYNC_IO): Undefine macro.
17457 (_POSIX_PRIORITIZED_IO): Undefine macro.
17458 (_POSIX_SPIN_LOCKS): Define macro to -1.
17459
ee16e894
ST
17460 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17461 SA_NODEFER, SA_RESETHAND.
17462 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17463 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17464 F_DUPFD_CLOEXEC.
17465
6103ae3b
TS
174662012-05-10 Thomas Schwinge <thomas@schwinge.name>
17467
17468 * elf/Makefile (pldd-modules): Define unconditionally.
17469
80b4e5f3
TS
174702012-05-10 Thomas Schwinge <thomas@schwinge.name>
17471
17472 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17473
edadcbd6
ST
174742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17475
17476 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17477 Return ENOENT when name is empty.
17478 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17479
80694780
TS
174802012-05-10 Thomas Schwinge <thomas@schwinge.name>
17481
1792c087
TS
17482 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17483
80694780
TS
17484 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17485
6b645f0d
ST
174862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17487
80694780
TS
17488 Fix mlock in all cases except non-readable pages.
17489 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17490 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17491
6b645f0d
ST
17492 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17493 (__mkdir): When path is `/', just fail with EEXIST.
17494 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17495
e468f8a3
TS
174962012-05-10 Thomas Schwinge <thomas@schwinge.name>
17497
17498 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17499 <sys/uio.h> (for writev).
17500 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17501 and <sys/param.h> (for MIN).
17502
a4186cff
PT
175032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17504
17505 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17506 REQUESTED_TIME. Properly set the remaining time and return EINTR
17507 if interrupted.
17508
510bbf14
TS
175092012-05-10 Thomas Schwinge <thomas@schwinge.name>
17510
17511 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17512 Depend on against $(link-rpcuserlibs).
17513
5d5722e8
ST
175142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17515
a4186cff
PT
17516 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17517 (__libc_stack_end): Do not use attribute_relro.
17518 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17519 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17520 to libthread-provided value.
a4186cff
PT
17521 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17522 attribute_relro.
5d5722e8 17523
37233df9
TS
175242012-05-10 Thomas Schwinge <thomas@schwinge.name>
17525
be971a2b
TS
17526 [BZ #3748]
17527 * bits/libc-lock.h (__libc_once_get): New macro.
17528 * sysdeps/mach/bits/libc-lock.h: Likewise.
17529 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17531 instead of using implementation details.
17532
37233df9
TS
17533 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17534 * libio/freopen.c: Likewise.
17535 * libio/freopen64.c: Likewise.
17536 * misc/syslog.c: Likewise.
17537 * nscd/connections.c: Likewise.
17538 * nscd/netgroupcache.c: Likewise.
17539 * sysdeps/posix/getcwd.c: Likewise.
17540
38de94a5
RM
175412012-05-10 Roland McGrath <roland@hack.frob.com>
17542
17543 * math/w_ilogbf.c: Add #include <limits.h>.
17544
67530489
ST
175452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17546
a4186cff 17547 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17548 path instead of returning without unlocking.
17549
67530489
ST
17550 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17551 immediate-write ioctls.
17552 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17553
5aa3a74a
TS
175542012-05-10 Thomas Schwinge <thomas@schwinge.name>
17555
18bad2ae
TS
17556 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17557 __builtin_frame_address instead of making assumptions about the
17558 location of the return address relative to DATA. Force early load of
17559 the return address.
17560 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17561 __builtin_frame_address.
17562
5aa3a74a
TS
17563 dup3 for GNU Hurd.
17564 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17565 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17566 implement dup3 and do some further code clean-ups.
17567 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17568 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17569
ecd0de9a
ST
175702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17571
cd9fa985
ST
17572 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17573
a4186cff
PT
17574 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17575 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17576 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17577 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17578 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17579 d->port.lock.
802ca5a5 17580
a4186cff
PT
17581 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17582 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17583 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17584
bcf55240
TS
175852012-05-10 Thomas Schwinge <thomas@schwinge.name>
17586
6960eb42
TS
17587 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17588 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17589 definitions.
17590
eb43375f
TS
17591 accept4 for GNU Hurd.
17592 * include/sys/socket.h (__libc_accept4): New prototype.
17593 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17594 to implement __libc_accept4.
17595 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17596 __libc_accept4.
17597 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17598
bcf55240
TS
17599 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17600 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17601 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17602 signal-defines.sym.
17603
6178c55b
ST
176042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17605
a4186cff 17606 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17607
6f080c2f
TS
176082012-05-10 Thomas Schwinge <thomas@schwinge.name>
17609
17610 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17611 assertion on O_CLOEXEC flag.
17612 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17613 * hurd/intern-fd.c: Likewise.
17614 * hurd/port2fd.c: Likewise.
17615
bcfe3a54
ST
176162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17617
17618 [BZ #3906]
17619 * bits/in.h (IPV6_PKTINFO): Define new macro.
17620 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17621
89c9aa49
AZ
176222012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17623
17624 [BZ #13954]
17625 [BZ #13955]
17626 [BZ #13956]
17627 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17629 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17630 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17633 * math/libm-test.inc (logb_test) : Additional logb tests.
17634
021db4be
AJ
176352012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17636 Andreas Jaeger <aj@suse.de>
17637
17638 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17639 * configure: Regenerated.
17640 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17641 * config.make.in (link-obsolete-rpc): New substituted variable.
17642 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17643 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17644 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17645 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17646 so that libc.a contains the symbols.
17647 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17648 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17649 * sunrpc/auth_none.c: Likewise.
17650 * sunrpc/auth_unix.c: Likewise.
17651 * sunrpc/authdes_prot.c: Likewise.
17652 * sunrpc/authuxprot.c: Likewise.
17653 * sunrpc/clnt_gen.c: Likewise.
17654 * sunrpc/clnt_perr.c: Likewise.
17655 * sunrpc/clnt_raw.c: Likewise.
17656 * sunrpc/clnt_simp.c: Likewise.
17657 * sunrpc/clnt_tcp.c: Likewise.
17658 * sunrpc/clnt_udp.c: Likewise.
17659 * sunrpc/clnt_unix.c: Likewise.
17660 * sunrpc/des_crypt.c: Likewise.
17661 * sunrpc/des_soft.c: Likewise.
17662 * sunrpc/get_myaddr.c: Likewise.
17663 * sunrpc/key_call.c: Likewise.
17664 * sunrpc/key_prot.c: Likewise.
17665 * sunrpc/netname.c: Likewise.
17666 * sunrpc/pm_getmaps.c: Likewise.
17667 * sunrpc/pm_getport.c: Likewise.
17668 * sunrpc/pmap_clnt.c: Likewise.
17669 * sunrpc/pmap_prot.c: Likewise.
17670 * sunrpc/pmap_prot2.c: Likewise.
17671 * sunrpc/pmap_rmt.c: Likewise.
17672 * sunrpc/publickey.c: Likewise.
17673 * sunrpc/rpc_cmsg.c: Likewise.
17674 * sunrpc/rpc_common.c: Likewise.
17675 * sunrpc/rpc_dtable.c: Likewise.
17676 * sunrpc/rpc_prot.c: Likewise.
17677 * sunrpc/rpc_thread.c: Likewise.
17678 * sunrpc/rtime.c: Likewise.
17679 * sunrpc/svc.c: Likewise.
17680 * sunrpc/svc_auth.c: Likewise.
17681 * sunrpc/svc_raw.c: Likewise.
17682 * sunrpc/svc_run.c: Likewise.
17683 * sunrpc/svc_tcp.c: Likewise.
17684 * sunrpc/svc_udp.c: Likewise.
17685 * sunrpc/svc_unix.c: Likewise.
17686 * sunrpc/svcauth_des.c: Likewise.
17687 * sunrpc/xcrypt.c: Likewise.
17688 * sunrpc/xdr.c: Likewise.
17689 * sunrpc/xdr_array.c: Likewise.
17690 * sunrpc/xdr_float.c: Likewise.
17691 * sunrpc/xdr_intXX_t.c: Likewise.
17692 * sunrpc/xdr_mem.c: Likewise.
17693 * sunrpc/xdr_rec.c: Likewise.
17694 * sunrpc/xdr_ref.c: Likewise.
17695 * sunrpc/xdr_sizeof.c: Likewise.
17696 * sunrpc/xdr_stdio.c: Likewise.
17697
b5c086a2
RM
176982012-05-10 Roland McGrath <roland@hack.frob.com>
17699
17700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17701 change. Update copyright years.
17702
6d74dd09
JM
177032012-05-10 Joseph Myers <joseph@codesourcery.com>
17704
17705 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17706
28e72501
MK
177072012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17708 Joseph Myers <joseph@codesourcery.com>
17709 Paul Pluzhnikov <ppluzhnikov@google.com>
17710
17711 [BZ #14012]
17712 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17713 requiring rpcgen.
17714 [cross-compiling] (extra-libs): Likewise.
17715 [cross-compiling] (extra-libs-others): Likewise.
17716 [cross-compiling] (librpcsvc-routines): Likewise.
17717 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17718 [cross-compiling] (omit-deps): Likewise.
17719 (sunrpc-CPPFLAGS): New variable.
17720 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17721 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17722 (cross-rpcgen-objs): New variable.
17723 (extra-objs): Append $(cross-rpcgen-objs).
17724 ($(cross-rpcgen-objs)): New rule.
17725 ($(objpfx)cross-rpcgen): Likewise.
17726 (rpcgen-cmd): Define to use $(built-program-file). Expand
17727 comment.
17728 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17729 ($(objpfx)x%.stmp): Likewise.
17730 * sunrpc/proto.h [IS_IN_build] (_): Define.
17731 [IS_IN_build] (_libc_intl_domainname): Likewise.
17732
c8c59454
L
177332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17736 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17737 and R_X86_64_TPOFF64.
17738
6f27cd16
JM
177392012-05-10 Joseph Myers <joseph@codesourcery.com>
17740
17741 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17742 sysdeps/unix/sysv/syscalls.list.
17743 (stime): Likewise.
17744 (utime): Likewise.
17745 * sysdeps/unix/sysv/syscalls.list: Remove file.
17746
02467e1c
PE
177472012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17748
17749 [BZ #3440]
17750 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17751 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17752 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17753 (__LC_IDENTIFICATION): Make these macros useful in #if
17754 expressions, as required by C99.
17755
da392631
AS
177562012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17757
17758 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17759 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17760 after this.
17761
8115f29b
L
177622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17763
17764 * stdlib/longlong.h: Updated from GCC.
17765
bdd74070
AJ
177662012-05-09 Andreas Jaeger <aj@suse.de>
17767
edfe0dbe
AJ
17768 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17769 default is first entry.
17770 (run_mode): Set type.
17771 (main): Remove informal message about syslog.
17772 (options): Fix typo.
17773
bcfe3a54
ST
17774 [BZ #14053]
17775 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17776 to asm.
bcfe3a54
ST
17777 (lrint): Likewise.
17778 (llrintf): Likewise.
17779 (llrint): Likewise.
17780 (rint): Likewise.
17781 (rintf): Likewise.
17782 (nearbyint): Likewise.
17783 (nearbyintf): Likewise.
bdd74070 17784
91d8d69e
AJ
177852012-05-09 Andreas Jaeger <aj@suse.de>
17786 Pedro Alves <palves@redhat.com>
17787
17788 * nscd/nscd.c (run_mode): Use enum.
17789 (main): Cleanup coding style issue.
17790
bb90b80b
AJ
177912012-05-09 Alexandre Oliva <aoliva@redhat.com>
17792 Andreas Jaeger <aj@suse.de>
17793
bcfe3a54
ST
17794 * nscd/nscd.c (go_background): Replaced with...
17795 (run_mode): ... this.
bb90b80b 17796 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17797 (options): Add -F --foreground.
17798 (main): Implement it.
17799 (parse_opt): Parse it.
bb90b80b 17800
1a4b75a1
AJ
178012012-05-09 Andreas Jaeger <aj@suse.de>
17802
17803 [BZ #14083]
17804 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17805 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17806 -Wconversion warning.
17807 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17808 Likewise.
17809
b1cc2472
JM
178102012-05-09 Joseph Myers <joseph@codesourcery.com>
17811
17812 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17813 == 0.
17814 (LC_ALL): Use macro-int-constant.
17815 (LC_COLLATE): Likewise.
17816 (LC_CTYPE): Likewise.
17817 (LC_MESSAGES): Likewise.
17818 (LC_MONETARY): Likewise.
17819 (LC_NUMERIC): Likewise.
17820 (LC_TIME): Likewise.
17821 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17822 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17824 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17825 Specify type.
17826 [C99-based standards] (float_t): Expect type.
17827 [C99-based standards] (double_t): Expect type.
17828 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17829 type.
17830 [C99-based standards] (HUGE_VALL): Likewise.
17831 [C99-based standards] (INFINITY): Likewise.
17832 [C99-based standards] (NAN): Likewise.
17833 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17834 [C99-based standards] (FP_NAN): Likewise.
17835 [C99-based standards] (FP_NORMAL): Likewise.
17836 [C99-based standards] (FP_SUBNORMAL): Likewise.
17837 [C99-based standards] (FP_ZERO): Likewise.
17838 [C99-based standards] (FP_FAST_FMA): Use
17839 optional-macro-int-constant. Specify type. Require == 1.
17840 [C99-based standards] (FP_FAST_FMAF): Likewise.
17841 [C99-based standards] (FP_FAST_FMAL): Likewise.
17842 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17843 [C99-based standards] (FP_ILOGBNAN): Likewise.
17844 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17845 Specify type.
17846 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17847 [C99-based standards] (math_errhandling): Specify type.
17848 [ISO99 || ISO11] (signgam): Do not allow.
17849 [non-C99-based standards] (copysignf): Do not allow.
17850 [non-C99-based standards] (exp2f): Likewise.
17851 [non-C99-based standards] (log2f): Likewise.
17852 [non-C99-based standards] (modff): Allow.
17853 [non-C99-based standards] (erff): Do not allow.
17854 [non-C99-based standards] (erfcf): Likewise.
17855 [non-C99-based standards] (gammaf): Likewise.
17856 [non-C99-based standards] (hypotf): Likewise.
17857 [non-C99-based standards] (j0f): Likewise.
17858 [non-C99-based standards] (j1f): Likewise.
17859 [non-C99-based standards] (jnf): Likewise.
17860 [non-C99-based standards] (lgammaf): Likewise.
17861 [non-C99-based standards] (tgammaf): Likewise.
17862 [non-C99-based standards] (y0f): Likewise.
17863 [non-C99-based standards] (y1f): Likewise.
17864 [non-C99-based standards] (ynf): Likewise.
17865 [non-C99-based standards] (isnanf): Likewise.
17866 [non-C99-based standards] (acoshf): Likewise.
17867 [non-C99-based standards] (asinhf): Likewise.
17868 [non-C99-based standards] (atanhf): Likewise.
17869 [non-C99-based standards] (cbrtf): Likewise.
17870 [non-C99-based standards] (expm1f): Likewise.
17871 [non-C99-based standards] (ilogbf): Likewise.
17872 [non-C99-based standards] (log1pf): Likewise.
17873 [non-C99-based standards] (logbf): Likewise.
17874 [non-C99-based standards] (nextafterf): Likewise.
17875 [non-C99-based standards] (remainderf): Likewise.
17876 [non-C99-based standards] (rintf): Likewise.
17877 [non-C99-based standards] (scalbf): Likewise.
17878 [non-C99-based standards] (copysignl): Likewise.
17879 [non-C99-based standards] (exp2l): Likewise.
17880 [non-C99-based standards] (log2l): Likewise.
17881 [non-C99-based standards] (modfl): Allow.
17882 [non-C99-based standards] (erfl): Do not allow.
17883 [non-C99-based standards] (erfcl): Likewise.
17884 [non-C99-based standards] (gammal): Likewise.
17885 [non-C99-based standards] (hypotl): Likewise.
17886 [non-C99-based standards] (j0l): Likewise.
17887 [non-C99-based standards] (j1l): Likewise.
17888 [non-C99-based standards] (jnl): Likewise.
17889 [non-C99-based standards] (lgammal): Likewise.
17890 [non-C99-based standards] (tgammal): Likewise.
17891 [non-C99-based standards] (y0l): Likewise.
17892 [non-C99-based standards] (y1l): Likewise.
17893 [non-C99-based standards] (ynl): Likewise.
17894 [non-C99-based standards] (isnanl): Likewise.
17895 [non-C99-based standards] (acoshl): Likewise.
17896 [non-C99-based standards] (asinhl): Likewise.
17897 [non-C99-based standards] (atanhl): Likewise.
17898 [non-C99-based standards] (cbrtl): Likewise.
17899 [non-C99-based standards] (expm1l): Likewise.
17900 [non-C99-based standards] (ilogbl): Likewise.
17901 [non-C99-based standards] (log1pl): Likewise.
17902 [non-C99-based standards] (logbl): Likewise.
17903 [non-C99-based standards] (nextafterl): Likewise.
17904 [non-C99-based standards] (remainderl): Likewise.
17905 [non-C99-based standards] (rintl): Likewise.
17906 [non-C99-based standards] (scalbl): Likewise.
17907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17908 [non-C99-based standards] (FP_*): Do not allow.
17909 [C99-based standards] (FP_*): Change to
17910 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17911 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17912 allow.
17913 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17914 (SIG_ERR): Likewise.
17915 [X/Open-based standards] (SIG_HOLD): Likewise.
17916 (SIG_IGN): Likewise.
17917 (SIGABRT): Use macro-int-constant. Specify type. Require
17918 positive value.
17919 (SIGFPE): Likewise.
17920 (SIGILL): Likewise.
17921 (SIGINT): Likewise.
17922 (SIGSEGV): Likewise.
17923 (SIGTER): Likewise.
17924 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17925 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17926 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17927 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17928 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17929 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17930 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17931 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17932 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17933 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17934 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17935 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17936 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17937 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17938 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17939 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17940 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17941 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17942 [X/Open-based standards] (SIGTRAP): Likewise.
17943 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17944 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17945 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17946 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17947 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17948 allow.
17949
b9f1922d
IW
179502012-05-08 Ian Wienand <ianw@vmware.com>
17951
17952 [BZ #14080]
17953 * time/tzset.c (__tzset_parse_tz): Update default rules for
17954 daylight time changes in the Energy Policy Act of 2005.
17955
1db86e88
AJ
179562012-05-09 Andreas Jaeger <aj@suse.de>
17957
17958 [BZ #13983]
17959 * elf/ldconfig.c (parse_conf): Change string to make clear that
17960 ldconfig only issued a warning if ld.so.conf does not exist.
17961
dee4a4e3
DM
179622012-05-08 David S. Miller <davem@davemloft.net>
17963
ee0db190
DM
17964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17965 movxtod instead of popping the value on the stack.
17966
dee4a4e3
DM
17967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17968
6a43ec98
CD
179692012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17970
17971 * config.h.in: Add HAVE_ARM_PCS_VFP.
17972
05c2c961
RMG
179732012-05-08 Roland Mc Grath <roland@hack.frob.com>
17974
bcfe3a54
ST
17975 [BZ #13979]
17976 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17977 checking but the checks are disabled for any reason.
05c2c961 17978
4b30f61a
L
179792012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17980
17981 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17982 and ELF64_R_TYPE with ELFW(R_TYPE).
17983
eee2bc67
JM
179842012-05-08 Joseph Myers <joseph@codesourcery.com>
17985
7ea5391a
JM
17986 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17987 (ulimit): Likewise.
17988
eee2bc67
JM
17989 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17990 (settimeofday): Likewise.
17991
abb66a67
MF
179922012-05-08 Mike Frysinger <vapier@gentoo.org>
17993
17994 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17995 a struct th_u2 inside the union, and move tu_block/tu_code into
17996 a new th_u3 union of tu_block/tu_code inside of that. Move
17997 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17998 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17999 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18000 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18001 (th_stuff): Change to th_u1.tu_stuff.
18002 (th_data): Define.
18003 (th_msg): Change to th_u1.th_u2.tu_data.
18004
7f18b530
DM
180052012-05-07 David S. Miller <davem@davemloft.net>
18006
05760585
DM
18007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18008
7f18b530
DM
18009 [BZ #14074]
18010 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18011 (SETUP_PIC_REG): Use it.
18012 (SETUP_PIC_REG_LEAF): Use it.
18013
495fd99f
JM
180142012-05-07 Joseph Myers <joseph@codesourcery.com>
18015
18016 [BZ #13885]
18017 [BZ #13923]
18018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18019 USE_AS_EXPM1L.
18020 (EXPL_FINITE): Likewise.
18021 (FLDLOG): Likewise.
18022 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18023 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18024 e_expl.S.
18025 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18026 USE_AS_EXPM1L.
18027 (EXPL_FINITE): Likewise.
18028 (FLDLOG): Likewise.
18029 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18030 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18031 e_expl.S.
18032 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18033 test of -max_value argument for long double.
18034 * sysdeps/i386/fpu/libm-test-ulps: Update.
18035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18036
6693d694
DM
180372012-05-06 David S. Miller <davem@davemloft.net>
18038
18039 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18040 quad soft-float symbols whose references which are compiler
18041 generated.
18042 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18043
6c23e11c
JM
180442012-05-06 Joseph Myers <joseph@codesourcery.com>
18045
d8b82cad
JM
18046 [BZ #13884]
18047 [BZ #13914]
18048 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18049 USE_AS_EXP10L.
18050 (EXPL_FINITE): Likewise.
18051 (FLDLOG): Likewise.
18052 (c0): Likewise.
18053 (c1): Likewise.
18054 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18055 Adjust comments for base varying.
18056 (__expl_finite): Change alias to EXPL_FINITE.
18057 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18058 e_expl.S.
18059 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18060 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18062 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18063 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18064 USE_AS_EXP10L.
18065 (EXPL_FINITE): Likewise.
18066 (FLDLOG): Likewise.
18067 (c0): Likewise.
18068 (c1): Likewise.
18069 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18070 Adjust comments for base varying.
18071 (__expl_finite): Change alias to EXPL_FINITE.
18072 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18073 tests for bugs.
18074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18075
6c23e11c
JM
18076 [BZ #14064]
18077 * math/libm-test.inc (check_float_internal): Correct ulp
18078 calculation for subnormal expected results.
18079
29ba805c
AJ
180802012-05-06 Andreas Jaeger <aj@suse.de>
18081
18082 * Makeconfig (+math-flags): New, set to -frounding-math.
18083 (+cflags): Add +math-flags so that all of glibc gets compiled with
18084 it.
18085
18086 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18087
7b17aeda
JM
180882012-05-05 Joseph Myers <joseph@codesourcery.com>
18089
5779f134
JM
18090 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18091 Disable one test.
18092
41498f4d
JM
18093 [BZ #13787]
18094 [BZ #13922]
18095 [BZ #14036]
18096 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18097 (__ieee754_expl): Allow for and saturate large arguments.
18098 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18099 (u_threshold): Likewise.
18100 (__exp): Call __ieee754_exp before checking for overflow and
18101 underflow.
18102 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18103 (u_threshold): Likewise.
18104 (__expf): Call __ieee754_expf before checking for overflow and
18105 underflow.
18106 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18107 (u_threshold): Likewise.
18108 (__expl): Call __ieee754_expl before checking for overflow and
18109 underflow.
18110 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18111 (__ieee754_expl): Allow for and saturate large arguments.
18112 * math/libm-test.inc (exp_test): Add another test. Do not allow
18113 missing overflow exception on overflow.
18114 (expm1_test): Do not allow missing overflow exception on overflow.
18115
6698b8bf
JM
18116 * sysdeps/i386/fpu/e_expl.c: Move to ...
18117 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18118 rather than using inline asm.
18119 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18120 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18121 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18122
7b17aeda
JM
18123 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18124 (nice): Likewise.
18125 (poll): Likewise.
18126 (signal): Likewise.
18127 (time): Likewise.
18128 (times): Likewise.
18129
f7c85819
JM
181302012-05-04 Joseph Myers <joseph@codesourcery.com>
18131
18132 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18133 sysdeps/unix/common/syscalls.list.
18134 (fchmod): Likewise.
18135 (fchown): Likewise.
18136 (ftruncate): Likewise.
18137 (getrusage): Likewise.
18138 (gettimeofday): Likewise.
18139 (setpgid): Likewise.
18140 (setregid): Likewise.
18141 (setreuid): Likewise.
18142 (sigaction): Likewise.
18143 (truncate): Likewise.
18144 (vhangup): Likewise.
18145 * sysdeps/unix/common/syscalls.list: Remove file.
18146 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18147 * sysdeps/unix/sysv/linux/Implies: Likewise.
18148
336270d0
L
181492012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18150
18151 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18153 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18154 Moved to ...
18155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18156 Here.
18157 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18158 to ...
18159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18160 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18161 to ...
18162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18163 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18164 to ...
18165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18166 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18167 to ...
18168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18169 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18170 to ...
18171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18172 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18173 to ...
18174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18175 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18176 to ...
18177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18178 Here.
18179 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18180 to ...
18181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18182 Here.
18183 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18184 to ...
18185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18186 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18187 Moved to ...
18188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18189 Here.
18190 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18191 to ...
18192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18193
d128e450
JM
181942012-05-04 Joseph Myers <joseph@codesourcery.com>
18195
fa8ee516
JM
18196 * sysdeps/unix/common/bits/dirent.h: Remove file.
18197 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18198
d128e450
JM
18199 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18200 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18201 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18202 * sysdeps/unix/bsd/isatty.c: Likewise.
18203 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18204 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18205 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18206
ff8faaf0 182072012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18208
62881be4 18209 [BZ #13563]
31dc8730
AZ
18210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18211 long double comparison inaccuracies.
18212 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18214
6fef930c
AS
182152012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18216
18217 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18219
8f203e6c
JM
182202012-05-04 Joseph Myers <joseph@codesourcery.com>
18221
18222 [BZ #14049]
18223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18224 nonzero digits before rounding a hex value.
18225 * stdlib/tst-strtod.c (tests): Add another test.
18226
5197d9c2
AK
182272012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18228
18229 * sysdeps/s390/fpu/libm-test-ulps: Update.
18230
f0c1dedf
AJ
182312012-05-03 Andreas Jaeger <aj@suse.de>
18232
18233 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18234 does not get optimized out.
18235 (malloc_opt_barrier): New.
18236
a65ef2ae 182372012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18238 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18239
2b942cb7 18240 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18241 intermediate file deletion.
2b942cb7 18242 (generated): Add .symlist files.
a65ef2ae 18243
54b71e02
JM
182442012-05-03 Joseph Myers <joseph@codesourcery.com>
18245
18246 [BZ #13775]
18247 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18248 Redirect under this condition.
18249 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18250 [__USE_GNU] (__dprintf_chk): Not under this condition.
18251 [__USE_GNU] (__vdprintf_chk): Likewise.
18252 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18253 under this condition.
18254 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18255 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18256 [__USE_XOPEN2K8] (vdprintf): Likewise.
18257 [__USE_GNU] (__dprintf_chk): Not under this condition.
18258 [__USE_GNU] (__vdprintf_chk): Likewise.
18259 [__USE_GNU] (dprintf): Likewise.
18260 [__USE_GNU] (vdprintf): Likewise.
18261
d3dfcc41
RM
182622012-05-03 Roland McGrath <roland@hack.frob.com>
18263
18264 * elf/Makefile (common-generated): Set this instead of generated for
18265 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18266 $(all-built-dso)-derived lists.
18267
7ac30cc5
AJ
182682012-05-03 Andreas Jaeger <aj@suse.de>
18269
0c51e550
AJ
18270 * sysdeps/i386/fpu/libm-test-ulps: Update.
18271
7ac30cc5
AJ
18272 * FAQ: Removed.
18273 * FAQ.in: Likewise.
18274 * scripts/gen-FAQ.pl: Likewise.
18275 * manual/install.texi (Installation): Point to online location of
18276 FAQ.
18277 * Makefile (files-for-dist): Remove FAQ.
18278 (FAQ): Remove.
18279
d4c2917f
AM
182802012-05-02 Allan McRae <allan@archlinux.org>
18281
18282 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18283 (LDFLAGS-reldepmod5.so): Likewise.
18284 (LDFLAGS-reldep6mod1.so): Likewise.
18285 (LDFLAGS-reldep6mod4.so): Likewise.
18286 (LDFLAGS-reldep8mod3.so): Likewise.
18287 (LDFLAGS-unload4mod1.so): Likewise.
18288 (LDFLAGS-unload4mod2.so): Likewise.
18289 (LDFLAGS-tst-initorder): Likewise.
18290 (LDFLAGS-tst-initordera2.so): Likewise.
18291 (LDFLAGS-tst-initordera3.so): Likewise.
18292 (LDFLAGS-tst-initordera4.so): Likewise.
18293 (LDFLAGS-tst-initorderb2.so): Likewise.
18294 (LDFLAGS-noload): Likewise.
18295 (LDFLAGS-next): Likewise.
18296 (LDFLAGS-order2mod1.so): Likewise.
18297 (LDFLAGS-order2mod2.so): Likewise.
18298 (LDFLAGS-tst-initorder2): Likewise.
18299 (LDFLAGS-tst-initorder2a.so): Likewise.
18300 (LDFLAGS-tst-initorder2b.so): Likewise.
18301 (LDFLAGS-tst-initorder2c.so): Likewise.
18302 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18303
d77f993f
DM
183042012-05-02 David S. Miller <davem@davemloft.net>
18305
18306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18307
171a70b4
PP
183082012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18309
18310 [BZ #14055]
18311 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18312
0be196ad
AJ
183132012-05-02 Andreas Jaeger <aj@suse.de>
18314
18315 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18316 since we manipulate rounding mode.
18317 (CPPFLAGS-test-idouble.c): Likewise.
18318 (CPPFLAGS-test-ifloat.c): Likewise.
18319 (CFLAGS-test-ldouble.c): Likewise.
18320 (CFLAGS-test-double.c): Likewise.
18321 (CFLAGS-test-float.c): Likewise.
18322 (CFLAGS-test-misc.c): Likewise.
18323 (CFLAGS-test-test-fenv.c): Likewise.
18324
4f9d04aa
AZ
183252012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18326
2b942cb7
RM
18327 [BZ #2550]
18328 [BZ #2570]
18329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18330 comparisons to determine direction to adjust input.
4f9d04aa 18331
82a79e7d
RM
183322012-05-01 Roland McGrath <roland@hack.frob.com>
18333
f5a01ca9
RM
18334 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18335 output to the target.
18336
90fe4186
RM
18337 * scripts/localplt.awk: New file.
18338 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18339 (check-localplt-CFLAGS): Variable removed.
18340 ($(all-built-dso:=.jmprel)): New static pattern rule.
18341 (generated): Add those targets.
18342 (localplt-built-dso): New variable.
18343 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18344
18345 * elf/check-localplt.c: File removed.
18346
82397ed6
RM
18347 * scripts/check-execstack.awk: New file.
18348 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18349 (check-execstack-CFLAGS): Variable removed.
18350 ($(objpfx)check-execstack.h): Target removed.
18351 ($(objpfx)execstack-default): New target.
18352 (generated): Add that instead of check-execstack.h.
18353 ($(all-built-dso:=.phdr)): New static pattern rule.
18354 (generated): Add those targets.
18355 * elf/check-execstack.c: File removed.
18356
82a79e7d
RM
18357 * scripts/check-textrel.awk: New file.
18358 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18359 (check-textrel-CFLAGS): Variable removed.
18360 (all-built-dso): Use := to define.o
18361 ($(all-built-dso:=.dyn)): New static pattern rule.
18362 (generated): Add those targets.
18363 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18364 * config.make.in (READELF): New substituted variable.
18365 * elf/check-textrel.c: File removed.
18366
62fde54f 183672012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18368
615605c9
JM
18369 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18370 allow.
18371 * conform/data/ctype.h-data [C99-based standards] (isblank):
18372 Expect function.
18373 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18374 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18376 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18377 Specify type. Require positive value.
18378 (EILSEQ): Likewise.
18379 (ERANGE): Likewise.
18380 [ISO || POSIX] (EILSEQ): Do not expect.
18381 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18382 Specify type. Require positive value.
18383 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18384 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18385 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18386 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18387 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18388 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18389 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18390 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18391 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18392 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18393 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18394 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18395 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18396 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18397 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18398 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18399 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18400 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18401 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18402 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18403 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18404 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18405 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18406 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18407 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18408 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18409 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18410 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18411 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18412 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18413 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18414 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18415 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18416 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18417 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18418 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18419 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18420 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18421 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18422 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18423 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18424 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18425 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18426 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18456 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18457 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18458 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18459 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18460 Require >= 2.
18461 (FLT_ROUNDS): Expect as macro, not constant.
18462 (FLT_MANT_DIG): Use macro-int-constant.
18463 (DBL_MANT_DIG): Likewise.
18464 (LDBL_MANT_DIG): Likewise.
18465 (FLT_DIG): Likewise.
18466 (DBL_DIG): Likewise.
18467 (LDBL_DIG): Likewise.
18468 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18469 (DBL_MIN_EXP): Likewise.
18470 (LDBL_MIN_EXP): Likewise.
18471 (FLT_MAX_EXP): Use macro-int-constant.
18472 (DBL_MAX_EXP): Likewise.
18473 (LDBL_MAX_EXP): Likewise.
18474 (FLT_MAX_10_EXP): Likewise.
18475 (DBL_MAX_10_EXP): Likewise.
18476 (LDBL_MAX_10_EXP): Likewise.
18477 (FLT_MAX): Use macro-constant.
18478 (DBL_MAX): Likewise.
18479 (LDBL_MAX): Likewise.
18480 (FLT_EPSILON): Use macro-constant. Give upper bound.
18481 (DBL_EPSILON): Likewise.
18482 (LDBL_EPSILON): Likewise.
18483 (FLT_MIN): Likewise.
18484 (DBL_MIN): Likewise.
18485 (LDBL_MIN): Likewise.
18486 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18487 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18488 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18489 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18490 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18491 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18492 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18493 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18494 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18495 [ISO11] (FLT_TRUE_MIN): Likewise.
18496 [ISO11] (LDBL_TRUE_MIN): Likewise.
18497 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18498 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18499 (SCHAR_MIN): Use macro-int-constant. Specify type.
18500 (SCHAR_MAX): Likewise.
18501 (UCHAR_MAX): Likewise.
18502 (CHAR_MIN): Likewise.
18503 (CHAR_MAX): Likewise.
18504 (MB_LEN_MAX): Use macro-int-constant.
18505 (SHRT_MIN): Use macro-int-constant. Specify type.
18506 (SHRT_MAX): Likewise.
18507 (USHRT_MAX): Likewise.
18508 (INT_MAX): Likewise.
18509 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18510 bound negative.
18511 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18512 bound with "U".
18513 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18514 bound with "L".
18515 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18516 bound negative. Suffix upper bound with "L".
18517 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18518 bound with "UL".
18519 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18520 Specify type.
18521 [C99-based standards] (LLONG_MAX): Likewise.
18522 [C99-based standards] (ULLONG_MAX): Likewise.
18523 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18524 == 0.
18525 [ISO11] (max_align_t): Require type.
18526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18527
c9140a62
JM
18528 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18529 from $CFLAGS, without defining away __attribute__ calls.
18530 (checknamespace): Use $CFLAGS_namespace.
18531
9af0bf29
JM
18532 * conform/conformtest.pl (@keywords): Only include C99 keywords
18533 for standards based on C99 or C11.
18534
343222a2
JM
18535 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18536 Disable tests.
18537 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18538 UNIX98]: Likewise.
18539
661f8cf0
JM
18540 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18541 usability of symbols in #if.
18542
ee74b9cb
JM
18543 * conform/conformtest.pl: If macro or constant types start
18544 "promoted:", expect the symbol to be of the following type
18545 promoted by the integer promotions.
62fde54f 18546
aafc49b3
JM
18547 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18548 in one place. Also handle "macro-constant".
18549
fefdf574
JM
18550 * conform/conformtest.pl: Only accept expected macro values with
18551 "==". Parse all "macro" lines in one place.
18552 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18553
f2d922fe
JM
18554 * conform/conformtest.pl: Handle braced types on "constant" lines
18555 instead of handling "typed-constant".
18556 * conform/data/signal.h-data: Use "constant" instead of
18557 "typed-constant".
18558
d22956c9
JM
18559 * conform/conformtest.pl: Handle "optional-" at start of lines in
18560 one place rather than duplicating several cases. Handle each
18561 format of "macro" line with initial "optional-".
18562
028e2e38
JM
18563 * conform/conformtest.pl: Only accept expected constant or
18564 optional-constant values with "==". Parse all "constant" lines in
18565 one place. Parse all "optional-constant" lines in one place.
18566 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18567 * conform/data/fmtmsg.h-data: Likewise.
18568 * conform/data/netinet/in.h-data: Likewise.
18569 * conform/data/tar.h-data: Likewise.
18570 * conform/data/limits.h-data: Use "==" form on "constant" and
18571 "optional-constant" lines.
18572
1b8f2850
JM
18573 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18574 Use -std=c99 for XOPEN2K.
18575 (@knownproblems): Remove.
18576 (newtoken): Don't check %isknown.
18577
a05a144b
JM
18578 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18579 Do not expect macro.
18580 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18581 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18582 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18583 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18584 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18585 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18586 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18587 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18588 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18589 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18590 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18591 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18592 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18593 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18594 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18595 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18596 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18597 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18598 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18599 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18600 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18601 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18603 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18604 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18605 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18606 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18607 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18608 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18609 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18610 [XPG3] (acosh): Likewise.
18611 [XPG3] (asinh): Likewise.
18612 [XPG3] (atanh): Likewise.
18613 [XPG3] (cbrt): Likewise.
18614 [XPG3] (expm1): Likewise.
18615 [XPG3] (ilogb): Likewise.
18616 [XPG3] (log1p): Likewise.
18617 [XPG3] (logb): Likewise.
18618 [XPG3] (nextafter): Likewise.
18619 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18620 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18621 [XPG3] (remainder): Likewise.
18622 [XPG3] (rint): Likewise.
18623 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18626 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18627 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18628 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18629 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18630 [UNIX98 || XOPEN2K] (scalb): Expect.
18631 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18632 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18633 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18634 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18635 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18636 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18637 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18638 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18648 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18650 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18651 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18652 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18653 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18654 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18655 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18656 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18657 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18658 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18659 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18660 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18661 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18662 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18663 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18664 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18665 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18666 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18667 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18668 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18669 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18670 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18671 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18672 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18673 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18674 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18675 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18676 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18677 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18678 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18679 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18680 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18681 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18682 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18683 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18684 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18685 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18686 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18687 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18688 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18689 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18690 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18691 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18692 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18693 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18694 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18695 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18696 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18697 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18698 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18699 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18700 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18701 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18702 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18703 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18704 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18705 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18706 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18707 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18719 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18720 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18737 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18738 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18739 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18740 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18741 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18742 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18743 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18744 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18745 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18748 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18749 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18757 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18758 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18759 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18768
73c5ebe3
JM
18769 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18770 _XOPEN_SOURCE_EXTENDED for XPG4.
18771
39c33b6c
JM
18772 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18773
62fde54f
JM
18774 * Makeconfig (localtime): Remove variable.
18775 (inst_localtime-file): Likewise.
18776
0741d64c
AS
187772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18778
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18780 Update.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18782 Update.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18784 Update.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18786 Update.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18788 Update.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18790 Update.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18792 Update.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18794 Update.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18796 Update.
18797
7cb029ee
JM
187982012-05-01 Joseph Myers <joseph@codesourcery.com>
18799
18800 [BZ #2550]
18801 [BZ #2570]
18802 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18803 comparisons to determine direction to adjust input.
18804 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18805 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18807 Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18809 Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18811 Likewise.
18812 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18813 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18814 Likewise.
18815 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18816 Likewise.
18817 * math/libm-test.inc (nexttoward_test): Add more tests.
18818
412bd966
AS
188192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18820
18821 [BZ #14040]
18822 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18823 in version GLIBC_2.1, not GLIBC_2.0.
18824 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18825 Likewise.
18826
9568c0c2
JM
188272012-04-30 Joseph Myers <joseph@codesourcery.com>
18828
adfbc8ac
JM
18829 [BZ #13942]
18830 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18831 (1 - x) * (1 + x).
18832 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18833 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18834 * math/libm-test.inc (acos_test): Add more tests.
18835 (asin_test): Likewise.
18836 * sysdeps/i386/fpu/libm-test-ulps: Update.
18837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18838
5ba3cc69
JM
18839 [BZ #14034]
18840 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18841 of square root.
18842 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18843 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18844 * math/libm-test.inc (acos_test_tonearest): New function.
18845 (acos_test_towardzero): Likewise.
18846 (acos_test_downward): Likewise.
18847 (acos_test_upward): Likewise.
18848 (asin_test_tonearest): Likewise.
18849 (asin_test_towardzero): Likewise.
18850 (asin_test_downward): Likewise.
18851 (asin_test_upward): Likewise.
18852 (main): Call the new functions.
18853 * sysdeps/i386/fpu/libm-test-ulps: Update.
18854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18855
9568c0c2
JM
18856 [BZ #13884]
18857 [BZ #13924]
18858 * math/e_exp10.c: Include <float.h>.
18859 (__ieee754_exp10): Handle underflow here rather than multiplying
18860 large negative argument by M_LN10.
18861 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18862 of __ieee754_expf.
18863 * math/e_exp10l.c: Include <float.h>.
18864 (__ieee754_exp10l): Handle underflow here rather than multiplying
18865 large negative argument by M_LN10l.
18866 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18867 spurious overflow exception on underflow.
18868
5ac3ea17
MP
188692012-04-29 Marek Polacek <polacek@redhat.com>
18870
18871 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18872 (__fortify_function): New macro.
18873 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18874 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18875 __extern_always_inline.
18876 * libio/bits/stdio2.h: Likewise.
18877 * libio/bits/stdio.h: Likewise.
18878 * string/string.h: Likewise.
18879 * string/bits/string3.h: Likewise.
18880 * include/stdio.h: Likewise.
18881 * stdlib/bits/stdlib.h: Likewise.
18882 * stdlib/stdlib.h: Likewise.
18883 * rt/bits/mqueue2.h: Likewise.
18884 * rt/mqueue.h: Likewise.
18885 * posix/bits/unistd.h: Likewise.
18886 * posix/unistd.h: Likewise.
18887 * io/bits/poll2.h: Likewise.
18888 * io/bits/fcntl2.h: Likewise.
18889 * io/fcntl.h: Likewise.
18890 * io/sys/poll.h: Likewise.
18891 * misc/bits/syslog.h: Likewise.
18892 * misc/bits/syslog-ldbl.h: Likewise.
18893 * misc/sys/syslog.h: Likewise.
18894 * socket/bits/socket2.h: Likewise.
18895 * socket/sys/socket.h: Likewise.
18896 * debug/tst-chk1.c: Likewise.
18897 * wcsmbs/bits/wchar2.h: Likewise.
18898 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18899 * wcsmbs/wchar.h: Likewise.
18900
ecf0ebfb
AJ
189012012-04-29 Andreas Jaeger <aj@suse.de>
18902
18903 * Makerules (tests): Remove enable-check-abi protection.
18904 (check-abi-warn): Remove.
18905 (check-abi-%): Remove check-abi-warn usage.
18906
18907 * configure.in: Remove check-abi configure option.
18908 * configure: Regenerated.
18909 * config.make.in (enable-check-abi): Remove.
18910
6d5c57fa
AS
189112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18912
24c5d07e 18913 [BZ #14033]
ded5180a
AS
18914 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18915 double functions to double *_finite functions.
18916
7e0d315d
AS
18917 [BZ #13941]
18918 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18919 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18920 LDBL_MIN_EXP.
18921 * stdio-common/Makefile (tests): Add tst-sprintf3.
18922 * stdio-common/tst-sprintf3.c: New file.
18923
6d5c57fa
AS
18924 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18925 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18926
0749ff8b
JM
189272012-04-28 Joseph Myers <joseph@codesourcery.com>
18928
18929 * conform/conformtest.pl: Remove duplicate typed-constant
18930 handling.
18931
8dbd5d7b
DM
189322012-04-28 David S. Miller <davem@davemloft.net>
18933
18934 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18935 (check-abi-%): Remove AWK script prerequisite and explicit
18936 abilist directory.
18937 (check-abi): Rewrite to just diff the symlist with the abilist.
18938 (config-tls, config-abi-config): Delete, no longer used.
18939 (update-abi-%): Remove AWK script and explicit abilist directory.
18940 (update-abi): Rewrite to simply compare and conditionally copy the
18941 symlist and the sysdep abilist file. Remove update-abi-config
18942 checks.
18943 * abilist/ld.abilist: Remove.
18944 * abilist/libBrokenLocale.abilist: Remove.
18945 * abilist/libanl.abilist: Remove.
18946 * abilist/libcrypt.abilist: Remove.
18947 * abilist/libdl.abilist: Remove.
18948 * abilist/librt.abilist: Remove.
18949 * abilist/libthread_db.abilist: Remove.
18950 * abilist/libutil.abilist: Remove.
18951 * scripts/extract-abilist.awk: Remove.
18952 * scripts/merge-abilist.awk: Remove.
18953 * sysdeps/generic/libcidn.abilist: New file.
18954 * sysdeps/generic/libnss_compat.abilist: New file.
18955 * sysdeps/generic/libnss_db.abilist: New file.
18956 * sysdeps/generic/libnss_dns.abilist: New file.
18957 * sysdeps/generic/libnss_files.abilist: New file.
18958 * sysdeps/generic/libnss_hesiod.abilist: New file.
18959 * sysdeps/generic/libnss_nis.abilist: New file.
18960 * sysdeps/generic/libnss_nisplus.abilist: New file.
18961 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18962 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18963 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18964 file.
18965 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18966 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18967 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18968 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18969 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18970 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18971 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18972 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18973 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18974 file.
18975 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18976 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18977 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18978 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18979 file.
18980 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18981 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18982 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18983 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18984 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18985 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18986 file.
18987 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18988 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18989 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18990 file.
18991 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18993 New file.
18994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18995 New file.
18996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18997 New file.
18998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18999 New file.
19000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19001 New file.
19002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19003 New file.
19004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19005 New file.
19006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19007 New file.
19008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19009 New file.
19010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19011 New file.
19012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19013 New file.
19014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19015 New file.
19016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19017 New file.
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19019 file.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19021 New file.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19023 New file.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19025 file.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19027 New file.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19029 New file.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19031 file.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19033 New file.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19035 New file.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19037 New file.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19039 New file.
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19041 New file.
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19043 New file.
19044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19046 file.
19047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19048 New file.
19049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19050 file.
19051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19052 file.
19053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19054 file.
19055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19056 file.
19057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19058 file.
19059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19060 New file.
19061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19062 file.
19063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19064 file.
19065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19066 New file.
19067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19068 file.
19069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19071 file.
19072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19073 New file.
19074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19075 file.
19076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19077 file.
19078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19079 file.
19080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19081 file.
19082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19083 file.
19084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19085 New file.
19086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19087 file.
19088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19089 file.
19090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19091 New file.
19092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19093 file.
19094 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19095 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19096 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19097 file.
19098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19099 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19100 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19102 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19103 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19104 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19105 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19106 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19107 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19110 file.
19111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19112 New file.
19113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19114 file.
19115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19116 file.
19117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19118 file.
19119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19120 file.
19121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19122 file.
19123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19124 New file.
19125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19126 New file.
19127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19128 file.
19129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19130 New file.
19131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19132 file.
19133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19135 file.
19136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19137 New file.
19138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19139 file.
19140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19141 file.
19142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19143 file.
19144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19145 file.
19146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19147 file.
19148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19149 New file.
19150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19151 New file.
19152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19153 file.
19154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19155 New file.
19156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19157 file.
19158
41d73a1b
JM
191592012-04-28 Joseph Myers <joseph@codesourcery.com>
19160
19161 * conform/conformtest.pl: Fix typo in handling typed-constant from
19162 allow-header.
19163
28aeeda4
JM
191642012-04-27 Joseph Myers <joseph@codesourcery.com>
19165
adae8f5e
JM
19166 * README: Cut down references to pre-2.6 Linux kernels and
19167 Linuxthreads. Update lists of configurations in libc and ports
19168 and sort alphabetically. Say "or newer" with Linux kernel version
19169 requirements.
19170
28aeeda4
JM
19171 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19172
a462cb63
RA
191732012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19174
19175 [BZ #887]
19176 * math/libm-test.inc (logb_test_downward): New test to expose
19177 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19178 rounding mode.
19179
6ad3493e
JM
191802012-04-27 Joseph Myers <joseph@codesourcery.com>
19181
19182 [BZ #14027]
19183 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19184 to be done.
19185 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19186 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19187
2ce4f015
JM
191882012-04-26 Joseph Myers <joseph@codesourcery.com>
19189
5aeb141a
JM
19190 * sysdeps/unix/i386/brk.S: Remove file.
19191 * sysdeps/unix/i386/dl-brk.S: Likewise.
19192 * sysdeps/unix/i386/pipe.S: Likewise.
19193 * sysdeps/unix/i386/sigreturn.S: Likewise.
19194 * sysdeps/unix/i386/syscall.S: Likewise.
19195 * sysdeps/unix/i386/vfork.S: Likewise.
19196 * sysdeps/unix/i386/wait.S: Likewise.
19197
7143acae
JM
19198 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19199 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19200
2ce4f015
JM
19201 * configure.in (arm*-none*): Do not allow without
19202 --enable-hacker-mode.
19203 (netbsd*): Remove case setting base_os.
19204 (386bsd*): Likewise.
19205 (freebsd*): Likewise.
19206 (bsdi*): Likewise.
19207 (osf*): Likewise.
19208 (sunos*): Likewise.
19209 (ultrix*): Likewise.
19210 (newsos*): Likewise.
19211 (dynix*): Likewise.
19212 (*bsd*): Likewise.
19213 (sysv*): Likewise.
19214 (isc*): Likewise.
19215 (esix*): Likewise.
19216 (sco*): Likewise.
19217 (minix*): Likewise.
19218 (irix4*): Likewise.
19219 (irix6*): Likewise.
19220 (solaris[2-9]*): Likewise.
19221 (none): Likewise.
19222 * configure: Regenerated.
19223
0ac229c8
AZ
192242012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19225
19226 [BZ #11521]
19227 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19228 overflow or cancellation in calculating denominator.
19229 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19231 down expression to avoid unexpected rounding in newer GCCs.
19232 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19233
33f244f4
DM
192342012-04-26 David S. Miller <davem@davemloft.net>
19235
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19237 long-double compat symbols.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19251
cfa1f3e8
DM
192522012-04-25 David S. Miller <davem@davemloft.net>
19253
19254 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19255 HWCAP_* values only after the memory barriers have been defined.
19256 (atomic_full_barrier): Define.
19257 (atomic_read_barrier): Define.
19258 (atomic_write_barrier): Define.
19259
6e236b92
SP
192602012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19261
19262 * shlib-versions: Add libgcc_s version information.
19263 * sysdeps/generic/libgcc_s.h: Remove.
19264 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19265 libgcc_s.h.
19266 * sysdeps/gnu/unwind-resume.c: Likewise.
19267 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19268
aab39a09
DM
192692012-04-25 David S. Miller <davem@davemloft.net>
19270
19271 * sysdeps/unix/sparc/brk.S: Delete.
19272 * sysdeps/unix/sparc/dl-brk.S: Delete.
19273 * sysdeps/unix/sparc/pipe.S: Delete.
19274 * sysdeps/unix/sparc/sysdep.S: Delete.
19275 * sysdeps/unix/sparc/sysdep.h: Delete.
19276 * sysdeps/unix/sparc/vfork.S: Delete.
19277 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19278 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19280 ret_ERRVAL, r0, r1, MOVE): Define.
19281 (JUMPTARGET): Remove.
19282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19283 sysdeps/unix/sparc/sysdep.h
19284 (ENTRY, END): Remove.
19285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19286
a3cc4f48
JM
192872012-04-25 Joseph Myers <joseph@codesourcery.com>
19288
2ed8cda2
JM
19289 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19290 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19291 -DIS_IN_build.
19292
35d76d59
JM
19293 * timezone/README: Update upstream location and email address for
19294 tzcode and tzdata.
19295 * timezone/zdump.c: Update from tzcode 2012b.
19296 * timezone/zic.c: Likewise.
19297
a3cc4f48
JM
19298 * configure.in (libc_cv_as_needed): Remove test.
19299 * configure: Regenerated.
19300 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19301 conditional definition.
19302 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19303 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19304 * config.make.in (have-as-needed): Remove variable.
19305
ceab42c3
SP
193062012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19307 Paul Pluzhnikov <ppluzhnikov@google.com>
19308
19309 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19310 strings correctly.
19311
3ce2865f
CLT
193122012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19313
19314 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19315 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19316 * sysdeps/sh/strlen.S: Likewise.
19317
f37e0d68
JM
193182012-04-24 Joseph Myers <joseph@codesourcery.com>
19319
ae186e9a
JM
19320 * sysdeps/unix/fork.S: Remove file.
19321 * sysdeps/unix/i386/fork.S: Likewise.
19322 * sysdeps/unix/sparc/fork.S: Likewise.
19323
b96914af
JM
19324 * sysdeps/unix/system.c: Remove file.
19325 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19326
f37e0d68
JM
19327 * sysdeps/unix/getegid.S: Remove file.
19328 * sysdeps/unix/geteuid.S: Likewise.
19329
87ef29ca
RM
193302012-04-24 Roland McGrath <roland@hack.frob.com>
19331
83bcd236
RM
19332 * scripts/check-localplt.awk: New file.
19333 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19334 of diff.
19335 * scripts/data/localplt-generic.data: Add a comment.
19336
87ef29ca
RM
19337 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19338 NODE when __dir_mkfile failed.
19339 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19340 Reported by Ludovic Courtès <ludo@gnu.org>.
19341
e5a6e567
AJ
193422012-04-24 Andreas Jaeger <aj@suse.de>
19343
19344 * Makerules (common-clean): Also remove gen-as-const-headers
19345 files.
19346
c1820385
JM
193472012-04-24 Joseph Myers <joseph@codesourcery.com>
19348
19349 * Makerules (native-compile): Do not change working directory for
19350 build. Use $(OUTPUT_OPTION) in command.
19351 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19352
94e02fc4
AZ
193532012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19354
19355 [BZ #13886]
19356 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19357 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19358 * math/libm-test.inc (floor_test): Add more tests.
19359 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19360
3a533ca3
JM
193612012-04-24 Joseph Myers <joseph@codesourcery.com>
19362
940ab4b3
JM
19363 * sysdeps/unix/getdents.c: Remove file.
19364 * sysdeps/unix/sysv/getdents.c: Likewise.
19365 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19366
90e037bd
JM
19367 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19368 sysdeps/unix/mman/syscalls.list.
19369 (mmap): Likewise.
19370 (mprotect): Likewise.
19371 (msync): Likewise.
19372 (munmap): Likewise.
19373 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19374 * sysdeps/unix/mman/syscalls.list: Remove.
19375 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19376
3a533ca3
JM
19377 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19378 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19379 * configure: Regenerated.
19380 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19381 $(libgcc_s_suffix).
19382 * config.make.in (libgcc_s_suffix): Remove variable.
19383
1ad743de
JM
193842012-04-23 Joseph Myers <joseph@codesourcery.com>
19385
4ad451e2
JM
19386 * sysdeps/unix/sysv/gethostname.c: Move to ...
19387 * sysdeps/posix/gethostname.c: ... here.
19388
5e37ce39
JM
19389 * sysdeps/unix/execve.S: Remove file.
19390
1ad743de
JM
19391 * sysdeps/unix/_exit.S: Remove file.
19392
4e681b5b
AJ
193932012-04-23 Andreas Jaeger <aj@suse.de>
19394
19395 [BZ #13739]
19396 * manual/Makefile: Remove make dist support, there's no
19397 need for a stand-alone documentation tar ball.
19398 (TEXI2DVI): Define always, it's not in Makeconfig.
19399 (dist): Removed.
19400 (tar-it): Removed.
19401 (edition): Removed.
19402 (glibc-doc-$(edition).tar): Removed
19403 (%.Z): Removed.
19404 (%.gz): Removed.
19405 (%.uu): Removed.
19406 (ETAGS): Remove, it's in Makeconfig.
19407 (move-if-change): Remove, it's in Makeconfig.
19408
38686a03 194092012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19410
19411 [BZ #13970]
19412 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19413 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19414 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19415 (strtod_l, strtof_l, strtold_l): Remove __wur.
19416 It is not necessarily an error to ignore strtol's return value.
19417 One can reliably look at the stored endptr to decide whether
19418 the number had valid syntax.
19419
7c0616fa
AJ
194202012-04-21 Andreas Jaeger <aj@suse.de>
19421
803cb6b7 19422 [BZ #13739]
7c0616fa
AJ
19423 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19424
b0fe253f
JM
194252012-04-21 Joseph Myers <joseph@codesourcery.com>
19426
19427 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19428 * sysdeps/unix/sysv/Versions: Remove file.
19429
8280f22d
MT
194302012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19431
19432 [BZ #13927]
19433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19434
75ce411f 194352012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19436
19437 [BZ #7064]
19438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19439 version from __vm86.
19440
097d59fa
JM
194412012-04-20 Joseph Myers <joseph@codesourcery.com>
19442
a90f3bcb
JM
19443 * sysdeps/unix/common/lxstat.c: Remove file.
19444 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19445
edc7ea78
JM
19446 * sysdeps/unix/sysv/Makefile: Remove file.
19447
cb78c221
JM
19448 * sysdeps/unix/sysv/direct.h: Remove file.
19449
efa6a45f
JM
19450 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19451 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19452 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19453 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19454 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19455 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19456 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19457
9c9f2d0c
JM
19458 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19459
4541c83b
JM
19460 * sysdeps/unix/xmknod.c: Remove file.
19461 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19462
f5d153a0
JM
19463 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19464
aa746595
JM
19465 * sysdeps/unix/sysv/i386/time.S: Remove file.
19466
cce5905e
JM
19467 * sysdeps/unix/fxstat.c: Remove file.
19468 * sysdeps/unix/xstat.c: Likewise.
19469 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19470
37fa3841
JM
19471 * sysdeps/unix/sysv/sigaction.c: Remove file.
19472
ff1962a3
JM
19473 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19474 (sysdep_headers): Remove variable.
19475 [termio.h not in sysdep_headers] (generated): Likewise.
19476 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19477 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19478 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19479 * sysdeps/unix/sysv/tcflow.c: Likewise.
19480 * sysdeps/unix/sysv/tcflush.c: Likewise.
19481 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19482 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19483 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19484 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19485 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19486
e7740d31
JM
19487 * sysdeps/unix/siglist.c: Remove file.
19488
ee06f18b
JM
19489 * sysdeps/unix/getppid.S: Remove file.
19490
097d59fa
JM
19491 * sysdeps/unix/mkdir.c: Remove file.
19492 * sysdeps/unix/rmdir.c: Likewise.
19493
ff3d51ec
AS
194942012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19495
19496 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19497 ERR_MAX value.
19498 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19499 errlist-compat value.
19500
50f81fd7
DM
195012012-04-18 David S. Miller <davem@davemloft.net>
19502
19503 * sysdeps/generic/memcopy.h (reg_char): Delete.
19504 * debug/strcat_chk.c: Use char, not reg_char.
19505 * debug/strcpy_chk.c: Likewise.
19506 * debug/strncat_chk.c: Likewise.
19507 * debug/strncpy_chk.c: Likewise.
19508 * string/memchr.c: Likewise.
19509 * string/memrchr.c: Likewise.
19510 * string/rawmemchr.c: Likewise.
19511 * string/strcat.c: Likewise.
19512 * string/strchr.c: Likewise.
19513 * string/strchrnul.c: Likewise.
19514 * string/strcmp.c: Likewise.
19515 * string/strcpy.c: Likewise.
19516 * string/strncat.c: Likewise.
19517 * string/strncmp.c: Likewise.
19518 * string/strncpy.c: Likewise.
19519
8ff41c46
WS
195202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19521
19522 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19523 __builtin_memcopy is called when src and dest ranges are known to not
19524 overlap.
19525
6b652f46
WS
195262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19527
19528 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19529 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19530 fwd_align_merge macro call.
19531 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19532 bwd_align_merge macro call.
19533 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19534
b282631e
WS
195352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19536
19537 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19538 bwd_align_merge macros.
19539 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19540 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19541 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19542
95aa737c
DM
195432012-04-18 David S. Miller <davem@davemloft.net>
19544
19545 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19546
7a99a614
AJ
195472012-04-18 Andreas Jaeger <aj@suse.de>
19548
19549 [BZ# 6794]
19550 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19551 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19553
19554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19555 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19556 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19557
19558 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19559 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19560 Adjust for changed ldbl-128 files.
19561
19562 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19563 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19565
e5270c23
DM
195662012-04-17 David S. Miller <davem@davemloft.net>
19567
19568 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19569
fb5e92c9
AS
195702012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19571
19572 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19573 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19574 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19575 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19576 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19577 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19578
76da7265
AZ
195792012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19580
19581 [BZ #6794]
19582 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19583 * math/libm-test.inc: Add ilogb errno and exception tests.
19584 * math/w_ilogb.c: New file: ilogb wrapper.
19585 * math/w_ilogbf.c: New file: ilogbf wrapper.
19586 * math/w_ilogbl.c: New file: ilogbl wrapper.
19587 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19588 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19589 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19590 exception being thrown with 0.0 as argument.
19591 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19592 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19593 exception being thrown with 0.0 as argument.
19594 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19595 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19596 exception being thrown with 0.0 as argument.
19597 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19598 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19599 exception being thrown with 0.0 as argument.
19600 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19601 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19602 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19603 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19604 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19605 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19606 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19607 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19608 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19609
0396e69d
PB
196102012-04-17 Petr Baudis <pasky@ucw.cz>
19611
19612 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19613 with altivec.
19614
750b5926
MP
196152012-04-16 Marek Polacek <polacek@redhat.com>
19616
19617 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19618
751728a1
MP
196192012-04-16 Marek Polacek <polacek@redhat.com>
19620
19621 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19622 operands of fdivp instruction.
19623
34a27407
L
196242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19625
19626 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19627 * elf/tst-auditmod3b.c: Likewise.
19628 * elf/tst-auditmod4b.c: Likewise.
19629 * elf/tst-auditmod5b.c: Likewise.
19630 * elf/tst-auditmod6b.c: Likewise.
19631 * elf/tst-auditmod6c.c: Likewise.
19632 * elf/tst-auditmod7b.c: Likewise.
19633 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19634 * sysdeps/x86_64/preconfigure.in: Likewise.
19635 * sysdeps/x86_64/preconfigure: Regenerated.
19636
7e73e17d
L
196372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19638
19639 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19640 __ILP32__.
19641
c7a6ab72
AB
196422012-04-13 Antoine Balestrat <merkil33@gmail.com>
19643
19644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19645 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19646
a9e8e0e0
CL
196472012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19648
19649 [BZ #13973]
19650 * locale/iso-639.def: Fix gl language name. Spotted by
19651 Yaron Shahrabani.
19652
ec98af7d
RM
196532012-04-12 Roland McGrath <roland@hack.frob.com>
19654
19655 [BZ #2074]
19656 * libio/libio.h (__io_write_fn): Update comment.
19657
247c3ede
PB
196582012-04-12 Petr Baudis <pasky@ucw.cz>
19659
19660 [BZ #2074]
19661 * stdio.texi (Hook Functions): The user provided writer function
19662 is not allowed to return -1.
19663
55939d6d
DM
196642012-04-11 David S. Miller <davem@davemloft.net>
19665
19666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19667
90020f5a
MF
196682012-04-11 Mike Frysinger <vapier@gentoo.org>
19669
19670 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19671 Add a leading slash to rtkaio.
19672
288f9098
JM
196732012-04-11 Jim Meyering <meyering@redhat.com>
19674
90020f5a
MF
19675 [BZ #11959]
19676 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19677 It is not necessarily an error to ignore fwrite's return
19678 value. One can reliably use ferror to test for errors after
19679 the fact.
288f9098 19680
4be2b570
L
196812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19682
19683 * bits/types.h (__snseconds_t): New type.
19684 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19685
19686 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19688 (__SNSECONDS_T_TYPE): Likewise.
19689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19690 (__SNSECONDS_T_TYPE): Likewise.
19691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19692 (__SNSECONDS_T_TYPE): Likewise.
19693
288f9098 196942012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19695
19696 [BZ #2636]
19697 * manual/time.texi (Processor Time): Return type of times is
19698 elapsed real time since an arbitrary point in the past.
19699 (CPU Time): Move CLK_TCK from here...
19700 (Processor Time): ...to here. Correct description.
19701 * manual/conf.texi (Constants for Sysconf): Correct description of
19702 _SC_CLK_TCK.
19703
d7dd4413
DM
197042012-04-10 David S. Miller <davem@davemloft.net>
19705
19706 [BZ #13967]
19707 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19708 where the is a gap between DT_REL(A) and DT_JMPREL.
19709
b46068fc
L
197102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19711
19712 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19713 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19714 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19715
73d65cc3
SP
197162012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19717
19718 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19719 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19720 (dl_main): Handle --inhibit-cache.
19721 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19722 _dl_inhibit_cache.
19723 * elf/dl-load.c (_dl_map_object): Use it.
19724 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19725
bcc8d661
JM
197262012-04-09 Joseph Myers <joseph@codesourcery.com>
19727
8f9a2fae
JM
19728 [BZ #13872]
19729 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19730 (__ieee754_powl): Saturate large exponents rather than testing for
19731 overflow of y*log2(x).
19732 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19733 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19734 exceptions.
19735
bcc8d661
JM
19736 [BZ #11521]
19737 * math/s_ctan.c: Include <float.h>.
19738 (__ctan): Avoid internal overflow or cancellation in calculating
19739 denominator.
19740 * math/s_ctanf.c: Likewise.
19741 * math/s_ctanl.c: Likewise.
19742 * math/s_ctanh.c: Likewise.
19743 * math/s_ctanhf.c: Likewise.
19744 * math/s_ctanhl.c: Likewise.
19745 * math/libm-test.inc (ctan_test): Add more tests.
19746 (ctanh_test): Likewise.
19747 * sysdeps/i386/fpu/libm-test-ulps: Update.
19748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19749
823fbbb4
AJ
197502012-04-09 Andreas Jaeger <aj@suse.de>
19751
03879793
AJ
19752 [BZ #6894]
19753 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19754 is an optional BSD extension.
19755
823fbbb4
AJ
19756 [BZ #10254]
19757 * manual/stdio.texi (Opening Streams): Document additional fopen
19758 parameters.
19759
8de131cb
RM
197602012-04-09 Roland McGrath <roland@hack.frob.com>
19761
19762 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19763 %eax without telling the compiler.
19764
c0ed9d7d
CD
197652012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19766
19767 [BZ # 13963]
19768 * manual/install.texi: Use sourceware.org.
19769
c483f6b4
JM
197702012-04-09 Joseph Myers <joseph@codesourcery.com>
19771
d7dd9453
JM
19772 [BZ #13873]
19773 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19774 (__ieee754_pow): Generate overflow and underflow using huge*huge
19775 and tiny*tiny rather than just returning constant infinity or zero
19776 for large exponents.
19777 * math/libm-test.inc (pow_test): Require overflow exceptions for
19778 applicable cases of large exponents.
19779
c483f6b4
JM
19780 [BZ #706]
19781 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19782 (__ieee754_pow): Use iterative multiplication algorithm only for
19783 integer exponents with absolute value below 1024. Check for odd
19784 integer exponents when using algorithm for real exponents.
19785 * math/libm-test.inc (pow_test): Add more tests.
19786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19787
d2de7579
JM
197882012-04-08 Joseph Myers <joseph@codesourcery.com>
19789
19790 [BZ #13705]
19791 * math/libm-test.inc (exp_test): Do not allow overflow exception
19792 on underflow test.
19793
f77f1232
AJ
197942012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19795
19796 [BZ #13705]
19797 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19798 instead of __kernel_standard_f.
19799
3884932b
MF
198002012-04-08 Mike Frysinger <vapier@gentoo.org>
19801
19802 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19803 * sysdeps/x86_64/memset_chk.S: Likewise.
19804
54472e9c
AJ
198052012-04-08 Andreas Jaeger <aj@suse.de>
19806
6ab0fbfc
AJ
19807 [BZ #10153]
19808 * manual/startup.texi (Environment Access): Describe return value
19809 for putenv and setenv.
19810
61efba8c
AJ
19811 [BZ #6895]
19812 * manual/filesys.texi (Directory Entries): Add description for
19813 DT_LNK.
19814
95c3f29a
AJ
19815 [BZ #6890]
19816 * manual/filesys.texi (Directory Entries): Clarify that it's file
19817 system not operating system in the description of DT_UNKNOWN.
19818
54472e9c
AJ
19819 [BZ #6578]
19820 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19821
624254b1
SC
198222012-04-08 Stephen Compall <s11@member.fsf.org>
19823
19824 [BZ #6649]
19825 * manual/llio.texi (Opening and Closing Files): Add cross
19826 reference to explain mode argument.
19827
1e4920e0
MF
198282012-04-07 Mike Frysinger <vapier@gentoo.org>
19829
19830 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19831 * sysdeps/x86_64/memset_chk.S: Likewise.
19832
5ed848f3
DM
198332012-04-07 David S. Miller <davem@davemloft.net>
19834
19835 * elf/elf.h (R_SPARC_WDISP10): Define.
19836 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19837 R_SPARC_SIZE32.
19838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19839 R_SPARC_SIZE64 and R_SPARC_H34.
19840
96154cd8
CD
198412012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19842
19843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19844 conditions and remove no longer applicable assertion.
19845
9904dc47
L
198462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19847
19848 * bits/byteswap.h: Include <features.h>.
19849 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19850 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19851
f8887d0a
L
198522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19853
19854 * bits/byteswap.h (__bswap_16): Removed.
19855 Include <bits/byteswap-16.h> to get __bswap_16.
19856 * sysdeps/i386/bits/byteswap.h: Likewise.
19857 * sysdeps/s390/bits/byteswap.h: Likewise.
19858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19859 * bits/byteswap-16.h: New file.
19860 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19861 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19862 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19863 * string/Makefile (headers): Add bits/byteswap-16.h.
19864
62470f60
PP
198652012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19866
19867 [BZ #13895]
19868 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19869 extra indirection.
19870 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19871 * nss/tst-nss-static.c: New.
19872
4dad7bab
RM
198732012-04-06 Robert Millan <rmh@gnu.org>
19874
19875 [BZ #6486]
19876 * manual/llio.texi (File Position Primitive): lseek
19877 refers to WHENCE when it really means OFFSET.
19878
e9142a17
AJ
198792012-04-06 Andreas Jaeger <aj@suse.de>
19880
2c040eff
AJ
19881 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19882 strncmp declarations.
19883
e9142a17
AJ
19884 * abilist/libc.abilist: Add __poll and __ppoll.
19885
ff9f1c5f
DM
198862012-04-05 David S. Miller <davem@davemloft.net>
19887
dcd2ae90
DM
19888 * scripts/check-local-headers.sh: Accept a host triplet in the
19889 path matched by the exclude regexp.
19890
993eb054
DM
19891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19892 definition.
19893 * sysdeps/powerpc/powerpc32/dl-machine.h
19894 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19895 * sysdeps/s390/s390-32/dl-machine.h
19896 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19897 * sysdeps/sparc/sparc32/dl-machine.h
19898 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19899 * sysdeps/sparc/sparc64/dl-machine.h
19900 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19901
ff9f1c5f
DM
19902 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19903 lazy binding.
48e2e132 19904 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19905 undefined symbol errors.
19906
48e2e132 19907 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19908 DT_NEEDED entries.
19909
e80d6f94
MM
199102012-04-05 Michael Matz <matz@suse.de>
19911
19912 [BZ #13592]
19913 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19914
349fa79f
AJ
199152012-04-05 Andreas Jaeger <aj@suse.de>
19916
19917 [BZ #13908]
19918 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19919 comment.
19920
f402708f
KK
199212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19922
19923 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19924 which ROUND is no valid rounding mode.
19925
2ecccfc9
KK
199262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19927
19928 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19929 read again.
19930 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19931
8a53f50f
KK
199322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19933
19934 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19935 an exception using FPU order intentionally.
19936
199372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19938
19939 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19940 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19941 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19942 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19943
d653abb7
SJ
199442012-04-05 Simon Josefsson <simon@josefsson.org>
19945
19946 [BZ #12340]
19947 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19948 EINVAL when BUFLEN is too smal.
19949
c3b1bf7d
TS
199502012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19951
19952 [BZ #13553]
19953 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19954 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19955
b1aa60f3
AJ
199562012-04-03 Andreas Jaeger <aj@suse.de>
19957
c3b1bf7d 19958 [BZ #13938]
67f60a26
AJ
19959 * manual/setjmp.texi (System V contexts): Fix sentence.
19960
b1aa60f3
AJ
19961 [BZ #13926]
19962 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19963 New macro for this case.
19964 [!__GNUC__] (__bswap_64): New inline function for this case.
19965 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19966 * bits/byteswap.h: Likewise.
19967 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19968 ull, guard with __GLIBC_HAVE_LONG_LONG.
19969
19970 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19971 __GLIBC_HAVE_LONG_LONG.
19972
19973 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19974 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19975
39c59c35
TMQMF
199762012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19977
19978 [BZ #13691]
19979 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19980 inptr and inend, rather than using last_ch.
19981
135ffda8
DM
199822012-04-02 David S. Miller <davem@davemloft.net>
19983
19984 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19985 * stdio-common/printf-parse.h (read_int): Change return type to
19986 'int', return -1 on INT_MAX overflow.
19987 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19988 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19989 overflows INT_MAX. Check for overflow of in-format-string precision
19990 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19991 SIZE_MAX not INT_MAX for integer overflow test.
19992 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19993 skip the construct in the format string but do not record anything.
19994 * stdio-common/bug22.c: Adjust to test both width/prevision
19995 INT_MAX overflow as well as total length INT_MAX overflow. Check
19996 explicitly for proper errno values.
19997
228c019e
TS
199982012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19999
302cadd3
TS
20000 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20001 CHAR_MAX.
20002 * string/test-strcmp.c [! WIDE]: Likewise.
20003 * time/tst-mktime2.c: Likewise for INT_MAX.
20004 * string/test-string.h: #include <sys/param.h> for MIN.
20005
228c019e
TS
20006 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20007 * sysdeps/i386/init-first.c (init): Likewise.
20008 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20009 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20010 * sysdeps/sh/init-first.c (init): Likewise.
20011
cfa633f5
UD
200122012-04-01 Ulrich Drepper <drepper@gmail.com>
20013
20014 * po/ru.po: Update from translation team.
d1635ef8 20015 * po/vi.po: Likewise.
cfa633f5 20016
6cd0a5ea
SP
200172012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20018
20019 * resolv/nss_dns/dns-host.c: Merge copyright years.
20020
4b43400f
LD
200212012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20022
20023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20024 Optimize memcpy with prefetch if
20025 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20026 src, dst pointers have unequal 16 byte alignments.
20027
48c41d04
SP
200282012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20029
20030 [BZ #13928]
20031 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20032 from a CNAME entry and return the minimum ttl for the query.
20033 (gaih_getanswer_slice): Likewise.
20034
b8dc394d
JL
200352012-03-30 Jeff Law <law@redhat.com>
20036
20037 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20038 due to long keys.
20039 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20040 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20041
2f5a5ed0
JL
20042 * resolv/nss_dns/dns-host.c: Update copyright year.
20043
1d39e359
UD
200442012-03-30 Ulrich Drepper <drepper@gmail.com>
20045
c030f70c 20046 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20047 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20048
1d39e359
UD
20049 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20050 comments for sendmmsg.
20051
200522012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20053
20054 [BZ #13691]
20055 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20056 with only 1 character between 0x0041 and 0x01b0.
20057 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20058 * wcsmbs/tst-mbsnrtowcs.c: New file.
20059
20fde227
DM
200602012-03-29 David S. Miller <davem@davemloft.net>
20061
20062 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20063 small copies by hand.
20064
984a4237
JL
200652012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20066
20067 [BZ #13761]
20068 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20069 _nss_compat_initgroups_dyn): Fall back to malloc/free
20070 for large group memberships.
20071
18c9d62b
DM
200722012-03-28 David S. Miller <davem@davemloft.net>
20073
88d85d4f
DM
20074 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20075 that branches into memcpy.
20076 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20079 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20081 bits.
20082 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20083 implementation too.
20084 * sysdeps/sparc/mempcpy.S: New file.
20085
e5aa83e1
DM
20086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20087 the IFUNC routine in the libc case.
20088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20089
88570753
DM
20090 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20091 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20092 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20093 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20094 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20095 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20096 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20097 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20098
249d7567
DM
20099 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20100 loop to 256 bytes instead of 64 bytes and fix test signedness.
20101
18c9d62b
DM
20102 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20103 * sysdeps/sparc/sparc32/Makefile: rather than here...
20104 * sysdeps/sparc/sparc64/Makefile: and here.
20105
05f3d1f6
UD
201062012-03-28 Ulrich Drepper <drepper@gmail.com>
20107
20108 * malloc/mallocbug.c: Avoid warnings about unused variables.
20109
86ae07a8
JL
201102012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20111
20112 [BZ #13760]
20113 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20114 in the right place. Discard and retry query if response is
20115 larger than input buffer size.
20116
41bf21a1
JM
201172012-03-28 Joseph Myers <joseph@codesourcery.com>
20118
d6270972
JM
20119 [BZ #369]
20120 [BZ #2678]
20121 [BZ #3866]
20122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20123 x for large integer exponent.
20124 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20125 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20126 sign of result as needed afterwards.
20127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20129 result for underflowing pow the same as for overflow.
20130 (__kernel_standard_l): Handle powl overflow and underflow here
20131 rather than calling __kernel_standard.
20132 * math/libm-test.inc (pow_test): Add more tests.
20133
414fca03 20134 [BZ #3868]
41bf21a1
JM
20135 [BZ #13879]
20136 [BZ #13910]
20137 [BZ #13911]
20138 [BZ #13912]
20139 [BZ #13913]
20140 [BZ #13915]
20141 [BZ #13916]
20142 [BZ #13917]
20143 [BZ #13918]
20144 [BZ #13919]
20145 [BZ #13920]
20146 [BZ #13921]
20147 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20148 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20149 (__kernel_standard_l): New function.
20150 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20151 __kernel_standard.
20152 * math/w_acosl.c (__acosl): Likewise.
20153 * math/w_asinl.c (__asinl): Likewise.
20154 * math/w_atan2l.c (__atan2l): Likewise.
20155 * math/w_atanhl.c (__atanhl): Likewise.
20156 * math/w_coshl.c (__coshl): Likewise.
20157 * math/w_exp10l.c (__exp10l): Likewise.
20158 * math/w_exp2l.c (__exp2l): Likewise.
20159 * math/w_fmodl.c (__fmodl): Likewise.
20160 * math/w_hypotl.c (__hypotl): Likewise.
20161 * math/w_j0l.c (__j0l, __y0l): Likewise.
20162 * math/w_j1l.c (__j1l, __y1l): Likewise.
20163 * math/w_jnl.c (__jnl, __ynl): Likewise.
20164 * math/w_lgammal.c (__lgammal): Likewise.
20165 * math/w_log10l.c (__log10l): Likewise.
20166 * math/w_log2l.c (__log2l): Likewise.
20167 * math/w_logl.c (__logl): Likewise.
20168 * math/w_powl.c (__powl): Likewise.
20169 * math/w_remainderl.c (__remainderl): Likewise.
20170 * math/w_scalbl.c (sysv_scalbl): Likewise.
20171 * math/w_sinhl.c (__sinhl): Likewise.
20172 * math/w_sqrtl.c (__sqrtl): Likewise.
20173 * math/w_tgammal.c (__tgammal): Likewise.
20174 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20175 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20176 * math/libm-test.inc (acos_test): Add more tests.
20177 (acosh_test): Likewise.
20178 (asin_test): Likewise.
20179 (atanh_test): Likewise.
20180 (exp_test): Likewise.
20181 (exp10_test): Likewise.
20182 (exp2_test): Likewise.
20183 (expm1_test): Likewise.
20184 (lgamma_test): Likewise.
20185 (log_test): Likewise.
20186 (log10_test): Likewise.
20187 (log1p_test): Likewise.
20188 (log2_test): Likewise.
20189 (pow_test): Do not allow some spurious overflow exceptions.
20190 (sqrt_test): Add more tests.
20191 (tgamma_test): Likewise.
20192 (y0_test): Likewise.
20193 (y1_test): Likewise.
20194 (yn_test): Likewise.
20195
dd62fda6
AB
201962012-03-27 Anton Blanchard <anton@samba.org>
20197
20198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20199 MAP_HUGETLB.
20200 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20203
1e3cdfda
AJ
202042012-03-27 David S. Miller <davem@davemloft.net>
20205
b855ab85
DM
20206 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20207
1e3cdfda
AJ
20208 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20209 have-as-vis3 check.
20210
202112012-03-27 Andreas Jaeger <aj@suse.de>
20212
20213 * sysdeps/x86_64/elf/configure.in: Moved to ...
20214 * sysdeps/x86_64/configure.in: ... here.
20215 * sysdeps/x86_64/elf/start.S: Moved to ...
20216 * sysdeps/x86_64/start.S: ... here.
20217 * sysdeps/x86_64/elf/configure: Delete.
20218
20219 * sysdeps/x86_64/configure.in: Merge contents from
20220 sysdeps/i386/configure.in (without i686 check).
20221
20222 * sysdeps/i386/elf/Versions: Merge into ...
20223 * sysdeps/i386/Versions: ... this.
20224 * sysdeps/i386/elf/Versions: Delete file.
20225 * sysdeps/i386/elf/start.S: Moved to ...
20226 * sysdeps/i386/start.S: ...here.
20227 * sysdeps/i386/elf/configure.in: Merge into...
20228 * sysdeps/i386/configure.in: ...here.
20229 * sysdeps/i386/elf/configure.in: Delete file.
20230 * sysdeps/i386/elf/configure: Delete file.
20231
20232 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20233 * debug/backtracesyms.c: ... here.
20234 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20235 * debug/backtracesymsfd.c: ... here.
20236 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20237 * sysdeps/generic/ifunc-sel.h: ... here.
20238
20239 * sysdeps/unix/i386/start.c: Delete file.
20240 * sysdeps/unix/sparc/start.c: Delete file.
20241 * sysdeps/unix/start.c: Delete file.
20242
20243 * sysdeps/sh/elf/configure.in: Moved to ...
20244 * sysdeps/sh/configure.in: ... here.
20245 * sysdeps/sh/elf/start.S: Moved to ...
20246 * sysdeps/sh/start.S: ... here.
20247 * sysdeps/sh/elf/configure: Delete file.
20248
20249 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20250 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20251 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20252 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20253 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20254 * sysdeps/powerpc/powerpc64/start.S: here.
20255 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20256 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20257 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20258 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20259 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20260
20261 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20262 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20263 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20264 * sysdeps/powerpc/powerpc32/start.S: ... here.
20265 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20266 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20267 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20268
20269 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20270 * sysdeps/powerpc/ifunc-sel.h: ... here.
20271 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20272 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20273
20274 * sysdeps/sparc/elf/configure.in: Moved to ...
20275 * sysdeps/sparc/configure.in: ... here.
20276 * sysdeps/sparc/elf/configure: Delete file.
20277 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20278 * sysdeps/sparc/sparc32/start.S: ... here.
20279 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20280 * sysdeps/sparc/sparc64/start.S: ... here.
20281 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20282 * sysdeps/sparc/sparc32/Makefile: ... this.
20283 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20284 * sysdeps/sparc/sparc64/Makefile: ... this.
20285
20286 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20287 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20288 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20289 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20290 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20291 * sysdeps/s390/s390-32/setjmp.S: ... here.
20292 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20293 * sysdeps/s390/s390-32/configure.in: ... here.
20294 * sysdeps/s390/s390-32/elf/configure: Delete file.
20295 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20296 * sysdeps/s390/s390-32/start.S: ... here.
20297
20298 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20299 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20300 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20301 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20302 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20303 * sysdeps/s390/s390-64/setjmp.S: ... here.
20304 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20305 * sysdeps/s390/s390-64/configure.in: ... here
20306 * sysdeps/s390/s390-64/elf/configure: Delete file.
20307 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20308 * sysdeps/s390/s390-64/start.S: ... here.
20309 * sysdeps/s390/s390-64/elf/configure: Delete.
20310
20311 * configure.in: Remove support for elf directories in sysdeps.
20312
20313 * configure: Regenerated.
20314 * sysdeps/i386/configure: Regenerated.
20315 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20316 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20317 * sysdeps/s390/s390-32/configure: Regenerated.
20318 * sysdeps/s390/s390-64/configure: Regenerated.
20319 * sysdeps/sh/configure: Regenerated.
20320 * sysdeps/sparc/configure: Regenerated.
20321 * sysdeps/x86_64/configure: Regenerated.
20322
a3f61311
AS
203232012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20324
c876e002
AS
20325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20326
a3f61311
AS
20327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20328 denormal result into account.
20329
ac4c54f0
RM
203302012-03-25 Roland McGrath <roland@hack.frob.com>
20331
20332 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20333 Reported by Allan McRae <allan@archlinux.org>.
20334
6a9b9c02
JL
203352012-03-23 Jeff Law <law@redhat.com>
20336
20337 * nss/getnssent.c (__nss_getent): Fix typo.
20338
4c42a0c1
DM
203392012-03-23 David S. Miller <davem@davemloft.net>
20340
20341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20342
1532c7ac
L
203432012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20346 to pad to uint64_t for each field.
20347 (dl_tls_index): Replace unsigned long with uint64_t.
20348
3ff42526
PP
203492012-03-23 Daniel Jacobowitz <dmj@google.com>
20350 Paul Pluzhnikov <ppluzhnikov@google.com>
20351
20352 [BZ #6528]
20353 * grp/Makefile (otherlibs): Don't set it.
20354 * inet/Makefile (otherlibs): Likewise.
20355 * login/Makefile (otherlibs): Likewise.
20356 * nscd/Makefile (otherlibs): Likewise.
20357 * posix/Makefile (otherlibs): Likewise.
20358 * pwd/Makefile (otherlibs): Likewise.
20359 * rt/Makefile (otherlibs): Likewise.
20360 * sunrpc/Makefile (otherlibs): Likewise.
20361 * nss/Makefile (otherlibs): Likewise.
20362 Add libnss_files to routines and static-only-routines.
20363 ($(objpfx)getent): Remove rule.
20364 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20365 static-only-routines.
20366
7c69cd14
JM
203672012-03-22 Joseph Myers <joseph@codesourcery.com>
20368
20369 [BZ #13892]
20370 * math/s_cexp.c: Include <float.h>.
20371 (__cexp): Handle exp result overflowing not necessarily
20372 overflowing both real and imaginary parts of result.
20373 * math/s_cexpf.c: Likewise.
20374 * math/s_cexpl.c: Likewise.
20375 * math/libm-test.inc (cexp_test): Add more tests.
20376 * sysdeps/i386/fpu/libm-test-ulps: Update.
20377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378
81b035fe
L
203792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20380
20381 * include/link.h (ELFW): New macro.
20382 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20383 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20384
1da7940c
L
203852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20386
20387 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20388 with uint64_t.
20389
b749dbb9
L
203902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20393 declaration.
20394 (struct La_x32_retval): Likewise.
20395
2ff87f3f
L
203962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20397
20398 * sysdeps/x86_64/preconfigure.in: New file.
20399 * sysdeps/x86_64/preconfigure: New generated file.
20400
c0df8e69
JM
204012012-03-22 Joseph Myers <joseph@codesourcery.com>
20402
48e44791
JM
20403 [BZ #13824]
20404 * math/e_exp2l.c: Include <float.h>.
20405 (__ieee754_exp2l): Handle overflow and underflow cases
20406 separately. Only pass fractional part of argument to
20407 __ieee754_expl.
20408 * math/libm-test.inc (exp2_test): Add more tests.
20409
c0df8e69
JM
20410 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20411 negating x to take absolute value.
20412 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20413 Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20416 Likewise.
20417 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20418 computing low part if x was negated.
20419 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20420
c8e43ba7
L
204212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20422
20423 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20424 la_x32_gnu_pltexit.
20425 (pltexit): Cast int_retval to ptrdiff_t.
20426 * elf/tst-auditmod3b.c: Likewise.
20427 * elf/tst-auditmod4b.c: Likewise.
20428 * elf/tst-auditmod5b.c: Likewise.
20429 * elf/tst-auditmod6b.c: Likewise.
20430 * elf/tst-auditmod6c.c: Likewise.
20431 * elf/tst-auditmod7b.c: Likewise.
20432
20433 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20434 and x32_gnu_pltexit.
20435
20436 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20437 __ELF_NATIVE_CLASS.
20438 (La_x32_regs): New macro.
20439 (La_x32_retval): Likewise.
20440 (la_x32_gnu_pltenter): New function prototype.
20441 (la_x32_gnu_pltexit): Likewise.
20442
7998fa78
AS
204432012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20444
dcb33988
AS
20445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20446 exponent.
20447
233fc563
AS
20448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20449
7998fa78
AS
20450 * configure.in (libc_cv_cc_nofma): Check for option to disable
20451 generation of FMA instructions.
20452 * configure: Regenerate.
20453 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20454 * sysdeps/ieee754/dbl-64/Makefile: New file.
20455 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20456 Remove brandred-fma4.
20457 (CFLAGS-brandred-fma4.c): Remove.
20458 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20459 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20460 define.
20461 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20462 define.
20463
8e95c99a
L
204642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20465
20466 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20467 LLONG_MAX != LONG_MAX.
20468 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20469 (_fitoa_word): Likewise.
20470 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20471 LLONG_MAX != LONG_MAX.
20472 * stdio-common/_itowa.h: Include <_itoa.h>.
20473 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20474 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20475 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20476 only if not defined.
20477 (_ITOA_WORD_TYPE): Likewise.
20478 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20479 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20480
6f4db457
DM
204812012-03-21 David S. Miller <davem@davemloft.net>
20482
20483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20484
7785fe5a
L
204852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20486
20487 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20488 of x86_64 when setting libc_cv_slibdir, libdir and
20489 libc_cv_localedir.
20490 * sysdeps/unix/sysv/linux/configure: Regenerated.
20491
4535cd55
JM
204922012-03-21 Joseph Myers <joseph@codesourcery.com>
20493
20494 * manual/lang.texi (Old Varargs): Remove section.
20495 (How Variadic): Update menu.
20496 (va_start): Do not mention varargs.h.
20497
17228132
TS
204982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20499 Joseph Myers <joseph@codesourcery.com>
20500
20501 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20502 link test.
20503 * configure: Regenerated.
20504
8149f976
TS
205052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20506
05f3d1f6
UD
20507 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20508 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20509 conformtest.pl
8149f976 20510
1a4ac776
JM
205112012-03-21 Joseph Myers <joseph@codesourcery.com>
20512
be22ce65
JM
20513 * NOTES: Remove.
20514 * Makefile (files-for-dist): Remove NOTES.
20515 (NOTES): Remove rule.
20516 * README: Don't refer to NOTES.
20517 * manual/creature.texi: Don't include macros.texi.
20518 * manual/intro.texi (creature.texi): Remove comment referring to
20519 NOTES.
20520
40b601fb
JM
20521 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20522 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20523 * configure: Regenerated.
20524 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20525 LIBC_TRY_CC_OPTION.
20526 (libc_cv_as_i686): Likewise.
20527 (libc_cv_cc_avx): Likewise.
20528 (libc_cv_cc_sse2avx): Likewise.
20529 (libc_cv_cc_fma4): Likewise.
20530 (libc_cv_cc_novzeroupper): Likewise.
20531 * sysdeps/i386/configure: Regenerated.
20532
1a4ac776
JM
20533 [BZ #13883]
20534 * sysdeps/i386/fpu/s_cexp.S: Remove.
20535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20536 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20537 * math/libm-test.inc (cexp_test): Add more tests.
20538 * sysdeps/i386/fpu/libm-test-ulps: Update.
20539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20540
a458e7fe
AM
205412012-03-21 Allan McRae <allan@archlinux.org>
20542
20543 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20544
0cb7efc5
JM
205452012-03-21 Joseph Myers <joseph@codesourcery.com>
20546
20547 [BZ #13871]
20548 * math/w_exp2.c: Do not include <float.h>.
20549 (o_threshold, u_threshold): Remove.
20550 (__exp2): Calculate result before checking finiteness and calling
20551 __kernel_standard.
20552 * math/w_exp2f.c: Likewise.
20553 * math/w_exp2l.c: Likewise.
20554 * math/libm-test.inc (exp2_test): Require overflow exception for
20555 1e6 input.
2460d3aa
JM
20556
20557 [BZ #3866]
20558 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20559 range of signed 64-bit integers before using fistpll. Remove
20560 checks for whether integers fit in mantissa bits.
20561 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20562 the range of signed 32-bit integers before using fistpl. Remove
20563 checks for whether integers fit in mantissa bits.
20564 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20565 (__ieee754_powl): Test for y outside the range of signed 64-bit
20566 integers before using fistpll. Reduce 64-bit values to 63-bit
20567 ones as needed.
20568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20569 divide-by-zero is raised for zero to large negative powers.
20570 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20571 (__ieee754_powl): Test for y outside the range of signed 64-bit
20572 integers before using fistpll. Reduce 64-bit values to 63-bit
20573 ones as needed.
20574 * math/libm-test.inc (pow_test): Add more tests.
20575
eb96ffb0
L
205762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20579 <stdio-common/_itoa.h>.
20580 * debug/segfault.c: Likewise.
20581 * elf/dl-cache.c: Likewise.
20582 * elf/dl-minimal.c: Likewise.
20583 * elf/dl-misc.c: Likewise.
20584 * elf/dl-sysdep.c: Likewise.
20585 * elf/dl-version.c: Likewise.
20586 * elf/rtld.c: Likewise.
20587 * hurd/hurdsock.c: Likewise.
20588 * hurd/lookup-retry.c: Likewise.
20589 * malloc/malloc.c: Likewise.
20590 * malloc/mtrace.c: Likewise.
20591 * nscd/nscd_getgr_r.c: Likewise.
20592 * nscd/nscd_getpw_r.c: Likewise.
20593 * nscd/nscd_getserv_r.c: Likewise.
20594 * posix/getopt_init.c: Likewise.
20595 * posix/wordexp.c: Likewise.
20596 * stdio-common/_itoa.c: Likewise.
20597 * stdio-common/printf_fphex.c: Likewise.
20598 * stdio-common/vfprintf.c: Likewise.
20599 * string/_strerror.c: Likewise.
20600 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20601 * sysdeps/i386/i686/hp-timing.h: Likewise.
20602 * sysdeps/mach/_strerror.c: Likewise.
20603 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20604 * sysdeps/mach/hurd/sethostid.c: Likewise.
20605 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20606 * sysdeps/mach/xpg-strerror.c: Likewise.
20607 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20608 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20609 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20610 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20611 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20612 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20614 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20615 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20616 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20617 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20618 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20619 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20620 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20621 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20622 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20623 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20624 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20625 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20626 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20627 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20628
20629 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20630
20631 * stdio-common/_itoa.h: Moved to ...
20632 * sysdeps/generic/_itoa.h: Here.
20633
20634 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20635
20636 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20637 instead of "_itoa.h" and "_itowa.h".
20638 * stdio-common/vfprintf.: Likewise.
20639
d1af992d
L
206402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20641
20642 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20643 <bits/wordsize.h>.
20644 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20645 (__signbit): Likwise.
20646 (llrintf): Likwise.
20647 (llrint): Likwise.
20648
114883e0
L
206492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20650
20651 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20652 __WORDSIZE != 64.
20653
c135cc1b
JM
206542012-03-20 Joseph Myers <joseph@codesourcery.com>
20655
20656 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20657 OVERFLOW_EXCEPTION_OK.
20658 * math/libm-test.inc ("Philosophy"): Update comment about
20659 exception testing.
20660 (OVERFLOW_EXCEPTION): Define.
20661 (OVERFLOW_EXCEPTION_OK): Likewise.
20662 (INVALID_EXCEPTION_OK): Renumber.
20663 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20664 (IGNORE_ZERO_INF_SIGN): Likewise.
20665 (test_exceptions): Handle FE_OVERFLOW.
20666 (exp10_test): Expect overflow exceptions.
20667 (exp2_test): Likewise.
20668 (expm1_test): Likewise.
20669 (nextafter_test): Likewise.
20670 (pow_test): Likewise.
20671 (scalbn_test): Likewise.
20672 (scalbln_test): Likewise.
20673
95443d88
L
206742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20675
20676 * sysdeps/x86_64/bits/atomic.h
20677 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20678 64bit integer.
20679 (atomic_exchange_acq): Likewise.
20680 (__arch_exchange_and_add_body): Likewise.
20681 (__arch_add_body): Likewise.
20682 (atomic_add_negative): Likewise.
20683 (atomic_add_zero): Likewise.
20684
490df6c4
L
206852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20686
c2722551 20687 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20688 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20689
5e52b189
L
206902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20691
20692 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20693 Check __x86_64__ instead of __WORDSIZE.
20694
a9879d4c
L
206952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20696
20697 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20698
5df98260
DM
206992012-03-19 David S. Miller <davem@davemloft.net>
20700
e1497744
DM
20701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20702
5df98260
DM
20703 * sysdeps/sparc/fpu/fenv_private.h: New file.
20704 * sysdeps/sparc/fpu/math_private.h: Use it.
20705 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20706 Remove.
20707 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20708 (libc_feholdexcept_setroundl): Remove.
20709 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20710 Remove.
20711 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20712 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20713
b4c35121
L
207142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20715
20716 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20717 int64_t instead of long int.
20718 (INSERT_WORDS64): Likwise.
20719
56965fd7
L
207202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20721
20722 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20723 _Unwind_GetCFA return to _Unwind_Ptr first.
20724
83d1aec8
JM
207252012-03-19 Joseph Myers <joseph@codesourcery.com>
20726
1897ad44
JM
20727 [BZ #13629]
20728 * math/s_clog.c: Include <float.h>.
20729 (__clog): Scale large or subnormal inputs.
20730 * math/s_clogf.c: Likewise.
20731 * math/s_clogl.c: Likewise.
20732 * math/s_clog10.c: Include <float.h>.
20733 (M_LOG10_2): Define.
20734 (__clog10): Scale large or subnormal inputs.
20735 * math/s_clog10f.c: Likewise.
20736 * math/s_clog10l.c: Likewise.
20737 * math/libm-test.inc (clog_test): Add more tests.
20738 (clog10_test): Likewise.
20739 * sysdeps/i386/fpu/libm-test-ulps: Update.
20740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20741
7726d6a9
JM
20742 [BZ #11451]
20743 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20744 x and y.
20745 * math/libm-test.inc (atan2_test): Add another test.
20746
83d1aec8
JM
20747 * Makerules (common-objdir-compile): Remove.
20748 * sysdeps/unix/Makefile (config-generated): Do not add
20749 $(unix-generated) to variable.
20750 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20751 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20752 Remove rule.
20753 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20754 Likewise.
20755 [generic bits/local_lim.h] (before-compile): Do not append to
20756 variable.
20757 [generic bits/local_lim.h] (common-generated): Likewise.
20758 [generic sys/param.h] (before-compile): Do not append to variable.
20759 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20760 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20761 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20762 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20763 include.
20764 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20765 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20766 [generic sys/param.h] ($(addprefix
20767 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20768 [generic sys/param.h] (common-generated): Do not append to
20769 variable.
20770 [generic sys/param.h] (sysdep_headers): Likewise.
20771 [generic bits/errno.h] (before-compile): Do not append to
20772 variable.
20773 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20774 rule.
20775 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20776 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20777 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20778 [generic bits/errno.h] (common-generated): Do not append to
20779 variable.
20780 [generic bits/ioctls.h] (before-compile): Do not append to
20781 variable.
20782 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20783 rule.
20784 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20785 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20786 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20787 rule.
20788 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20789 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20790 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20791 [generic bits/ioctls.h] (common-generated): Do not append to
20792 variable.
20793 [generic sys/syscall.h] (syscall.h): Remove variable.
20794 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20795 rule.
20796 [generic sys/syscall.h] (before-compile): Do not append to
20797 variable.
20798 [generic sys/syscall.h] (common-generated): Likewise.
20799 * sysdeps/unix/errnos-tmpl.c: Remove file.
20800 * sysdeps/unix/errnos.awk: Likewise.
20801 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20802 * sysdeps/unix/ioctls.awk: Likewise.
20803 * sysdeps/unix/mk-local_lim.c: Likewise.
20804 * sysdeps/unix/snarf-ioctls: Likewise.
20805
4851a949
RH
208062012-03-19 Richard Henderson <rth@twiddle.net>
20807
bd37f2ee
RH
20808 * sysdeps/i386/fpu/fenv_private.h: New file.
20809 * sysdeps/i386/fpu/math_private.h: Use it.
20810 (math_opt_barrier, math_force_eval): Remove.
20811 (libc_feholdexcept_setround_53bit): Remove.
20812 (libc_feupdateenv_53bit): Remove.
20813 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20814 (math_opt_barrier, math_force_eval): Remove.
20815 (libc_feholdexcept): Remove.
20816 (libc_feholdexcept_setround): Remove.
20817 (libc_fetestexcept, libc_fesetenv): Remove.
20818 (libc_feupdateenv_test): Remove.
20819 (libc_feupdateenv, libc_feholdsetround): Remove.
20820 (libc_feresetround): Remove.
20821
d0adc922
RH
20822 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20823 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20824
0fe0f1f8
RH
20825 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20826 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20827 (libc_feupdateenv_testl): New.
20828 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20829 (libc_feupdateenv_testf): New.
20830 (libc_feupdateenv): Use libc_feupdateenv_test.
20831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20832 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20833
eb92c487
RH
20834 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20835 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20836 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20837 (libc_feresetround_noex): New.
20838 (libc_feresetround_noexf): New.
20839 (libc_feresetround_noexl): New.
20840 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20841 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20842 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20843 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20844 SET_RESTORE_ROUND.
20845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20846 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20847 (__cos): Likewise.
20848 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20849 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20850 SET_RESTORE_ROUND_NOEX.
20851 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20852 SET_RESTORE_ROUND_NOEXF.
20853 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20854 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20855 (libc_feholdsetroundf): New.
20856 (libc_feresetround, libc_feresetroundf): New.
20857
7d2e8012
RH
20858 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20859 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20860 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20861
b4dabbb4
RH
20862 * sysdeps/generic/math_private.h: Include <fenv.h>.
20863 (default_libc_feholdexcept): New.
20864 (default_libc_feholdexcept_setround): New.
20865 (default_libc_fesetenv, default_libc_feupdateenv): New.
20866 (libc_feholdexcept): Only define if undefined.
20867 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20868 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20869 (libc_feholdexcept_setroundl): Likewise.
20870 (libc_feholdexcept_setround_53bit): Likewise.
20871 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20872 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20873 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20874 (libc_feupdateenv_53bit): Likewise.
20875 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20876 (libc_feholdexcept): Convert from macro to inline function.
20877 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20878 (libc_fesetenv, libc_feupdateenv): Likewise.
20879
4851a949
RH
20880 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20881 not previously defined.
20882 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20883 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20884 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20885 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20886 * sysdeps/ieee754/flt-32/math_private.h: New file.
20887 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20888 math_private.h below SET_FLOAT_WORD.
20889 (__isnan, __isinf_ns, __finite): Remove.
20890 (__isnanf, __isinf_nsf, __finitef): Remove.
20891
e79d442e
AS
208922012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20893
20894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20895
90b80344
DM
208962012-03-17 David S. Miller <davem@davemloft.net>
20897
20898 [BZ #6471]
20899 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20900 for 2.16.
20901
edc21804
DM
209022012-03-16 David S. Miller <davem@davemloft.net>
20903
77e927af
DM
20904 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20905 warnings.
20906
374976dd
DM
20907 [BZ #6471]
20908 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20909 properly.
20910 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20911 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20912 sysdep_routines when subdir is sysvipc.
20913 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20914 __getshmlba helper.
20915
edc21804
DM
20916 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20917
473c3ef3
L
209182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20919
20920 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20921 [__LP64__].
20922
eb0f39b6
L
209232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20926 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20927 (__lround): Renamed to ...
20928 (__llround): This. Replace long int with long long int.
20929 Define lround functions as aliases of llround functions.
20930 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20931
6b6cd74b
L
209322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20933
20934 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20935 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20936 adresses to uintptr_t. Replace "long int" and "unsigned long
20937 int" with "greg_t" on va_arg.
20938
f1a77b01
L
209392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20940
20941 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20942 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20943
20944 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20945 Move e_machine check before EI_CLASS check. Handle x32
20946 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20947 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20948 SKIP_EM_IA_64 and include
20949 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20950
20951 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20952 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20953 (add_system_dir): New macro.
20954
20955 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20956 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20957
11b90b9f
JM
209582012-03-16 Joseph Myers <joseph@codesourcery.com>
20959
c36e1d23
JM
20960 [BZ #2551]
20961 [BZ #2552]
20962 [BZ #2553]
20963 [BZ #2554]
20964 [BZ #2562]
20965 [BZ #2563]
20966 [BZ #2565]
20967 [BZ #2566]
20968 [BZ #2576]
20969 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20970 (y0): Likewise.
20971 * math/w_j0f.c (j0f): Likewise.
20972 (y0f): Likewise.
20973 * math/w_j0l.c (__j0l): Likewise.
20974 (__y0l): Likewise.
20975 * math/w_j1.c (j1): Likewise.
20976 (y1): Likewise.
20977 * math/w_j1f.c (j1f): Likewise.
20978 (y1f): Likewise.
20979 * math/w_j1l.c (__j1l): Likewise.
20980 (__y1l): Likewise.
20981 * math/w_jn.c (jn): Likewise.
20982 (yn): Likewise.
20983 * math/w_jnf.c (jnf): Likewise.
20984 (ynf): Likewise.
20985 * math/w_jnl.c (__jnl): Likewise.
20986 (__ynl): Likewise.
20987 * math/libm-test.inc (j0_test): Add more tests.
20988 (j1_test): Likewise.
20989 (jn_test): Likewise. Add trailing semicolon to existing test.
20990 (y0_test): Likewise.
20991 (y1_test): Likewise.
20992 * sysdeps/i386/fpu/libm-test-ulps: Update.
20993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20994
11b90b9f
JM
20995 [BZ #13851]
20996 [BZ #13854]
20997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20998 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20999 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21000 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21001 (__tanl): Set errno for infinite argument.
21002 * sysdeps/i386/fpu/mptan.c: Remove.
21003 * sysdeps/i386/fpu/s_tan.S: Likewise.
21004 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21005 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21006 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21007 * math/libm-test.inc (tan_test): Add more tests and enable more
21008 tests for double and long double.
21009 * sysdeps/i386/fpu/libm-test-ulps: Update.
21010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21011
6a1bd2a1
JK
210122012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21013
21014 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21015 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21016
10a803e0
RM
210172012-03-16 Roland McGrath <roland@hack.frob.com>
21018
21019 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21020 * configure.in: Use it for both main tree and add-ons.
21021 * configure: Regenerated.
21022
f196c7f7
L
210232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21024
21025 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21026
8848d99d
JM
210272012-03-16 Joseph Myers <joseph@codesourcery.com>
21028
96cbe7f4
JM
21029 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21030 in comment.
21031
8848d99d
JM
21032 [BZ #13851]
21033 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21034 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21038 infinite argument.
21039 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21041 != 0 for prec == 2.
21042 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21043 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21044 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21045 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21046 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21047 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21048 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21049 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21050 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21051 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21052 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21053 * math/libm-test.inc (cos_test): Add more tests and enable more
21054 tests for long double.
21055 (sin_test): Likewise.
21056 (sincos_test): Likewise.
21057 * sysdeps/i386/fpu/libm-test-ulps: Update.
21058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21059
dd7f4703
DM
210602012-03-16 David S. Miller <davem@davemloft.net>
21061
21062 * sysdeps/sparc/fpu/math_private.h: New file.
21063
006f1daa
DM
210642012-03-15 David S. Miller <davem@davemloft.net>
21065
c0c83bc8
DM
21066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21067 file.
e6a62e18 21068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21070 file.
e6a62e18
DM
21071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21077 sysdep routines.
21078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21079
88cb87d9
DM
21080 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21081 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21082
006f1daa 21083 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21085 sparc-ifunc.h
006f1daa 21086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21088 Likewise.
21089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21090 Likewise.
006f1daa
DM
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21095 Likewise.
006f1daa
DM
21096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21101 Likewise.
21102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21103 Likewise.
006f1daa
DM
21104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21128
11e0098e
AS
211292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21130
21131 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21132 scaling.
21133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21134
e85b09d0
AJ
211352012-03-15 Andreas Jaeger <aj@suse.de>
21136
21137 [BZ #13852]
21138 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21139 ieee754/flt-32 implementation for sin, cos and sincos.
21140 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21141 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21142 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21143 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21144 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21145 ieee754/flt-32 implementation for tan.
21146
21147 * math/libm-test.inc (cos_test): Enable some large input tests for
21148 float as well
21149 (sin_test): Likewise.
21150 (sincos_test): Likewise.
21151 (tan_test): Add tests for large input.
21152
21153 * sysdeps/i386/fpu/libm-test-ulps: Update.
21154
81c64153
AJ
211552012-03-15 Andreas Jaeger <aj@suse.de>
21156
21157 [BZ #13658]
21158 * math/libm-test.inc (cos_test): Add more test cases.
21159 (sin_test): Likewise.
21160 (sincos_test): Likewise.
21161
7bbfa5c6
AJ
211622012-03-15 Andreas Jaeger <aj@suse.de>
21163
21164 [BZ #13837]
21165 * math/libm-test.inc (cos_test): Add a test case for large input
21166 value.
21167 (sin_test): Likewise.
21168 (sincos_test): Likewise.
21169
211702012-03-15 Andreas Jaeger <aj@suse.de>,
21171 Joseph Myers <joseph@codesourcery.com>
21172
21173 [BZ #13658]
0671f479 21174 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21175 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21176 * sysdeps/i386/fpu/branred.c: Likewise.
21177 * sysdeps/i386/fpu/dosincos.c: Likewise.
21178 * sysdeps/i386/fpu/mpa.c: Likewise.
21179 * sysdeps/i386/fpu/s_cos.S: Likewise.
21180 * sysdeps/i386/fpu/s_sin.S: Likewise.
21181 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21182 * sysdeps/i386/fpu/sincos32.c: Likewise.
21183
21184 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21185 Define.
21186 (libc_feupdateenv_53bit): Define.
21187 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21188 Define.
21189 (libc_feupdateenv_53bit): Define.
21190
21191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21192 53 bit (without extend i386 double precision).
21193
21194 * math/libm-test.inc (sincos_test): Add tests for large input.
21195 (sin): Likewise.
21196 (cos): Likewise.
21197
21198 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21199
9cad04ea
AS
212002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21201
21202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21203
f7062b9a
DM
212042012-03-15 David S. Miller <davem@davemloft.net>
21205
21206 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21207 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21208 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21209 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21222 file.
f7062b9a 21223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21225 file.
f7062b9a 21226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21228 file.
f7062b9a 21229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21231 file.
f7062b9a
DM
21232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21234 fmin/fmax sysdep routines.
21235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21236
7bd951ff
DM
212372012-03-14 David S. Miller <davem@davemloft.net>
21238
559398ab
DM
21239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21268 routines.
21269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21270 file.
559398ab 21271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21273 file.
559398ab 21274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21276 file.
559398ab 21277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21279 file.
559398ab 21280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21282 file.
559398ab 21283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21285 file.
21286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21287 file.
21288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21289 file.
21290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21291 file.
21292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21293 New file.
21294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21295 file.
21296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21297 file.
559398ab 21298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21300 file.
559398ab 21301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21303 file.
559398ab 21304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21306 file.
559398ab 21307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21309 VIS3 routines.
559398ab
DM
21310
21311 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21312 New file.
21313
5a1c1e32
DM
21314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21315
eae47a36
DM
21316 * sysdeps/sparc/configure.in: New file.
21317 * sysdeps/sparc/configure: Generate.
21318 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21319 * configure: Regenerate.
21320 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21321 * config.make.in (have-as-vis3): New.
21322 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21323 available use -Av9d instead of -Av9a.
21324 * sysdeps/sparc/sparc64/Makefile: Likewise.
21325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21327 New file.
21328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21329 file.
21330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21331 New file.
21332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21333 file.
eae47a36
DM
21334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21339
c0c83bc8
DM
21340 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21341 fzeros/fnegs to load 0x80000000 into a float register instead of
21342 using the stack.
7bd951ff
DM
21343 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21344
bd951ccb
JM
213452012-03-14 Joseph Myers <joseph@codesourcery.com>
21346
21347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21348 bits/syscall.h.
21349 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21350 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21351 ($(inst_includedir)/bits/syscall.h): Remove rule.
21352 ($(objpfx)bits/syscall.d): Include instead of
21353 $(objpfx)syscall-list.d.
21354 (generated): Change syscall-list.h and syscall-list.d to
21355 bits/syscall.h and bits/syscall.d.
21356
bb4e6db2
RM
213572012-03-14 Roland McGrath <roland@hack.frob.com>
21358
21359 [BZ #13846]
21360 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21361
aa4a2ae1
JM
213622012-03-14 Joseph Myers <joseph@codesourcery.com>
21363
e456826d
JM
21364 [BZ #13841]
21365 * math/s_csqrt.c: Include <float.h>.
21366 (__csqrt): Scale large or subnormal inputs.
21367 * math/s_csqrtf.c: Likewise.
21368 * math/s_csqrtl.c: Likewise.
21369 * math/libm-test.inc (csqrt_test): Add more tests.
21370 * sysdeps/i386/fpu/libm-test-ulps: Update.
21371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21372
aa4a2ae1
JM
21373 [BZ #13840]
21374 * math/libm-test.inc (hypot_test): Add more tests.
21375
7c10fd35
DM
213762012-03-13 David S. Miller <davem@davemloft.net>
21377
21378 [BZ #13840]
21379 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21380 double-precision for the calculation instead of scaling.
21381
f453b98b
JM
213822012-03-13 Joseph Myers <joseph@codesourcery.com>
21383
21384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21385 manipulate bits before adding and subtracting TWO52[sx].
21386 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21388 Likewise.
21389 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21390
09a3453f
DM
213912012-03-13 David S. Miller <davem@davemloft.net>
21392
8e59da90
DM
21393 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21394 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21396 rtld-global-offsets.h
21397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21398
2a8ab7f2
DM
21399 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21400 large parameters.
21401
10f62770
DM
21402 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21403
5f0bdb18
DM
21404 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21405 'err' in the ifdef scope in which it is actually used.
21406
09a3453f
DM
21407 * nss/nss_db/db-init.c: Include string.h
21408
b4b2eb5e
DM
214092012-03-12 David S. Miller <davem@davemloft.net>
21410
98bb2f1c
DM
21411 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21412 masking out of the most significant byte of random value used.
21413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21414 Fix coding style in previous change.
21415
b4b2eb5e
DM
21416 * sysdeps/unix/sysv/linux/kernel-features.h
21417 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21418 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21419 expression.
21420 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21421 later.
21422
6e226b09
DM
214232012-03-11 David S. Miller <davem@davemloft.net>
21424
a1bcbd40
DM
21425 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21426 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21428 for 'resultvar' otherwise things get truncated on 64-bit.
21429
cb9d6174
DM
21430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21431 Fix masking out of the most significant byte of random value used.
21432
6e226b09
DM
21433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21434
058c132d
AS
214352012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21436
21437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21438
2d2cd515
DM
214392012-03-09 David S. Miller <davem@davemloft.net>
21440
21441 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21442 variables with appropriate CPP guards.
21443 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21444 frame pointer, not the stack pointer. Correct layout comments. Fix test
21445 on resulting framesize and the management of the outregs buffer for pltexit.
21446 Preserve floating point return values across _dl_call_pltexit call.
21447 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21448 framesize and the management of the outregs buffer for pltexit.
21449 Preserve floating point return values across _dl_call_pltexit
21450 call.
21451 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21452 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21453 (print_exit): Fix format string for return register value.
21454
9a07f9d0
JM
214552012-03-10 Joseph Myers <joseph@codesourcery.com>
21456
21457 * sunrpc/Makefile (others): Add rpcgen.
21458 ($(objpfx)rpcgen): Remove special build rule and dependency on
21459 libc.
21460 * sunrpc/rpcgen.c: New file.
21461
547b5e30
PE
214622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21463
c524201a
PE
21464 [BZ #13673]
21465 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21466 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21467 * sysdeps/i386/crti.S: Likewise.
21468 * sysdeps/i386/crtn.S: Likewise.
21469 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21470 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21471 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21472 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21473 * sysdeps/sh/crti.S: Likewise.
21474 * sysdeps/sh/crtn.S: Likewise.
21475 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21476
7b6235f2
PE
21477 [BZ #13673]
21478 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21479 with URL.
21480 * locale/programs/locfile-kw.gperf: Likewise.
21481 * locale/programs/charmap-kw.h: Regenerated.
21482 * locale/programs/locfile-kw.h: Likewise.
21483
547b5e30
PE
21484 [BZ #13673]
21485 * intl/plural.y: Replace FSF snail mail address with URL.
21486 * intl/plural.c: Regenerated.
21487
5f0a5dae
RH
214882012-03-09 Richard Henderson <rth@twiddle.net>
21489
21490 * include/math_private.h: Remove file.
21491 * math/math_private.h: Move file ...
21492 * sysdeps/generic/math_private.h: ... here.
21493
b8c03620
RH
21494 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21495 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21496 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21497
4e234f5d 21498 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21499 and <math_private.h>.
21500 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21501 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21502 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21503 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21504 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21505 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21506 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21508 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21512 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21522 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21526 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21527 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21532 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21592 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21593 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21595 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21597 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21598 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21599 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21600 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21601 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21602 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21603 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21604 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21608 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21609 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21610 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21611 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21612 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21613 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21614 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21615 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21616 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21617 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21618 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21619 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21620 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21621 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21622 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21623 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21624 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21625 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21627 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21628 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21629 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21630 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21631 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21633 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21634 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21635 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21637 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21638 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21639 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21640 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21641 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21642 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21643 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21644 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21645 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21646 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21647 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21648 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21649 * sysdeps/ieee754/k_standard.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21654 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21682 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21769 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21770 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21772 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21777 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21798 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21799 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21800 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21810 * sysdeps/ieee754/s_lib_version.c: Likewise.
21811 * sysdeps/ieee754/s_matherr.c: Likewise.
21812 * sysdeps/ieee754/s_signgam.c: Likewise.
21813 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21814 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21815 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21816 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21817 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21818 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21819 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21820 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21821 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21822 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21823 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21824 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21825 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21826 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21827 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21830 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21831 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21834
1991fa03
JM
218352012-03-09 Joseph Myers <joseph@codesourcery.com>
21836
21837 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21838 * sunrpc/rpc_main.c: Likewise.
21839 * sunrpc/rpc_svcout.c: Likewise.
21840
60d6f5a6
DM
218412012-03-09 David S. Miller <davem@davemloft.net>
21842
21843 * include/math_private.h: New file.
21844
4962050e
JM
218452012-03-09 Joseph Myers <joseph@codesourcery.com>
21846
02a6f887
JM
21847 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21848 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21849 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21850 from <bits/socket_type.h>.
21851 (enum __socket_type): Don't define here.
21852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21854 bits/socket_type.h.
21855
c6e013c1
JM
21856 [BZ #13566]
21857 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21858 checking __USE_GNU.
21859
4962050e
JM
21860 * Makerules ($(inst_includedir)/%.h): New rule.
21861 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21862 (install-others): Remove variable setting.
21863 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21864
38842f45
RH
218652012-03-08 Richard Henderson <rth@twiddle.net>
21866
67bb6da6
RH
21867 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21868 from macro to inline function; merge with the
21869 !__LIBC_INTERNAL_MATH_INLINES version.
21870 (__ieee754_sqrtf): Likewise.
21871
15194b4b
RH
21872 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21873 to inline function.
21874 (__rintf, __floor, __floorf): Likewise.
21875
64e21ede
RH
21876 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21877 macro to inline function.
21878 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21879
38842f45
RH
21880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21881 not <math/math_private.h>.
21882
c64bf5fe
DM
218832012-03-08 David S. Miller <davem@davemloft.net>
21884
21885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21886 copyright year.
21887 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21888
82d86f28
TS
218892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21890
21891 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21892 normalization.
21893 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21894 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21895
aea5d727
UD
218962012-03-08 Ulrich Drepper <drepper@gmail.com>
21897
21898 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21899 be defined individually, they must be defined as a block. Define
21900 S for printing a string instead of hidint the different by using a
21901 macro for adding the 'l'.
21902 * stdio-common/tst-fphex-wide.c: Adjust.
21903
70bca0a3
MP
219042012-03-07 Marek Polacek <polacek@redhat.com>
21905
21906 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21907
65b81130
MP
219082012-03-08 Marek Polacek <polacek@redhat.com>
21909
21910 [BZ #13806]
21911 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21912 * stdio-common/tst-fphex.c: Define a few macros to make the
21913 test reusable. Use them.
21914 * stdio-common/tst-fphex-wide.c: New file.
21915
07037eeb
JM
219162012-03-08 Joseph Myers <joseph@codesourcery.com>
21917
a7a93d50
JM
21918 [BZ #6911]
21919 * manual/macros.texi (gnusystems): New macro.
21920 (nongnusystems): Likewise.
21921 (gnulinuxhurdsystems): Likewise.
21922 (gnuhurdsystems): Likewise..
21923 (gnulinuxsystems): Likewise.
21924 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21925 variants of the GNU system, not "GNU system".
21926 * manual/conf.texi: Likewise.
21927 * manual/errno.texi: Likewise. Update example of errno macro
21928 expansion.
21929 * manual/filesys.texi: Likewise.
21930 (getumask): Document as specific to GNU/Hurd.
21931 * manual/install.texi: Likewise. Reword some references to
21932 GNU/Linux.
21933 * manual/intro.texi: Likewise.
21934 * manual/io.texi: Likewise.
21935 (File Name Portability): Detail which constraints are inapplicable
21936 to all GNU systems and which are only inapplicable to GNU/Hurd.
21937 * manual/job.texi: Likewise.
21938 * manual/llio.texi: Likewise.
21939 (O_NOCTTY): Document as present on GNU/Linux.
21940 * manual/maint.texi: Likewise.
21941 * manual/memory.texi: Likewise.
21942 * manual/pattern.texi: Likewise.
21943 * manual/pipe.texi: Likewise.
21944 * manual/process.texi: Likewise.
21945 * manual/resource.texi: Likewise.
21946 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21947 child on GNU/Hurd.
21948 * manual/setjmp.texi: Likewise.
21949 * manual/signal.texi: Likewise.
21950 * manual/startup.texi: Likewise.
21951 * manual/stdio.texi: Likewise.
21952 * manual/terminal.texi: Likewise.
21953 (ONLCR): Document as POSIX.
21954 (OXTABS): Document availability on GNU/Linux as XTABS.
21955 (ONOEOT): Document availability separately from other bits.
21956 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21957 * manual/time.texi: Likewise.
21958 * manual/users.texi: Likewise.
21959 * INSTALL: Regenerated.
21960 * sysdeps/gnu/errlist.c: Regenerated.
21961
07037eeb
JM
21962 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21963 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21964 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21965 puts.
21966 * configure: Regenerated.
21967
d1d3431a
JM
219682012-03-07 Joseph Myers <joseph@codesourcery.com>
21969
af6a1e37
JM
21970 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21971 default includes instead of AC_HEADER_CHECK.
21972 * sysdeps/i386/configure: Regenerated.
21973
d1d3431a
JM
21974 [BZ #10716]
21975 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21976 * math/s_cacoshf.c (__cacoshf): Likewise.
21977 * math/s_cacoshl.c (__cacoshl): Likewise.
21978 * math/s_casinh.c (__casinh): Set signs of result from argument.
21979 * math/s_casinhf.c (__casinhf): Likewise.
21980 * math/s_casinhl.c (__casinhl): Likewise.
21981 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21982 (casinh_test): Add more tests.
21983 * sysdeps/i386/fpu/libm-test-ulps: Update.
21984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21985
482ff4da
UD
219862012-03-07 Ulrich Drepper <drepper@gmail.com>
21987
872fda05
UD
21988 * po/zh_TW.po: Update from translation team.
21989
a4300c7a
UD
21990 * login/Makefile (distribute): Remove variable.
21991 * catgets/Makefile: Likewise.
21992 * mach/Makefile: Likewise.
21993 * malloc/Makefile: Likewise.
21994 * misc/Makefile: Likewise.
21995 * iconv/Makefile: Likewise.
21996 * nscd/Makefile: Likewise.
21997 * hurd/Makefile: Likewise.
21998 * manual/Makefile: Likewise.
21999 * locale/Makefile: Likewise.
22000 * intl/Makefile: Likewise.
22001 * conform/Makefile: Likewise.
22002 * nss/Makefile: Likewise.
22003 * time/Makefile: Likewise.
22004 * soft-fp/Makefile: Likewise.
22005 * dirent/Makefile: Likewise.
22006 * gmon/Makefile: Likewise.
22007 * po/Makefile: Likewise.
22008 * rt/Makefile: Likewise.
22009 * socket/Makefile: Likewise.
22010 * math/Makefile: Likewise.
22011 * signal/Makefile: Likewise.
22012 * debug/Makefile: Likewise.
22013 * elf/Makefile: Likewise.
22014 * timezone/Makefile: Likewise.
22015 * stdlib/Makefile: Likewise.
22016 * iconvdata/Makefile: Likewise.
22017 * sunrpc/Makefile: Likewise.
22018 * io/Makefile: Likewise.
22019 * argp/Makefile: Likewise.
22020 * inet/Makefile: Likewise.
22021 * hesiod/Makefile: Likewise.
22022 * grp/Makefile: Likewise.
22023 * csu/Makefile: Likewise.
22024 * wctype/Makefile: Likewise.
22025 * crypt/Makefile: Likewise.
22026 * libio/Makefile: Likewise.
22027 * string/Makefile: Likewise.
22028 * nis/Makefile: Likewise.
22029 * resolv/Makefile: Likewise.
22030 * stdio-common/Makefile: Likewise.
22031 * wcsmbs/Makefile: Likewise.
22032 * dlfcn/Makefile: Likewise.
22033 * posix/Makefile: Likewise.
22034
3b7c4e74 22035 [BZ #6959]
482ff4da
UD
22036 * timezone/Makefile: Don't install timezone files, just the programs
22037 and scripts.
22038
f72ed77d
UD
220392012-03-06 Ulrich Drepper <drepper@gmail.com>
22040
a000466f
UD
22041 * nss/databases.def: Add missing gshadow entry.
22042
f72ed77d
UD
22043 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22044
a53b7a4e
MP
220452012-03-06 Marek Polacek <polacek@redhat.com>
22046
22047 [BZ #13726]
22048 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22049 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22050 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22051 * stdio-common/tst-long-dbl-fphex.c: New file.
22052
e9258400
DM
220532012-03-06 David S. Miller <davem@davemloft.net>
22054
22055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22056 (set_obp_int): New function.
22057 (get_obp_int): New function.
22058 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22060 Avoid unused variable warnings on 'val' and use builtin_expect.
22061 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22062 __builtin_expect.
e9258400
DM
22063 (INLINE_CLONE_SYSCALL): Likewise.
22064
3bd2c723
DM
220652012-03-05 David S. Miller <davem@davemloft.net>
22066
22067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22068
bbb78d03
AS
220692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22070
884c5db4
AS
22071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22072
bbb78d03
AS
22073 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22074 only for |x| >= 40.
22075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22076
1c9f702a 220772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22078
22079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22080 Replace gettimeofday with __vdso_gettimeofday.
22081
7be16f82
RM
22082 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22083 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22084 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22085
22086 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22087 time with __vdso_time.
22088
ed58a00f
JM
220892012-03-05 Joseph Myers <joseph@codesourcery.com>
22090
22091 * manual/lang.texi (size_t): Note types to which size_t may be
22092 equivalent with the GNU C Library, but do not describe when
22093 differences between them are significant.
22094
30ee4ced
AJ
220952012-03-05 Andreas Jaeger <aj@suse.de>
22096
22097 * sysdeps/i386/fpu/libm-test-ulps: Update.
22098
b7cd39e8
JM
220992012-03-05 Joseph Myers <joseph@codesourcery.com>
22100
22101 [BZ #3976]
22102 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22103 (__ieee754_pow): Save and restore rounding mode and use
22104 round-to-nearest for main computations.
22105 * math/libm-test.inc (pow_test_tonearest): New function.
22106 (pow_test_towardzero): Likewise.
22107 (pow_test_downward): Likewise.
22108 (pow_test_upward): Likewise.
22109 (main): Call the new functions.
22110 * sysdeps/i386/fpu/libm-test-ulps: Update.
22111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22112
22113 [BZ #3976]
22114 * math/libm-test.inc (cosh_test_tonearest): New function.
22115 (cosh_test_towardzero): Likewise.
22116 (cosh_test_downward): Likewise.
22117 (cosh_test_upward): Likewise.
22118 (sinh_test_tonearest): Likewise.
22119 (sinh_test_towardzero): Likewise.
22120 (sinh_test_downward): Likewise.
22121 (sinh_test_upward): Likewise.
22122 (main): Call the new functions.
22123 * sysdeps/i386/fpu/libm-test-ulps: Update.
22124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22125
6c6a98c9
TV
221262012-03-05 Tom de Vries <tom@codesourcery.com>
22127
22128 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22129 default stack guard is set in last bytes.
22130 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22131
21bb2d2e 221322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22133
21bb2d2e 22134 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22135
21bb2d2e
AJ
22136 [BZ #13656]
22137 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22138 possibly allocate from heap instead of stack.
22139 * stdio-common/bug-vfprintf-nargs.c: New file.
22140 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22141
c6922934
AS
221422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22143
22144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22145
bc957d53
MP
221462012-03-03 Marek Polacek <polacek@redhat.com>
22147
22148 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22149 * math/math_private.h: Likewise.
22150 * stdlib/tst-strtod.c: Likewise.
22151 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22152 * sysdeps/x86_64/bits/atomic.h: Likewise.
22153
6358490d
DM
221542012-03-02 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22160 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22161 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22162 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22163 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22164
01ae168d
RM
221652012-03-02 Roland McGrath <roland@hack.frob.com>
22166
d9a17c07
RM
22167 [BZ #13792]
22168 * manual/examples/README: New file, says the example source files
22169 can be used under GPL>=2.
22170 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22171 line containing just "*/".
22172 * manual/examples/add.c: Add copyright header (GPL>=2).
22173 * manual/examples/argp-ex1.c: Likewise.
22174 * manual/examples/argp-ex2.c: Likewise.
22175 * manual/examples/argp-ex3.c: Likewise.
22176 * manual/examples/argp-ex4.c: Likewise.
22177 * manual/examples/atexit.c: Likewise.
22178 * manual/examples/db.c: Likewise.
22179 * manual/examples/dir.c: Likewise.
22180 * manual/examples/dir2.c: Likewise.
22181 * manual/examples/execinfo.c: Likewise.
22182 * manual/examples/filecli.c: Likewise.
22183 * manual/examples/filesrv.c: Likewise.
22184 * manual/examples/fmtmsgexpl.c: Likewise.
22185 * manual/examples/genpass.c: Likewise.
22186 * manual/examples/inetcli.c: Likewise.
22187 * manual/examples/inetsrv.c: Likewise.
22188 * manual/examples/isockad.c: Likewise.
22189 * manual/examples/longopt.c: Likewise.
22190 * manual/examples/memopen.c: Likewise.
22191 * manual/examples/memstrm.c: Likewise.
22192 * manual/examples/mkfsock.c: Likewise.
22193 * manual/examples/mkisock.c: Likewise.
22194 * manual/examples/mygetpass.c: Likewise.
22195 * manual/examples/pipe.c: Likewise.
22196 * manual/examples/popen.c: Likewise.
22197 * manual/examples/rprintf.c: Likewise.
22198 * manual/examples/search.c: Likewise.
22199 * manual/examples/select.c: Likewise.
22200 * manual/examples/setjmp.c: Likewise.
22201 * manual/examples/sigh1.c: Likewise.
22202 * manual/examples/sigusr.c: Likewise.
22203 * manual/examples/stpcpy.c: Likewise.
22204 * manual/examples/strdupa.c: Likewise.
22205 * manual/examples/strftim.c: Likewise.
22206 * manual/examples/strncat.c: Likewise.
22207 * manual/examples/subopt.c: Likewise.
22208 * manual/examples/swapcontext.c: Likewise.
22209 * manual/examples/termios.c: Likewise.
22210 * manual/examples/testopt.c: Likewise.
22211 * manual/examples/testpass.c: Likewise.
22212 * manual/examples/timeval_subtract.c: Likewise.
22213
01ae168d
RM
22214 [BZ #13792]
22215 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22216 function to ...
22217 * manual/timeval_subtract.c.texi: ... here, new file.
22218
49efa33d
DM
222192012-03-02 David S. Miller <davem@davemloft.net>
22220
22221 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22222
28afd92d
JM
222232012-03-02 Joseph Myers <joseph@codesourcery.com>
22224
804360ed
JM
22225 [BZ #3976]
22226 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22227 (__sin): Save and restore rounding mode and use round-to-nearest
22228 for all computations.
22229 (__cos): Save and restore rounding mode and use round-to-nearest
22230 for all computations.
22231 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22232 <fenv.h>.
22233 (tan): Save and restore rounding mode and use round-to-nearest for
22234 all computations.
22235 * math/libm-test.inc (cos_test_tonearest): New function.
22236 (cos_test_towardzero): Likewise.
22237 (cos_test_downward): Likewise.
22238 (cos_test_upward): Likewise.
22239 (sin_test_tonearest): Likewise.
22240 (sin_test_towardzero): Likewise.
22241 (sin_test_downward): Likewise.
22242 (sin_test_upward): Likewise.
22243 (tan_test_tonearest): Likewise.
22244 (tan_test_towardzero): Likewise.
22245 (tan_test_downward): Likewise.
22246 (tan_test_upward): Likewise.
22247 (main): Call the new functions.
22248 * sysdeps/i386/fpu/libm-test-ulps: Update.
22249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22250
a6d06d7b
JM
22251 [BZ #10135]
22252 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22253 small n, then large n, before computing and testing k+n.
22254 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22256 Likewise.
22257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22258 Likewise.
22259 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22260 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22261 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22262 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22265 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22266 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22267 * math/libm-test.inc (scalbn_test): Add more tests.
22268 (scalbln_test): Likewise.
22269
07e12bb3
JM
22270 * manual/filesys.texi (mode_t): Describe constraints on size and
22271 signedness, not exact equivalence to a particular type.
22272 (ino_t): Likewise.
22273 (ino64_t): Likewise.
22274 (dev_t): Likewise.
22275 (nlink_t): Likewise.
22276 (blkcnt_t): Likewise.
22277 (blkcnt64_t): Likewise.
22278 * manual/llio.texi (off_t): Likewise.
22279
28afd92d
JM
22280 [BZ #3976]
22281 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22282 (__ieee754_exp): Save and restore rounding mode and use
22283 round-to-nearest for all computations.
22284 * math/libm-test.inc (exp_test_tonearest): New function.
22285 (exp_test_towardzero): Likewise.
22286 (exp_test_downward): Likewise.
22287 (exp_test_upward): Likewise.
22288 (main): Call the new functions.
22289 * sysdeps/i386/fpu/libm-test-ulps: Update.
22290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22291
b1eeb65d
CD
222922012-03-01 Chris Demetriou <cgd@google.com>
22293
22294 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22295 have predictable order.
22296
53362a4b
DM
222972012-03-01 David S. Miller <davem@davemloft.net>
22298
3c969083
DM
22299 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22300
759707de
DM
22301 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22303 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22304 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22305
dfdb8ff2
DM
22306 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22307 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22308 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22310 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22311 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22312 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22313 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22314 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22315
ead89f96
DM
22316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22317
7f66bd07
DM
22318 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22319 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22321
53362a4b
DM
22322 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22323 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22324 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22325 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22326 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22329 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22330 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22331 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22332 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22336 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22338 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22339 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22340 * sysdeps/sparc/elf/configure: Regenerated.
22341
7b1902cb
JM
223422012-03-01 Joseph Myers <joseph@codesourcery.com>
22343
bec039bc
JM
22344 * configure.in (AS, LD): Require binutils 2.20 or later.
22345 * configure: Regenerated.
22346 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22347 as required minimum version.
22348 * INSTALL: Regenerated.
22349
7b1902cb
JM
22350 [BZ #2541]
22351 [BZ #4108]
22352 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22353 before squaring exponent.
22354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22355 bottom long double and 27 bits of top long double before squaring
22356 exponent.
22357 * math/libm-test.inc (erfc_test): Add more tests.
22358 * sysdeps/i386/fpu/libm-test-ulps: Update.
22359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22361
f775c276
KT
223622012-03-01 Kai Tietz <ktietz@redhat.com>
22363
22364 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22365 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22366 containing bit-fields.
22367 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22368 * soft-fp/single.h (_FP_UNION_S): Likewise.
22369 * soft-fp/double.h (_FP_UNION_D): Likewise.
22370
5b8a4d4a
JM
223712012-02-29 Joseph Myers <joseph@codesourcery.com>
22372
0bab47b6
JM
22373 [BZ #13786]
22374 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22375 not include ../strcmp.S.
22376 [USE_AS_STRNCASECMP_L]: Likewise.
22377 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22378 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22379 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22380 (__strncasecmp_l_ia32): Define as alias to
22381 __strncasecmp_l_nonascii.
22382
0fcad3e2
JM
22383 [BZ #5794]
22384 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22385 * sysdeps/i386/fpu/libm-test-ulps: Update.
22386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22387
5b8a4d4a
JM
22388 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22390
8fdceb2e
JL
223912012-02-29 Jeff Law <law@redhat.com>
22392
22393 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22394 out of bounds read.
22395
1f393a11
MP
223962012-02-29 Marek Polacek <polacek@redhat.com>
22397
22398 [BZ #13706]
22399 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22400 * elf/Makefile: Add rules to run tst-unused-dep.out.
22401
8847f037
DM
224022012-02-28 David S. Miller <davem@davemloft.net>
22403
22404 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22405 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22408 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22409 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22410
169d7f11
JM
224112012-02-29 Joseph Myers <joseph@codesourcery.com>
22412
22413 * math/libm-test.inc (llround_test): Move one test from
22414 lround_test. Use TEST_f_L in moved test.
22415 (lround_test): Move misplaced test to llround_test. Add testcase
22416 from bug 2561.
22417
39adf059
UD
224182012-02-28 Ulrich Drepper <drepper@gmail.com>
22419
22420 * sysdeps/x86_64/fpu/e_expf.S: New file.
22421 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22422
71b5d1c5
SB
224232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22424
22425 [BZ #13637]
22426 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22427 of remain_len that may cause incomplete multi-byte character and
22428 false match.
22429 * posix/bug-regex33.c: New file.
22430 * posix/Makefile (tests): Add bug-regex33.
22431
1f77f049
JM
224322012-02-28 Joseph Myers <joseph@codesourcery.com>
22433
22434 * manual/macros.texi: New file.
22435 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22436 * manual/libc.texinfo: Include macros.texi.
22437 * manual/creatute.texi: Likewise.
22438 * manual/install.texi: Likewise.
22439 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22440 @glibcadj{} in references to the GNU C Library.
22441 * manual/charset.texi: Likewise.
22442 * manual/conf.texi: Likewise.
22443 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22444 when not using those macros.
22445 * manual/creature.texi: Likewise.
22446 * manual/crypt.texi: Likewise.
22447 * manual/errno.texi: Likewise.
22448 * manual/filesys.texi: Likewise.
22449 * manual/header.texi: Likewise.
22450 * manual/install.texi: Likewise.
22451 * manual/intro.texi: Likewise.
22452 * manual/io.texi: Likewise.
22453 * manual/job.texi: Likewise.
22454 * manual/lang.texi: Likewise.
22455 * manual/libc.texiinfo: Likewise.
22456 * manual/llio.texi: Likewise.
22457 * manual/locale.texi: Likewise.
22458 * manual/maint.texi: Likewise.
22459 * manual/math.texi: Likewise.
22460 * manual/memory.texi: Likewise.
22461 * manual/message.texi: Likewise.
22462 * manual/nss.texi: Likewise.
22463 * manual/pattern.texi: Likewise.
22464 * manual/process.texi: Likewise.
22465 * manual/resource.texi: Likewise.
22466 * manual/search.texi: Likewise.
22467 * manual/setjmp.texi: Likewise.
22468 * manual/signal.texi: Likewise.
22469 * manual/socket.texi: Likewise.
22470 * manual/startup.texi: Likewise.
22471 * manual/stdio.texi: Likewise.
22472 * manual/string.texi: Likewise.
22473 * manual/sysinfo.texi: Likewise.
22474 * manual/syslog.texi: Likewise.
22475 * manual/terminal.texi: Likewise.
22476 * manual/time.texi: Likewise.
22477 * manual/users.texi: Likewise.
22478 * INSTALL: Regenerated.
22479 * NOTES: Regenerated.
d40c5d54 22480 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22481
450bf206
AS
224822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22483
22484 * include/dirent.h: Include <dirstream.h> before
22485 <dirent/dirent.h>.
22486
741a235b
DM
224872012-02-28 David S. Miller <davem@davemloft.net>
22488
22489 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22490 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22491 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22492 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22493
d6b5aa58
DM
224942012-02-27 David S. Miller <davem@davemloft.net>
22495
1aff59a3
DM
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22498 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22499 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22500
d6b5aa58
DM
22501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22502 frame pointer instead of stack pointer relative arg slot.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22506
433f48bf
CD
225072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22508
22509 [BZ #3992]
22510 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22511
d674b76d
DM
225122012-02-27 David S. Miller <davem@davemloft.net>
22513
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22518 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22519 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22520 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22521 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22522
0e7727f7
JM
225232012-02-27 Joseph Myers <joseph@codesourcery.com>
22524
22525 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22526 later. Allow versions 5-9.
43be4ca2 22527 * configure: Regenerated.
0e7727f7
JM
22528 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22529 required minimum version and 4.6 as recommended version. Do not
22530 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22531 * INSTALL: Regenerated.
0e7727f7 22532
a78bc654
DM
225332012-02-27 David S. Miller <davem@davemloft.net>
22534
428d5830
DM
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22539 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22540 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22541 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22542 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22543
a78bc654
DM
22544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22545 manipulate bits before adding and subtracting TWO112[sx].
22546 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22547
4579f81c
RM
225482012-02-27 Roland McGrath <roland@hack.frob.com>
22549
36c8acb4
RM
22550 [BZ #13775]
22551 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22552 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22553 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22554 being in POSIX, because they are in 1003.1-2008.
22555
84ad622b
RM
22556 * rt/tst-aio.c: Include <fcntl.h>.
22557 * rt/tst-aio7.c: Likewise.
22558 * rt/tst-aio64.c: Likewise.
22559
4579f81c
RM
22560 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22561
abd923db
JM
225622012-02-27 Joseph Myers <joseph@codesourcery.com>
22563
22564 * manual/install.texi (--with-headers): Describe headers as
22565 interface headers, not private headers.
22566 (Specific advice for GNU/Linux systems): Describe use of headers
22567 from "make headers_install", not private headers from older
22568 kernels.
43be4ca2 22569 * INSTALL: Regenerated.
abd923db
JM
22570 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22571 Change to 2.6.19.
22572 * sysdeps/unix/sysv/linux/configure: Regenerated.
22573
6664049b
JM
22574 * manual/llio.texi (fclean): Remove documentation.
22575
bb8b6697
JM
22576 * manual/Makefile (libc-texi-generated): New variable. Include
22577 version.texi.
22578 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22579 $(libc-texi-generated), not duplicated list of files.
22580 (version.texi, stamp-version): New rules.
22581 (realclean): Remove $(libc-texi-generated), not individual files
22582 from that list. Do not remove dir-add.texinfo.
22583 * manual/libc.texinfo: Comment out uses of edition numbers and
22584 references to printed manual. Remove last-updated dates.
22585 (EDITION): Comment out.
22586 (ISBN): Likewise.
22587 (VERSION, UPDATED): Remove.
22588 (version.texi): Include.
22589
12e5c3b9
AS
225902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22591
22592 * sysdeps/posix/spawni.c: Include <signal.h>.
22593 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22594 * sysdeps/pthread/aio_fsync.c: Likewise.
22595
4efeffc1 225962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22597
ba63ba08
UD
22598 * conform/Makefile (tests): Run only when not cross-compiling and
22599 when fast-check is not defined.
22600
d94a4670
UD
22601 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22602 * conform/data/limits.h-data: Fixes for POSIX2008.
22603 * conform/run-conformtest.sh: Run all tests.
22604 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22605 headers.
22606 * include/bits/dlfcn.h: Likewise.
22607 * include/langinfo.h: Likewise.
22608 * include/monetary.h: Likewise.
22609 * include/sys/poll.h: Likewise.
22610
22611 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22612 for __USE_GNU.
22613 * posix/spawn.h: Define __need_sigset_t.
22614 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22615 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22616 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22617 to get sigevent_t only.
22618 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22619 only for __USE_GNU.
22620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22621 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22622 process_vm_writev only for __USE_GNU.
22623 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22624
22625 * conform/Makefile: For now ignore errors from run-conformtest.
22626 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22627 POSIX to avoid namespace pollution. Don't prepend headers.
22628 * conform/data/aio.h-data: Fixes for POSIX testing.
22629 * conform/data/fcntl.h-data: Likewise.
22630 * conform/data/glob.h-data: Likewise.
22631 * conform/data/grp.h-data: Likewise.
22632 * conform/data/pthread.h-data: Likewise.
22633 * conform/data/pwd.h-data: Likewise.
22634 * conform/data/signal.h-data: Likewise.
22635 * conform/data/spawn.h-data: Likewise.
22636 * conform/data/stdio.h-data: Likewise.
22637 * conform/data/stdlib.h-data: Likewise.
22638 * conform/data/stropts.h-data: Likewise.
22639 * conform/data/sys/mman.h-data: Likewise.
22640 * conform/data/sys/stat.h-data: Likewise.
22641 * conform/data/sys/types.h-data: Likewise.
22642 * conform/data/sys/wait.h-data: Likewise.
22643 * conform/data/time.h-data: Likewise.
22644 * conform/data/unistd.h-data: Likewise.
22645 * conform/data/utime.h-data: Likewise.
22646
22647 * io/sys/stat.h: fchmod was always in POSIX.
22648 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22649 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22650 * rt/aio.h: Define __need_timespec before including <time.h>.
22651 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22652 struct. Add forward declaration of pthread_attr_t and use it in
22653 sigevent.
22654 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22655 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22656 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22657 always remove CLK_TCK definition.
22658
c20105c3
AS
226592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22660
22661 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22662
7a270350
UD
226632012-02-25 Ulrich Drepper <drepper@gmail.com>
22664
31341567
UD
22665 * conform/run-conformtest.sh: New file.
22666 * conform/Makefile: Run run-conformtest for tests.
22667 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22668 support.
22669
22670 * conform/data/uchar.h-data: New file.
22671 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22672 * conform/data/arpa/inet.h-data: Likewise.
22673 * conform/data/assert.h-data: Likewise.
22674 * conform/data/complex.h-data: Likewise.
22675 * conform/data/cpio.h-data: Likewise.
22676 * conform/data/ctype.h-data: Likewise.
22677 * conform/data/dirent.h-data: Likewise.
22678 * conform/data/dlfcn.h-data: Likewise.
22679 * conform/data/errno.h-data: Likewise.
22680 * conform/data/fcntl.h-data: Likewise.
22681 * conform/data/float.h-data: Likewise.
22682 * conform/data/fmtmsg.h-data: Likewise.
22683 * conform/data/fnmatch.h-data: Likewise.
22684 * conform/data/ftw.h-data: Likewise.
22685 * conform/data/glob.h-data: Likewise.
22686 * conform/data/grp.h-data: Likewise.
22687 * conform/data/iconv.h-data: Likewise.
22688 * conform/data/inttypes.h-data: Likewise.
22689 * conform/data/langinfo.h-data: Likewise.
22690 * conform/data/libgen.h-data: Likewise.
22691 * conform/data/limits.h-data: Likewise.
22692 * conform/data/locale.h-data: Likewise.
22693 * conform/data/math.h-data: Likewise.
22694 * conform/data/monetary.h-data: Likewise.
22695 * conform/data/mqueue.h-data: Likewise.
22696 * conform/data/ndbm.h-data: Likewise.
22697 * conform/data/net/if.h-data: Likewise.
22698 * conform/data/netdb.h-data: Likewise.
22699 * conform/data/netinet/in.h-data: Likewise.
22700 * conform/data/nl_types.h-data: Likewise.
22701 * conform/data/poll.h-data: Likewise.
22702 * conform/data/pthread.h-data: Likewise.
22703 * conform/data/pwd.h-data: Likewise.
22704 * conform/data/regex.h-data: Likewise.
22705 * conform/data/sched.h-data: Likewise.
22706 * conform/data/search.h-data: Likewise.
22707 * conform/data/semaphore.h-data: Likewise.
22708 * conform/data/setjmp.h-data: Likewise.
22709 * conform/data/signal.h-data: Likewise.
22710 * conform/data/spawn.h-data: Likewise.
22711 * conform/data/stdarg.h-data: Likewise.
22712 * conform/data/stdio.h-data: Likewise.
22713 * conform/data/stdlib.h-data: Likewise.
22714 * conform/data/string.h-data: Likewise.
22715 * conform/data/strings.h-data: Likewise.
22716 * conform/data/stropts.h-data: Likewise.
22717 * conform/data/sys/ipc.h-data: Likewise.
22718 * conform/data/sys/mman.h-data: Likewise.
22719 * conform/data/sys/msg.h-data: Likewise.
22720 * conform/data/sys/resource.h-data: Likewise.
22721 * conform/data/sys/select.h-data: Likewise.
22722 * conform/data/sys/sem.h-data: Likewise.
22723 * conform/data/sys/shm.h-data: Likewise.
22724 * conform/data/sys/socket.h-data: Likewise.
22725 * conform/data/sys/stat.h-data: Likewise.
22726 * conform/data/sys/statvfs.h-data: Likewise.
22727 * conform/data/sys/time.h-data: Likewise.
22728 * conform/data/sys/timeb.h-data: Likewise.
22729 * conform/data/sys/times.h-data: Likewise.
22730 * conform/data/sys/types.h-data: Likewise.
22731 * conform/data/sys/uio.h-data: Likewise.
22732 * conform/data/sys/un.h-data: Likewise.
22733 * conform/data/sys/utsname.h-data: Likewise.
22734 * conform/data/sys/wait.h-data: Likewise.
22735 * conform/data/syslog.h-data: Likewise.
22736 * conform/data/tar.h-data: Likewise.
22737 * conform/data/termios.h-data: Likewise.
22738 * conform/data/utime.h-data: Likewise.
22739 * conform/data/utmpx.h-data: Likewise.
22740 * conform/data/varargs.h-data: Likewise.
22741 * conform/data/wchar.h-data: Likewise.
22742 * conform/data/wctype.h-data: Likewise.
22743 * conform/data/wordexp.h-data: Likewise.
22744
22745 * include/stropts.h: New file.
22746 * include/uchar.h: New file.
22747 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22748 * include/assert.h: Likewise.
22749 * include/ctype.h: Likewise.
22750 * include/dirent.h: Likewise.
22751 * include/dlfcn.h: Likewise.
22752 * include/fcntl.h: Likewise.
22753 * include/fnmatch.h: Likewise.
22754 * include/glob.h: Likewise.
22755 * include/grp.h: Likewise.
22756 * include/libio.h: Likewise.
22757 * include/locale.h: Likewise.
22758 * include/math.h: Likewise.
22759 * include/net/if.h: Likewise.
22760 * include/netdb.h: Likewise.
22761 * include/netinet/in.h: Likewise.
22762 * include/pthread.h: Likewise.
22763 * include/pwd.h: Likewise.
22764 * include/regex.h: Likewise.
22765 * include/sched.h: Likewise.
22766 * include/search.h: Likewise.
22767 * include/setjmp.h: Likewise.
22768 * include/signal.h: Likewise.
22769 * include/stdio.h: Likewise.
22770 * include/stdlib.h: Likewise.
22771 * include/string.h: Likewise.
22772 * include/sys/cdefs.h: Likewise.
22773 * include/sys/mman.h: Likewise.
22774 * include/sys/msg.h: Likewise.
22775 * include/sys/resource.h: Likewise.
22776 * include/sys/select.h: Likewise.
22777 * include/sys/socket.h: Likewise.
22778 * include/sys/stat.h: Likewise.
22779 * include/sys/statvfs.h: Likewise.
22780 * include/sys/time.h: Likewise.
22781 * include/sys/times.h: Likewise.
22782 * include/sys/uio.h: Likewise.
22783 * include/sys/utsname.h: Likewise.
22784 * include/sys/wait.h: Likewise.
22785 * include/termios.h: Likewise.
22786 * include/time.h: Likewise.
22787 * include/ulimit.h: Likewise.
22788 * include/unistd.h: Likewise.
22789 * include/utime.h: Likewise.
22790 * include/wchar.h: Likewise.
22791 * include/wctype.h: Likewise.
22792 * include/wordexp.h: Likewise.
22793
22794 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22795
7a270350
UD
22796 * time/time.h: TIME_UTC must be a macro.
22797 Make timespec_get available for ISO C11 only as well.
22798
7724defc
UD
227992012-02-24 Ulrich Drepper <drepper@gmail.com>
22800
22801 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22802 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22803
6b1d1d46
JM
228042012-02-24 Joseph Myers <joseph@codesourcery.com>
22805
22806 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22807
0f8bbd69
JM
228082012-02-24 Joseph Myers <joseph@codesourcery.com>
22809
22810 * manual/texinfo.tex: Update to version 2012-01-19.16.
22811
66ab80bc
JM
228122012-02-24 Joseph Myers <joseph@codesourcery.com>
22813
22814 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22815
74981cc5
RM
228162012-02-24 Roland McGrath <roland@hack.frob.com>
22817
ee968201
RM
22818 [BZ #13738]
22819 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22820 * manual/fdl-1.3.texi: New file.
22821 * manual/fdl-1.1.texi: File removed.
22822
74981cc5
RM
22823 [BZ #13738]
22824 * manual/libc.texinfo (FDL_VERSION): New @set.
22825 Use it for mention of FDL in cover text.
22826 (Documentation License): Use it in @include file name.
22827
7bb764bc
JM
228282012-02-22 Joseph Myers <joseph@codesourcery.com>
22829 Roland McGrath <roland@hack.frob.com>
22830
22831 [BZ #5461]
22832 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22833 not LONG_LONG_MAX and LONG_LONG_MIN.
22834 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22835 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22836 name.
22837 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22838
6cbeae47
JM
228392012-02-22 Joseph Myers <joseph@codesourcery.com>
22840
22841 [BZ #2547]
22842 [BZ #11365]
22843 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22844 manipulate bits before adding and subtracting TWO23[sx].
22845 * math/libm-test.inc (nearbyint_test): Add more tests.
22846
fe45ce09
JM
228472012-02-22 Joseph Myers <joseph@codesourcery.com>
22848
22849 [BZ #2548]
22850 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22851 bits before adding and subtracting TWO23[sx].
22852 * math/libm-test.inc (rint_test): Add more tests.
22853 (rint_test_tonearest): Likewise.
22854 (rint_test_towardzero): Likewise.
22855 (rint_test_downward): Likewise.
22856 (rint_test_upward: Likewise.
22857
ff3b3d82
JM
228582012-02-22 Joseph Myers <joseph@codesourcery.com>
22859
22860 [BZ #10110]
22861 * include/stdc-predef.h: New file. Extracted from features.h.
22862 * include/features.h: Include stdc-predef.h.
22863 * Makefile (headers): Add stdc-predef.h.
22864 * CONFORMANCE (Compiler limitations): Update.
22865
ef0aab35
JM
228662012-02-22 Joseph Myers <joseph@codesourcery.com>
22867
22868 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22869
58639409
DM
228702012-02-21 David S. Miller <davem@davemloft.net>
22871
22872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22873 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22874
c0e70b25
DM
228752012-02-20 David S. Miller <davem@davemloft.net>
22876
22877 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22878 using a normal save/restore sequence, rather than allocating a
22879 dummy stack frame just to store a frame pointer and restore.
22880 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22881
fb06851d
JM
228822012-02-21 Joseph Myers <joseph@codesourcery.com>
22883
22884 * manual/install.texi: Fix stray word in line-wrapped comment.
22885
7a8b71c3
DM
228862012-02-20 David S. Miller <davem@davemloft.net>
22887
d510c123
DM
22888 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22889 both binutils and gcc support GOTDATA.
22890
0722d7c2
DM
22891 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22892 "rd %pc" in the PIC register setup sequences.
22893
3d2b3019
DM
22894 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22895 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22896 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22897 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22898 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22901 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22903 (SYSCALL_ERROR_HANDLER): Likewise.
22904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22905 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22907 (SYSCALL_ERROR_HANDLER): Likewise.
22908
c80098a9
DM
22909 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22910 (HAVE_GCC_GOTDATA): New.
22911 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22912 relocation support in both binutils and gcc.
22913 * sysdeps/sparc/elf/configure: Regenerate.
22914
3a2545a0
DM
22915 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22916 * sysdeps/sparc/sparc32/elf/configure: Delete.
22917 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22918 * sysdeps/sparc/sparc64/elf/configure: Delete.
22919 * sysdeps/sparc/elf/configure.in: New file.
22920 * sysdeps/sparc/elf/configure: Generate.
22921
7a8b71c3
DM
22922 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22923 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22924 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22925 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22926 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22927
f1e86fca
JM
229282012-02-21 Joseph Myers <joseph@codesourcery.com>
22929
22930 * manual/install.texi: Do not mention specific glibc version
22931 numbers.
22932 * manual/libc.texinfo (VERSION, UPDATED): Update.
22933 (@copying): Use @copyright{} and range of years.
22934
0e7dfaef
JM
229352012-02-21 Joseph Myers <joseph@codesourcery.com>
22936
22937 [BZ #13695]
22938 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22939 [crti.S not in sysdirs] (generated): Do not append.
22940 [crti.S not in sysdirs] (omit-deps): Likewise.
22941 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22942 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22943 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22944 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22945 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22946 Likewise.
22947 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22948 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22949 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22950 * csu/defs.awk: Remove file.
22951 * sysdeps/generic/initfini.c: Likewise.
22952 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22953 variable.
22954 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22955 Likewise.
22956
599af3ca
JM
229572012-02-20 Joseph Myers <joseph@codesourcery.com>
22958
22959 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22960 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22961 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22962 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22964 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22965 <bits/epoll.h>.
22966 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22967 (__EPOLL_PACKED): Define to empty if not defined by
22968 <bits/epoll.h>.
22969 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22971 bits/epoll.h.
22972
0e499750
JM
229732012-02-20 Joseph Myers <joseph@codesourcery.com>
22974
22975 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22976 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22977 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22978 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22979 <bits/timerfd.h>.
22980 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22982 bits/timerfd.h.
22983
5ad91f6e
JM
229842012-02-20 Joseph Myers <joseph@codesourcery.com>
22985
22986 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22987 in C locale.
22988 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22989 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22992
06b99b02
AJ
229932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22994
22995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22996 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22997
7638c0fd
AS
229982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22999
23000 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23001 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23002 defined.
23003 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23004 Likewise.
23005 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23006 entry for 2.16.
23007
92221550
AJ
230082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23009
23010 * math/w_acos.c: Use non-signaling floating-point comparisons.
23011 * math/w_acosf.c: Likewise.
23012 * math/w_acosh.c: Likewise.
23013 * math/w_acoshf.c: Likewise.
23014 * math/w_acoshl.c: Likewise.
23015 * math/w_acosl.c: Likewise.
23016 * math/w_asin.c: Likewise.
23017 * math/w_asinf.c: Likewise.
23018 * math/w_asinl.c: Likewise.
23019 * math/w_atanh.c: Likewise.
23020 * math/w_atanhf.c: Likewise.
23021 * math/w_atanhl.c: Likewise.
23022 * math/w_exp2.c: Likewise.
23023 * math/w_exp2f.c: Likewise.
23024 * math/w_exp2l.c: Likewise.
23025 * math/w_j0.c: Likewise.
23026 * math/w_j0f.c: Likewise.
23027 * math/w_j0l.c: Likewise.
23028 * math/w_j1.c: Likewise.
23029 * math/w_j1f.c: Likewise.
23030 * math/w_j1l.c: Likewise.
23031 * math/w_jn.c: Likewise.
23032 * math/w_jnf.c: Likewise.
23033 * math/w_log.c: Likewise.
23034 * math/w_log10.c: Likewise.
23035 * math/w_log10f.c: Likewise.
23036 * math/w_log10l.c: Likewise.
23037 * math/w_log2.c: Likewise.
23038 * math/w_log2f.c: Likewise.
23039 * math/w_log2l.c: Likewise.
23040 * math/w_logf.c: Likewise.
23041 * math/w_logl.c: Likewise.
23042 * math/w_sqrt.c: Likewise.
23043 * math/w_sqrtf.c: Likewise.
23044 * math/w_sqrtl.c: Likewise.
23045 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23046 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23047 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23048 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23049 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23050
ebaf36eb
JM
230512012-02-19 Joseph Myers <joseph@codesourcery.com>
23052
23053 [BZ #9739]
23054 * manual/string.texi (strnlen): Use correct parameter name in
23055 equivalent expression.
23056
71c254a6
JM
230572012-02-19 Joseph Myers <joseph@codesourcery.com>
23058
23059 [BZ #11174]
23060 * manual/users.texi (seteuid): Consistently use neweuid for
23061 argument name.
23062
16d2c631
JM
230632012-02-19 Joseph Myers <joseph@codesourcery.com>
23064
23065 [BZ #13704]
23066 * manual/nss.texi (Services in the NSS configuration): Correct
23067 list of services in example configuration file.
23068
cd837b09
NB
230692012-02-19 Nick Bowler <nbowler@draconx.ca>
23070
23071 [BZ #11322]
23072 * manual/arith.texi: Remove statements about negative zero
23073 behaving identically to zero.
23074
02c4bbad
JM
230752012-02-18 Joseph Myers <joseph@codesourcery.com>
23076
23077 [BZ #5993]
23078 * manual/install.texi: Do not document upgrading from libc5.
23079
366842e7
JM
230802012-02-18 Joseph Myers <joseph@codesourcery.com>
23081
23082 [BZ #4596]
23083 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23084
dd54084d
DM
230852012-02-18 David S. Miller <davem@davemloft.net>
23086
23087 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23088 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23089 %o7 across the call.
23090 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23091 instead.
23092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23093 SETUP_PIC_REG_LEAF.
23094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23095 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23096 * sysdeps/sparc/crtn.S: Likewise.
23097
2bcc53a3
UD
230982012-02-17 Ulrich Drepper <drepper@gmail.com>
23099
23100 * aout/Makefile: Remove.
23101
09c093b5
RK
231022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23103
23104 [BZ #13058]
23105 * manual/examples/argp-ex1.c (main): Format definition in GNU
23106 style.
23107 * manual/examples/argp-ex2.c (main): Likewise.
23108 * manual/examples/argp-ex3.c (main): Likewise.
23109 * manual/examples/argp-ex4.c (main): Likewise.
23110 * manual/examples/longopt.c (main): Use new-style prototype
23111 definition.
23112 * manual/examples/strncat.c (main): Specify return type and use
23113 (void) for arguments.
23114 * manual/examples/subopt.c (main): Use char **argv argument.
23115
2ee633a2
JM
231162012-02-17 Joseph Myers <joseph@codesourcery.com>
23117
23118 [BZ #5077]
23119 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23120 rounding modes.
23121
0520adde
FB
231222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23123
23124 [BZ #6907]
23125 * manual/string.texi (strchr): Change when strchrnul is
23126 recommended.
23127
3f4081cd
DGM
231282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23129
23130 [BZ #174]
23131 * manual/locale.texi (setlocale): Document LOCPATH.
23132
d1b10e78
JM
231332012-02-17 Joseph Myers <joseph@codesourcery.com>
23134
23135 [BZ #10210]
23136 * manual/process.texi (execle): Move @dots{} before last argument.
23137
79c6869c
PB
231382012-02-17 Paul Bolle <pebolle@tiscali.nl>
23139
23140 [BZ #12047]
23141 * manual/charset.texi (Generic Charset Conversion): Fix typo
23142 (LC_TYPE -> LC_CTYPE).
23143
cc6e48bc
NB
231442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23145
23146 [BZ #5805]
23147 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23148 (scalbnf): Likewise.
23149 (scalbnl): Likewise.
23150 (scalbln): Likewise.
23151 (scalblnf): Likewise.
23152 (scalblnl): Likewise.
23153 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23154 (vwarnx): Likewise.
23155 (verr): Likewise.
23156 (verrx): Likewise.
23157 * manual/filesys.texi (telldir): Use braces around return type.
23158 * manual/llio.texi (mmap): Add space after comma.
23159 (mmap64): Likewise.
23160 * manual/math.texi (jn): Use @var{} on parameter names.
23161 (jnf): Likewise.
23162 (jnl): Likewise.
23163 (yn): Likewise.
23164 (ynf): Likewise.
23165 (ynl): Likewise.
23166 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23167 line.
23168 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23169 "...".
23170 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23171 (sched_get_priority_max): Likewise.
23172 * manual/signal.texi (sigvec): Add space after comma.
23173 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23174 names.
23175 (if_indextoname): Likewise.
23176 (if_freenameindex): Likewise.
23177 (sendto): Use ',' instead of '.' in prototype.
23178 * manual/startup.texi (syscall): Use @dots{} instead of literal
23179 "...".
23180 * manual/stdio.texi (__fpending): Separate initial words of
23181 paragraph from @deftypefun line.
23182 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23183 "...".
23184 (vsyslog): Use @var{} on parameter names.
23185 * manual/terminal.texi (stty): Use @var{} on parameter names.
23186 * manual/users.texi (getutmp): Use @var{} on parameter names.
23187 (getutmpx): Likewise.
23188
5b23062f
JM
231892012-02-17 Joseph Myers <joseph@codesourcery.com>
23190
23191 [BZ #6884]
23192 * manual/stdio.texi (fopen): Fix typos in description of
23193 ",ccs=STRING".
23194
8dee4833
AJ
231952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23196
23197 [BZ #4026]
23198 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23199 get clock_id definition.
23200
9078ce93
TS
232012012-02-17 Thomas Schwinge <thomas@schwinge.name>
23202
23203 [BZ #4822]
23204 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23205 (madvise): Cast every argument to void on its own.
23206
3835c55f
JM
232072012-02-17 Joseph Myers <joseph@codesourcery.com>
23208
23209 [BZ #9902]
23210 * manual/startup.texi (Exit Status): Fix typo.
23211
35c47e37
JM
232122012-02-17 Joseph Myers <joseph@codesourcery.com>
23213
23214 [BZ #10140]
23215 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23216 * manual/examples/argp-ex2.c: Likewise.
23217 * manual/examples/argp-ex3.c: Likewise.
23218
e3b69ca7
RH
232192012-02-16 Richard Henderson <rth@redhat.com>
23220
23221 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23222 * sysdeps/s390/s390-32/initfini.c: Remove.
23223 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23224 * sysdeps/s390/s390-64/initfini.c: Remove.
23225
df83af67
KK
232262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23227
23228 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23229 compiler output for sysdeps/generic/initfini.c.
23230 * sysdeps/sh/elf/initfini.c: Remove file.
23231
f63f3380
DM
232322012-02-16 David S. Miller <davem@davemloft.net>
23233
fb59b3a4
DM
23234 [BZ #11494]
23235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23236
f63f3380
DM
23237 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23238 * sysdeps/sparc/crti.S: New file.
23239 * sysdeps/sparc/crtn.S: New file.
23240 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23241 * sysdeps/sparc/sparc64/Makefile: Likewise.
23242
df6a4a4a
MF
232432012-02-15 Mike Frysinger <vapier@gentoo.org>
23244
6dd8f3dc 23245 [BZ #3335]
df6a4a4a
MF
23246 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23247
1cac7236
RM
232482012-02-15 Roland McGrath <roland@hack.frob.com>
23249
d2c736f8
RM
23250 [BZ #4822]
23251 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23252
1cac7236
RM
23253 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23254 (write, read, close): Likewise.
23255 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23256
8e475601
JM
232572012-02-15 Joseph Myers <joseph@codesourcery.com>
23258
23259 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23260 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23261 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23262 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23263 <bits/signalfd.h>.
23264 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23266 bits/signalfd.h.
23267
ed656b40
MP
232682012-02-14 Marek Polacek <polacek@redhat.com>
23269
23270 * sysdeps/x86_64/crti.S: New file.
23271 * sysdeps/x86_64/crtn.S: New file.
23272 * sysdeps/x86_64/elf/initfini.c: Remove file.
23273
2a979d3a
JM
232742012-02-13 Joseph Myers <joseph@codesourcery.com>
23275
23276 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23277 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23278 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23279 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23280 <bits/inotify.h>.
23281 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23283 bits/inotify.h.
23284
2a418ac3
JM
232852012-02-13 Joseph Myers <joseph@codesourcery.com>
23286
23287 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23288 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23289 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23290 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23291 <bits/eventfd.h>.
23292 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23294 bits/eventfd.h.
23295
fb779be7
TS
232962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23297
e19e83c5
RM
23298 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23299 __feraiseexcept instead of feraiseexcept.
7c35ffed 23300
fb779be7
TS
23301 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23302 nanosleep invocations.
23303 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23304 strings, and add error checking for a nanosleep invocations.
23305
59ba27a6
PE
233062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23307
23308 Replace FSF snail mail address with URLs, as per GNU coding standards.
23309 Most of the snail mail addresses were wrong anyway, and omitting
23310 them makes the source code easier to maintain. Almost all of the
23311 changes are to license notices and to locale LC_IDENTIFICATION
23312 addresses, except for this one:
23313 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23314 not its snail mail address.
23315
57b957eb
RH
233162012-02-09 Richard Henderson <rth@twiddle.net>
23317
af850b1c
RH
23318 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23319 of kernel-features.h.
23320
57b957eb
RH
23321 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23322
6b73181a
MP
233232012-02-08 Marek Polacek <polacek@redhat.com>
23324
23325 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23326 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23327 * sysdeps/gnu/_G_config.h: Likewise.
23328 * sysdeps/generic/_G_config.h: Likewise.
23329
26ecc33a
AS
233302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23331
6c6dbc63
AS
23332 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23333 tests.
23334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23335
e216c012
AS
23336 * sysdeps/powerpc/powerpc32/crti.S: New file.
23337 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23338 * sysdeps/powerpc/powerpc64/crti.S: New file.
23339 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23340
26ecc33a
AS
23341 * Makeconfig (have-initfini): Don't set.
23342 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23343 * configure.in (nopic_initfini): Don't substitute.
23344 * config.h.in (HAVE_INITFINI): Don't #undef.
23345 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23346 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23347
3add8e13
JM
233482012-02-08 Joseph Myers <joseph@codesourcery.com>
23349
23350 Support crti.S and crtn.S provided directly by architectures.
23351 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23352 [crti.S in sysdirs] (omit-deps): Likewise.
23353 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23354 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23355 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23356 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23357 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23358 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23359 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23360 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23361 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23362 compiler output for sysdeps/generic/initfini.c.
23363 * sysdeps/i386/elf/Makefile: Remove file.
23364 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23365
a22f12b4
MP
233662012-02-07 Marek Polacek <polacek@redhat.com>
23367
23368 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23369 * sysdeps/gnu/_G_config.h: Likewise.
23370 * sysdeps/mach/hurd/_G_config.h: Likewise.
23371
148cf100
MP
233722012-02-07 Marek Polacek <polacek@redhat.com>
23373
23374 * math/Makefile (tests): Add tst-CMPLX2.
23375 * math/tst-CMPLX2.c: New file.
23376
cfdc0dd7
AS
233772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23378
84ba42c4
AS
23379 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23380
cfdc0dd7
AS
23381 * math/libm-test.inc (jn_test): Add missing L suffix.
23382
622c86f4
MP
233832012-02-06 Marek Polacek <polacek@redhat.com>
23384
23385 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23386 * sysdeps/i386/fpu/e_powf.S: Likewise.
23387 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23388 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23389 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23390 * sysdeps/i386/fpu/e_pow.S: Likewise.
23391 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23392 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23393 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23394 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23395 * sysdeps/i386/fpu/e_log2.S: Likewise.
23396 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23397 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23398 * sysdeps/i386/fpu/e_powl.S: Likewise.
23399 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23401 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23402 * sysdeps/i386/fpu/e_logl.S: Likewise.
23403 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23404 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23405 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23406 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23409 * sysdeps/i386/fpu/e_log.S: Likewise.
23410 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23411 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23412 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23413 * sysdeps/i386/fpu/e_logf.S: Likewise.
23414 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23416 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23417 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23418 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23419 * sysdeps/i386/fpu/e_log10.S: Likewise.
23420 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23421 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23422 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23423 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23425 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23426 * sysdeps/i386/asm-syntax.h: Likewise.
23427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23430 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23431 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23433 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23434 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23436 * sysdeps/powerpc/sysdep.h: Likewise.
23437 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23438 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23439
d4a54ac6
JM
234402012-02-06 Joseph Myers <joseph@codesourcery.com>
23441
23442 [BZ #411]
23443 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23444
314054ea
JM
234452012-02-06 Joseph Myers <joseph@codesourcery.com>
23446
23447 * sysdeps/i386/sysdep.h: Include <features.h>.
23448 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23449 version.
23450
d8e0ca50
JM
234512012-02-05 Joseph Myers <joseph@codesourcery.com>
23452
23453 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23454 Define.
23455 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23456 LOAD_PIC_REG_STR.
23457
b1da7dd9
JM
234582012-02-03 Joseph Myers <joseph@codesourcery.com>
23459
23460 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23461 (SETUP_PIC_REG): Use GET_PC_THUNK.
23462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23463 macro.
23464
9a1d9254
JM
234652012-02-03 Joseph Myers <joseph@codesourcery.com>
23466
23467 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23468 for non-PIC compilation.
23469 (SETUP_PIC_REG): Add .p2align directive.
23470 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23471 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23485 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23487 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23492 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23493 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23494 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23497 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23498 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23499 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23500 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23502 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23503 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23504 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23505 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23506 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23507 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23508 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23509 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23510 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23511
65dc3b75
JM
235122012-02-03 Joseph Myers <joseph@codesourcery.com>
23513
23514 * math/tst-CMPLX.c: Include <stdio.h>.
23515
d55bf177
JM
235162012-01-31 Joseph Myers <joseph@codesourcery.com>
23517
23518 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23519 float.
23520 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23521 * sysdeps/sparc/bits/mathdef.h: Likewise.
23522
69db4f8f
MP
235232012-01-31 Marek Polacek <polacek@redhat.com>
23524
23525 * libio/libio.h: Don't define _PARAMS.
23526 * locale/programs/config.h: Don't define PARAMS.
23527 * stdlib/strtol_l.c: Likewise.
23528 (__strtol_l): Remove PARAMS from the prototype.
23529
41b81892
UD
235302012-01-31 Ulrich Drepper <drepper@gmail.com>
23531
3b49edc0
UD
23532 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23533 names. Just use the correct names. Remove unnecessary wrapper
23534 functions.
23535 * malloc/arena.c: Likewise.
23536 * malloc/hooks.c: Likewise.
23537
41b81892
UD
23538 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23539 ARENA_TEST says not to. Simplify test for creation of a new arena.
23540 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23541
27a25b6e
UD
235422012-01-30 Ulrich Drepper <drepper@gmail.com>
23543
23544 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23545 into tail calls.
23546 (update_get_addr): New function.
23547 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23548 GET_ADDR_MODULE parameter.
23549
c8a89e7d
JM
235502012-01-30 Joseph Myers <joseph@codesourcery.com>
23551
23552 * crypt/cert.c: Remove __STDC__ conditionals.
23553 * crypt/crypt-entry.c: Likewise.
23554 * crypt/crypt_util.c: Likewise.
23555 * libio/filedoalloc.c: Likewise.
23556 * libio/fileops.c: Likewise.
23557 * libio/genops.c: Likewise.
23558 * libio/iofclose.c: Likewise.
23559 * libio/iofdopen.c: Likewise.
23560 * libio/iofopen.c: Likewise.
23561 * libio/iofopen64.c: Likewise.
23562 * libio/iogetdelim.c: Likewise.
23563 * libio/iopopen.c: Likewise.
23564 * libio/obprintf.c: Likewise.
23565 * libio/oldfileops.c: Likewise.
23566 * libio/oldiofclose.c: Likewise.
23567 * libio/oldiofdopen.c: Likewise.
23568 * libio/oldiofopen.c: Likewise.
23569 * libio/oldiopopen.c: Likewise.
23570 * libio/wfiledoalloc.c: Likewise.
23571 * libio/wgenops.c: Likewise.
23572 * locale/programs/xmalloc.c: Likewise.
23573 * misc/syslog.c: Likewise.
23574 * stdio-common/xbug.c: Likewise.
23575 * string/memchr.c: Likewise.
23576 * string/memcmp.c: Likewise.
23577 * string/memrchr.c: Likewise.
23578 * string/rawmemchr.c: Likewise.
23579 * sysdeps/posix/getcwd.c: Likewise.
23580 * time/strftime_l.c: Likewise.
23581
3b100462
JM
235822012-01-30 Joseph Myers <joseph@codesourcery.com>
23583
23584 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23585 * config.make.in (config-cflags-sse2avx): Define.
23586 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23587 Fix typo.
23588
607998af
CM
235892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23590
23591 * scripts/config.guess: Update from upstream config git repository.
23592 * scripts/config.sub: Likewise.
23593
3601428f
CM
235942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23595
3ac8b282
CM
23596 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23597 (EM_NUM): Update.
23598 (R_TILEPRO_*, R_TILEGX_*): New macros.
23599
e034841e
CM
23600 * scripts/firstversions.awk: Fix bug in version range handling.
23601
540d7568
CM
23602 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23603
3601428f
CM
23604 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23605
463de862
CM
23606 * include/sys/epoll.h: New file.
23607 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23608 libc_hidden_def.
23609
73139a76
UD
236102012-01-28 Ulrich Drepper <drepper@gmail.com>
23611
96bc5b45
UD
23612 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23613 Avoid unnecessary __WORDSIZE == 64 test.
23614 (fmaxf): Use VEX format if possible.
23615 (fmax): Likewise.
23616 (fminf): Likewise.
23617 (fmin): Likewise.
23618
56f6f6a2
UD
23619 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23620 * math/math_private.h: Remove libc_fegetround* and
23621 libc_fesetround*.
23622 * sysdeps/i386/configure.in: Check for -msse2avx.
23623 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23624 also if SSE2AVX is defined.
23625 Remove libc_fegetround* and libc_fesetround*.
23626 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23627 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23629 of HAS_YMM_USABLE.
23630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23635
73139a76
UD
23636 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23637
d73f93a4
AZ
236382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23639
23640 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23641 size is not set.
23642 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23643
6ee65ed6
UD
236442012-01-27 Ulrich Drepper <drepper@gmail.com>
23645
23646 [BZ #13618]
23647 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23648 relocation.
23649 * Makeconfig (libm): Define.
23650 * elf/Makefile: Add rules to build and run tst-relsort1.
23651 * elf/tst-relsort1.c: New file.
23652 * elf/tst-relsort1mod1.c: New file.
23653 * elf/tst-relsort1mod2.c: New file.
23654
8db21882
JM
236552012-01-27 Joseph Myers <joseph@codesourcery.com>
23656
23657 * math/s_ldexp.c: Remove __STDC__ conditionals.
23658 * math/s_ldexpf.c: Likewise.
23659 * math/s_ldexpl.c: Likewise.
23660 * math/s_nextafter.c: Likewise.
23661 * math/s_nexttowardf.c: Likewise.
23662 * math/s_significand.c: Likewise.
23663 * math/s_significandf.c: Likewise.
23664 * math/s_significandl.c: Likewise.
23665 * math/w_jnl.c: Likewise.
23666 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23667 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23668 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23669 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23670 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23672 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23679 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23680 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23681 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23685 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23686 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23687 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23692 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23693 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23694 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23695 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23696 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23697 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23698 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23699 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23700 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23701 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23703 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23704 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23705 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23706 * sysdeps/ieee754/k_standard.c: Likewise.
23707 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23709 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23710 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23711 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23725 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23726 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23729 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23732 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23739 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23742 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23743 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23745 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23746 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23768 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23771 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23773 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23777 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23781 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23782 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23786 * sysdeps/ieee754/s_matherr.c: Likewise.
23787 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23788 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23791
965a54a4
JM
237922012-01-26 Joseph Myers <joseph@codesourcery.com>
23793
23794 * crypt/md5.h: Remove __STDC__ conditionals.
23795 * libio/libioP.h: Likewise.
23796 * locale/programs/config.h: Likewise.
23797 * sysdeps/generic/sysdep.h: Likewise.
23798 * sysdeps/i386/asm-syntax.h: Likewise.
23799 * sysdeps/s390/asm-syntax.h: Likewise.
23800 * sysdeps/unix/sysdep.h: Likewise.
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23803
7071ad79
JM
238042012-01-26 Joseph Myers <joseph@codesourcery.com>
23805
23806 * libio/libio.h: Remove __STDC__ conditionals.
23807 * malloc/obstack.h: Likewise.
23808 * math/complex.h: Likewise.
23809 * math/math.h: Likewise.
23810 * sysdeps/generic/_G_config.h: Likewise.
23811 * sysdeps/gnu/_G_config.h: Likewise.
23812 * sysdeps/mach/hurd/_G_config.h: Likewise.
23813 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23814 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23815 * sysdeps/sparc/bits/mathdef.h: Likewise.
23816
afc5ed09
UD
238172012-01-26 Ulrich Drepper <drepper@gmail.com>
23818
23819 [BZ #13583]
23820 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23821 Clean up HAS_* macros.
afc5ed09 23822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23823 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23824 possible.
23825 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23826 HAS_AVX.
23827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23828 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23832
bdb6de1d
JM
238332012-01-25 Joseph Myers <joseph@codesourcery.com>
23834
23835 * elf/tst-unique3.cc (gets): Remove declaration.
23836 * elf/tst-unique3lib.cc (gets): Likewise.
23837 * elf/tst-unique3lib2.cc (gets): Likewise.
23838 * elf/tst-unique4.cc (gets): Likewise.
23839
b15549e6
UD
238402012-01-24 Ulrich Drepper <drepper@gmail.com>
23841
23842 * include/stdio.h: Add C++ protection. Add gets declarations and
23843 definitions.
23844 * debug/tst-chk1.c: Don't declare gets here.
23845 * stdio-common/tst-gets.c: Likewise.
23846
a037381f
JM
238472012-01-24 Joseph Myers <joseph@codesourcery.com>
23848
23849 * posix/glob: Remove directory.
23850
f1d4aa75
JM
238512012-01-24 Joseph Myers <joseph@codesourcery.com>
23852
23853 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23854
81c0c964
PT
238552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23856
23857 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23858 of the non-standard EPFNOSUPPORT.
23859
0ea698ae
ST
238602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23861
23862 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23863 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23864 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23865
d220b117
UD
238662012-01-21 Ulrich Drepper <drepper@gmail.com>
23867
23868 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23869
3e1aa84e
UD
238702012-01-20 Ulrich Drepper <drepper@gmail.com>
23871
23872 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23873 transient errors.
23874 * nscd/grpcache.c (cache_addgr): Likewise.
23875 * nscd/hstcache.c (cache_addhst): Likewise.
23876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23877 * nscd/pwdcache.c (cache_addpw): Likewise.
23878 * nscd/servicescache.c (cache_addserv): Likewise.
23879
400aa020
UD
238802012-01-16 Ulrich Drepper <drepper@gmail.com>
23881
d77e7869
UD
23882 * malloc/malloc.c: Various cleanups.
23883 * malloc/hooks.c: Likewise.
23884
400aa020
UD
23885 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23886 * stdlib/bug-fmtmsg1.c: New file.
23887
23888 * stdlib/fmtmsg.c (init): Add missing unlock.
23889 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23890
e0a309cf
MP
238912012-01-12 Marek Polacek <polacek@redhat.com>
23892
23893 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23894 and _GNU_SOURCE.
23895
929d11c7
WS
238962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23897
23898 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23899 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23900 macro to ensure uniqueness of label name.
23901 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23902 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23903
41d0e869
UD
239042012-01-11 Ulrich Drepper <drepper@gmail.com>
23905
0cc5ed3b
UD
23906 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23907
41d0e869
UD
23908 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23909 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23912
a47a831a
UD
239132012-01-10 Ulrich Drepper <drepper@gmail.com>
23914
daa891c0
UD
23915 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23916
23917 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23918 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23919 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23920
e58ef0f2
UD
23921 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23922
a47a831a 23923 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23924 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23925 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23926 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23927
23928 * math/bits/math-finite.h: Add ldexp support.
23929
a0bfc9c7
MP
239302012-01-10 Marek Polacek <polacek@redhat.com>
23931
23932 * locale/programs/localedef.h (show_archive_content): Add noreturn
23933 attribute.
23934
d6e97a1d
UD
239352012-01-09 Ulrich Drepper <drepper@gmail.com>
23936
23937 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23938
d5835c26
UD
239392012-01-08 Ulrich Drepper <drepper@gmail.com>
23940
e5f484c6
UD
23941 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23942
d5835c26
UD
23943 * io/Makefile (headers): Add bits/poll2.h.
23944
d1f741e9
WS
239452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23946
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23948 typo #include statement.
23949
ec09c1c4
UD
239502012-01-08 Ulrich Drepper <drepper@gmail.com>
23951
23952 * include/sys/cdefs.h: Define __attribute_alloc_size.
23953 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23954 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23955 * elf/pldd.c: Likewise.
23956 * iconv/iconv_charmap.c: Likewise.
23957 * iconv/iconvconfig.c: Likewise.
23958 * iconv/strtab.c: Likewise.
23959 * locale/programs/locale.c: Likewise.
23960 * locale/programs/localedef.h: Likewise.
23961 * locale/programs/simple-hash.c: Likewise.
23962 * nscd/nscd.h: Likewise.
23963 * nss/makedb.c: Likewise.
23964 * sysdeps/generic/ldconfig.h: Likewise.
23965 * locale/programs/localedef.c: Remove xmalloc prototype.
23966 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23967
20b38e03
PP
239682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23969
23970 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23971 appropriate.
23972
a0da5fe1
UD
239732012-01-08 Ulrich Drepper <drepper@gmail.com>
23974
1d5a644a 23975 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23976 * math/tst-CMPLX.c: New file.
1d5a644a 23977
8784a6db
UD
23978 * math/complex.h (CMPLXL): Fix typo.
23979
d9a216c0
UD
23980 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23981 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23982 GLIBC_2.16.
23983 * debug/tst-chk1.c: Add poll and ppoll tests.
23984 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23985 * include/sys/poll.h: Add hidden proto for ppoll.
23986 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23987 * sysdeps/mach/hurd/ppoll.c: Likewise.
23988 * io/ppoll.c: Likewise.
23989 * debug/poll_chk.c: New file.
23990 * debug/ppoll_chk.c: New file.
23991 * include/bits/poll2.h: New file.
23992 * io/bits/poll2.h: New file.
23993
ac097f5c
UD
23994 [BZ #1350]
23995 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23996
2119dcfa
UD
23997 * configure.in: static is always set to yes. Remove.
23998 * config.make.in: Don't set build-static.
23999 * Makeconfig: Remove use of build-static.
24000 * dlfcn/Makefile: Likewise.
24001 * elf/Makefile: Likewise.
24002 * math/Makefile: Likewise.
24003 * misc/Makefile: Likewise.
24004 * nptl/Makefile: Likewise.
24005 * sysdeps/mach/hurd/Makefile: Likewise.
24006
121766a9
UD
24007 * configure.in: PWD_P is not used anymore.
24008 * config.make.in: Remove PWD_P entry.
24009
51a1d39c 24010 * configure.in: Remove last remnants of RANLIB.
8720d066 24011 No need to check for signed size_t anymore.
215f4bdc
UD
24012 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24013 and IA-64.
3857022a 24014 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24015 * aclocal.m4: Likewise.
24016
d3ed7225
UD
24017 * wcsmbs/mbrtoc16.c: Implement using towc function.
24018 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24019 * wcsmbs/wcsmbsload.c: Likewise.
24020 * iconv/gconv_simple.c: Likewise.
24021 * iconv/gconv_int.h: Likewise.
24022 * iconv/gconv_builtin.h: Likewise.
24023 * iconv/iconv_prog.c: Remove CHAR16 handling.
24024
24025 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24026
24027 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24028
a0da5fe1
UD
24029 * configure.in: Remove --with-elf and --enable-bounded options.
24030 Dont set base_machine for ia64. More non-ELF conditions removed.
24031 Remove testing and setting of leading underscore information.
24032 * config.make.in (build-bounded): Set to no.
24033 * config.h.in: Remove NO_UNDERSCORES entry.
24034 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24035 them.
24036 * csu/start.c: Remove !NO_UNDERSCORE code.
24037 * locale/localeinfo.h: Likewise.
24038 * sysdeps/generic/machine-gmon.h: Likewise.
24039 * sysdeps/generic/sysdep.h: Likewise.
24040 * sysdeps/i386/sysdep.h: Likewise.
24041 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24042 * sysdeps/mach/sysdep.h: Likewise.
24043 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24044 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24045 * sysdeps/sh/sysdep.h: Likewise.
24046 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24047 * sysdeps/unix/i386/sysdep.S: Likewise.
24048 * sysdeps/unix/sparc/start.c: Likewise.
24049 * sysdeps/unix/sparc/sysdep.S: Likewise.
24050 * sysdeps/unix/sparc/sysdep.h: Likewise.
24051 * sysdeps/unix/start.c: Likewise.
24052 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24053 * sysdeps/x86_64/sysdep.h: Likewise.
24054
df78418a
UD
240552012-01-07 Ulrich Drepper <drepper@gmail.com>
24056
a784e502
UD
24057 [BZ #13553]
24058 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24059 for non-gcc.
24060 * argp/argp-fmtstream.h: Use const instead __const.
24061 * argp/argp.h: Likewise.
24062 * assert/assert.h: Likewise.
24063 * bits/fenv.h: Likewise.
24064 * bits/sched.h: Likewise.
24065 * bits/sigset.h: Likewise.
24066 * bits/sigthread.h: Likewise.
24067 * catgets/nl_types.h: Likewise.
24068 * conform/data/pthread.h-data: Likewise.
24069 * crypt/crypt-private.h: Likewise.
24070 * crypt/crypt.h: Likewise.
24071 * crypt/crypt_util.c: Likewise.
24072 * ctype/ctype.h: Likewise.
24073 * debug/execinfo.h: Likewise.
24074 * debug/mbsnrtowcs_chk.c: Likewise.
24075 * debug/mbsrtowcs_chk.c: Likewise.
24076 * debug/wcsnrtombs_chk.c: Likewise.
24077 * debug/wcsrtombs_chk.c: Likewise.
24078 * debug/wcstombs_chk.c: Likewise.
24079 * dirent/dirent.h: Likewise.
24080 * dlfcn/dlfcn.h: Likewise.
24081 * elf/neededtest4.c: Likewise.
24082 * grp/grp.h: Likewise.
24083 * gshadow/gshadow.h: Likewise.
24084 * iconv/gconv.h: Likewise.
24085 * iconv/gconv_int.h: Likewise.
24086 * iconv/gconv_simple.c: Likewise.
24087 * iconv/iconv.h: Likewise.
24088 * iconv/loop.c: Likewise.
24089 * iconv/skeleton.c: Likewise.
24090 * include/aio.h: Likewise.
24091 * include/aliases.h: Likewise.
24092 * include/argz.h: Likewise.
24093 * include/arpa/inet.h: Likewise.
24094 * include/assert.h: Likewise.
24095 * include/dirent.h: Likewise.
24096 * include/dlfcn.h: Likewise.
24097 * include/execinfo.h: Likewise.
24098 * include/fcntl.h: Likewise.
24099 * include/fenv.h: Likewise.
24100 * include/glob.h: Likewise.
24101 * include/grp.h: Likewise.
24102 * include/libintl.h: Likewise.
24103 * include/mntent.h: Likewise.
24104 * include/netdb.h: Likewise.
24105 * include/pwd.h: Likewise.
24106 * include/rpc/netdb.h: Likewise.
24107 * include/sched.h: Likewise.
24108 * include/search.h: Likewise.
24109 * include/shadow.h: Likewise.
24110 * include/signal.h: Likewise.
24111 * include/stdio.h: Likewise.
24112 * include/stdlib.h: Likewise.
24113 * include/string.h: Likewise.
24114 * include/sys/socket.h: Likewise.
24115 * include/sys/stat.h: Likewise.
24116 * include/sys/statfs.h: Likewise.
24117 * include/sys/statvfs.h: Likewise.
24118 * include/sys/syslog.h: Likewise.
24119 * include/sys/time.h: Likewise.
24120 * include/sys/uio.h: Likewise.
24121 * include/time.h: Likewise.
24122 * include/unistd.h: Likewise.
24123 * include/utmp.h: Likewise.
24124 * include/wchar.h: Likewise.
24125 * include/wctype.h: Likewise.
24126 * inet/aliases.h: Likewise.
24127 * inet/arpa/inet.h: Likewise.
24128 * inet/netinet/ether.h: Likewise.
24129 * inet/netinet/in.h: Likewise.
24130 * intl/libintl.h: Likewise.
24131 * io/bits/fcntl2.h: Likewise.
24132 * io/fcntl.h: Likewise.
24133 * io/ftw.h: Likewise.
24134 * io/sys/poll.h: Likewise.
24135 * io/sys/stat.h: Likewise.
24136 * io/sys/statfs.h: Likewise.
24137 * io/sys/statvfs.h: Likewise.
24138 * io/utime.h: Likewise.
24139 * libio/bits/stdio.h: Likewise.
24140 * libio/bits/stdio2.h: Likewise.
24141 * libio/libio.h: Likewise.
24142 * libio/libioP.h: Likewise.
24143 * libio/stdio.h: Likewise.
24144 * locale/lc-ctype.c: Likewise.
24145 * locale/locale.h: Likewise.
24146 * login/utmp.h: Likewise.
24147 * malloc/arena.c: Likewise.
24148 * malloc/malloc.c: Likewise.
24149 * malloc/malloc.h: Likewise.
24150 * malloc/mcheck.c: Likewise.
24151 * malloc/mtrace.c: Likewise.
24152 * math/bits/mathcalls.h: Likewise.
24153 * math/fenv.h: Likewise.
24154 * math/math_private.h: Likewise.
24155 * misc/bits/error.h: Likewise.
24156 * misc/bits/syslog.h: Likewise.
24157 * misc/err.h: Likewise.
24158 * misc/error.h: Likewise.
24159 * misc/fstab.h: Likewise.
24160 * misc/mntent.h: Likewise.
24161 * misc/regexp.h: Likewise.
24162 * misc/search.h: Likewise.
24163 * misc/sgtty.h: Likewise.
24164 * misc/sys/mman.h: Likewise.
24165 * misc/sys/syslog.h: Likewise.
24166 * misc/sys/uio.h: Likewise.
24167 * misc/sys/xattr.h: Likewise.
24168 * misc/ttyent.h: Likewise.
24169 * nis/rpcsvc/ypclnt.h: Likewise.
24170 * nss/nss.h: Likewise.
24171 * posix/bits/unistd.h: Likewise.
24172 * posix/fnmatch.h: Likewise.
24173 * posix/glob.h: Likewise.
24174 * posix/sched.h: Likewise.
24175 * posix/spawn.h: Likewise.
24176 * posix/sys/wait.h: Likewise.
24177 * posix/unistd.h: Likewise.
24178 * posix/wordexp.h: Likewise.
24179 * pwd/pwd.h: Likewise.
24180 * resolv/netdb.h: Likewise.
24181 * resource/sys/resource.h: Likewise.
24182 * rt/aio.h: Likewise.
24183 * rt/bits/mqueue2.h: Likewise.
24184 * rt/mqueue.h: Likewise.
24185 * shadow/shadow.h: Likewise.
24186 * signal/signal.h: Likewise.
24187 * socket/send.c: Likewise.
24188 * socket/sendto.c: Likewise.
24189 * socket/sys/socket.h: Likewise.
24190 * stdio-common/printf.h: Likewise.
24191 * stdlib/bits/stdlib.h: Likewise.
24192 * stdlib/fmtmsg.h: Likewise.
24193 * stdlib/monetary.h: Likewise.
24194 * stdlib/stdlib.h: Likewise.
24195 * stdlib/ucontext.h: Likewise.
24196 * streams/stropts.h: Likewise.
24197 * string/argz.h: Likewise.
24198 * string/bits/string2.h: Likewise.
24199 * string/string.h: Likewise.
24200 * string/strings.h: Likewise.
24201 * sunrpc/rpc/auth.h: Likewise.
24202 * sunrpc/rpc/auth_des.h: Likewise.
24203 * sunrpc/rpc/clnt.h: Likewise.
24204 * sunrpc/rpc/netdb.h: Likewise.
24205 * sunrpc/rpc/pmap_clnt.h: Likewise.
24206 * sunrpc/rpc/xdr.h: Likewise.
24207 * sysdeps/generic/inttypes.h: Likewise.
24208 * sysdeps/generic/net/if.h: Likewise.
24209 * sysdeps/generic/sys/swap.h: Likewise.
24210 * sysdeps/gnu/net/if.h: Likewise.
24211 * sysdeps/gnu/utmpx.h: Likewise.
24212 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24213 * sysdeps/i386/i486/bits/string.h: Likewise.
24214 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24215 * sysdeps/s390/bits/string.h: Likewise.
24216 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24217 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24218 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24219 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24220 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24221 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24222 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24223 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24224 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24225 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24226 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24227 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24228 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24229 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24230 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24231 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24237 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24238 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24239 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24240 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24241 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24242 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24244 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24245 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24246 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24247 * sysvipc/sys/ipc.h: Likewise.
24248 * sysvipc/sys/msg.h: Likewise.
24249 * sysvipc/sys/sem.h: Likewise.
24250 * sysvipc/sys/shm.h: Likewise.
24251 * termios/termios.h: Likewise.
24252 * time/sys/time.h: Likewise.
24253 * time/time.h: Likewise.
24254 * wcsmbs/bits/wchar2.h: Likewise.
24255 * wcsmbs/uchar.h: Likewise.
24256 * wcsmbs/wchar.h: Likewise.
24257 * wctype/wctype.h: Likewise.
24258
0269750c
UD
24259 [BZ #13551]
24260 * Makeconfig: Remove all but ELF support including AIX support.
24261 * Makerules: Likewise.
24262 * config.h.in: Likewise.
24263 * config.make.in: Likewise.
24264 * configure: Likewise.
24265 * configure.in: Likewise.
24266 * csu/Makefile: Likewise.
24267 * csu/version.c: Likewise.
24268 * debug/Makefile: Likewise.
24269 * dlfcn/Makefile: Likewise.
24270 * elf/Makefile: Likewise.
24271 * extra-lib.mk: Likewise.
24272 * iconv/Makefile: Likewise.
24273 * include/libc-symbols.h: Likewise.
24274 * include/shlib-compat.h: Likewise.
24275 * resolv/Makefile: Likewise.
24276 * resolv/res_libc.c: Likewise.
24277 * rt/Makefile: Likewise.
24278 * sysdeps/i386/asm-syntax.h: Likewise.
24279 * sysdeps/i386/sysdep.h: Likewise.
24280 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24281 * sysdeps/mach/sysdep.h: Likewise.
24282 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24283 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24284 * sysdeps/s390/asm-syntax.h: Likewise.
24285 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24286 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24287 * sysdeps/sh/sysdep.h: Likewise.
24288 * sysdeps/unix/sparc/sysdep.h: Likewise.
24289 * sysdeps/wordsize-32/divdi3.c: Likewise.
24290 * sysdeps/x86_64/sysdep.h: Likewise.
24291
00bbd29b
UD
24292 * argp/Versions: Remove _argp_unlock_xxx.
24293
24294 [BZ #13559]
24295 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24296 * abilist/libBrokenLocale.abilist: Likewise.
24297 * abilist/libanl.abilist: Likewise.
24298 * abilist/libc.abilist: Likewise.
24299 * abilist/libcrypt.abilist: Likewise.
24300 * abilist/libdl.abilist: Likewise.
24301 * abilist/libm.abilist: Likewise.
24302 * abilist/libnsl.abilist: Likewise.
24303 * abilist/libpthread.abilist: Likewise.
24304 * abilist/libresolv.abilist: Likewise.
24305 * abilist/librt.abilist: Likewise.
24306 * abilist/libthread_db.abilist: Likewise.
24307 * abilist/libutil.abilist: Likewise.
24308 * abilist/libnss_db.abilist: New file.
24309
24310 * scripts/abilist.awk: Add support for indirect functions.
24311
a2693a0e
UD
24312 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24313
3f05895f
UD
24314 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24315
ecb6fb48
UD
24316 * shlib-versions: Remove entries for ports architectures.
24317
664f8cb9
UD
24318 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24319 files in ports.
24320 * elf/stackguard-macros.h: Remove support for IA-64.
24321 * elf/tst-auditmod1.c: Likewise.
24322 * sysdeps/generic/ldsodefs.h: Likewise.
24323
7ae81d88
UD
24324 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24325 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24326 configure files.
24327
bdeba135
UD
24328 [BZ #13552]
24329 * configure.in: Remove --enable-omitfp support.
24330 * FAQ.in: Adjust.
24331 * config.make.in: Likewise.
24332 * Makeconfig: Likewise.
24333 * manual/install.texi: Likewise.
24334
d75a0a62
UD
24335 In case anyone cares, the IA-64 architecture could move to ports.
24336 * sysdeps/ia64/*: Removed.
24337 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24338 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24339
dcc9756b
UD
24340 [BZ #13555]
24341 * configure.in: Remove entries for unsupported architectures.
24342
d3761ebc 24343 [BZ #13533]
9954432e
UD
24344 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24345 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24346 routines.
24347 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24348 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24349 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24350 fall back to using wcrtomb.
24351 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24352 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24353 renaming.
24354 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24355 * wcsmbs/tst-c16c32-1.c: New file.
24356
24357 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24358 local variable.
24359
c3a87236
UD
24360 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24361
28926a1b
UD
24362 * elf/tst-unique3.cc: Add explicit declaration of gets.
24363 * elf/tst-unique3lib.cc: Likewise.
24364 * elf/tst-unique3lib2.cc: Likewise.
24365 * elf/tst-unique4.cc: Likewise.
24366
df78418a
UD
24367 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24368
8ecd6b2a
JM
243692012-01-06 Joseph Myers <joseph@codesourcery.com>
24370
24371 [BZ #13566]
24372 * assert/assert.h (static_assert): Don't define for C++.
24373 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24374 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24375
9f115170
UD
243762012-01-03 Ulrich Drepper <drepper@gmail.com>
24377
5e0d0300
UD
24378 * iconv/loop.c (single loop): Fix assertion in storing of
24379 remaining bytes.
24380
9f115170
UD
24381 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24382
81fb02b0
UD
243832012-01-01 Ulrich Drepper <drepper@gmail.com>
24384
24385 * posix/getconf.c: Update copyright year.
24386 * nss/getent.c: Likewise.
a316c1f6 24387 * nss/makedb.c: Likewise.
81fb02b0
UD
24388 * iconv/iconvconfig.c: Likewise.
24389 * iconv/iconv_prog.c: Likewise.
24390 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24391 * elf/pldd.c: Likewise.
24392 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24393 * catgets/gencat.c: Likewise.
24394 * csu/version.c: Likewise.
24395 * elf/ldd.bash.in: Likewise.
24396 * elf/sprof.c (print_version): Likewise.
24397 * locale/programs/locale.c: Likewise.
24398 * locale/programs/localedef.c: Likewise.
a316c1f6 24399 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24400 * nscd/nscd.c (print_version): Likewise.
24401 * debug/xtrace.sh: Likewise.
24402 * malloc/memusage.sh: Likewise.
24403 * malloc/mtrace.pl: Likewise.
24404 * debug/catchsegv.sh: Likewise.
24405
2ba92745
JJ
244062011-12-30 Jakub Jelinek <jakub@redhat.com>
24407
24408 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24409 pure attribute.
24410
dadebdae
UD
244112011-12-24 Ulrich Drepper <drepper@gmail.com>
24412
d3761ebc 24413 [BZ #13533]
db6af3eb
UD
24414 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24415 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24416 transformations.
24417 * iconv/gconv_int.h: Likewise.
24418 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24419 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24420 from libc for GLIBC_2.16.
24421 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24422 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24423 * wcsmbs/uchar.h: Really define mbstate_t.
24424 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24425 * wcsmbs/c16rtomb.c: New file.
24426 * wcsmbs/mbrtoc16.c: New file.
24427 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24428 for C/POSIX locale.
24429 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24430 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24431
dadebdae
UD
24432 * wcsmbs/wchar.h: Add missing __restrict.
24433
67371b56
UD
244342011-12-23 Ulrich Drepper <drepper@gmail.com>
24435
74033a25
UD
24436 [BZ #13532]
24437 * time/Makefile (routines): Add timespec_get.
24438 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24439 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24440 timespec for ISO C11.
24441 * time/timespec_get.c: New file.
24442 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24443 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24444
380d7e87
UD
24445 [BZ #13531]
24446 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24447 * stdlib/stdlib.h: Declare aligned_alloc.
24448 * Versions.def: Add GLIBC_2.16 for libc.
24449 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24450
4e9e7a35
UD
24451 [BZ 13527]
24452 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24453 ISO C11.
24454
380d7e87 24455 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24456 code.
24457
03a71829
UD
24458 [BZ #13528]
24459 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24460
839e283e
UD
24461 [BZ #13529]
24462 * assert/assert.h (static_assert): Define.
24463
ce5294e2 24464 * version.h: Update for 2.16 development version.
90fa7312 24465
8d44e150 24466 [BZ #13526]
d7809905
UD
24467 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24468 _ISOC11_SOURCE.
24469
c0da14cd
UD
24470 * version.h (RELEASE): Bump for 2.15 release.
24471 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24472
530a3249
MP
24473 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24474 Patch by Marek Polacek <mpolacek@redhat.com>.
24475
67371b56
UD
24476 * bits/byteswap.h: Protect long long constants with __extension__.
24477 * sysdeps/i386/bits/byteswap.h: Likewise.
24478 * sysdeps/ia64/bits/byteswap.h: Likewise.
24479 * sysdeps/s390/bits/byteswap.h: Likewise.
24480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24481
15db4de1
LD
244822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24483
24484 [BZ #13540]
bbe315ea
LD
24485 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24486 destination buffer.
15db4de1
LD
24487 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24488
2b2596b1
MP
244892011-12-23 Marek Polacek <polacek@redhat.com>
24490
24491 * elf/dl-addr.c (determine_info): Add inline keyword.
24492 * elf/tst-auditmod4b.c (check_avx): Likewise.
24493 * elf/tst-auditmod6b.c (check_avx): Likewise.
24494 * elf/tst-auditmod6c.c (check_avx): Likewise.
24495 * elf/tst-auditmod7b.c (check_avx): Likewise.
24496
70c6c246
UD
244972011-12-23 Ulrich Drepper <drepper@gmail.com>
24498
24499 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24500 !__SSE_MATH__.
24501
c044cf14
LD
245022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24503
15db4de1 24504 [BZ #13540]
c044cf14
LD
24505 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24506 processing for last bytes.
24507
6b13d9d9
BH
245082011-08-06 Bruno Haible <bruno@clisp.org>
24509
d455f537
BH
24510 [BZ #13061]
24511 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24512 U+0385, not to U+1FEE.
24513
6b13d9d9
BH
24514 [BZ #13062]
24515 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24516 entry for U+00A5 U+0301.
24517
db910efd
UD
245182011-12-22 Ulrich Drepper <drepper@gmail.com>
24519
27deeafc
UD
24520 [BZ #13166]
24521 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24522 buffer for the output is too small.
24523
aed9d171
UD
24524 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24525 optimization.
24526
db910efd
UD
24527 [BZ #13185]
24528 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24529 SSE flags if possible.
24530
2bd779ae
LD
245312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24532
e7f9dac3 24533 [BZ #13540]
2bd779ae
LD
24534 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24535 processing for last bytes.
24536
154bfc16
JM
245372011-12-22 Joseph Myers <joseph@codesourcery.com>
24538
24539 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24540 (syscall-list-default-options, syscall-list-default-condition)
24541 (syscall-list-includes): Define.
24542 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24543 list of ABIs and options and #if conditions for each ABI. Do not
24544 handle common syscalls between ABIs specially.
24545 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24546 Remove.
24547 (syscall-list-variants, syscall-list-32bit-options)
24548 (syscall-list-32bit-condition, syscall-list-64bit-options)
24549 (syscall-list-64bit-condition): Define.
24550 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24551 (syscall-list-variants, syscall-list-32bit-options)
24552 (syscall-list-32bit-condition, syscall-list-64bit-options)
24553 (syscall-list-64bit-condition): Define.
24554 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24555 Remove.
24556 (syscall-list-variants, syscall-list-32bit-options)
24557 (syscall-list-32bit-condition, syscall-list-64bit-options)
24558 (syscall-list-64bit-condition): Define.
24559 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24560 Remove.
24561 (syscall-list-variants, syscall-list-32bit-options)
24562 (syscall-list-32bit-condition, syscall-list-64bit-options)
24563 (syscall-list-64bit-condition): Define.
24564
21eaf3a5
UD
245652011-12-22 Ulrich Drepper <drepper@gmail.com>
24566
16c6f992
UD
24567 * locale/iso-639.def: Add brx entry.
24568
41043168
UD
24569 [BZ #13328]
24570 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24571 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24572
21eaf3a5
UD
24573 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24574 __feraiseexcept_renamed.
24575
e3a851a2
UD
245762011-12-21 Ulrich Drepper <drepper@gmail.com>
24577
4920765e
UD
24578 [BZ #13538]
24579 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24580 EPOLLET with unsigned values.
24581 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24582 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24583
e3a851a2
UD
24584 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24585 to large cancellation.
24586 * math/s_cacoshf.c: Likewise.
24587 * math/s_cacoshl.c: Likewise.
24588
b27e24b8
RK
245892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24590
24591 [BZ #13305]
aebefeee 24592 [BZ #12786]
b27e24b8
RK
24593 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24594 * math/s_cacoshf.c: Likewise.
24595 * math/s_cacoshl.c: Likewise.
24596
ee190f67
UD
245972011-12-21 Ulrich Drepper <drepper@gmail.com>
24598
24599 [BZ #13439]
24600 * iconv/gconv.h: Define __GCONV_SWAP.
24601 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24602 * iconvdata/utf-16.c: Likewise.
24603 * iconvdata/utf-32.c: Likewise.
24604
707f25df
AS
246052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24606
24607 [BZ #13524]
24608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24609 numerator after shifting it by one limb.
24610
d2daaa1e
RÁE
246112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24612
24613 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24614 under [__USE_EXTERN_INLINES].
24615
a4647e72
UD
246162011-12-17 Ulrich Drepper <drepper@gmail.com>
24617
24618 [BZ #13446]
24619 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24620
f0b264f1
AZ
246212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24622
24623 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24624 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24625 optimized code.
24626 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24627 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24628 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24629 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24630 for strncasecmp/strncasecmp_l compilation.
24631 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24632 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24633
8ef4f244
MP
246342011-12-08 Marek Polacek <mpolacek@redhat.com>
24635
24636 [BZ #13484]
24637 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24638 of __asm__.
24639
97ac2654
UD
246402011-12-17 Ulrich Drepper <drepper@gmail.com>
24641
24642 [BZ #13506]
24643 * time/tzfile.c (__tzfile_read): Check values from file header.
24644
91d2a845
WS
246452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24646
24647 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24648 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24649 * powerpc/powerpc32/dl-start.S: Likewise.
24650 * powerpc/powerpc32/elf/start.S: Likewise.
24651 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24652 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24653 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24654 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24655 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24656 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24657 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24658 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24659 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24660 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24661 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24662 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24663 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24664 * powerpc/powerpc32/memset.S: Likewise.
24665 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24666 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24667 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24668 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24669 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24670 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24671 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24672 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24673 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24674 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24675 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24676 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24677 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24678
a1267ba1
AZ
246792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24680
24681 * math/libm-test.inc: Added more nearbyint tests.
24682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24686
ad8ac1bd
RL
246872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24688
24689 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24690 FD_CLOEXEC.
24691
1d3e4b61
UD
246922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24693
24694 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24695 Add wcscpy-ssse3 wcscpy-c.
24696 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24697 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24698 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24699 * sysdeps/x86_64/wcschr.S: New file.
24700 * sysdeps/x86_64/wcsrchr.S: New file.
24701 * string/test-strcmp.c: Remove checking of wcscmp function for
24702 wrong alignments.
24703 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24704 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24705 wcsrchr-sse2 wcsrchr-c.
24706 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24707 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24708 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24709 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24710 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24711 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24712 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24713 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24714 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24715 * wcsmbc/wcschr.c (WCSCHR): New macro.
24716
5b330a2d
UD
247172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24718
24719 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24720 * wcsmbs/test-wcsrchr.c: New file.
24721 * string/test-strrchr.c: Add wcsrchr support.
24722 (WIDE): New macro.
24723 * wcsmbs/test-wcscpy.c: New file.
24724 * string/test-strcpy.c: Add wcscpy support.
24725 (WIDE): New macro.
26428b7c 24726
f039c043
UD
247272011-12-10 Ulrich Drepper <drepper@gmail.com>
24728
24729 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24730 the inner loop.
24731
850fb039
AS
247322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24733
24734 [BZ #13472]
24735 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24736
4efbd5cb
UD
247372011-12-04 Ulrich Drepper <drepper@gmail.com>
24738
52ff5dd0 24739 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24740 Minor optimizations.
52ff5dd0 24741
4efbd5cb
UD
24742 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24743 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24744 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24745
8a426e12
UD
247462011-12-03 Ulrich Drepper <drepper@gmail.com>
24747
aff2453d
UD
24748 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24749 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24750 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24751 for gcc to avoid warnings.
24752 * inet/Makefile (tests): Add tst-checks.
24753 * inet/tst-checks.c: New file.
24754
24755 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24756 warning.
24757
24758 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24759 __wmemcmp_sse2.
24760
24761 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24762 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24763
8a426e12
UD
24764 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24765
9bea3473
UD
247662011-12-02 Ulrich Drepper <drepper@gmail.com>
24767
3a965496
UD
24768 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24769 problem.
24770
9bea3473
UD
24771 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24772
f101631b
UD
247732011-11-29 Joseph Myers <joseph@codesourcery.com>
24774
24775 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24776 conditional on GCC version.
24777 (__arch_compare_and_exchange_val_8_acq)
24778 (__arch_compare_and_exchange_val_16_acq)
24779 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24780 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24781 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24782
a98275aa
UD
247832011-12-02 Joseph Myers <joseph@codesourcery.com>
24784
24785 * sysdeps/sh/backtrace.c: New file.
24786
d4cc29a2
AS
247872011-12-02 Andreas Schwab <schwab@redhat.com>
24788
24789 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24790 parenthesis.
24791
6257af2d
AS
247922011-12-01 Andreas Schwab <schwab@redhat.com>
24793
24794 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24795 falling back to utime.
24796
b5f44c1a
AS
247972011-11-30 Andreas Schwab <schwab@redhat.com>
24798
24799 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24800 expectations for float.
24801
f3a6cc0a
AS
248022011-11-29 Andreas Schwab <schwab@redhat.com>
24803
24804 * locale/weight.h (findidx): Add parameter len.
24805 * locale/weightwc.h (findidx): Likewise.
24806 * posix/fnmatch_loop.c (FCT): Adjust caller.
24807 * posix/regcomp.c (build_equiv_class): Likewise.
24808 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24809 * posix/regexec.c (check_node_accept_bytes): Likewise.
24810 * string/strcoll_l.c (STRCOLL): Likewise.
24811 * string/strxfrm_l.c (STRXFRM): Likewise.
24812
9d65ea3a
UD
248132011-11-17 Ulrich Drepper <drepper@gmail.com>
24814
24815 * Makefile.in: Remove CVSOPT handling.
24816 * configure.in: Remove use of AC_REVISION.
24817 * iconvdata/Makefile (distribute): No need to filter out CVS.
24818 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24819 handling.
24820
5583a086
AS
248212011-11-16 Andreas Schwab <schwab@redhat.com>
24822
24823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24824 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24825 [USE_AS_STRNCASECMP_L]: Likewise.
24826 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24827 NO_TLS_DIRECT_SEG_REFS.
24828 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24829 Fix argument offsets for non-PIC.
24830 [USE_AS_STRNCASECMP_L]: Likewise.
24831 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24832 NO_TLS_DIRECT_SEG_REFS.
24833
d62a8200
UD
248342011-11-15 Ulrich Drepper <drepper@gmail.com>
24835
9d65ea3a 24836 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24837 O_CLOEXEC.
24838 * locale/loadlocale.c (_nl_load_locale): Likewise.
24839
09f93bd3
AS
248402011-11-15 Andreas Schwab <schwab@redhat.com>
24841
446514f9
AS
24842 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24843 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24844 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24845 (SYSCALL_GETTIME): Set errno on error.
24846
09f93bd3
AS
24847 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24848 count references to noai6ai_cached.
24849
312be3f9
UD
248502011-11-15 Ulrich Drepper <drepper@gmail.com>
24851
24852 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24853
24854 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24855 FD_CLOEXEC for /proc/self/maps.
24856
24857 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24858 FD_CLOEXEC for /proc/meminfo.
24859
24860 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24861 gai.conf.
24862
24863 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24864 FD_CLOEXEC for given file.
24865
24866 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24867
24868 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24869 FD_CLOEXEC for /etc/hosts.
24870 (_gethtent): Likewise.
24871
24872 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24873
24874 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24875 cancellation and set FD_CLOEXEC for /etc/netgroup.
24876
24877 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24878 reading /etc/publickey.
24879
24880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24881 allow cancellation when reading /etc/group.
24882
24883 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24884 cancellation.
24885 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24886
24887 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24888 when using data file.
24889
24890 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24891
24892 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24893 (write_nis_obj): Use "c" and "e" in fopen.
24894
24895 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24896
24897 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24898
24899 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24900
24901 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24902
24903 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24904 locale.alias.
24905
24906 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24907
24908 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24909
24910 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24911
24912 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24913 file parsing and set FD_CLOEXEC.
24914
82af0fa8
UD
249152011-11-14 Ulrich Drepper <drepper@gmail.com>
24916
24917 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24918
a5fb313c
AS
249192011-11-14 Andreas Schwab <schwab@redhat.com>
24920
24921 * malloc/arena.c (arena_get2): Don't call reused_arena when
24922 _int_new_arena failed.
24923
6abf3465
UD
249242011-11-14 Ulrich Drepper <drepper@gmail.com>
24925
24926 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24927 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24928 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24929 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24930 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24932 to compile strcasecmp and strncasecmp.
24933 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24934 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24935
24936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24937
76e3966e
UD
249382011-11-13 Ulrich Drepper <drepper@gmail.com>
24939
24940 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24941 locale-defines.sym to gen-as-const-headers.
24942 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24943 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24945 to compile strcasecmp and strncasecmp.
24946 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24947 strcasecmp_l and strncasecmp_l.
24948 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24949 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24950 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24951 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24952 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24953 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24954 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24955 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24956 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24957 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24958 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24959
ab26144e
UD
249602011-11-12 Ulrich Drepper <drepper@gmail.com>
24961
7edb22ef
UD
24962 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24963 result of SYSDEP_GETTIME_CPU to retval.
24964 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24965 parameter list to macro. Remove trailing semicolon. Adjust users.
24966
9694fc44
UD
24967 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24968 variable.
24969
8ad89ef8
UD
24970 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24971 mantissa words.
24972 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24973
0c822ef9
UD
24974 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24975 from unused variable.
24976
874e0564
UD
24977 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24978 DWARF definitions.
24979 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24980 for assembling.
24981
3a2edc79
UD
24982 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24983 over namespaces.
24984
f3c2577f
UD
24985 * sunrpc/rpc_prot.c (rejected): Fix case value.
24986
294ce126
UD
24987 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24988 unsigned long long int to avoid warnings in shift.
24989
5e2b63c6
UD
24990 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24991 of use of trans.
24992 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24993 variable tmp.
24994
e7f4b08e
UD
24995 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24996 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24997 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24998
ab26144e
UD
24999 * nis/nis_table.c (nis_list): Use variable of correct type for
25000 result of __follow_path call.
25001
8a6d5255
AZ
250022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25003
25004 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25005 of math functions ceil, trunc, floor, round, and sqrt, when
25006 avaliable on the platform.
25007 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25008 name clash.
25009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25010 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25011 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25012
aaddc98c
MP
250132011-10-30 Marek Polacek <mpolacek@redhat.com>
25014
25015 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25016 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25017
95b7042b
RM
250182011-11-11 Roland McGrath <roland@hack.frob.com>
25019
25020 * include/unistd.h: Fix __readlink return type.
25021 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25022
57769839
UD
250232011-11-11 Ulrich Drepper <drepper@gmail.com>
25024
25025 * stdlib/ucontext.h: Undo last change for makecontext.
25026
edc5984d
AS
250272011-11-11 Andreas Schwab <schwab@redhat.com>
25028
98591e58
AS
25029 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25030
edc5984d
AS
25031 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25032 * setjmp/setjmp.h: Mark functions as non-leaf.
25033 * setjmp/bits/setjmp2.h: Likewise.
25034 * stdlib/ucontext.h: Likewise.
25035
77cdc054
AS
250362011-11-10 Andreas Schwab <schwab@redhat.com>
25037
25038 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25039 (reused_arena): Don't check arena limit.
25040 (arena_get2): Atomically check arena limit.
25041
fe72eebd
UD
250422011-11-08 Ulrich Drepper <drepper@gmail.com>
25043
5f078c32
UD
25044 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25045 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25046
fe72eebd
UD
25047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25048 instructions.
25049
ae1bc2fa
AS
250502011-11-07 Andreas Schwab <schwab@redhat.com>
25051
7583a88d
AS
25052 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25053 handler when locking.
25054
ae1bc2fa
AS
25055 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25056 Fix size of allocated buffer.
25057
10fb0bfa
AS
250582011-11-04 Andreas Schwab <schwab@redhat.com>
25059
998832a4
AS
25060 [BZ #10103]
25061 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25062 declarations for long double functions.
25063 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25064
10fb0bfa
AS
25065 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25066
3d7ba52b
AS
250672011-11-03 Andreas Schwab <schwab@redhat.com>
25068
a9ae54a1
AS
25069 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25070 installed.
25071
3d7ba52b
AS
25072 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25073 is disabled.
25074
bc8db248
ST
250752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25076
25077 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25078
45b96dd6
AS
250792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25080
647776f6
AS
25081 * include/alloca.h (stackinfo_alloca_round): Define.
25082 (extend_alloca): Use it.
25083 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25084 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25085 here.
25086
d91a8b93
AS
25087 * scripts/check-local-headers.sh: Ignore libaudit.h.
25088
45b96dd6
AS
25089 * nscd/Makefile (extra-objs): Make recursively expanded.
25090
432d41ce
UD
250912011-11-01 Ulrich Drepper <drepper@gmail.com>
25092
34372fc6
UD
25093 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25094 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25095
fadb59f8
UD
25096 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25097 * posix/tst-rfc3484-2.c: Likewise.
25098 * posix/tst-rfc3484-3.c: Likewise.
25099
78239589
UD
25100 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25101 process_vm_writev.
25102 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25103 process_vm_writev.
25104 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25105 process_vm_writev from libc using GLIBC_2.15 version.
25106
432d41ce
UD
25107 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25108
02f9c6cf
PP
251092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25110
25111 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25112 stack usage.
25113
3a2c0242
UD
251142011-10-31 Ulrich Drepper <drepper@gmail.com>
25115
f4ec4833
UD
25116 [BZ #13367]
25117 * nss/getent.c (initgroups_keys): Show error message in case no group
25118 names are given.
25119
3a2c0242
UD
25120 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25121 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25122 __bump_nl_timestamp.
25123 * nscd/connections (nscd_init): When host database is served open
25124 netlink socket and request notification about configuration changes.
25125 (main_loop_poll): Track netlink file descriptor and bump timestamp
25126 in case data becomes available.
25127 (main_loop_epoll): Likewise.
25128 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25129 (database_pers_head): Add extra_data fileds.
25130 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25131 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25132 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25133 Adjust caller.
25134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25135 in6ai data, call __free_in6ai.
25136 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25137 Add -DHAVE_NETLINK.
25138 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25139 interface information. Reuse previous data if netlink timestamp
25140 is not changed.
25141 (__bump_nl_timestamp): New function.
25142 (__free_in6ai): New function.
25143
636064eb
UD
251442011-10-30 Ulrich Drepper <drepper@gmail.com>
25145
25146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25147 close_not_cancel_no_status here.
25148 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25149
9beb2334
UD
251502011-10-29 Ulrich Drepper <drepper@gmail.com>
25151
6ef76f3b
UD
25152 [BZ #13276]
25153 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25154 return value.
25155
0ffc4f3e 25156 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25157 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25158 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25159
cb95113e
UD
251602011-07-03 Andreas Jaeger <aj@suse.de>
25161
25162 [BZ #10709]
25163 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25164 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25165 * math/libm-test.inc (sin_test): Add test case.
25166
a1b560ff
UD
251672011-10-29 Ulrich Drepper <drepper@gmail.com>
25168
c9aaface
UD
25169 [BZ #13337]
25170 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25171 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25172
d272e7f1
UD
25173 * elf/chroot_canon.c (chroot_canon): Cleanups.
25174
1bc33071
UD
25175 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25176
1760874d
TJ
25177 [BZ #13335]
25178 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25179 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25180
51d91b18
UD
25181 * string/test-strchr.c: Make usable for strchrnul testing.
25182 * string/test-strchrnul.c: New file.
25183 * string/Makefile (strop-tests): Add strchrnul.
25184
a1b560ff 25185 * po/it.po: Update from translation team.
b611fb81 25186 * po/es.po: Likewise.
a1b560ff 25187
a5b81e1f
UD
251882011-10-28 Ulrich Drepper <drepper@gmail.com>
25189
fd52bc6d
UD
25190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25191 the three constants needed as parameters. Drop the others.
25192 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25193 __m128i_strloadu_tolower.
52e4b9eb
UD
25194 Create and initialize variable zero and use it in all the places
25195 where _mm_setzero_si128 was used.
fd52bc6d 25196
a5b81e1f
UD
25197 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25198 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25199 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25200 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25201 anymore.
25202 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25203 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25204 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25205 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25206 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25207 __mpranred, __mptan.
25208 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25209 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25210 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25211 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25212 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25213 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25215 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25216 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25217
b4343346
AS
252182011-10-28 Andreas Schwab <schwab@redhat.com>
25219
0c92d8a8
AS
25220 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25221 redefine if SHARED.
25222 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25223
b4343346
AS
25224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25225 wide char related routines to wcsmbs subdir.
25226
3871f58f
AS
252272011-10-27 Andreas Schwab <schwab@redhat.com>
25228
25229 [BZ #13344]
25230 * misc/sys/cdefs.h (__THROWNL): Define.
25231 * posix/unistd.h: Use __THREADNL instead of __THREAD
25232 for memory synchronization functions.
25233
94d44d9f
RM
252342011-10-26 Roland McGrath <roland@hack.frob.com>
25235
21b64b15 25236 [BZ #13349]
94d44d9f
RM
25237 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25238 doesn't exist.
25239 * manual/stdio.texi (Obstack Streams): Node removed.
25240
f6ce9294
AS
252412011-10-26 Andreas Schwab <schwab@redhat.com>
25242
80479147
AS
25243 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25244 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25246
f6ce9294
AS
25247 * math/math_private.h (math_force_eval): Allow non-addressable
25248 arguments.
25249 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25250
618280a1
UD
252512011-10-25 Ulrich Drepper <drepper@gmail.com>
25252
e0016b11
UD
25253 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25254 file is not needed.
25255
25256 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25257 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25263 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25264 Add AVX variants.
25265 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25266 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25267 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25268 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25269 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25270 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25271 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25272 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25273 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25274 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25275 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25276 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25277 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25278 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25279 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25280 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25281 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25282 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25283 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25284
25285 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25286 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25287
618280a1
UD
25288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25289 place. Use VEX encoding when compiling for AVX.
25290
37822576
AS
252912011-10-25 Andreas Schwab <schwab@redhat.com>
25292
1f1e1947
AS
25293 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25294 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25295
37822576
AS
25296 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25297
31ea014d
UD
252982011-10-25 Ulrich Drepper <drepper@gmail.com>
25299
d7826aa1 25300 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25301 useless if() expression.
d7826aa1
UD
25302 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25304 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25306 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25307 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25308 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25311 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25314 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25316 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25317 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25318 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25320 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25321
31ea014d
UD
25322 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25323
16437fec
AS
253242011-10-25 Andreas Schwab <schwab@redhat.com>
25325
25326 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25327 condition.
25328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25329
31d3cc00
UD
253302011-10-25 Ulrich Drepper <drepper@gmail.com>
25331
25332 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25333 .text section. Avoid duplicate constants.
25334 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25344 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25346 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25349 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25351 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25357 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25358 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25359 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25360 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25361 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25362 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25363 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25364 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25367 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25368 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25369 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25370 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25372 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25373 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25376 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25377 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25378 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25379
58985aa9
UD
253802011-10-24 Ulrich Drepper <drepper@gmail.com>
25381
202c9deb
UD
25382 * sysdeps/x86_64/dla.h: Move to ...
25383 * sysdeps/x86_64/fpu/dla.h: ...here.
25384 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25385 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25386
af968f62
UD
25387 * config.make.in: Add have-mfma4 entry.
25388 * configure.in: Substitute libc_cv_cc_fma4.
25389 * math/Makefile (dbl-only-routines): Add sincostab.
25390 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25391 Use __sincostab not sincos.
25392 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25393 name is a macro.
25394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25398 using __copysign.
25399 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25400 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25401 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25402 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25403 and __inv.
25404 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25405 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25406 __copysign.
25407 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25408 define aliases when function name is a macro.
25409 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25410 sysdeps/ieee754/dbl-64/sincos.tbl.
25411 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25412 fma4-enabled routines.
25413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25414 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25415 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25416 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25417 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25418 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25420 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25422 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25423 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25424 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25425 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25426 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25428 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25429 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25430 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25431 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25432 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25433 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25434 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25435 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25438 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25439 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25440 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25443
58985aa9
UD
25444 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25445 rename.
25446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25454
a201fbcf
AS
254552011-10-24 Andreas Schwab <schwab@redhat.com>
25456
25457 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25458
fc2ee42a
LD
254592011-10-23 Ulrich Drepper <drepper@gmail.com>
25460
bb3129bd
UD
25461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25462
0275fff8
UD
25463 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25464 prediction.
25465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25466
2fa2ae85
UD
25467 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25468 Remove unused variable magic_bits.
25469 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25470
fc2ee42a
LD
25471 * string/strnlen.c: Define and use STRNLEN macro.
25472 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25473 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25475 * wcsmbs/wcslen.c: Define and use WCSLEN.
25476 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25477 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25478 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25479 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25480 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25481 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25482 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25483
ce7dd29f
LD
254842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25485
25486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25487 strnlen-sse2-no-bsf.
25488 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25490 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25491 Add strnlen support.
25492 (USE_AS_STRNLEN): New macro.
25493 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25494 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25495 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25496 * sysdeps/x86_64/wcslen.S: New file.
25497
979c70a3
MZ
254982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25499
25500 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25501 XMM-moves are used for copying on small sizes.
25502
2d09f82f
LD
255032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25504
25505 * wcsmbs/Makefile (strop-tests): Add wcschr.
25506 * wcsmbs/test-wcschr.c: New file.
25507 * string/test-strchr.c: Update.
25508 Add wcschr support.
25509 (WIDE): New macro.
25510
619fccca
LD
255112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25512
2d09f82f 25513 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25514 * wcsmbs/test-wcslen.c: New file.
25515 * string/test-strlen.c: Update.
25516 Add wcslen support.
25517 (WIDE): New macro.
25518
09f699ea
UD
255192011-10-23 Ulrich Drepper <drepper@gmail.com>
25520
25521 * po/it.po: Update from translation team.
25522
95584d3b
LD
255232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25524
25525 * sysdeps/x86_64/wcscmp.S: Update.
25526 Fix wrong comparison semantics.
25527 wcscmp shall use signed comparison not unsigned.
25528 Don't use substraction to avoid overflow bug.
25529 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25530 * wcsmbc/wcscmp.c: Likewise.
25531 * string/test-strcmp.c: Likewise.
25532 Add new tests to check cases with negative values.
25533
c8b3296b
UD
255342011-10-23 Ulrich Drepper <drepper@gmail.com>
25535
25536 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25537 * sysdeps/x86_64/dla.h: ...here. New file.
25538 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25547
246ad57a
AS
255482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25549
25550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25551 __ynl_finite aliases.
25552
a1a87169
UD
255532011-10-22 Ulrich Drepper <drepper@gmail.com>
25554
0d355eb7
UD
25555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25556
a1a87169
UD
25557 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25558 define DLA_FMA.
25559 [DLA_FMA] (EMULV): Use DLA_FMA.
25560 [DLA_FMA] (MUL12): Use EMULV.
25561 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25562 that are not needed.
25563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25570
ee2aafe0
AS
255712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25572
25573 * math/s_nan.c: Undef __nan.
25574 * math/s_nanf.c: Undef __nanf.
25575 * math/s_nanl.c: Undef __nanl.
25576 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25577 "math_private.h".
25578
bc62c2fb
UD
255792011-10-22 Ulrich Drepper <drepper@gmail.com>
25580
77425c63
UD
25581 * math/s_catan.c: Add branch predictions.
25582 * math/s_catanf.c: Likewise.
25583 * math/s_catanh.c: Likewise.
25584 * math/s_catanhf.c: Likewise.
25585 * math/s_catanhl.c: Likewise.
25586 * math/s_catanl.c: Likewise.
25587 * math/s_cexp.c: Likewise.
25588 * math/s_cexpf.c: Likewise.
25589 * math/s_cexpl.c: Likewise.
25590 * math/s_clog.c: Likewise.
25591 * math/s_clog10.c: Likewise.
25592 * math/s_clog10f.c: Likewise.
25593 * math/s_clog10l.c: Likewise.
25594 * math/s_clogf.c: Likewise.
25595 * math/s_clogl.c: Likewise.
25596 * math/s_csqrt.c: Likewise.
25597 * math/s_csqrtf.c: Likewise.
25598 * math/s_csqrtl.c: Likewise.
25599 * math/s_ctanf.c: Likewise.
25600 * math/s_ctanh.c: Likewise.
25601 * math/s_ctanhf.c: Likewise.
25602 * math/s_ctanhl.c: Likewise.
25603 * math/s_ctanl.c: Likewise.
25604
bc62c2fb
UD
25605 * math/math_private.h: Define __nan, __nanf, __nanl.
25606 * math/s_cacosh.c: Include <math_private.h>.
25607 * math/s_cacoshl.c: Likewise.
25608 * math/s_casinh.c: Likewise.
25609 * math/s_casinhf.c: Likewise.
25610 * math/s_casinhl.c: Likewise.
25611 * math/s_ccos.c: Rely entire on ccosh.
25612 * math/s_ccosf.c: Rely entire on ccoshf.
25613 * math/s_ccosl.c: Rely entirely on ccoshl.
25614 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25615 Remove tests for FE_INVALID.
25616 * math/s_ccoshf.c: Likewise.
25617 * math/s_ccoshl.c: Likewise.
25618 * math/s_csin.c: Likewise.
25619 * math/s_csinf.c: Likewise.
25620 * math/s_csinh.c Likewise.
25621 * math/s_csinhf.c: Likewise.
25622 * math/s_csinhl.c: Likewise.
25623 * math/s_csinl.c: Likewise.
25624 * math/s_ctan.c: Likewise.
25625 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25626 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25628
8ec250a4
UD
256292011-10-21 Ulrich Drepper <drepper@gmail.com>
25630
c196fed8
UD
25631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25632 compilation problems.
25633
8ec250a4
UD
25634 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25635 __builtin_expect.
25636
8d4f46c6
UD
256372011-10-20 Ulrich Drepper <drepper@gmail.com>
25638
ed72b654
UD
25639 * sysdeps/i386/configure.in: Test for -mfma4 option.
25640 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25641 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25642 COMMON_CPUID_INDEX_80000001.
25643 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25644 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25645 use it if FMA3 is not supported.
25646 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25647
8d4f46c6
UD
25648 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25649 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25650
d45c60c2
AS
256512011-10-20 Andreas Schwab <schwab@redhat.com>
25652
25653 [BZ #12892]
25654 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25655 it would create a cycle with a link time dependency.
25656
d9a4d2ab
UD
256572011-10-19 Ulrich Drepper <drepper@gmail.com>
25658
855d1560
UD
25659 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25660 instruction.
25661 * string/Makefile (strop-tests): Add rawmemchr.
25662 * string/test-rawmemchr.c: New file.
25663
d9a4d2ab
UD
25664 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25666 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25667 when compiling str{,n}casecmp and when AVX is available. Hook up
25668 new optimized code in initializers.
25669
8f3b1ffe
AS
256702011-10-19 Andreas Schwab <schwab@redhat.com>
25671
25672 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25673 __feraiseexcept instead of feraiseexcept.
25674
d38f1dba
UD
256752011-10-18 Ulrich Drepper <drepper@gmail.com>
25676
d9a8d0ab
UD
25677 * math/math_private.h: Define defaults for libc_fetestexcept and
25678 libc_feupdateenv.
25679 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25680 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25681 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25682 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25683 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25684 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25685 libc_fetestexcept and libc_feupdateenv.
25686
4855e3dd
UD
25687 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25688 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25689 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25690 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25691 libc_feholdexcept_setround.
25692
581d30e3
UD
25693 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25694 Add s_nearbyint-c and s_nearbyintf-c.
25695 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25696 nearbyintf inlines.
25697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25698 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25700 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25701
d38f1dba
UD
25702 * math/math_private.h: Define defaults for libc_fegetround,
25703 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25704 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25705 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25707 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25708 standard functions.
25709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25710 Remove comments and hacks for old compiler versions.
25711 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25712 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25713 libc_feholdexceptl.
25714
caa6c9d8
AS
257152011-10-18 Andreas Schwab <schwab@redhat.com>
25716
25717 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25718 (__feraiseexcept_renamed): Add __NTH.
25719 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25720 namespace violations.
25721
97c066e6
UD
257222011-10-17 Ulrich Drepper <drepper@gmail.com>
25723
99ce7b04
UD
25724 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25725
1004d182
UD
25726 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25727
228a984d
UD
25728 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25729 recently added interfaces.
25730 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25731
c8553a6a
UD
25732 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25733 about macro parameter expansion.
25734
ed22dcf6
UD
25735 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25736 __NO_MATH_INLINES is defined. Cleanups.
25737
25738 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25739 and __floorf is target has SSE4.1.
25740 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25741 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25742 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25743 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25744
b171c137
UD
25745 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25746 name.
25747 (floorf): Likewise.
25748
97c066e6
UD
25749 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25750
629f62ef
AS
257512011-10-17 Andreas Schwab <schwab@redhat.com>
25752
49a43d80
AS
25753 * misc/sys/cdefs.h: Fix last change.
25754
629f62ef
AS
25755 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25756 database lookup.
25757
e453f6cd
UD
257582011-10-16 Ulrich Drepper <drepper@gmail.com>
25759
aa78043a
UD
25760 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25761
ad0f5cad
UD
25762 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25765 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25767 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25768 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25769 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25770 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25771 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25772 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25773 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25774 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25775 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25776 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25777 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25779 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25780 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25781 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25782 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25783 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25784
25785 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25786 ceil, ceilf, floor, floorf.
25787
25788 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25789 Perform IRELATIVE relocations last.
25790
e453f6cd
UD
25791 * elf/do-rel.h: Add another parameter nrelative, replacing the
25792 local variable with the same name. Change name of the function
25793 to end in Rel or Rela (uppercase).
25794 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25795 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25796 elf_dynamic_do_##reloc function.
25797
fd5bdc09
UD
257982011-10-15 Ulrich Drepper <drepper@gmail.com>
25799
79b195b5
UD
25800 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25801 is sufficient, at least on modern CPUs.
25802
d4a28569
UD
25803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25804
b61099b5
UD
25805 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25806 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25807
bcf01e6d
UD
25808 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25809 __expl_finite.
25810 * math/bits/math-finite.h: Add entries for exp.
25811 * math/e_expl.c: Add __*_finite alias.
25812 * sysdeps/i386/fpu/e_exp.S: Likewise.
25813 * sysdeps/i386/fpu/e_expf.S: Likewise.
25814 * sysdeps/i386/fpu/e_expl.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25816 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25820 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25821 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25822
ba1a0d59
UD
25823 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25824 is sufficient, at least on modern CPUs.
25825
fd5bdc09
UD
25826 * ctype/ctype-info.c (__ctype_init): Define.
25827 * include/ctype.h (__ctype_init): Declare.
25828 (__ctype_b_loc): The variable is always initialized.
25829 (__ctype_toupper_loc): Likewise.
25830 (__ctype_tolower_loc): Likewise.
25831 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25832 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25833
7872cfb0
AS
258342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25835
b468825a
AS
25836 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25837
7872cfb0
AS
25838 * configure.in: Also look in $cxxmachine/include for C++ system
25839 headers.
25840
be13f7bf
LD
258412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25842
25843 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25844 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25845 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25846 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25847 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25848 (USE_AS_WMEMCMP): New macro.
25849 Fixing indents.
25850 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25851 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25852 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25853 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25855 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25856 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25857 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25858 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25859 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25860 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25861 (USE_AS_WMEMCMP): New macro.
25862 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25863 * sysdeps/string/test-memcmp.c: Update.
25864 Fix simple_wmemcmp.
25865 Add new tests.
25866 * wcsmbs/wmemcmp.c: Update.
25867 (WMEMCMP): New macro.
25868 Fix overflow bug.
25869
556a2007
AJ
258702011-10-12 Andreas Jaeger <aj@suse.de>
25871
25872 [BZ #13268]
25873 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25874
538faaa7
UD
258752011-10-15 Ulrich Drepper <drepper@gmail.com>
25876
ab6737ff
UD
25877 * libio/iofwide.c (do_length): Avoid warning.
25878
538faaa7
UD
25879 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25880
396a21b1
UD
258812011-10-14 Ulrich Drepper <drepper@gmail.com>
25882
cdf2901f
UD
25883 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25884
38ad40ce
UD
25885 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25886 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25887 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25888 * sysdeps/i386/i686/fpu/e_log.S: New file.
25889 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25890 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25891
396a21b1
UD
25892 * ctype/ctype.h: Add support for inlined isXXX functions when
25893 compiling C++ code.
25894
6b1f68c9
AS
258952011-10-14 Andreas Schwab <schwab@redhat.com>
25896
349290c0
AS
25897 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25898
6b1f68c9
AS
25899 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25900
f2282d42
RM
259012011-10-13 Roland McGrath <roland@hack.frob.com>
25902
25903 [BZ #13291]
25904 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25905
5298ffa8
AS
259062011-10-13 Andreas Schwab <schwab@redhat.com>
25907
714fad23
AS
25908 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25909 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25910 feraiseexcept.
25911
81dcc7fb
AS
25912 * sysdeps/x86_64/memrchr.S: Check for zero size.
25913
5298ffa8
AS
25914 * string/stratcliff.c: Add memrchr tests.
25915
951fbcec
LD
259162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25917
25918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25919 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25920 rawmemchr-sse2 rawmemchr-sse2-bsf.
25921 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25922 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25923 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25924 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25925 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25926 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25927 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25928 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25929 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25930 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25931 * string/memrchr.c (MEMRCHR): New macro.
25932
0ac5ae23
UD
259332011-10-12 Ulrich Drepper <drepper@gmail.com>
25934
25935 Add integration with gcc's -ffinite-math-only and optimize wrapper
25936 functions in libm.
25937 * Versions.def: Define GLIBC_2.15 version for libm.
25938 * math/Makefile (headers): Add bits/math-finite.h.
25939 * math/bits/math-finite.h: New file.
25940 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25941 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25942 * math/e_acoshl.c: Add __*_finite alias.
25943 * math/e_acosl.c: Likewise.
25944 * math/e_asinl.c: Likewise.
25945 * math/e_atan2l.c: Likewise.
25946 * math/e_atanhl.c: Likewise.
25947 * math/e_coshl.c: Likewise.
25948 * math/e_exp10.c: Likewise.
25949 * math/e_exp10f.c: Likewise.
25950 * math/e_exp10l.c: Likewise.
25951 * math/e_exp2l.c: Likewise.
25952 * math/e_fmodl.c: Likewise.
25953 * math/e_gammal_r.c: Likewise.
25954 * math/e_hypotl.c: Likewise.
25955 * math/e_j0l.c: Likewise.
25956 * math/e_j1l.c: Likewise.
25957 * math/e_jnl.c: Likewise.
25958 * math/e_lgammal_r.c: Likewise.
25959 * math/e_log10l.c: Likewise.
25960 * math/e_log2l.c: Likewise.
25961 * math/e_logl.c: Likewise.
25962 * math/e_powl.c: Likewise.
25963 * math/e_sinhl.c: Likewise.
25964 * math/e_sqrtl.c: Likewise.
25965 * math/e_scalb.c: Completely rewritten and optimized.
25966 * math/e_scalbf.c: Likewise.
25967 * math/e_scalbl.c: Likewise.
25968 * math/w_acos.c: Likewise.
25969 * math/w_acosf.c: Likewise.
25970 * math/w_acosl.c: Likewise.
25971 * math/w_acosh.c: Likewise.
25972 * math/w_acoshf.c: Likewise.
25973 * math/w_acoshl.c: Likewise.
25974 * math/w_asin.c: Likewise.
25975 * math/w_asinf.c: Likewise.
25976 * math/w_asinl.c: Likewise.
25977 * math/w_atan2.c: Likewise.
25978 * math/w_atan2f.c: Likewise.
25979 * math/w_atan2l.c: Likewise.
25980 * math/w_atanh.c: Likewise.
25981 * math/w_atanhf.c: Likewise.
25982 * math/w_atanhl.c: Likewise.
25983 * math/w_exp10.c: Likewise.
25984 * math/w_exp10f.c: Likewise.
25985 * math/w_exp10l.c: Likewise.
25986 * math/w_fmod.c: Likewise.
25987 * math/w_fmodf.c: Likewise.
25988 * math/w_fmodl.c: Likewise.
25989 * math/w_j0.c: Likewise.
25990 * math/w_j0f.c: Likewise.
25991 * math/w_j0l.c: Likewise.
25992 * math/w_j1.c: Likewise.
25993 * math/w_j1f.c: Likewise.
25994 * math/w_j1l.c: Likewise.
25995 * math/w_jn.c: Likewise.
25996 * math/w_jnf.c: Likewise.
25997 * math/w_log.c: Likewise.
25998 * math/w_logf.c: Likewise.
25999 * math/w_logl.c: Likewise.
26000 * math/w_log10.c: Likewise.
26001 * math/w_log10f.c: Likewise.
26002 * math/w_log10l.c: Likewise.
26003 * math/w_log2.c: Likewise.
26004 * math/w_log2f.c: Likewise.
26005 * math/w_log2l.c: Likewise.
26006 * math/w_pow.c: Likewise.
26007 * math/w_powf.c: Likewise.
26008 * math/w_powl.c: Likewise.
26009 * math/w_remainder.c: Likewise.
26010 * math/w_remainderf.c: Likewise.
26011 * math/w_remainderl.c: Likewise.
26012 * math/w_scalb.c: Likewise.
26013 * math/w_scalbf.c: Likewise.
26014 * math/w_scalbl.c: Likewise.
26015 * math/w_sqrt.c: Likewise.
26016 * math/w_sqrtf.c: Likewise.
26017 * math/w_sqrtl.c: Likewise.
26018 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26019 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26020 used.
26021 * math/math_private.h: Declare __kernel_standard_f.
26022 * math/w_cosh.c: Remove cruft and optimize a bit.
26023 * math/w_coshf.c: Likewise.
26024 * math/w_coshl.c: Likewise.
26025 * math/w_exp2.c: Likewise.
26026 * math/w_exp2f.c: Likewise.
26027 * math/w_exp2l.c: Likewise.
26028 * math/w_hypot.c: Likewise.
26029 * math/w_hypotf.c: Likewise.
26030 * math/w_hypotl.c: Likewise.
26031 * math/w_lgamma.c: Likewise.
26032 * math/w_lgamma_r.c: Likewise.
26033 * math/w_lgammaf.c: Likewise.
26034 * math/w_lgammaf_r.c: Likewise.
26035 * math/w_lgammal.c: Likewise.
26036 * math/w_lgammal_r.c: Likewise.
26037 * math/w_sinh.c: Likewise.
26038 * math/w_sinhf.c: Likewise.
26039 * math/w_sinhl.c: Likewise.
26040 * math/w_tgamma.c: Likewise.
26041 * math/w_tgammaf.c: Likewise.
26042 * math/w_tgammal.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26045 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26046 Minor optimizations. Pretty printing. Remove cruft.
26047 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26048 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26049 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26050 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26051 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26052 * sysdeps/i386/fpu/e_asin.S: Likewise.
26053 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26054 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26055 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26056 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26057 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26058 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26059 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26060 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26061 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26062 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26063 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26064 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26065 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26066 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26067 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26068 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26069 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26070 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26071 * sysdeps/i386/fpu/e_log.S: Likewise.
26072 * sysdeps/i386/fpu/e_log10.S: Likewise.
26073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26074 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26075 * sysdeps/i386/fpu/e_log2.S: Likewise.
26076 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26077 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26078 * sysdeps/i386/fpu/e_logf.S: Likewise.
26079 * sysdeps/i386/fpu/e_logl.S: Likewise.
26080 * sysdeps/i386/fpu/e_pow.S: Likewise.
26081 * sysdeps/i386/fpu/e_powf.S: Likewise.
26082 * sysdeps/i386/fpu/e_powl.S: Likewise.
26083 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26084 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26085 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26086 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26087 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26088 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26089 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26090 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26091 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26113 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26114 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26115 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26116 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26117 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26118 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26119 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26120 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26121 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26122 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26123 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26124 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26125 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26126 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26127 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26128 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26129 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26130 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26131 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26132 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26133 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26134 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26136 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26137 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26138 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26139 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26142 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26144 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26145 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26146 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26147 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26148 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26149 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26172 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26175 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26177 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26178 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26180 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26183 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26184 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26185 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26187 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26188 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26189 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26190 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26191 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26192 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26193 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26194 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26195 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26196 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26197 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26198 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26199 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26200 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26201 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26202 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26203 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26204 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26205 (__isnanf): Likewise.
26206 (__isinf_ns): Likewise.
26207 (__isinf_nsf): Likewise.
26208 (__finite): Likewise.
26209 (__finitef): Likewise.
26210 (__ieee754_sqrt): Define as macro.
26211 (__ieee754_sqrtf): Define as macro.
26212 (__ieee754_sqrtl): Define as macro.
26213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26214 inlined copy.
26215 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26216 __FINITE_MATH_ONLY__ consistent.
26217 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26218
12cc2fcd
AS
262192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26220
a843a204
AS
26221 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26222 of rawmemchr.
26223
12cc2fcd
AS
26224 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26225
c853acd5
UD
262262011-10-09 Ulrich Drepper <drepper@gmail.com>
26227
26228 * po/ja.po: Update from translation team.
26229
c658d255
RM
262302011-10-08 Roland McGrath <roland@hack.frob.com>
26231
110946e4
RM
26232 * locale/programs/locarchive.c (prepare_address_space): New function.
26233 (create_archive, enlarge_archive, open_archive): Use it.
26234
50604220
RM
26235 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26236 inside [SHARED], where it is used.
26237
c658d255
RM
26238 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26239
26240 * nss/getent.c (netgroup_keys): Remove unused variable.
26241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26242
6a621eb7
UD
262432011-10-08 Ulrich Drepper <drepper@gmail.com>
26244
7edb55ce
UD
26245 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26246 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26248 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26249 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26250 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26251 * math/Makefile (libm-calls): Add s_isinf_ns.
26252 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26253 * math/multc3.c: Likewise.
26254 * math/s_casin.c: Likewise.
26255 * math/s_casinf.c: Likewise.
26256 * math/s_casinl.c: Likewise.
26257 * math/s_ccos.c: Likewise.
26258 * math/s_ccosf.c: Likewise.
26259 * math/s_ccosl.c: Likewise.
26260 * math/s_ctan.c: Likewise.
26261 * math/s_ctanf.c: Likewise.
26262 * math/s_ctanh.c: Likewise.
26263 * math/s_ctanhf.c: Likewise.
26264 * math/s_ctanhl.c: Likewise.
26265 * math/s_ctanl.c: Likewise.
26266 * math/w_fmod.c: Likewise.
26267 * math/w_fmodf.c: Likewise.
26268 * math/w_fmodl.c: Likewise.
26269 * math/w_remainder.c: Likewise.
26270 * math/w_remainderf.c: Likewise.
26271 * math/w_remainderl.c: Likewise.
26272 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26273 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26274 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26276 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26277 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26278 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26279 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26280
187da0ae
UD
26281 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26282 of the number.
26283 * stdio-common/printf_fphex.c: Likewise.
26284 * stdio-common/printf_size.c: Likewise.
26285
9277c064
UD
26286 * math/e_exp10.c: Include math_private.h using <...> not "...".
26287 * math/e_exp10f.c: Likewise.
26288 * math/e_exp10l.c: Likewise.
26289 * math/e_exp2l.c: Likewise.
26290 * math/e_j0l.c: Likewise.
26291 * math/e_j1l.c: Likewise.
26292 * math/e_jnl.c: Likewise.
26293 * math/e_lgammal_r.c: Likewise.
26294 * math/e_rem_pio2l.c: Likewise.
26295 * math/e_scalb.c: Likewise.
26296 * math/e_scalbf.c: Likewise.
26297 * math/e_scalbl.c: Likewise.
26298 * math/k_cosl.c: Likewise.
26299 * math/k_sinl.c: Likewise.
26300 * math/k_tanl.c: Likewise.
26301 * math/s_cacoshf.c: Likewise.
26302 * math/s_catan.c: Likewise.
26303 * math/s_catanf.c: Likewise.
26304 * math/s_catanh.c: Likewise.
26305 * math/s_catanhf.c: Likewise.
26306 * math/s_catanhl.c: Likewise.
26307 * math/s_catanl.c: Likewise.
26308 * math/s_ccosh.c: Likewise.
26309 * math/s_ccoshf.c: Likewise.
26310 * math/s_ccoshl.c: Likewise.
26311 * math/s_cexp.c: Likewise.
26312 * math/s_cexpf.c: Likewise.
26313 * math/s_cexpl.c: Likewise.
26314 * math/s_clog.c: Likewise.
26315 * math/s_clog10.c: Likewise.
26316 * math/s_clog10f.c: Likewise.
26317 * math/s_clog10l.c: Likewise.
26318 * math/s_clogf.c: Likewise.
26319 * math/s_clogl.c: Likewise.
26320 * math/s_csin.c: Likewise.
26321 * math/s_csinf.c: Likewise.
26322 * math/s_csinh.c: Likewise.
26323 * math/s_csinhf.c: Likewise.
26324 * math/s_csinhl.c: Likewise.
26325 * math/s_csinl.c: Likewise.
26326 * math/s_csqrt.c: Likewise.
26327 * math/s_csqrtf.c: Likewise.
26328 * math/s_csqrtl.c: Likewise.
26329 * math/s_ctan.c: Likewise.
26330 * math/s_ctanf.c: Likewise.
26331 * math/s_ctanh.c: Likewise.
26332 * math/s_ctanhf.c: Likewise.
26333 * math/s_ctanhl.c: Likewise.
26334 * math/s_ctanl.c: Likewise.
26335 * math/s_ldexp.c: Likewise.
26336 * math/s_ldexpf.c: Likewise.
26337 * math/s_ldexpl.c: Likewise.
26338 * math/s_significand.c: Likewise.
26339 * math/s_significandf.c: Likewise.
26340 * math/s_significandl.c: Likewise.
26341 * math/w_acos.c: Likewise.
26342 * math/w_acosf.c: Likewise.
26343 * math/w_acosh.c: Likewise.
26344 * math/w_acoshf.c: Likewise.
26345 * math/w_acoshl.c: Likewise.
26346 * math/w_acosl.c: Likewise.
26347 * math/w_asin.c: Likewise.
26348 * math/w_asinf.c: Likewise.
26349 * math/w_asinl.c: Likewise.
26350 * math/w_atan2.c: Likewise.
26351 * math/w_atan2f.c: Likewise.
26352 * math/w_atan2l.c: Likewise.
26353 * math/w_atanh.c: Likewise.
26354 * math/w_atanhf.c: Likewise.
26355 * math/w_atanhl.c: Likewise.
26356 * math/w_cosh.c: Likewise.
26357 * math/w_coshf.c: Likewise.
26358 * math/w_coshl.c: Likewise.
26359 * math/w_dremf.c: Likewise.
26360 * math/w_exp10.c: Likewise.
26361 * math/w_exp10f.c: Likewise.
26362 * math/w_exp10l.c: Likewise.
26363 * math/w_exp2.c: Likewise.
26364 * math/w_exp2f.c: Likewise.
26365 * math/w_fmod.c: Likewise.
26366 * math/w_fmodf.c: Likewise.
26367 * math/w_fmodl.c: Likewise.
26368 * math/w_hypot.c: Likewise.
26369 * math/w_hypotf.c: Likewise.
26370 * math/w_hypotl.c: Likewise.
26371 * math/w_j0.c: Likewise.
26372 * math/w_j0f.c: Likewise.
26373 * math/w_j0l.c: Likewise.
26374 * math/w_j1.c: Likewise.
26375 * math/w_j1f.c: Likewise.
26376 * math/w_j1l.c: Likewise.
26377 * math/w_jn.c: Likewise.
26378 * math/w_jnf.c: Likewise.
26379 * math/w_jnl.c: Likewise.
26380 * math/w_lgamma.c: Likewise.
26381 * math/w_lgamma_r.c: Likewise.
26382 * math/w_lgammaf.c: Likewise.
26383 * math/w_lgammaf_r.c: Likewise.
26384 * math/w_lgammal.c: Likewise.
26385 * math/w_lgammal_r.c: Likewise.
26386 * math/w_log.c: Likewise.
26387 * math/w_log10.c: Likewise.
26388 * math/w_log10f.c: Likewise.
26389 * math/w_log10l.c: Likewise.
26390 * math/w_log2.c: Likewise.
26391 * math/w_log2f.c: Likewise.
26392 * math/w_log2l.c: Likewise.
26393 * math/w_logf.c: Likewise.
26394 * math/w_logl.c: Likewise.
26395 * math/w_pow.c: Likewise.
26396 * math/w_powf.c: Likewise.
26397 * math/w_powl.c: Likewise.
26398 * math/w_remainder.c: Likewise.
26399 * math/w_remainderf.c: Likewise.
26400 * math/w_remainderl.c: Likewise.
26401 * math/w_scalb.c: Likewise.
26402 * math/w_scalbf.c: Likewise.
26403 * math/w_scalbl.c: Likewise.
26404 * math/w_sinh.c: Likewise.
26405 * math/w_sinhf.c: Likewise.
26406 * math/w_sinhl.c: Likewise.
26407 * math/w_sqrt.c: Likewise.
26408 * math/w_sqrtf.c: Likewise.
26409 * math/w_sqrtl.c: Likewise.
26410 * math/w_tgamma.c: Likewise.
26411 * math/w_tgammaf.c: Likewise.
26412 * math/w_tgammal.c: Likewise.
26413
6a621eb7
UD
26414 * po/ja.po: Update from translation team.
26415
bf582445
AJ
264162011-09-29 Andreas Jaeger <aj@suse.de>
26417
f9efbf3a
AJ
26418 [BZ #13179]
26419 * sunrpc/netname.c (netname2host): Fix logic.
26420
bf582445
AJ
26421 [BZ #6779]
26422 [BZ #6783]
26423 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26424 correctly.
26425 * math/w_remainder.c (__remainder): Likewise.
26426 * math/w_remainderf.c (__remainderf): Likewise.
26427 * math/libm-test.inc (remainder_test): Add test cases.
26428
48693bea
AK
264292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26430
26431 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26432 sdiv_qrnnd.
26433
42622229
LD
264342011-10-07 Ulrich Drepper <drepper@gmail.com>
26435
26436 * string/test-memcmp.c: Avoid unncessary #defines.
26437 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26438
093ecf92
LD
264392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26440
26441 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26442 Use new sse2 version for core i3 - i7 as it's faster
26443 than sse42 version.
26444 (bit_Prefer_PMINUB_for_stringop): New.
26445 * sysdeps/x86_64/rawmemchr.S: Update.
26446 Replace with faster SSE2 version.
26447 * sysdeps/x86_64/memrchr.S: New file.
26448 * sysdeps/x86_64/memchr.S: Update.
26449 Replace with faster SSE2 version.
26450
fde56e5c
MP
264512011-09-12 Marek Polacek <mpolacek@redhat.com>
26452
26453 * elf/dl-load.c (lose): Add cast to avoid warning.
26454
21fd49a9
UD
264552011-10-07 Ulrich Drepper <drepper@gmail.com>
26456
5a06e643
UD
26457 * po/ca.po: Update from translation team.
26458
684ae515
UD
26459 * inet/getnetgrent_r.c: Hook up nscd.
26460 * nscd/Makefile (routines): Add nscd_netgroup.
26461 (nscd-modules): Add netgroupcache.
26462 (CFLAGS-netgroupcache.c): Define.
26463 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26464 (cache_search): Add const to second parameter.
26465 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26466 INNETGR.
26467 (dbs): Add netgrdb entry.
26468 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26469 (verify_persistent_db): Handle netgrdb.
26470 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26471 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26472 GETFDNETGR.
26473 (netgroup_response_header): Define.
26474 (innetgroup_response_header): Define.
26475 (datahead): Add netgroup_response_header and innetgroup_response_header
26476 elements.
26477 * nscd/nscd.conf: Add entries for netgroup cache.
26478 * nscd/nscd.h (dbtype): Add netgrdb.
26479 (_PATH_NSCD_NETGROUP_DB): Define.
26480 (netgroup_iov_disabled): Declare.
26481 (xmalloc, xcalloc, xrealloc): Move declarations here.
26482 (cache_search): Adjust prototype.
26483 Add netgroup-related prototypes.
26484 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26485 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26486 (__nscd_innetgr): Declare.
26487 * nscd/selinux.c (perms): Use access_vector_t as element type and
26488 add netgroup-related initializers.
26489 * nscd/netgroupcache.c: New file.
26490 * nscd/nscd_netgroup.c: New file.
26491 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26492 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26493 For four parameters use innetgr.
26494 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26495 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26496 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26497 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26498
21fd49a9
UD
26499 * nscd/connections.c (register_traced_file): Don't register file
26500 for disabled databases.
26501
054c0457
UD
265022011-10-06 Ulrich Drepper <drepper@gmail.com>
26503
32b63198
UD
26504 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26505
054c0457
UD
26506 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26507 from tree and freeing node.
26508
64031225
JO
265092011-09-25 Jiri Olsa <jolsa@redhat.com>
26510
26511 * nss/nsswitch.c (__nss_database_lookup): Handle
26512 nss_parse_service_list out of memory case.
26513
0490345c
JO
265142011-09-15 Jiri Olsa <jolsa@redhat.com>
26515
26516 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26517 out of memory case.
26518
3a62d00d
AS
265192011-10-04 Andreas Schwab <schwab@redhat.com>
26520
26521 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26522 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26523 pass it down.
26524 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26525 elf_machine_rela, elf_machine_lazy_rel.
26526 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26527 (ELF_DYNAMIC_DO_REL): Likewise.
26528 (ELF_DYNAMIC_DO_RELA): Likewise.
26529 (ELF_DYNAMIC_RELOCATE): Likewise.
26530 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26531 to ELF_DYNAMIC_DO_REL.
26532 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26533 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26534 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26535 elf_machine_rela.
26536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26537 skip_ifunc, don't call ifunc function if non-zero.
26538 (elf_machine_rela): Likewise.
26539 (elf_machine_lazy_rel): Likewise.
26540 (elf_machine_lazy_rela): Likewise.
26541 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26542 (elf_machine_lazy_rel): Likewise.
26543 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26544 Likewise.
26545 (elf_machine_lazy_rel): Likewise.
26546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26547 Likewise.
26548 (elf_machine_lazy_rel): Likewise.
26549 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26550 (elf_machine_lazy_rel): Likewise.
26551 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26552 (elf_machine_lazy_rel): Likewise.
26553 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26554 (elf_machine_lazy_rel): Likewise.
26555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26556 (elf_machine_lazy_rel): Likewise.
26557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26558 (elf_machine_lazy_rel): Likewise.
26559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26560 (elf_machine_lazy_rel): Likewise.
26561
68577918
UD
265622011-09-28 Ulrich Drepper <drepper@gmail.com>
26563
26564 * nss/nss_files/files-init.c (_nss_files_init): Use static
26565 initialization for all the *_traced_file variables.
26566
68822d74
AS
265672011-09-28 Andreas Schwab <schwab@redhat.com>
26568
26569 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26570
2056100b
RM
265712011-09-27 Roland McGrath <roland@hack.frob.com>
26572
26573 [BZ #13226]
26574 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26575
32c76b63
AS
265762011-09-27 Andreas Schwab <schwab@redhat.com>
26577
26578 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26579 Reread the line before reparsing it.
26580
bf972c9d
AS
265812011-09-26 Andreas Schwab <schwab@redhat.com>
26582
26583 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26584
e057a1b5
JM
265852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26586 Maxim Kuvyrkov <maxim@codesourcery.com>
26587 Joseph Myers <joseph@codesourcery.com>
26588
26589 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26590 if needed for __stack_chk_guard.
26591
bc7e1c36
RM
265922011-09-19 Roland McGrath <roland@hack.frob.com>
26593
ecb1482f
RM
26594 * sysdeps/posix/spawni.c (script_execute): Always define it.
26595 It will be optimized away if unused.
26596 (maybe_script_execute): New function.
26597 (__spawni): Call it.
26598
bc7e1c36
RM
26599 * Makerules: Don't include tls.make.
26600 (config-tls): Always set to thread.
26601 * tls.make.c: File removed.
26602
1c3b002b
MF
266032011-09-19 Mike Frysinger <vapier@gentoo.org>
26604
26605 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26606 * config.make.in (CPPFLAGS-config): New substituted variable.
26607
2840865d
UD
266082011-09-15 Ulrich Drepper <drepper@gmail.com>
26609
88738eb6
UD
26610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26611
cbf645a6 26612 [BZ #13192]
2840865d
UD
26613 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26614 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26615
b402e91a
RM
266162011-09-15 Roland McGrath <roland@hack.frob.com>
26617
26618 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26619 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26621 (CALL_FAIL): Likewise.
26622 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26623 (CALL_FAIL): Macro removed.
26624 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26625
4c1a1f71
UD
266262011-09-15 Ulrich Drepper <drepper@gmail.com>
26627
26628 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26629 for __FINITE_MATH_ONLY__ == 1.
26630
edc121be
AS
266312011-09-15 Andreas Schwab <schwab@redhat.com>
26632
26633 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26634 __ieee754_sqrt instead of sqrt.
26635 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26636 __ieee754_sqrtf instead of sqrtf.
26637 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26638 __floorf instead of floorf.
26639 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26640 __floorf, __truncf instead of floorf, truncf.
26641
cd205654
UD
266422011-09-14 Ulrich Drepper <drepper@gmail.com>
26643
ee4d0315
UD
26644 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26645
cd205654
UD
26646 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26647 __extern_always_inline.
26648 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26649 32-bit.
26650
48b67d71
AS
266512011-09-14 Andreas Schwab <schwab@redhat.com>
26652
26653 * elf/rtld.c (dl_main): Also relocate in dependency order when
26654 doing symbol dependency testing.
26655
1ae12c75
AS
266562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26657
26658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26659 Always define `refsym'.
26660
995a80df
AS
266612011-09-13 Andreas Schwab <schwab@redhat.com>
26662
e529793b
AS
26663 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26664 (__FD_ELT): Renamed from __FDELT.
26665 * misc/bits/select2.h (__FD_ELT): Likewise.
26666 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26667 __FD_MASK instead of __FDELT, __FDMASK.
26668 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26669 Likewise.
26670 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26671 Likewise.
26672
52d4fef8
AS
26673 * elf/Makefile (gen-ldd): Fix pattern.
26674
995a80df
AS
26675 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26676 (init_tls): Likewise.
26677
8682f8b0
UD
266782011-09-12 Ulrich Drepper <drepper@gmail.com>
26679
26680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26681
de82006d
AS
266822011-09-12 Andreas Schwab <schwab@redhat.com>
26683
a7c8e6a1
AS
26684 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26685 `struct cmsghdr *' instead of `void *'.
26686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26687 Likewise.
26688
0f31fe77
AS
266892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26690
26691 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26692 if non-absolute.
26693 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26694 ldd_rewrite_script.
0f31fe77 26695
32b4c839
UD
266962011-09-11 Ulrich Drepper <drepper@gmail.com>
26697
83cd1420
UD
26698 * configure.in: Remove --with-tls option.
26699 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26700 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26701 out in case it is missing.
26702 * sysdeps/ia64/elf/configure.in: Likewise.
26703 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26704 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26705 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26706 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26707 * sysdeps/sh/elf/configure.in: Likewise.
26708 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26709 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26710 * sysdeps/x86_64/elf/configure.in: Likewise.
26711 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26712 * sysdeps/mach/hurd/tls.h: Likewise.
26713
633f745d
UD
26714 [BZ #13067]
26715 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26716
f318beb8
UD
26717 [BZ #13090]
26718 * configure.in: Fix use of AC_INIT.
26719
32b4c839
UD
26720 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26721
3ce1f295
UD
267222011-09-10 Ulrich Drepper <drepper@gmail.com>
26723
bb016596
UD
26724 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26725 __set_errno.
8e58439c
UD
26726 * malloc/hooks.c: Likewise.
26727
aebae053 26728 [BZ #11929]
02d46fc4
UD
26729 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26730 variables statically.
26731 (narenas): Initialize.
26732 (list_lock): Initialize.
bb016596
UD
26733 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26734 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26735 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26736 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26737 Add initializers to main_arena and mp_.
26738 (malloc_state): Remove pagesize member. Change all users to use
26739 GLRO(dl_pagesize).
26740
26741 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26742 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26743 is always initialized.
26744
22a89187
UD
26745 * malloc/malloc.c: Removed unused configurations and dead code.
26746 * malloc/arena.c: Likewise.
26747 * malloc/hooks.c: Likewise.
02d46fc4 26748 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26749
d063d164
UD
26750 * include/tls.h: Removed. USE___THREAD must always be defined.
26751 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26752 * elf/dl-libc.c: Likewise.
26753 * elf/dl-tsd.c: Likewise.
26754 * include/errno.h: Likewise.
26755 * include/netdb.h: Likewise.
26756 * include/resolv.h: Likewise.
26757 * inet/herrno-loc.c: Likewise.
26758 * inet/herrno.c: Likewise.
26759 * malloc/arena.c: Likewise.
26760 * malloc/hooks.c: Likewise.
26761 * malloc/malloc.c: Likewise.
26762 * resolv/res-state.c: Likewise.
26763 * resolv/res_libc.c: Likewise.
26764 * sysdeps/i386/dl-machine.h: Likewise.
26765 * sysdeps/ia64/dl-machine.h: Likewise.
26766 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26767 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26768 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26769 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26770 * sysdeps/sh/dl-machine.h: Likewise.
26771 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26772 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26773 * sysdeps/unix/i386/sysdep.S: Likewise.
26774 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26775 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26780 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26784 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26785 * sysdeps/x86_64/dl-machine.h: Likewise.
26786 * tls.make.c: Likewise.
26787
3ce1f295
UD
26788 * configure.in: Remove --with-__thread option. Make tests for
26789 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26790 tls_model attribute fail if no support is available. Remove
26791 USE_IN_LIBIO.
26792 * Makeconfig: Adjust for dropped configure option. All features are
26793 now mandatory.
26794 * Makerules: Likewise.
26795 * Versions.def: Likewise.
26796 * argp/argp-fmtstream.c: Likewise.
26797 * argp/argp-fmtstream.h: Likewise.
26798 * argp/argp-help.c: Likewise.
26799 * assert/assert.c: Likewise.
26800 * config.h.in: Likewise.
26801 * config.make.in: Likewise.
26802 * configure: Likewise.
26803 * configure.in: Likewise.
26804 * csu/Versions: Likewise.
26805 * csu/init.c: Likewise.
26806 * elf/tst-audit2.c: Likewise.
26807 * elf/tst-tls10.c: Likewise.
26808 * elf/tst-tls10.h: Likewise.
26809 * elf/tst-tls11.c: Likewise.
26810 * elf/tst-tls12.c: Likewise.
26811 * elf/tst-tls14.c: Likewise.
26812 * elf/tst-tlsmod11.c: Likewise.
26813 * elf/tst-tlsmod12.c: Likewise.
26814 * elf/tst-tlsmod13.c: Likewise.
26815 * elf/tst-tlsmod13a.c: Likewise.
26816 * elf/tst-tlsmod14a.c: Likewise.
26817 * elf/tst-tlsmod15b.c: Likewise.
26818 * elf/tst-tlsmod16a.c: Likewise.
26819 * elf/tst-tlsmod16b.c: Likewise.
26820 * elf/tst-tlsmod7.c: Likewise.
26821 * elf/tst-tlsmod8.c: Likewise.
26822 * elf/tst-tlsmod9.c: Likewise.
26823 * gmon/gmon.c: Likewise.
26824 * grp/fgetgrent_r.c: Likewise.
26825 * grp/putgrent.c: Likewise.
26826 * hurd/fopenport.c: Likewise.
26827 * include/libc-symbols.h: Likewise.
26828 * include/tls.h: Likewise.
26829 * intl/gettextP.h: Likewise.
26830 * intl/loadinfo.h: Likewise.
26831 * locale/global-locale.c: Likewise.
26832 * locale/localeinfo.h: Likewise.
26833 * mach/devstream.c: Likewise.
26834 * malloc/arena.c: Likewise.
26835 * malloc/set-freeres.c: Likewise.
26836 * misc/err.c: Likewise.
26837 * misc/getttyent.c: Likewise.
26838 * misc/mntent_r.c: Likewise.
26839 * posix/getopt.c: Likewise.
26840 * posix/wordexp.c: Likewise.
26841 * pwd/fgetpwent_r.c: Likewise.
26842 * resolv/Versions: Likewise.
26843 * resolv/res_hconf.c: Likewise.
26844 * shadow/fgetspent_r.c: Likewise.
26845 * shadow/putspent.c: Likewise.
26846 * stdio-common/printf_fphex.c: Likewise.
26847 * stdio-common/tmpfile.c: Likewise.
26848 * stdlib/abort.c: Likewise.
26849 * stdlib/fmtmsg.c: Likewise.
26850 * sunrpc/auth_unix.c: Likewise.
26851 * sunrpc/clnt_perr.c: Likewise.
26852 * sunrpc/clnt_tcp.c: Likewise.
26853 * sunrpc/clnt_udp.c: Likewise.
26854 * sunrpc/clnt_unix.c: Likewise.
26855 * sunrpc/openchild.c: Likewise.
26856 * sunrpc/svc_simple.c: Likewise.
26857 * sunrpc/svc_tcp.c: Likewise.
26858 * sunrpc/svc_udp.c: Likewise.
26859 * sunrpc/svc_unix.c: Likewise.
26860 * sunrpc/xdr.c: Likewise.
26861 * sunrpc/xdr_array.c: Likewise.
26862 * sunrpc/xdr_rec.c: Likewise.
26863 * sunrpc/xdr_ref.c: Likewise.
26864 * sunrpc/xdr_stdio.c: Likewise.
26865
1248c1c4
PB
268662011-09-09 Ulrich Drepper <drepper@gmail.com>
26867
26868 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26869
268702011-07-03 Andreas Jaeger <aj@suse.de>
26871
26872 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26873 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26874 regenerate with gen-libm-tests.pl.
26875
268762010-05-12 Petr Baudis <pasky@suse.cz>
26877
26878 [BZ #11589]
26879 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26880 around j0() zero points by switching to j1().
26881 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26884 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26885
f22e1074
UD
268862011-09-09 Ulrich Drepper <drepper@gmail.com>
26887
f19009c1
UD
26888 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26889 instead of 0.
26890 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26891 instead of 0.
f19009c1
UD
26892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26893 Patch in part by Pavel Roskin <proski@gnu.org>.
26894
3f8cc204
UD
26895 [BZ #13138]
26896 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26897 realloc.
26898 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26899 Free memory block if necessary.
26900
f22e1074
UD
26901 [BZ #12847]
26902 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26903 be NULL. Don't lock in this case.
26904
0a2349f9
RM
269052011-09-09 Roland McGrath <roland@hack.frob.com>
26906
26907 * elf/elf.h (ELFOSABI_GNU): New macro.
26908 (ELFOSABI_LINUX): Define to that.
26909
f3cdd467
DZ
269102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26911
26912 * string/strncat.c (strncat): Undef the symbol in case it has been
26913 defined in bits/string.h.
26914
74718d13
UD
269152011-09-09 Ulrich Drepper <drepper@gmail.com>
26916
633e9e0f
UD
26917 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26918
0a2349f9 26919 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26920 link map.
26921
f9924780
AJ
269222011-08-17 Andreas Jaeger <aj@suse.de>
26923
26924 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26925
7f5517aa
PP
269262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26927 Ian Lance Taylor <iant@google.com>
26928
26929 * math/libm-test.inc (lround_test): New testcase.
26930 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26931
762011fe
UD
269322011-09-08 Ulrich Drepper <drepper@gmail.com>
26933
92963737
UD
26934 * Makefile: Remove support for automatic cvs check-ins.
26935 * Makerules: Likewise.
26936 * config.make.in: Likewise.
26937 * configure.in: Likewise.
26938 * intl/Makefile: Likewise.
26939 * locale/Makefile: Likewise.
26940 * po/Makefile: Likewise.
26941 * posix/Makefile: Likewise.
26942 * sysdeps/gnu/Makefile: Likewise.
26943 * sysdeps/mach/hurd/Makefile: Likewise.
26944 * sysdeps/sparc/sparc32/Makefile: Likewise.
26945
b0727fd8
JS
26946 [BZ #13118]
26947 * posix/Makefile (bug-regex32-ENV): Define.
26948 Patch by John Stanley <jpsinthemix@verizon.net>.
26949
a0f33f99
UD
26950 * misc/Makefile (headers): Add bits/select2.h.
26951 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26952 * misc/bits/select2.h: New file.
26953 * include/bits/select2.h: New file.
26954 * debug/Makefile (routines): Add fdelt_chk.
26955 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26956 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26957 FD_ISSET.
26958 * debug/fdelt_chk.c: New file.
26959
762011fe
UD
26960 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26961 * wcsmbs/test-wmemcmp.c: Likewise.
26962 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26963 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26964
269652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26966
26967 * string/Makefile (strop-tests): Add memcmp.
26968 * string/test-wmemcmp.c: New file.
26969 * string/test-memcmp.c: Add wmemcmp support.
26970
7f513ec8
RM
269712011-09-08 Roland McGrath <roland@hack.frob.com>
26972
0442afb4
RM
26973 [BZ #13153]
26974 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26975 2011-07-19 change.
26976
7f513ec8
RM
26977 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26978 garbage value in a __mach_port_mod_refs call in the cases of the
26979 task-self and thread-self ports.
26980
a12b2239
ST
269812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26982
26983 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26984
610f9ab4
AS
269852011-09-08 Andreas Schwab <schwab@redhat.com>
26986
7f513ec8 26987 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26988
48882a1a
LD
269892011-09-07 Ulrich Drepper <drepper@gmail.com>
26990
b49865be
UD
26991 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26992
fdc86bc9
UD
26993 * elf/dl-libc.c (dlerror_run): Pass back error code from
26994 dl_catch_error.
26995
c966526a
UD
26996 [BZ #13123]
26997 * elf/dl-load.c (lose): Free l_origin if it is valid.
26998
48882a1a
LD
26999 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27000 names.
27001 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27002 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27003 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27004 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27005 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27006 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27007
77a2a8b4
AZ
270082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27009
27010 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27011 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27012 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27013 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27014 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27015 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27016 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27017 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27018 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27019 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27020
24f579d8
AM
270212011-08-15 Alan Modra <amodra@gmail.com>
27022
27023 [BZ #13092]
27024 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27025 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27026 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27027 ppc_mcount to static-only-routines.
27028 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27029 __mcount_internal.
27030 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27031 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27032
3d4837df
UD
270332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27034
27035 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27036 for finite and infinity parameters.
27037
22700377
WS
270382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27039
27040 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27041 and add nop instructions for throughput optimization.
27042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27043
5025581e
WS
270442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27045
27046 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27047 aligned copy for power7 with vector-scalar instructions.
27048 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27049
08a300c9
L
270502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27051
27052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27053 AVX check.
27054
59178ef9
AS
270552011-09-07 Andreas Schwab <schwab@redhat.com>
27056
27057 [BZ #13144]
27058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27059 last change.
27060
e38ba7ab
UD
270612011-09-07 Ulrich Drepper <drepper@gmail.com>
27062
27063 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27064 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27065 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27066 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27067 clock_gettime.
27068
d53a73ac
UD
270692011-09-06 Ulrich Drepper <drepper@gmail.com>
27070
fc8bffcc
UD
27071 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27072 Forgot to demangle the pointer.
27073
ceaa0c5d
UD
27074 * sysdeps/i386/sysdep.h: Define atom_text_section.
27075 * sysdeps/x86_64/sysdep.h: Likewise.
27076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27077 section with atom_text_section.
27078 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27080 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27082 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27083
a77d3c17
UD
27084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27086 already be defined. Change to take two parameters and don't assign
27087 result to variable. Adjust all users.
27088 Define INTERNAL_GETTIME if not already defined.
27089 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27090 call.
27091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27092 HAVE_CLOCK_GETTIME_VSYSCALL.
27093 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27094
d53a73ac
UD
27095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27096 gettimeofday vsyscall, just use time.
27097
a8f84144
AS
270982011-09-06 Andreas Schwab <schwab@redhat.com>
27099
27100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27101 <errno.h>.
27102
ef606249
UD
271032011-09-06 Ulrich Drepper <drepper@gmail.com>
27104
27105 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27106 syscall on x86-64.
27107 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27108 syscall.
27109 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27111 syscall if possible.
27112
6585cb60
UD
271132011-09-05 Ulrich Drepper <drepper@gmail.com>
27114
27115 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27116 e_ident. Don't pass to find_mapsXX.
27117 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27118
a5f524e4
LD
271192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27120
27121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27122 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27123 * sysdeps/x86_64/multiarch/strchr.S: Update.
27124 Check bit_slow_BSF bit.
27125 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27126 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27127 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27128
554881ef
UD
271292011-09-05 Ulrich Drepper <drepper@gmail.com>
27130
d96de963
UD
27131 [BZ #13134]
27132 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27133 before glibc 2.15.
27134 (tryshell): Define.
27135 (__spawni): Change last parameter to be flag. Test
27136 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27137 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27138 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27139 * posix/spawni.c: Likewise.
27140 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27141 * posix/spawnp.c: Likewise. Change normal version to use
27142 SPAWN_XFLAGS_USE_PATH.
27143 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27144 SPAWN_XFLAGS_TRY_SHELL.
27145
d48e5868
UD
27146 [BZ #13150]
27147 * posix/glob.h: Remove gcc 1.x support.
27148
554881ef
UD
27149 [BZ #13068]
27150 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27151
693fb948
LD
271522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27153
27154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27155 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27156 strrchr-sse2-bsf
27157 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27158 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27159 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27160 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27161 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27162 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27163
1b48c537
UD
271642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27165
49d42c37
UD
27166 * sysdeps/x86_64/wcscmp.S: New file.
27167
1b48c537
UD
27168 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27169 wcscmp-c wcscmp-sse2
27170 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27171 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27172 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27173 * wcsmbs/wcscmp.c: Allow renaming.
27174
15c95c5d
DM
271752011-09-05 David S. Miller <davem@davemloft.net>
27176
27177 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27178 stack slot, rather than the struct return pointer slot.
27179 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27180 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27182 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27183
2f0ad8f3
UD
271842011-09-05 Ulrich Drepper <drepper@gmail.com>
27185
d88ae418
UD
27186 * po/ja.po: Update from translation team.
27187
2f0ad8f3
UD
27188 [BZ #13144]
27189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27190 kernel in 64-bit binaries.
27191
5f4318d1
DM
271922011-09-01 David S. Miller <davem@davemloft.net>
27193
27194 * elf/elf.h (HWCAP_SPARC_*): Move to..
27195 * sysdeps/sparc/sysdep.h: this new file and add new values.
27196 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27197 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27198 _DL_HWCAP_COUNT to 24.
27199 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27200 entries.
27201 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27202 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27203 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27205 instead of magic constants.
27206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27207
3ba57516
DM
272082011-08-31 David S. Miller <davem@davemloft.net>
27209
27210 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27212 Reimplement to do errno handling inline.
27213 (SYSCALL_ERROR_HANDLER): New macro.
27214 (__SYSCALL_STRING): Do not do errno handling in asm.
27215 (__CLONE_SYSCALL_STRING): Delete.
27216 (__INTERNAL_SYSCALL_STRING): Delete.
27217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27218 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27219 (PSEUDO): Reimplement to do errno handling inline.
27220 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27221 (SYSCALL_ERROR_HANDLER): New macro.
27222 (__SYSCALL_STRING): Do not do errno handling in asm.
27223 (__CLONE_SYSCALL_STRING): Delete.
27224 (__INTERNAL_SYSCALL_STRING): Delete.
27225 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27226 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27227 i386.
27228 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27229 (inline_syscall*): Add 'err' argument.
27230 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27231 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27232 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27233 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27234
27235 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27236 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27237
2bc17433
AS
272382011-08-30 Andreas Schwab <schwab@redhat.com>
27239
27240 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27241
fbeb5f4d
JO
272422011-08-29 Jiri Olsa <jolsa@redhat.com>
27243
27244 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27245 directive.
27246
ad69cc26
DM
272472011-08-24 David S. Miller <davem@davemloft.net>
27248
27249 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27250
39dd69df
AS
272512011-08-24 Andreas Schwab <schwab@redhat.com>
27252
27253 * elf/Makefile: Add rules to build and run unload8 test.
27254 * elf/unload8.c: New file.
27255 * elf/unload8mod1.c: New file.
27256 * elf/unload8mod1x.c: New file.
27257 * elf/unload8mod2.c: New file.
27258 * elf/unload8mod3.c: New file.
27259
27260 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27261 it wasn't used.
27262
2c0b250a
DM
272632011-08-23 David S. Miller <davem@davemloft.net>
27264
27265 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27266 subtract stack bias.
27267 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27268 %sp not %fp in calculations.
27269 (_JMPBUF_UNWINDS_ADJ): Likewise.
27270
22044b48
DM
27271 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27272 (aio_suspend): Call it to force an exception region around the
27273 AIO_MISC_WAIT() invocation.
27274
2cae4995
AS
272752011-08-23 Andreas Schwab <schwab@redhat.com>
27276
27277 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27278 backslash.
27279
873a772e
AJ
272802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27281
27282 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27283 protection macro.
27284 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27285 and <dl-machine.h>.
27286 (Elf64_FuncDesc): Remove.
27287
25ad0df1
DM
272882011-08-22 David S. Miller <davem@davemloft.net>
27289
27290 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27291 sigaltstack check, add missing cfi directives.
27292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27293 missing cfi directives, and sigaltstack handling.
27294
e888bcbe
AS
272952011-08-16 Andreas Schwab <schwab@redhat.com>
27296
27297 [BZ #11724]
27298 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27299 object is seen twice.
27300 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27301
27302 * elf/Makefile (distribute): Add tst-initorder2.c.
27303 (tests): Add tst-initorder2.
27304 (modules-names): Add tst-initorder2a tst-initorder2b
27305 tst-initorder2c tst-initorder2d. Add rules to build them.
27306 ($(objpfx)tst-initorder2.out): New rule.
27307 * elf/tst-initorder2.c: New file.
27308 * elf/tst-initorder2.exp: New file.
27309
87162f46
AS
273102011-08-22 Andreas Schwab <schwab@redhat.com>
27311
70538b7f
AS
27312 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27313
f55ffe58
AS
27314 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27315 dependencies back to end of function.
27316
87162f46
AS
27317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27318 $(elfobjdir)/ld.so.
27319
91b392a4
UD
273202011-08-21 Ulrich Drepper <drepper@gmail.com>
27321
27322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27323 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27325 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27326 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27327 of __vdso_gettimeofday.
27328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27329 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27330 attribute_hidden.
27331 (_libc_vdso_platform_setup): Remove initialization of
27332 __vdso_gettimeofday and __vdso_time.
27333
5c43483f
UD
273342011-08-20 Ulrich Drepper <drepper@gmail.com>
27335
775a77e7
UD
27336 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27337 and fgetc_unlocked.
27338 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27339 getc_unlocked.
89f447ed 27340
49c74ba9
UD
27341 * elf/dl-open.c (add_to_global): Report additions to the global scope
27342 for LD_DEBUG=scopes.
27343 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27344 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27345
5c43483f
UD
27346 [BZ #13114]
27347 * stdio-common/Makefile (tests): Add bug24.
27348 * stdio-common/bug24.c: New file.
27349
a101b025
AJ
273502011-08-19 Andreas Jaeger <aj@suse.de>
27351
27352 [BZ #13114]
27353 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27354 non-existant file when using close-on-exec mode.
27355
c88f1766
UD
273562011-08-20 Ulrich Drepper <drepper@gmail.com>
27357
0276a718
UD
27358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27359 the very first instruction.
27360
c88f1766
UD
27361 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27362 the CFI state in the end.
27363 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27364 inclusion of dl-trampoline.h.
27365 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27366
51ccffa0
AS
273672011-08-19 Andreas Schwab <schwab@redhat.com>
27368
94d7165f
AS
27369 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27370 expectations for long double.
27371
51ccffa0
AS
27372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27373 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27374
fd708658 273752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27376
27377 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27378 artificual limit depends upon the system page size.
27379
44f0a71e
UD
273802011-08-17 Ulrich Drepper <drepper@gmail.com>
27381
27382 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27383 * resolv/Makefile: Define CFLAGS-libresolv.
27384
8de79a24
AS
273852011-08-17 Andreas Schwab <schwab@redhat.com>
27386
27387 * nss/makedb.c (compute_tables): Make variables used in nested
27388 function static.
27389
27724598
UD
273902011-08-17 Ulrich Drepper <drepper@gmail.com>
27391
c5305d88
UD
27392 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27393 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27394 if buffer was too small.
27395
27724598
UD
27396 * elf/pldd.c (main): Attach to all threads in the process.
27397 Rewrite /proc handling to use *at functions.
27398
076fe015
UD
273992011-08-16 Ulrich Drepper <drepper@gmail.com>
27400
174baab3
UD
27401 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27402 specifies first scope to show.
27403 (dl_open_worker): Update callers. Move printing scope of new
27404 object to before the relocation.
44f0a71e 27405 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27406 * sysdeps/generic/ldsodefs.h: Update declaration.
27407
076fe015
UD
27408 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27409 string for the scope number.
27410
a60df2c3
UD
274112011-08-14 Ulrich Drepper <drepper@gmail.com>
27412
27413 * nscd/servicescache.c (cache_addserv): Make sure written is always
27414 initialized.
27415
5e4287d1
RM
274162011-08-14 Roland McGrath <roland@hack.frob.com>
27417
85ae0589
RM
27418 * sysdeps/i386/i486/bits/atomic.h
27419 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27420 statement expression, so as to suppress "set but not used" warning.
27421 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27422
69f63097
RM
27423 * string/strncat.c (STRNCAT): Use prototype definition.
27424
675456ef
RM
27425 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27426 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27427 -Iprograms here.
27428 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27429 (localedef-modules): Add localedef.
27430 (locale-modules): Add locale.
27431
5e4287d1
RM
27432 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27433 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27434 to avoid a warning.
27435
9c96ff23
DM
274362011-08-14 David S. Miller <davem@davemloft.net>
27437
27438 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27439 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27440
f9ddf089
UD
274412011-08-13 Ulrich Drepper <drepper@gmail.com>
27442
44f0a71e 27443 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27444 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27445 * elf/rtld.c (dl_main): Set l_name of vDSO.
27446 Call _dl_show_scope when DL_DEBUG_SCOPES.
27447 (process_dl_debug): Recognize scopes flag and also set it for all.
27448 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27449 Declare _dl_show_scope.
27450
1dc27704
UD
27451 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27452 (do_dlopen): Pass caller_dlopen to dl_open.
27453 (__libc_dlopen_mode): Initialize caller_dlopen.
27454
f9ddf089
UD
27455 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27456 of libc. Make tolower call locale-independent. Optimize a bit by
27457 using isdigit instead of isalnum.
27458 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27459
9ac533d3
UD
274602011-08-12 Ulrich Drepper <drepper@gmail.com>
27461
27462 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27463 was a dependency or dynamically loaded.
27464
89edf2e9
UD
274652011-08-11 Ulrich Drepper <drepper@gmail.com>
27466
8e999d29
UD
27467 * intl/l10nflist.c: Allow architecture-specific pop function.
27468 * sysdeps/x86_64/l10nflist.c: New file.
27469
89edf2e9
UD
27470 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27471 classification.
27472
14d96785
AS
274732011-08-10 Andreas Schwab <schwab@redhat.com>
27474
27475 * include/dirent.h: Add libc_hidden_proto for scandirat and
27476 scandirat64. Don't declare __scandirat64.
27477 * dirent/scandirat.c: Add libc_hidden_def.
27478 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27479 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27480
6761ac04
DM
274812011-08-10 David S. Miller <davem@davemloft.net>
27482
27483 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27484 enum.
27485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27488
c55fbd1e
UD
274892011-08-09 Ulrich Drepper <drepper@gmail.com>
27490
27491 * Versions.def [libc]: Add GLIBC_2.15.
27492 * dirent/Makefile (routines): Add scandirat and scandirat64.
27493 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27494 GLIBC_2.15.
27495 * dirent/dirent.h: Declare scandirat and scandirat64.
27496 * dirent/scandirat.c: New file.
27497 * dirent/scandirat64.c: New file.
27498 * sysdeps/wordsize-64/scandirat.c: New file.
27499 * sysdeps/wordsize-64/scandirat64.c: New file.
27500 * dirent/opendir.c: Define opendirat.
27501 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27502 using scandirat.
27503 * dirent/scandir64.c: Adjust for scandir.c change.
27504 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27505 __scandirat64, and __scandir_cancel_handler.
27506 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27507 additional parameter and use openat instead of open (outside of ld.so).
27508 Add new __opendir as wrapper around __opendirat.
27509 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27510 here without requiring old scandirat implementation.
27511
879165f2
UD
275122011-08-08 Ulrich Drepper <drepper@gmail.com>
27513
27514 * dirent/scandir.c (cancel_handler): Renamed to
27515 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27516 defined. Adjust users.
27517 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27518 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27519
cb7e923b
UD
275202011-08-04 Ulrich Drepper <drepper@gmail.com>
27521
16292edd
UD
27522 * string/test-string.h (IMPL): Use __STRING to expand name and then
27523 stringify it.
27524
cb7e923b
UD
27525 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27526 of cleanups.
27527
cff82933
LD
275282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27529
27530 * string/Makefile: Update.
27531 (strop-tests): Append strncat.
27532 * string/test-wcscmp.c: New file.
27533 New comprehensive test for wcscmp.
27534 * string/test-strcmp.c: Update.
27535 (WIDE): New define.
27536
9be9bfcc
AS
275372011-07-22 Andreas Schwab <schwab@redhat.com>
27538
27539 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27540 line.
27541
2e96f1c7
AS
275422011-07-26 Andreas Schwab <schwab@redhat.com>
27543
27544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27545 encoding to ACE if AI_IDN.
27546
85188888
JJ
275472011-08-01 Jakub Jelinek <jakub@redhat.com>
27548
27549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27550 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27551
5fa16e9b
LD
275522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27553
27554 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27555 Fix overflow bug in strncat.
27556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27557
27558 * string/test-strncat.c: Update.
27559 Add new tests for checking overflow bugs.
27560
275612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27562
27563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27564 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27565 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27566 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27568 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27569 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27570 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27571 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27572
27573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27574 (USE_AS_STRCAT): Define.
27575 Add strcat and strncat support.
27576 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27577
8c1a459f
AS
275782011-07-25 Andreas Schwab <schwab@redhat.com>
27579
27580 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27581 __n bigger than INT_MAX+1.
27582 (__strncmp_g): Likewise.
27583
bba33c28
UD
275842011-07-23 Ulrich Drepper <drepper@gmail.com>
27585
798be72d
UD
27586 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27587 * libio/stido.h: Likewise.
27588
8accd4dc
UD
27589 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27590 (AF_NFC): Define.
27591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27592 (AF_NFC): Define.
27593
cbff0d96
UD
27594 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27595 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27596 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27597 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27598 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27599
9191c04a
UD
27600 [BZ #13021]
27601 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27602 installed.
27603
bba33c28
UD
27604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27605 typo.
27606 (_dl_x86_64_save_sse): Likewise.
27607
90f139dd
UD
276082011-07-22 Ulrich Drepper <drepper@gmail.com>
27609
1aae088a
UD
27610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27611 OSXSAVE.
27612 (_dl_x86_64_save_sse): Likewise.
27613
8e2045f5
UD
27614 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27615
90f139dd
UD
27616 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27617
1d002f25
AS
276182011-07-21 Andreas Schwab <schwab@redhat.com>
27619
27620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27621 change.
27622 (_dl_x86_64_save_sse): Use correct AVX check.
27623
21137f89
UD
276242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27625
27626 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27627 bug in strncpy/strncat.
27628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27629
a65c0b7a
UD
276302011-07-21 Ulrich Drepper <drepper@gmail.com>
27631
27632 * string/tester.c (test_strcat): Add tests for different alignments
27633 of source and destination.
27634 (test_strncat): Likewise.
27635
6986b98a
UD
276362011-07-20 Ulrich Drepper <drepper@gmail.com>
27637
90bb2039
UD
27638 [BZ #12852]
27639 * posix/glob.c (glob): Check passed in values before using them in
27640 expressions to avoid some overflows.
27641 (glob_in_dir): Likewise.
27642
5644ef54
UD
27643 [BZ #13007]
27644 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27645 check for AVX enablement so that we don't crash with old kernels and
27646 new hardware.
27647 * elf/tst-audit4.c: Add same checks here.
27648 * elf/tst-audit6.c: Likewise.
27649
27650 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27651
bfc9dc9b
AS
276522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27653
27654 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27655
702e64bb
UD
276562011-07-20 Ulrich Drepper <drepper@gmail.com>
27657
27658 * po/cs.po: Update from translation team.
27659 * po/bg.po: Likewise.
27660
295e904f
MP
276612011-07-12 Marek Polacek <mpolacek@redhat.com>
27662
27663 * misc/sys/cdefs.h: Add support for const attribute.
27664 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27665 to gnu_dev_{major,minor,makedev} functions.
27666
3ff94596
MP
276672011-07-20 Marek Polacek <mpolacek@redhat.com>
27668
27669 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27670
28b59fca
AS
276712011-07-20 Andreas Schwab <schwab@redhat.com>
27672
27673 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27674 strlen results.
27675
19df733e
AK
276762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27677
27678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27679 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27680 register in order to avoid conflicts with the soft frame pointer
27681 being held in r11 when necessary.
27682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27683 (INTERNAL_VSYSCALL_NCS): Likewise.
27684
c8835729
MP
276852011-07-14 Marek Polacek <mpolacek@redhat.com>
27686
27687 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27688 * elf/dl-fini.c (_dl_fini): Adjust caller.
27689 * elf/dl-close.c (_dl_close_worker): Likewise.
27690 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27691
b902330c
MP
276922011-07-15 Marek Polacek <mpolacek@redhat.com>
27693
8991e135
MP
27694 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27695 "aux_cache->nlibs < 0".
27696
b902330c
MP
27697 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27698 in the reload-count case.
27699
99710781
LD
277002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27701
27702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27703 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27704 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27705 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27706 * sysdeps/x86_64/multiarch/strcat.S: New file.
27707 * sysdeps/x86_64/multiarch/strncat.S: New file.
27708 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27709 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27710 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27711 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27712 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27713 (USE_AS_STRCAT): Define.
27714 Add strcat and strncat support.
27715 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27716 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27717 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27718 * string/strncat.c: Update.
27719 (USE_AS_STRNCAT): Define.
27720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27721 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27722 and i7.
27723 * sysdeps/x86_64/multiarch/init-arch.h
27724 (bit_Prefer_PMINUB_for_stringop): New.
27725 (index_Prefer_PMINUB_for_stringop): Likewise.
27726 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27727 bit_Prefer_PMINUB_for_stringop.
27728
7dc6bd90
UD
277292011-07-19 Ulrich Drepper <drepper@gmail.com>
27730
27731 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27732 buffer64.
27733 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27734 of casting of buffer.
27735 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27736 buffer32 and buffer64.
27737 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27738 writes instead of casting of buffer.
27739 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27740 buffer32.
27741 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27742 casting of buffer.
27743
e0e72284
AS
277442011-07-19 Andreas Schwab <schwab@redhat.com>
27745
27746 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27747
feb1eb0b
UD
277482011-07-19 Ulrich Drepper <drepper@gmail.com>
27749
27750 * nscd/nscd.c (termination_handler): Don't do anything for a database
27751 if it has not yet been initialized.
27752
298711ff
UD
277532011-07-18 Ulrich Drepper <drepper@gmail.com>
27754
27755 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27756
277572011-07-15 Marek Polacek <mpolacek@redhat.com>
27758
27759 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27760
f9d68389
UD
277612011-07-18 Ulrich Drepper <drepper@gmail.com>
27762
27763 * po/nl.po: Update from translation team.
27764 * po/sv.po: Likewise.
27765
db290cf5
RM
277662011-07-16 Roland McGrath <roland@hack.frob.com>
27767
27768 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27769 now disallowed by GCC.
5c550700 27770
fd5e21c7
RM
27771 * configure.in (use-default-link): Default to yes if a test -shared
27772 link meets our qualifications.
27773 * configure: Regenerated.
27774
5c550700
RM
27775 * config.make.in (output-format): New variable.
27776 * configure.in: Check for ld --print-output-format support.
27777 * configure: Regenerated.
27778 * Makerules ($(common-objpfx)format.lds)
27779 [$(output-format) != unknown]: Just use $(output-format),
27780 instead of the linker-script munging.
27781
9fa2c032
RM
277822011-07-14 Roland McGrath <roland@hack.frob.com>
27783
a6928d51
RM
27784 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27785 of $(common-objpfx)shlib.lds.
27786 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27787
661607b3
RM
27788 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27789 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27790
9fa2c032
RM
27791 * configure.in (-z relro check): Adjust test code to add a large
27792 writable data section after it.
27793 * configure: Regenerated.
27794
defe9061
RM
277952011-07-11 Roland McGrath <roland@hack.frob.com>
27796
27797 * configure.in (-z relro check): Fix test code to make the variable
27798 truly const.
27799 * configure: Regenerated.
27800
319b9ad4
UD
278012011-07-11 Ulrich Drepper <drepper@gmail.com>
27802
27803 * nscd/nscd.h (struct traced_file): Define.
27804 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27805 elements. Add traced_files.
27806 (inotify_fd): Declare.
27807 (register_traced_file): Declare.
27808 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27809 (inotify_fd): Export.
27810 (resolv_conf_descr): Remove.
27811 (nscd_init): Move inotify descriptor creation to main.
27812 Don't register files for notification here.
27813 (register_traced_file): New function.
27814 (invalidate_cache): Don't use reset_res to determine whether to call
27815 res_init, go through the list of registered files.
27816 (main_loop_poll): The inotify descriptors are now stored in the
27817 structures for the traced files.
27818 (main_loop_epoll): Likewise
27819 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27820 to __nss_disable_nscd.
27821 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27822 for a database anymore. Check the records for all the registered
27823 files instead.
27824 * nss/Makefile (libnss_files-routines): Add files-init.
27825 (libnss_db-routines): Add db-init.
27826 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27827 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27828 * nss/nss_db/db-init.c: New file.
27829 * nss/nss_files/files-init.c: New file.
27830 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27831 __nss_lookup_function.
27832 (__nss_lookup_function): Call nss_load_library.
27833 (nss_load_all_libraries): New function.
27834 (__nss_disable_nscd): Take parameter with callback function for files
27835 to register. Set is_nscd. Load all the DSOs for the NSS modules
27836 used for the cached services.
27837 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27838 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27839 options for features to all the files in nscd.
27840
27841 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27842
23bee3e8
RM
278432011-07-10 Roland McGrath <roland@hack.frob.com>
27844
27845 * csu/elf-init.c (__libc_csu_init): Comment typo.
27846
46a5b7f0
UD
278472011-07-09 Ulrich Drepper <drepper@gmail.com>
27848
27849 * po/pl.po: Update from translation team.
27850 * po/ja.po: Likewise.
27851 * po/ru.po: Likewise.
27852 * po/ko.po: Likewise.
27853 * po/fr.po: Likewise.
27854
d30cf5bb
RM
278552011-07-09 Roland McGrath <roland@hack.frob.com>
27856
113ddea4
RM
27857 * configure.in (.ctors/.dtors header and trailer check):
27858 Use an empirical test on a built program.
27859 * configure: Regenerated.
27860
574920b4
RM
27861 * configure.in (-z relro check): Use an empirical test on a built DSO.
27862 Detect, but do not require, on ia64.
27863 * configure: Regenerated.
27864
d30cf5bb
RM
27865 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27866 Update tests that use readelf to use $READELF instead.
27867 * configure: Regenerated.
27868
8538fdb3
UD
278692011-07-08 Ulrich Drepper <drepper@gmail.com>
27870
27871 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27872 if the result is not used.
27873
04d08991
AJ
278742011-07-05 Andreas Jaeger <aj@suse.de>
27875
27876 [BZ#9696]
27877 * stdlib/tst-strtod.c: Add testcase.
27878
de283087
AD
278792011-07-07 Ulrich Drepper <drepper@gmail.com>
27880
4e5f31c8 27881 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27882 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27883 The latter has a higher limit. Take additional parameter to pass to
27884 the new function.
27885 (__pathconf): Pass file to __statfs_link_max.
27886 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27887 __statfs_link_max.
27888 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27889 __statfs_link_max.
27890
de283087
AD
27891 [BZ #12868]
27892 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27893 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27894 Handle Lustre.
27895 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27896 (__statfs_filesize_max): Likewise.
27897 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27898
c75fa153
AJ
278992011-07-05 Andreas Jaeger <aj@suse.de>
27900
27901 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27902
1a544854
UD
279032011-07-06 Marek Polacek <mpolacek@redhat.com>
27904
27905 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27906 `status' variable.
27907 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27908 Likewise.
27909
6f0eec67
UD
279102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27911
27912 * Makefile (strop-tests): Add strncat.
27913 * string/test-strncat.c: New file.
27914
aae30307
UD
279152011-06-30 Marek Polacek <mpolacek@redhat.com>
27916
27917 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27918
c0cfb5eb
UD
279192011-06-21 Andreas Jaeger <aj@suse.de>
27920
27921 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27922 Copy rule from iconvdata/Makefile.
27923
01636b21
UD
279242011-07-06 Ulrich Drepper <drepper@gmail.com>
27925
27926 [BZ #12922]
27927 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27928 but no long options are defined, just return 'W'.
27929
9895c8bc
UD
279302011-06-22 Marek Polacek <mpolacek@redhat.com>
27931
27932 [BZ #9696]
27933 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27934
5d4cf042
UD
279352011-07-06 Ulrich Drepper <drepper@gmail.com>
27936
27937 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27938 netgroups to read.
960e5535 27939 (innetgr): Likewise.
5d4cf042 27940
751eb97e
RM
279412011-07-05 Roland McGrath <roland@hack.frob.com>
27942
27943 * config.make.in (install_root): Default to $(DESTDIR).
27944
f15f1e45
UD
279452011-07-05 Ulrich Drepper <drepper@gmail.com>
27946
27947 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27948
4e34ac6a
RM
279492011-07-02 Roland McGrath <roland@hack.frob.com>
27950
5e9b6af4
RM
27951 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27952
84f9ea0f
RM
27953 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27954 containing directory rather than embedding absolute directory names.
27955
ea5ee9f7
RM
27956 * scripts/check-local-headers.sh: Rewritten using awk.
27957 Match by word, not by line. Print error messages for matches.
27958 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27959
1b74661a
RM
27960 * Makerules [shlib-lds-flags empty]:
27961 ($(common-objpfx)libc_pic.opts): New target.
27962 ($(common-objpfx)libc_pic.os.clean): New target.
27963 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27964
27965 * config.make.in (OBJCOPY): New variable.
27966 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27967 * configure: Regenerated.
27968
f781ef40
RM
27969 * config.make.in (use-default-link): New variable.
27970 * configure.in (use_default_link): Grok --with-default-link to set it.
27971 * configure: Regenerated.
27972 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27973 (shlib-lds, shlib-lds-flags): Define to empty.
27974
2d4fa81e
RM
27975 * Makerules (shlib-lds): New variable.
27976 (shlib-lds-flags): New variable.
27977 (build-shlib, build-moduile, build-module-asneeded): Use it.
27978 ($(common-objpfx)libc.so): Use $(shlib-lds).
27979 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27980 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27981
31fffa6b
RM
27982 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27983 DT_FLAGS/DT_FLAGS_1 with zero flags.
27984
4e34ac6a
RM
27985 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27986 linker script munging.
27987
fcfc776b
UD
279882011-07-02 Ulrich Drepper <drepper@gmail.com>
27989
27990 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27991 as 128-bit value.
27992 * crypt/sha512.c (sha512_process_block): Perform total addition using
27993 128-bit if possible.
27994 (__sha512_finish_ctx): Likewise.
27995 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27996 as 64-bit value.
27997 * crypt/sha256.c (SWAP64): Define.
27998 (sha256_process_block): Perform total addition using 64-bit if
27999 possible.
28000 (__sha256_finish_ctx): Likewise.
28001
99231d9a
UD
280022011-07-01 Ulrich Drepper <drepper@gmail.com>
28003
28004 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28005 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28006 * nscd/hstcache.c (cache_addhst): Likewise.
28007 * nscd/grpcache.c (cache_addgr): Likewise.
28008 * nscd/aicache.c (addhstaiX): Likewise
28009 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28010
445b4a53
TK
280112011-07-01 Thorsten Kukuk <kukuk@suse.de>
28012
28013 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28015 * nscd/hstcache.c (cache_addhst): Likewise.
28016 * nscd/grpcache.c (cache_addgr): Likewise.
28017 * nscd/aicache.c (addhstaiX): Likewise
28018
6d4d8e8e
AS
280192011-07-01 Andreas Schwab <schwab@redhat.com>
28020
28021 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28022 domain only when needed.
28023
89f654c5
AS
280242011-06-30 Andreas Schwab <schwab@redhat.com>
28025
28026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28027 is always restored.
28028
cf3b23ff
UD
280292011-06-29 Ulrich Drepper <drepper@gmail.com>
28030
28031 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28032 are re-adding the entry.
28033 * nscd/servicescache.c (cache_addserv): Likewise.
28034
751626f9
AJ
280352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28036
28037 * sysdeps/generic/dl-irel.h: fix protection against multiple
28038 inclusions.
28039 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28040
9113ea1f
UD
280412011-06-28 Ulrich Drepper <drepper@gmail.com>
28042
5c0b8d90
UD
28043 [BZ #12935]
28044 * malloc/memusage.sh: Fix quoting in message.
28045 * debug/xtrace.sh: Likewise.
28046
9113ea1f
UD
28047 * configure.in: Remove support for --experimental-malloc option, make
28048 it the default.
28049 * config.make.in: Likewise.
28050 * malloc/Makefile: Likewise.
28051
a4172181
AS
280522011-06-27 Andreas Schwab <schwab@redhat.com>
28053
28054 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28055 two-byte characters.
28056
78a7eee7
RM
280572011-06-27 Roland McGrath <roland@hack.frob.com>
28058
62bede13
RM
28059 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28060 AC_CACHE_CHECK invocation.
28061 * configure: Regenerated.
28062
78a7eee7
RM
28063 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28064
5ce33a62
UD
280652011-06-27 Ulrich Drepper <drepper@gmail.com>
28066
034807a9
UD
28067 [BZ #12350]
28068 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28069 bit from old_res_options.
28070
4902da17
UD
28071 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28072
5ce33a62
UD
28073 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28074 value type for setfct.
28075
c2344f56
L
280762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28077
28078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28079 __gettimeofday instead of gettimeofday.
28080
68468076
UD
280812011-06-26 Ulrich Drepper <drepper@gmail.com>
28082
28083 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28084
acb0d739
L
280852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28086
28087 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28088
28089 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28090 info.
28091
8912479f
L
280922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28093
28094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28095 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28096 strcpy-sse2-unaligned strncpy-sse2-unaligned
28097 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28098 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28099 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28100 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28101 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28104 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28105 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28106 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28107 (STRCPY): Support SSE2 and SSSE3 versions.
28108
d5495a11
UD
281092011-06-24 Ulrich Drepper <drepper@gmail.com>
28110
28111 [BZ #12874]
28112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28113 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28114 kernels which artificially limit size of requests.
28115
0b1cbaae
L
281162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28117
28118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28119 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28120 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28121 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28122 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28123 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28124 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28125 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28126 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28128 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28129 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28130 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28131 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28132 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28134 Enable unaligned load optimization for Intel Core i3, i5 and i7
28135 processors.
28136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28137 Define.
28138 (index_Fast_Unaligned_Load): Define.
28139 (HAS_FAST_UNALIGNED_LOAD): Define.
28140
07f494a0
MP
281412011-06-23 Marek Polacek <mpolacek@redhat.com>
28142
28143 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28144
fa3fc0fe
UD
281452011-06-22 Ulrich Drepper <drepper@gmail.com>
28146
28147 [BZ #12907]
28148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28149 until it is clear that the information is realy needed.
28150 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28151
e12df166
AS
281522011-06-22 Andreas Schwab <schwab@redhat.com>
28153
28154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28155
852eb34d
UD
281562011-06-22 Ulrich Drepper <drepper@gmail.com>
28157
84e2a551
UD
28158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28159 /sys/devices/system/cpu/online if it is usable.
28160
852eb34d
UD
28161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28162 reading the information from the /proc filesystem to once a second.
28163
6e502e19
UD
281642011-06-21 Andreas Jaeger <aj@suse.de>
28165
28166 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28167 NULL after inclusion of kernel headers.
28168
75d39ff2
UD
281692011-06-21 Ulrich Drepper <drepper@gmail.com>
28170
51f9aa6a
UD
28171 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28172 calls to internal_setent.
28173
c0244a9d
UD
28174 [BZ #12885]
28175 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28176 addresses using gethostbyname4_r ignore IPv4 addresses.
28177
c5e3c2ae
UD
28178 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28179 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28180
75d39ff2
UD
28181 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28182
42675c6f
DM
281832011-06-20 David S. Miller <davem@davemloft.net>
28184
28185 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28186 inclusions.
28187 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28188
28189 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28190 (elf_irel): Use it.
28191 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28192 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28193 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28194 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28195 * sysdeps/x86_64/dl-irel.h: Likewise.
28196
28197 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28198 * elf/dl-sym.c: Likewise.
28199
57912a71
UD
282002011-06-15 Ulrich Drepper <drepper@gmail.com>
28201
28202 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28203 need to dereference resplen2.
28204
ee22793d
AS
282052011-06-14 Andreas Schwab <schwab@redhat.com>
28206
28207 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28208
a9e836b0
UD
282092011-06-15 Ulrich Drepper <drepper@gmail.com>
28210
77fb9117
UD
28211 * Makeconfig: Define vardbdir and inst_vardbdir.
28212 * nss/Makefile: Add rules to install db-Makefile.
28213
40c1b22c
UD
28214 * nss/nss_db/db-XXX.c: Cleanup.
28215
9f2da732
UD
28216 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28217 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28218 GLIBC_PRIVATE.
28219 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28220 * nss/makedb.c: Implement -g option to specify that value strings
28221 are generated and should not be added to table iterated over for
28222 get*ent calls.
28223 * nss/nss_db/db-initgroups.c: New file.
28224
82e9a1f7
UD
28225 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28226 interface.
28227
c41af17e
UD
28228 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28229 (internal_getgrouplist): Adjust to name change.
28230 Update use_initgroups_entry if this is not the first call.
28231 * nss/databases.def: Add initgroups entry.
28232
a9e836b0
UD
28233 * nss/makedb.c (compute_tables): Check result of multiple hash table
28234 sizes to minimize maximum chain length.
28235
2666d441
UD
282362011-06-14 Ulrich Drepper <drepper@gmail.com>
28237
28238 * Versions.def: Add entry for libnss_db.
28239 * shlib-versions: Likewise.
28240 * nss/Makefile: Add rules to build libnss_db.
28241 * nss/Versions: Add libnss_db information. Organize libnss_files
28242 entries better.
28243 * nss/db-Makefile: Add gshadow support. Change rules for the new
28244 makedb progra. Some minor improvements to generate smaller files.
28245 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28246 here from...
28247 * nss/makedb.c: ...here.
28248 Improve database format to be smaller and require less memory at
28249 runtime.
28250 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28251 db anymore.
28252 * nss/nss_db/db-netgrp.c: Likewise.
28253 * nss/nss_db/db-open.c: Likewise.
28254 * nss/nss_files/flies-XXX.x: Adjust comments.
28255 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28256 * nss/nss_files/files-grp.c: Likewise.
28257 * nss/nss_files/files-hosts.c: Likewise.
28258 * nss/nss_files/files-network.c: Likewise.
28259 * nss/nss_files/files-proto.c: Likewise.
28260 * nss/nss_files/files-pwd.c: Likewise.
28261 * nss/nss_files/files-rpc.c: Likewise.
28262 * nss/nss_files/files-service.c: Likewise.
28263 * nss/nss_files/files-sgrp.c: Likewise.
28264 * nss/nss_files/files-spwd.c: Likewise.
28265 * nss/nss_db/db-alias.c: Removed.
28266 * nss/nss_db/dummy-db.h: Removed.
28267
9ee76b5a
UD
282682011-06-02 Ulrich Drepper <drepper@gmail.com>
28269
28270 * nss/makedb.c: Rewritten to not use database library.
28271 * nss/Makefile: Update to build new makedb program.
28272
c71ca1f8
AJ
282732011-06-14 Andreas Jaeger <aj@suse.de>
28274
28275 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28276 memset declaration.
28277
3154bfb8
UD
282782011-06-10 Andreas Schwab <schwab@redhat.com>
28279
28280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28281 tmpbuf.
28282
b350afab
RM
282832011-06-10 Roland McGrath <roland@hack.frob.com>
28284
decd4e50
RM
28285 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28286 * elf/Makefile ($(objpfx)ld.so): Likewise.
28287
5615eaf2
RM
28288 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28289 Don't list ld.so twice in dependencies.
28290
28291 * posix/bug-regex31.c: Include <stdlib.h>.
28292
28293 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28294
28295 * nis/nss_compat/compat-spwd.c
28296 (getspent_next_nss_netgr): Remove unused variable.
28297 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28298
28299 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28300 nonmembers" output to use the right array.
28301
28302 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28303
28304 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28305
28306 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28307 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28308 * catgets/gencat.c (read_input_file): Likewise.
28309 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28310
28311 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28312 variable definition inside #if's controlling its use.
28313
28314 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28315
28316 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28317
28318 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28319
28320 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28321 unreachable code.
28322
28323 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28324
b68e08db
RM
28325 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28326 * configure: Regenerated.
28327
b350afab
RM
28328 * Makerules: Revert last change.
28329 * elf/Makefile: Likewise.
28330
28368601
RM
283312011-06-09 Roland McGrath <roland@hack.frob.com>
28332
28333 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28334 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28335 (reloc-link): Likewise.
28336
11988f8f
UD
283372011-06-09 Ulrich Drepper <drepper@gmail.com>
28338
28339 * elf/Makefile: Add rules to build pldd.
28340 * elf/pldd.c: New file.
28341 * elf/pldd-xx.c: New file.
28342
e80fab37
UD
283432011-06-07 Ulrich Drepper <drepper@gmail.com>
28344
28345 * version.h: Update for 2.15 development version.
28346
9b849836
DM
283472011-06-07 David S. Miller <davem@davemloft.net>
28348
28349 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28350 ifuncs.
28351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28352 elf_machine_lazy_rel): Likewise.
28353 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28355 elf_machine_lazy_rel): Likewise.
28356 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28357 dl_hwcap via passed in argument.
28358 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28359 Likewise.
28360
5a31b283
AK
283612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28362
28363 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28364
069e52f8
RM
283652011-06-06 Roland McGrath <roland@hack.frob.com>
28366
28367 [BZ #12849]
28368 * manual/fdl-1.1.texi: New file, verbatim from:
28369 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28370 * manual/lgpl-2.1.texi: New file, verbatim from:
28371 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28372 * manual/Makefile (licenses): New variable, list those new file names.
28373 (texis): Use it.
28374 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28375
28376 * manual/fdl.texi: File removed.
28377 * manual/lesser.texi: File removed.
28378 * manual/libc.texinfo (Copying, Documentation License):
28379 Use new @include file names, put @appendix directive before @include.
28380
f16846a5
JJ
283812011-06-04 Jakub Jelinek <jakub@redhat.com>
28382
28383 [BZ #12841]
28384 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28385 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28386 (mq_open): Add __NTH.
28387
3d29045b
L
283882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28389
28390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28391 Assume Intel Core i3/i5/i7 processor if AVX is available.
28392
8c297311
UD
283932011-05-31 Ulrich Drepper <drepper@gmail.com>
28394
28395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28396 typo.
28397
c8fc0c91
UD
283982011-05-31 Andreas Schwab <schwab@redhat.com>
28399
28400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28401 memory. Use alloca_account. Fix memory leak when retrying.
28402
5b27a807
UD
284032011-05-31 Ulrich Drepper <drepper@gmail.com>
28404
356f8bc6
UD
28405 * version.h (RELEASE): Bump for 2.14 release.
28406 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28407
5b27a807
UD
28408 * config.make.in (RANLIB): Remove entry.
28409
01f16ab0
UD
284102011-05-30 Ulrich Drepper <drepper@gmail.com>
28411
41fce8bd
UD
28412 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28413 (libc.pot): Work around missing support for .ksh extension in xgettext.
28414
4769ae77
UD
28415 [BZ #12684]
28416 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28417 if both request failed.
28418 (send_dg): In case of server errors clear resplen or *resplen2.
28419
6b1e7d19
UD
28420 [BZ #12454]
28421 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28422 when there are multiple maps.
28423 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28424 (_dl_fini): Remove test here.
28425
01f16ab0
UD
28426 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28427
b1ebd700
UD
284282011-05-29 Ulrich Drepper <drepper@gmail.com>
28429
7ae22829
UD
28430 [BZ #12350]
28431 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28432 bit from old_res_options.
28433 (gaih_inet): Likewise.
28434
553149f6 28435 [BZ #11099]
18a84741 28436 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28437 as signed.
28438
652ffab1
UD
28439 * resolv/res_init.c (res_setoptions): Make the code more compact.
28440
16985fd0
UD
28441 [BZ #11558]
28442 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28443 set RES_USEVC.
28444
0464f746
UD
28445 [BZ #11634]
28446 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28447
7d17596c
UD
28448 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28449
cf6bbbd7
UD
28450 [BZ #11781]
28451 * malloc/malloc.h: Declare malloc hook variables as volatile.
28452
13f1ab36
UD
28453 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28454 in last patch.
28455
b1ebd700
UD
28456 [BZ #11799]
28457 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28458 raise in the comment.
80e2212d
UD
28459 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28461 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28462
ce67228d
UD
284632011-05-28 Ulrich Drepper <drepper@gmail.com>
28464
8887a920
UD
28465 [BZ #12811]
28466 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28467 grow the buffers more if it already has to be sufficient.
28468 (build_wcs_upper_buffer): Likewise.
28469 * posix/regexec.c (check_matching): Likewise.
28470 (clean_state_log_if_needed): Likewise.
28471 (extend_buffers): Don't enlarge buffers beyond size of the input
28472 buffer.
28473 Patches mostly by Emil Wojak <emil@wojak.eu>.
28474 * posix/bug-regex32.c: New file.
28475 * posix/Makefile (tests): Add bug-regex32.
28476
4f031072
UD
28477 * locale/findlocale.c (_nl_find_locale): Return right away if
28478 _nl_explode_name failed.
28479 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28480
d0478f0c
UD
28481 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28482
de81b246
UD
28483 * debug/xtrace.sh: Unify messages.
28484 * malloc/memusage.sh: Likewise.
28485
c738465a
UD
28486 [BZ #12813]
28487 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28488 time symbol from vDSO. Substitute with vsyscall if not available.
28489 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28490 __vdso_time.
28491
f1f929d7
UD
28492 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28493 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28494 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28495 Add sendmmsg and internal_sendmmsg.
28496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28497 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28498 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28499
ce67228d
UD
28500 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28501 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28503
e57420c6
UD
285042011-05-27 Ulrich Drepper <drepper@gmail.com>
28505
a8509ca5
UD
28506 [BZ #12813]
28507 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28508 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28509 available.
28510 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28511 __vdso_getcpu.
28512
e57420c6
UD
28513 [BZ #12814]
28514 * iconvdata/Makefile (tests): Add bug-iconv9.
28515 * iconvdata/bug-iconv9.c: New file.
28516
4d07db15
AS
285172011-05-27 Andreas Schwab <schwab@redhat.com>
28518
28519 [BZ #12814]
28520 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28521
ea486f69
JJ
285222011-05-25 Jakub Jelinek <jakub@redhat.com>
28523
28524 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28525 (struct user_regs_struct): Change intcs field back to cs.
28526
6f038433
UD
285272011-05-25 Ulrich Drepper <drepper@gmail.com>
28528
28529 * po/ja.po: Update from translation team.
28530
67f86a25
UD
285312011-05-23 Ulrich Drepper <drepper@gmail.com>
28532
28533 [BZ #12795]
28534 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28535 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28536
def7fbd6
AS
285372011-05-20 Andreas Schwab <schwab@redhat.com>
28538
28539 * stdlib/longlong.h: Update from GCC.
28540
f50ef8f1
AS
285412011-05-23 Andreas Schwab <schwab@redhat.com>
28542
28543 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28544 parameter name.
28545 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28546 Add parameter name.
28547 (__sysconf): Pass it down.
28548
de7ce8f1
UD
285492011-05-22 Ulrich Drepper <drepper@gmail.com>
28550
f2962a71
UD
28551 [BZ #12671]
28552 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28553 some situations.
28554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28555 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28556 add in in __libc_use_alloca calls. Adjust callers.
28557 (glob): Use malloc in some situations.
28558
de7ce8f1
UD
28559 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28560 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28561 pltexit.
28562
aec84f53
UD
285632011-05-21 Ulrich Drepper <drepper@gmail.com>
28564
05bb4a68
UD
28565 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28566 and CLOCK_BOOTTIME_ALARM.
28567
7ea72f99
UD
28568 [BZ #12782]
28569 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28570 is returned.
28571
7e4afad5
UD
28572 * string/_strerror.c (__strerror_r): Print negative errors as signed
28573 numbers.
28574
8e211fec
UD
28575 [BZ #12777]
28576 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28577 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28578 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28579
f7d82dc9
UD
28580 * configure.in: Fix typo in redirection and correct removal of test
28581 files in two cases.
28582
cc9e536d
UD
28583 [BZ #12788]
28584 * locale/setlocale.c (new_composite_name): Fix test to check for
28585 identical name of all categories.
28586
aec84f53
UD
28587 [BZ #12792]
28588 * libio/filedoalloc.c (local_isatty): New function.
28589 (_IO_file_doallocate): Use local_isatty.
28590 * stdio-common/perror.c (perror): In case a new stream is used
28591 forward the stream error.
28592 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28593 error flag.
28594
78e64fdc
RT
285952011-05-20 Ulrich Drepper <drepper@gmail.com>
28596
34a9094f
UD
28597 [BZ #11869]
28598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28599 alloca.
28600 * include/alloca.h (extend_alloca_account): Define.
28601
78e64fdc
RT
28602 [BZ #11857]
28603 * posix/regex.h: Fix comments with documentation of user-accessible
28604 fields after compilation and describe correct free'ing of pattern
28605 after re_compile_pattern.
28606 Patch by Reuben Thomas <rrt@sc3d.org>.
28607
457bddfc
RA
286082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28609
28610 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28611 and -mno-altivec to prevent the compiler from using Altivec and/or
28612 VSX instructions when the corresponding registers are not available.
28613
a4527b51
AS
286142011-05-19 Andreas Schwab <schwab@redhat.com>
28615
28616 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28617
ed690b2f
UD
286182011-05-19 Ulrich Drepper <drepper@gmail.com>
28619
28620 * libio/freopen.c (freopen): Use __dup2, not dup2.
28621 * libio/freopen64.c (freopen64): Likewise.
28622
8db73634
L
286232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28624
28625 [BZ #12775]
28626 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28627 * math/Makefile (tests): Add test-powl.
28628 (CFLAGS-test-powl.c): Define.
28629 * math/test-powl.c: New file.
28630
0a197a9d
L
286312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28632
28633 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28634
ee30c380
UD
286352011-05-17 Ulrich Drepper <drepper@gmail.com>
28636
28637 [BZ #11837]
28638 * iconvdata/gb18030.c: Update to GB18020-2005.
28639
6ce75379
UD
286402011-05-16 Ulrich Drepper <drepper@gmail.com>
28641
a4b89fd8
AR
28642 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28643 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28644 Patch by Aharon Robbins <arnold@skeeve.com>.
28645
ea389b12
UD
28646 [BZ #11892]
28647 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28648 on the stack.
28649
68a3f91f
UD
28650 [BZ #11895]
28651 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28652 through underflows.
28653
15cc7dd1
UD
28654 [BZ #12766]
28655 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28656 point to strings before performing equality test for error_one_per_line
28657 mode.
28658
f3799213
UD
28659 [BZ #11697]
28660 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28661
d79a9c94
UD
28662 [BZ #11820]
28663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28664 (struct user_fpregs_struct): Avoid __uint*_t types.
28665
56e5eb46
UD
28666 [BZ #6420]
28667 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28668 symbol info. Use it instead of calling _dl_addr locally.
28669 (lock_and_info): New function.
28670 (tr_freehook): Call lock_and_info and pass symbol info as additional
28671 parameter to tr_where.
28672 (tr_mallochook): Likewise.
28673 (tr_reallochook): Likewise.
28674 (tr_memalignhook): Likewise.
28675
6ce75379
UD
28676 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28677 used and couldn't be at all thread-safe.
28678
f8a3b5bf
UD
286792011-05-15 Ulrich Drepper <drepper@gmail.com>
28680
94b7cc37
UD
28681 * libio/freopen.c (freopen): Don't close old file descriptor
28682 before the new one is opened. Instead dup the new file descriptor
28683 to the old one after the new stream is created.
28684 * libio/freopen64.c (freopen64): Likewise.
28685 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28686 * libio/fileops.c (_IO_new_file_close_it): Handle new
28687 _IO_FLAGS2_NOCLOSE flag.
28688 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28689 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28690 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28691 _IO_FLAGS2_NOCLOSE flag.
28692 * include/unistd.h: Add hidden_proto for dup3.
28693 Define __have_dup3.
28694 * io/dup3.c: Define hidden symbol.
28695 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28696
bd25564e
UD
28697 [BZ #7101]
28698 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28699 when an incomplete long option is used.
28700 * posix/tst-getopt_long1.c: New file.
28701 * posix/Makefile (tests): Add tst-getopt_long1.
28702
c84cfef4
UD
28703 [BZ #10138]
28704 * scripts/config.guess: Update from autoconf-2.68.
28705 * scripts/config.sub: Likewise.
28706
3b85df27
UD
28707 [BZ #10157]
28708 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28709 tests into ...
28710 (has_cpuclock): ...this. New function.
28711 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28712 macro here based on has_cpuclock code.
28713
15a856b1
UD
28714 [BZ #10149]
28715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28716 First byte (not low byte) is now always NUL.
28717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28718
05f399e6
UD
28719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28720 Use non-cancelable interfaces.
28721
10a52685 28722 [BZ #9809]
94ecc67d
UD
28723 * locale/iso-639.def: Add entry for Sorani.
28724
f8a3b5bf
UD
28725 [BZ #11901]
28726 * include/stdlib.h: Move include protection to the right place.
28727 Define abort_msg_s. Declare __abort_msg with it.
28728 * stdlib/abort.c (__abort_msg): Adjust type.
28729 * assert/assert.c (__assert_fail_base): New function. Majority
28730 of code from __assert_fail. Allocate memory for __abort_msg with
28731 mmap.
28732 (__assert_fail): Now call __assert_fail_base.
28733 * assert/assert-perr.c: Remove bulk of implementation. Use
28734 __assert_fail_base.
28735 * include/assert.hL Declare __assert_fail_base.
28736 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28737 mmap.
28738 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28739
1af4e298
UD
287402011-05-14 Ulrich Drepper <drepper@gmail.com>
28741
f8a3b5bf 28742 [BZ #11952]
d26dfc60
MG
28743 [BZ #12453]
28744 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28745 until all modules are registered in the DTV.
28746 * elf/Makefile: Add rules to build and run tst-tls19.
28747 * elf/tst-tls19.c: New file.
28748 * elf/tst-tls19mod1.c: New file.
28749 * elf/tst-tls19mod2.c: New file.
28750 * elf/tst-tls19mod3.c: New file.
28751 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28752
2fc54d6f
UD
28753 [BZ #12083]
28754 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28755 correctly.
28756
98d76b46
UD
28757 [BZ #12601]
28758 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28759 two-byte sequence errors.
28760 * iconvdata/Makefile (tests): Add bug-iconv8.
28761 * iconvdata/bug-iconv8.c: New file.
28762
da3c19ef
UD
28763 [BZ #12626]
28764 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28765 buf2 definition.
28766
ca408c15
UD
28767 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28768
d6f67f7d
UD
28769 [BZ #12432]
28770 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28771 (dummy_getcfa): New function.
28772 (init): Get _Unwind_GetCFA address, use dummy if not found.
28773 (backtrace_helper): In recursion check, also check whether CFA changes.
28774 (__backtrace): Completely initialize arg.
28775
1af4e298 28776 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28777 storing incomplete byte sequence in state object. Avoid testing for
28778 guaranteed too small input if we know there is enough data available.
1af4e298 28779
da62f81b
AS
287802011-05-11 Andreas Schwab <schwab@redhat.com>
28781
28782 * Makeconfig (+link-pie): Indent.
28783 * Rules (binaries-pie): Define if $(have-fpie) and
28784 $(build-shared).
28785 (binaries-shared): Also filter out $(binaries-pie).
28786 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28787 * nscd/Makefile (others-pie): Add nscd.
28788 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28789 ($(objpfx)nscd): Remove command override.
28790 * login/Makefile (others-pie): Add pt_chown.
28791 ($(objpfx)pt_chown): Remove command override.
28792 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28793 remove command overrides.
28794
fcabc0f8
UD
287952011-05-13 Ulrich Drepper <drepper@gmail.com>
28796
20030ae6
UD
28797 * libio/tst_putwc.c: Fix error messages.
28798
fcabc0f8
UD
28799 [BZ #12724]
28800 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28801 currently writing and seek to current position when not.
28802 * libio/Makefile (tests): Add bug-fclose1.
28803 * libio/bug-fclose1.c: New file.
28804
320a5dc0
PB
288052011-05-12 Ulrich Drepper <drepper@gmail.com>
28806
28807 [BZ #12511]
28808 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28809 don't set DF_1_NODELETE here.
28810 (do_lookup_x): When entering new entry test for copy relocation
28811 and if necessary set DF_1_NODELETE flag.
28812 * elf/tst-unique4.cc: New file.
28813 * elf/tst-unique4.h: New file.
28814 * elf/tst-unique4lib.cc: New file.
28815 * elf/Makefile: Add rules to build and run tst-unique4.
28816 Patch by Piotr Bury <pbury@goahead.com>.
28817
22836f52
UD
288182011-05-11 Ulrich Drepper <drepper@gmail.com>
28819
f574184a
UD
28820 [BZ #12052]
28821 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28822
e1fb097f
UD
28823 [BZ #12625]
28824 * misc/mntent_r.c (addmntent): Flush the stream after the output
28825
22836f52
UD
28826 [BZ #12393]
28827 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28828 (is_trusted_path_normalize): Skip initial colon. Append slash
28829 to empty buffer. Duplicate is_trusted_path code but allow
28830 constructed patch to be prefix.
28831 (is_dst): Allow $ORIGIN followed by /.
28832 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28833 Correct testing of result of is_trusted_path_normalize
28834 (decompose_rpath): Fix warning.
28835
7b3b0b2a
UD
288362011-05-10 Ulrich Drepper <drepper@gmail.com>
28837
28838 [BZ #11257]
28839 * grp/initgroups.c (internal_getgrouplist): When we found the service
28840 list through the initgroups entry in nsswitch.conf do not always
28841 continue on a successful lookup. Don't always use the
eac80ce2 28842 __nss_group_database value if it is set.
7b3b0b2a
UD
28843 * nss/nsswitch.conf (initgroups): Change action for successful db
28844 lookup to continue for compatibility.
28845
2a81eaa5
UD
288462011-05-09 Ulrich Drepper <drepper@gmail.com>
28847
be97a69e
UD
28848 [BZ #11532]
28849 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28850 and CP774 modules.
28851 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28852 and CP774 modules.
28853 * iconvdata/tst-tables.sh: Likewise.
28854 * iconvdata/cp770.c: New file.
28855 * iconvdata/cp771.c: New file.
28856 * iconvdata/cp772.c: New file.
28857 * iconvdata/cp773.c: New file.
28858 * iconvdata/cp774.c: New file.
28859 * iconvdata/testdata/CP770: New file.
28860 * iconvdata/testdata/CP770..UTF8: New file.
28861 * iconvdata/testdata/CP771: New file.
28862 * iconvdata/testdata/CP771..UTF8: New file.
28863 * iconvdata/testdata/CP772: New file.
28864 * iconvdata/testdata/CP772..UTF8: New file.
28865 * iconvdata/testdata/CP773: New file.
28866 * iconvdata/testdata/CP773..UTF8: New file.
28867 * iconvdata/testdata/CP774: New file.
28868 * iconvdata/testdata/CP774..UTF8: New file.
28869
28870 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28871 END CHARMAP line.
28872 * iconvdata/gen-8bit-gap.sh: Likewise.
28873 * iconvdata/gen-8bit.sh: Likewise.
28874
c1e9e399
UD
28875 * locale/iso-639.def: Add ary entry.
28876
24c55fb3 28877 [BZ #11258]
96b4b1b0
UD
28878 * locale/C-translit.h.in: Add U20A1 transliteration.
28879
bdc2f971
KB
28880 [BZ #12178]
28881 * locale/iso-639.def: Add wae entry.
28882 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28883
2952b117
UD
28884 [BZ #12545]
28885 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28886 for n.
28887
2a81eaa5
UD
28888 [BZ #12711]
28889 * locale/C-translit.h.in: Add entry for U20B9.
28890 Patch by pravin.d.s@gmail.com.
28891
28377d1b
UD
288922011-05-08 Ulrich Drepper <drepper@gmail.com>
28893
7fb90fb8
UD
28894 [BZ #12713]
28895 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28896 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28897 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28898 in rtld. Use *stat64.
7fb90fb8 28899 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28900 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28901 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28902 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28903 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28904 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28905 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28906 __fstatat64 macros.
7fb90fb8
UD
28907 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28908 * dirent/rewinddir.c: Add libc_hidden_def.
28909 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28910 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28911
28377d1b
UD
28912 * include/dirent.h (__alloc_dir): Add flags parameter.
28913 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28914 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28915 __alloc_dir.
28916 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28917 from fdopendir if O_CLOEXEC is already set.
28918
66bdbaa4
AM
289192011-03-15 Alan Modra <amodra@gmail.com>
28920
28921 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28922 l_tls_firstbyte_offset non-zero. Save padding offset in
28923 l_tls_firstbyte_offset for later use.
28924 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28925 freeing static tls block.
28926
95721191
JN
289272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28928
28929 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28930 where #ifdef was intended. The intent is to prevent ARG_MAX from
28931 being defined by the kernel headers.
28932
f87dfb1f
UD
289332011-05-07 Ulrich Drepper <drepper@gmail.com>
28934
28935 [BZ #12734]
28936 * resolv/resolv.h: Define RES_NOTLDQUERY.
28937 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28938 no-tld-query and set RES_NOTLDQUERY.
28939 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28940 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28941 modern BIND to search name as TLD unless forbidden.
28942
47c3cd7a
UD
289432011-05-07 Petr Baudis <pasky@suse.cz>
28944 Ulrich Drepper <drepper@gmail.com>
28945
28946 [BZ #12393]
28947 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28948 (is_trusted_path): ...to here.
c1e9ea35 28949 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28950 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28951 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28952
8a35c912
PP
289532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28954
28955 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28956 __BEGIN/__END_DECLS.
28957
acd41f47
UD
289582011-05-06 Ulrich Drepper <drepper@gmail.com>
28959
28960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28961 NSS_STATUS_NOTFOUND if no record was found.
28962
597df647
AS
289632011-05-05 Andreas Schwab <schwab@redhat.com>
28964
28965 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28966 (headers-not-in-tirpc): Remove rpc/netdb.h
28967 * resolv/netdb.h: Revert last change.
28968
b9af1301
PP
289692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28970
28971 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28972 circular dependency between libgcc.a and libc.a.
28973
4e34d5f5
AS
289742011-05-05 Andreas Schwab <schwab@redhat.com>
28975
28976 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28977 * nis/Makefile: Don't install rpcsvc/*.
28978 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28979 instead of <rpc/types.h>.
28980 (MAXHOSTNAMELEN): Define.
28981
00ee369c
AS
289822011-05-03 Andreas Schwab <schwab@redhat.com>
28983
28984 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28985
0b592a30
MB
289862011-04-28 Maciej Babinski <mbabinski@google.com>
28987
28988 [BZ #12714]
28989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28990 gethostbyname4_r when IPv6 results are possible.
28991
6e04cbbe
UD
289922011-05-02 Ulrich Drepper <drepper@gmail.com>
28993
28994 [BZ #12723]
28995 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28996 _PC_PIPE_BUF handling.
28997
e4ecafe0
BH
289982011-04-30 Bruno Haible <bruno@clisp.org>
28999
29000 [BZ #12717]
29001 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29002 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29003 to 'int'.
29004 * inet/getnameinfo.c (getnameinfo): Likewise.
29005
125ee683
UD
290062011-04-29 Ulrich Drepper <drepper@gmail.com>
29007
29008 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29009 to groups setting in database lookup.
29010 * nss/nsswitch.conf: Add initgroups entry.
29011
b722481a
EB
290122011-04-22 Ulrich Drepper <drepper@gmail.com>
29013
29014 [BZ #12685]
29015 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29016 mode string.
29017 Patch by Eric Blake <eblake@redhat.com>.
29018
4df46dbd
L
290192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29020
29021 * sunrpc/Makefile (need-export-routines): Add svc_run.
29022 (routines): Remove svc_run.
29023 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29024 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29025 * sunrpc/svc_run.c (svc_run): Likewise.
29026 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29027
e84142d2
UD
290282011-04-21 Ulrich Drepper <drepper@gmail.com>
29029
29030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29031 problem in reallocation in last patch.
29032
877175d8
UD
290332011-04-20 Ulrich Drepper <drepper@gmail.com>
29034
29035 * sunrpc/Makefile: Move inclusion of Rules.
29036
ab8eed78
UD
290372011-04-19 Ulrich Drepper <drepper@gmail.com>
29038
29039 * nss/nss_files/files-initgroups.c: New file.
29040 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29041 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29042 _nss_files_initgroups_dyn.
29043
e3d8f584
RS
290442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29045
29046 * elf/elf.h (R_ARM_IRELATIVE): Define.
29047
af190f45
UD
290482011-04-19 Ulrich Drepper <drepper@gmail.com>
29049
29050 * po/ru.po: Update from translation team.
29051
53cf59ef
UD
290522011-04-17 Ulrich Drepper <drepper@gmail.com>
29053
29054 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29055 dependencies.
29056
4c559bcd
MF
290572011-02-06 Mike Frysinger <vapier@gentoo.org>
29058
29059 [BZ #12653]
29060 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29061 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29064 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29065
4420675c
AS
290662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29067
29068 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29069 differing bytes.
29070 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29072 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29073
75ea32ab
UD
290742011-04-17 Ulrich Drepper <drepper@gmail.com>
29075
29076 [BZ #12420]
29077 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29078 storing it.
29079 * stdlib/bug-getcontext.c: New file.
29080 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29081
27390476
AK
290822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29083
29084 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29085 instructions into .machine "z9-109".
29086 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29087 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29088
10442705
AK
290892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29090
29091 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29092 between environment variables and auxiliary vector.
29093
7b57bfe5
UD
290942011-04-16 Ulrich Drepper <drepper@gmail.com>
29095
29096 * Makefile: Add rules to build linkobj/libc.so.
29097 * include/libc-symbols.h: Define libc_hidden_nolink.
29098 * include/rpc/auth.h: Mark functions which are to be hidden.
29099 * include/rpc/auth_des.h: Likewise.
29100 * include/rpc/auth_unix.h: Likewise.
29101 * include/rpc/clnt.h: Likewise.
29102 * include/rpc/des_crypt.h: Likewise.
29103 * include/rpc/key_prot.h: Likewise.
29104 * include/rpc/pmap_clnt.h: Likewise.
29105 * include/rpc/pmap_prot.h: Likewise.
29106 * include/rpc/pmap_rmt.h: Likewise.
29107 * include/rpc/rpc_msg.h: Likewise.
29108 * include/rpc/svc.h: Likewise.
29109 * include/rpc/svc_auth.h: Likewise.
29110 * include/rpc/xdr.h: Likewise.
29111 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29112 * nss/Makefile: Likewise.
29113 * sunrpc/Makefile: Don't install headers. Build library with normal
29114 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29115 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29116 for the compat linking library. Remove use of INTDEF/INTUSE.
29117 * sunrpc/auth_none.c: Likewise.
29118 * sunrpc/auth_unix.c: Likewise.
29119 * sunrpc/authdes_prot.c: Likewise.
29120 * sunrpc/authuxprot.c: Likewise.
29121 * sunrpc/clnt_gen.c: Likewise.
29122 * sunrpc/clnt_perr.c: Likewise.
29123 * sunrpc/clnt_raw.c: Likewise.
29124 * sunrpc/clnt_simp.c: Likewise.
29125 * sunrpc/clnt_tcp.c: Likewise.
29126 * sunrpc/clnt_udp.c: Likewise.
29127 * sunrpc/clnt_unix.c: Likewise.
29128 * sunrpc/des_crypt.c: Likewise.
29129 * sunrpc/des_soft.c: Likewise.
29130 * sunrpc/get_myaddr.c: Likewise.
29131 * sunrpc/key_call.c: Likewise.
29132 * sunrpc/key_prot.c: Likewise.
29133 * sunrpc/netname.c: Likewise.
29134 * sunrpc/pm_getmaps.c: Likewise.
29135 * sunrpc/pm_getport.c: Likewise.
29136 * sunrpc/pmap_clnt.c: Likewise.
29137 * sunrpc/pmap_prot.c: Likewise.
29138 * sunrpc/pmap_prot2.c: Likewise.
29139 * sunrpc/pmap_rmt.c: Likewise.
29140 * sunrpc/publickey.c: Likewise.
29141 * sunrpc/rpc_cmsg.c: Likewise.
29142 * sunrpc/rpc_common.c: Likewise.
29143 * sunrpc/rpc_dtable.c: Likewise.
29144 * sunrpc/rpc_prot.c: Likewise.
29145 * sunrpc/rpc_thread.c: Likewise.
29146 * sunrpc/rtime.c: Likewise.
29147 * sunrpc/svc.c: Likewise.
29148 * sunrpc/svc_auth.c: Likewise.
29149 * sunrpc/svc_authux.c: Likewise.
29150 * sunrpc/svc_raw.c: Likewise.
29151 * sunrpc/svc_run.c: Likewise.
29152 * sunrpc/svc_simple.c: Likewise.
29153 * sunrpc/svc_tcp.c: Likewise.
29154 * sunrpc/svc_udp.c: Likewise.
29155 * sunrpc/svc_unix.c: Likewise.
29156 * sunrpc/svcauth_des.c: Likewise.
29157 * sunrpc/xcrypt.c: Likewise.
29158 * sunrpc/xdr.c: Likewise.
29159 * sunrpc/xdr_array.c: Likewise.
29160 * sunrpc/xdr_float.c: Likewise.
29161 * sunrpc/xdr_intXX_t.c: Likewise.
29162 * sunrpc/xdr_mem.c: Likewise.
29163 * sunrpc/xdr_rec.c: Likewise.
29164 * sunrpc/xdr_ref.c: Likewise.
29165 * sunrpc/xdr_sizeof.c: Likewise.
29166 * sunrpc/xdr_stdio.c: Likewise.
29167
e6c61494
UD
291682011-04-10 Ulrich Drepper <drepper@gmail.com>
29169
29170 [BZ #12650]
29171 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29172 * sysdeps/ia64/dl-tls.h: Likewise.
29173 * sysdeps/powerpc/dl-tls.h: Likewise.
29174 * sysdeps/s390/dl-tls.h: Likewise.
29175 * sysdeps/sh/dl-tls.h: Likewise.
29176 * sysdeps/sparc/dl-tls.h: Likewise.
29177 * sysdeps/x86_64/dl-tls.h: Likewise.
29178 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29179
34fe483e
AS
291802011-03-14 Andreas Schwab <schwab@redhat.com>
29181
29182 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29183 rpath element also skip the following colon.
29184 (expand_dynamic_string_token): Add is_path parameter and pass
29185 down to DL_DST_REQUIRED and _dl_dst_substitute.
29186 (decompose_rpath): Call expand_dynamic_string_token with
29187 non-zero is_path. Ignore empty rpaths.
29188 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29189 with zero is_path.
29190
f12a32e6
AS
291912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29192
29193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29194 Make cancelable.
29195
38a7d692
UD
291962011-04-09 Ulrich Drepper <drepper@gmail.com>
29197
29198 [BZ #12655]
29199 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29200 Patch by Filipe David Manana <fdmanana@apache.org>.
29201
e451d22b
AS
292022011-04-07 Andreas Schwab <schwab@redhat.com>
29203
29204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29205 Maintain aligned stack.
29206 (CHECK_RSP): Remove unused macro.
29207
dedc7c7b
UD
292082011-04-03 Ulrich Drepper <drepper@gmail.com>
29209
29210 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29211 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29212
94521213
UD
292132011-04-02 Ulrich Drepper <drepper@gmail.com>
29214
29215 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29216
8cb700c0 29217 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29218
0354e355
L
292192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 [BZ #12518]
29222 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29223 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29224 * sysdeps/x86_64/memmove.c: New file.
29225 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29226 (memcpy): Renamed to ...
29227 (__new_memcpy): This.
29228 (memcpy): Provide GLIBC_2_14 memcpy.
29229 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29230 (memcpy): Provide GLIBC_2_2_5 memcpy.
29231
8593482f
UD
292322011-04-01 Ulrich Drepper <drepper@gmail.com>
29233
29234 [BZ #12631]
29235 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29236
81a5726b
AS
292372011-03-30 Andreas Schwab <schwab@redhat.com>
29238
29239 * misc/syncfs.c: New file.
29240 * misc/Makefile (routines): Add syncfs.
29241 * posix/unistd.h: Declare syncfs.
29242 * sysdeps/unix/syscalls.list: Add syncfs.
29243
00e5419f
AS
292442011-04-01 Andreas Schwab <schwab@redhat.com>
29245
29246 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29247 open_by_handle_at.
29248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29249 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29253 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29254 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29255
748876bf
UD
292562011-04-01 Ulrich Drepper <drepper@gmail.com>
29257
658e451d
UD
29258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29260 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29265
748876bf
UD
29266 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29267 sync_file_range.c with -fexceptions.
29268 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29269 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29270 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29271 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29272 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29273 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29275 sync_file_range as cancellation point
29276 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29277 now a wrapper around __call_sync_file_range with cancellation handling.
29278 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29279 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29280 function name to __call_sync_file_range.
29281 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29282 Add call_sync_file_range.
748876bf 29283
6e63d5e1
AS
292842011-04-01 Andreas Schwab <schwab@redhat.com>
29285
29286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29287 bits/timex.h.
6e63d5e1 29288
46998f74
UD
292892011-04-01 Ulrich Drepper <drepper@gmail.com>
29290
4c1423ed
UD
29291 * iconv/iconv.h: Fix typo in comment.
29292 * io/fcntl.h: Likewise.
29293 * libio/stdio.h: Likewise.
29294 * posix/spawn.h: Likewise.
29295 * posix/unistd.h: Likewise.
29296 * stdlib/stdlib.h: Likewise.
29297 * time/time.h: Likewise.
29298 * wcsmbs/wchar.h: Likewise.
29299
158648c0
UD
29300 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29301 open_by_handle): Add.
29302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29303 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29304 Augment a few comments.
29305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29310 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29311 open_by_handle.
29312
46998f74
UD
29313 * io/fcntl.h (AT_EMPTY_PATH): Define.
29314
83fe108b
UD
293152011-03-30 Ulrich Drepper <drepper@gmail.com>
29316
29317 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29318 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29319 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29320 to...
29321 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29322 * Versions.def: Add GLIBC_2.14.
29323 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29324 Export.
83fe108b 29325
bb242059
UD
293262011-03-22 Ulrich Drepper <drepper@gmail.com>
29327
29328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29329 round counter.
29330 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29331
c97a1282
L
293322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29333
29334 [BZ #12597]
29335 * string/test-strncmp.c (do_page_test): New function.
29336 (check2): Likewise.
29337 (test_main): Call check2.
29338 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29339
2a115601
UD
293402011-03-20 Ulrich Drepper <drepper@gmail.com>
29341
29342 [BZ #12587]
29343 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29344 Handle cache information in CPU leaf 4.
29345 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29346
8126d904
UD
293472011-03-18 Ulrich Drepper <drepper@gmail.com>
29348
042c49c6 29349 [BZ #12583]
8126d904
UD
29350 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29351 character representation.
29352 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29353
ccfe366e
RA
293542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29355
29356 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29357 END(__isnan) to END(__isnanf) to match function entry point/label
29358 EALIGN(__isnanf,...).
29359
c6e13027
JJ
293602011-03-10 Jakub Jelinek <jakub@redhat.com>
29361
29362 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29363
33f85a3f
UD
293642011-03-10 Ulrich Drepper <drepper@gmail.com>
29365
028478fa
UD
29366 [BZ #12510]
29367 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29368 copy from the symbol referenced in the relocation to initialize the
29369 used variable.
29370 Patch by Piotr Bury <pbury@goahead.com>.
29371 * elf/Makefile: Add rules to build and tst-unique3.
29372 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29373 * elf/tst-unique3.cc: New file.
29374 * elf/tst-unique3.h: New file.
29375 * elf/tst-unique3lib.cc: New file.
29376 * elf/tst-unique3lib2.cc: New file.
29377
33f85a3f
UD
29378 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29379
03592fc7
MF
293802011-03-10 Mike Frysinger <vapier@gentoo.org>
29381
29382 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29383 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29384 to _start.
03592fc7 29385
6a5ee102
UD
293862011-03-06 Ulrich Drepper <drepper@gmail.com>
29387
29388 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29389 to-be-loaded object along a path to loader is ld.so.
29390
7e4ba49c
HJ
293912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29392 Ulrich Drepper <drepper@gmail.com>
29393
29394 * sysdeps/x86_64/memset.S: After aligning destination, code
29395 branches to different locations depending on the value of
29396 misalignment, when multiarch is enabled. Fix this.
29397
293982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29399
29400 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29401 Set _x86_64_preferred_memory_instruction for AMD processsors.
29402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29403 Set bit_Prefer_SSE_for_memop for AMD processors.
29404
13a804de
UD
294052011-03-04 Ulrich Drepper <drepper@gmail.com>
29406
29407 * libio/fmemopen.c (fmemopen): Optimize a bit.
29408
9d25c392
AS
294092011-03-03 Andreas Schwab <schwab@redhat.com>
29410
29411 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29412
a5543c6a
RM
294132011-03-03 Roland McGrath <roland@redhat.com>
29414
29415 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29416
012d35f7
DM
294172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29418
7e4ba49c 29419 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29420 __bzero_ultra1 instead of __memset_ultra1.
29421
4bff6e01
AS
294222011-02-23 Andreas Schwab <schwab@redhat.com>
29423 Ulrich Drepper <drepper@gmail.com>
29424
29425 [BZ #12509]
29426 * include/link.h (struct link_map): Add l_orig_initfini.
29427 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29428 returning unsuccessfully.
29429 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29430 close of a file loaded at startup, restore the original l_initfini
29431 list.
29432 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29433 list, store the pointer.
29434 * elf/Makefile ($(objpfx)noload-mem): New rule.
29435 (noload-ENV): Define.
29436 (tests): Add $(objpfx)noload-mem.
29437 * elf/noload.c: Include <memcheck.h>.
29438 (main): Call mtrace. Close all opened handles.
29439
f2092faf
AS
294402011-02-17 Andreas Schwab <schwab@redhat.com>
29441
29442 [BZ #12454]
29443 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29444 dependencies are missing.
29445
6c8a2e88
ST
294462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29447
f2092faf 29448 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29449 Hurd needs munmap.
29450 * sysdeps/mach/hurd/ifreq.h: New file.
29451
84a42118
PB
294522011-01-27 Petr Baudis <pasky@suse.cz>
29453 Ulrich Drepper <drepper@gmail.com>
29454
071f805e 29455 [BZ 12445]#
84a42118
PB
29456 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29457 to extend_alloca().
29458 * stdio-common/bug23.c: New file.
29459 * stdio-common/Makefile (tests): Add bug23.
29460
e23fe25b
AS
294612010-09-28 Andreas Schwab <schwab@redhat.com>
29462 Ulrich Drepper <drepper@gmail.com>
29463
29464 [BZ #12489]
29465 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29466 before performing relro protection. At old place add assertion
29467 to make sure nothing changed.
29468
d3f02e10
NS
294692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29470 Glauber de Oliveira Costa <glommer@gmail.com>
29471
29472 * elf/elf.h: Add new ARM TLS relocs.
29473
d55fd7a5
RA
294742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29475
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29477 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29478 cast from r3.
29479 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29480 'tests' variable.
29481 * sysdeps/wordsize-64/tst-writev.c: New file.
29482
2206397e
RA
294832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29484
29485 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29486 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29487 insns in _dl_start to prevent a TOC reference before relocs are
29488 resolved.
29489
e9433893
UD
294902011-02-15 Ulrich Drepper <drepper@gmail.com>
29491
29492 [BZ #12469]
29493 * Makeconfig: Remove RANLIB definition.
29494 * Makerules: Don't use RANLIB.
29495 * aclocal.m4: Remove ranlib test.
29496 * configure.in: No need to check for ranlib.
29497 * elf/rtld-Rules: Don't use RANLIB.
29498
f75286c6
ST
294992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29500
8e31c82d
ST
29501 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29502 protection macro.
29503 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29504 inclusion protection macro.
29505
f75286c6
ST
29506 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29507 SIGRTMIN and SIGRTMAX and print information in that case only when
29508 SIGRTMIN is defined.
29509
c1d0e639
JJ
295102011-02-11 Jakub Jelinek <jakub@redhat.com>
29511
29512 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29513 arginfo fn returning -1.
29514
29515 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29516 and thousands string is zero terminated.
29517
edf9294e
AS
295182011-02-03 Andreas Schwab <schwab@redhat.com>
29519
29520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29521 sysdeps/unix/sysv/linux/bits/socket.h.
29522
2b7e92df
ST
295232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29524
edf9294e
AS
29525 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29526 (__CPU_COUNT): Remove old macros.
29527 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29528 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29529 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29530 (__sched_cpualloc, __sched_cpufree): Add declarations.
29531
a4c7ea7b
UD
295322011-02-05 Ulrich Drepper <drepper@gmail.com>
29533
29534 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29535 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29536 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29537 (readdhstai): Return value of addhstaiX call.
29538 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29539 (addgrbyX): Return value returned by cache_addgr.
29540 (readdgrbyname): Return value returned by addgrbyX.
29541 (readdgrbygid): Likewise.
29542 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29543 (addpwbyX): Return value returned by cache_addpw.
29544 (readdpwbyname): Return value returned by addhstbyX.
29545 (readdpwbyuid): Likewise.
29546 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29547 (addservbyX): Return value returned by cache_addserv.
29548 (readdservbyname): Return value returned by addservbyX:
29549 (readdservbyport): Likewise.
29550 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29551 (addhstbyX): Return value returned by cache_addhst.
29552 (readdhstbyname): Return value returned by addhstbyX.
29553 (readdhstbyaddr): Likewise.
29554 (readdhstbynamev6): Likewise.
29555 (readdhstbyaddrv6): Likewise.
29556 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29557 (readdinitgroups): Return value returned by addinitgroupsX.
29558 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29559 (prune_cache): Keep track of timeout value of re-added entries.
29560 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29561 * nscd/nscd.h: Adjust prototypes of readd* functions.
29562
a0bf67cc
RM
295632011-02-04 Roland McGrath <roland@redhat.com>
29564
29565 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29566 (nis_stats): Likewise.
29567 * nis/nis_modify.c (nis_modify): Likewise.
29568 * nis/nis_remove.c (nis_remove): Likewise.
29569 * nis/nis_add.c (nis_add): Likewise.
29570
29571 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29572
29573 * posix/fnmatch_loop.c: Add some consts.
29574
29575 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29576
435b95eb
L
295772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29578
29579 [BZ #12460]
29580 * config.make.in (config-cflags-novzeroupper): Define.
29581 * configure.in: Substitute libc_cv_cc_novzeroupper.
29582 * elf/Makefile (AVX-CFLAGS): Define.
29583 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29584 (CFLAGS-tst-auditmod4a.c): Likewise.
29585 (CFLAGS-tst-auditmod4b.c): Likewise.
29586 (CFLAGS-tst-auditmod6b.c): Likewise.
29587 (CFLAGS-tst-auditmod6c.c): Likewise.
29588 (CFLAGS-tst-auditmod7b.c): Likewise.
29589 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29590
8517b15e
UD
295912011-02-02 Ulrich Drepper <drepper@gmail.com>
29592
29593 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29594 function to the callback.
29595 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29596
10a656fe
AS
295972011-02-02 Andreas Schwab <schwab@redhat.com>
29598
29599 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29600 of errno.
29601
968dad0a
UD
296022011-01-19 Ulrich Drepper <drepper@gmail.com>
29603
9f94d2ea 29604 [BZ #11724]
968dad0a
UD
29605 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29606 of constructors.
29607 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29608 of destructors.
29609 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29610
29611 [BZ #11724]
29612 * elf/Makefile: Add rules to build and run new test.
29613 * elf/tst-initorder.c: New file.
29614 * elf/tst-initorder.exp: New file.
29615 * elf/tst-initordera1.c: New file.
29616 * elf/tst-initordera2.c: New file.
29617 * elf/tst-initordera3.c: New file.
29618 * elf/tst-initordera4.c: New file.
29619 * elf/tst-initorderb1.c: New file.
29620 * elf/tst-initorderb2.c: New file.
29621 * elf/tst-order-a1.c: New file.
29622 * elf/tst-order-a2.c: New file.
29623 * elf/tst-order-a3.c: New file.
29624 * elf/tst-order-a4.c: New file.
29625 * elf/tst-order-b1.c: New file.
29626 * elf/tst-order-b2.c: New file.
29627 * elf/tst-order-main.c: New file.
29628 New test case by George Gensure <werkt0@gmail.com>.
29629
86e92359
UD
296302010-10-01 Andreas Schwab <schwab@redhat.com>
29631
29632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29633 decoding ACE if AI_CANONIDN.
29634
5d5732b0
UD
296352011-01-18 Ulrich Drepper <drepper@gmail.com>
29636
29637 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29638
a77e8cbc
UD
296392011-01-17 Ulrich Drepper <drepper@gmail.com>
29640
6392473f
UD
29641 * version.h (RELEASE): Bump for 2.13 release.
29642 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29643
620a0529
UD
29644 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29645
18ba70a5
UD
29646 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29647 MADV_NOHUGEPAGE.
32465c3e
UD
29648 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29649 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29650 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29651 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29653 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29654
c0dafcf1
UD
29655 * posix/getconf.c: Update copyright year.
29656 * catgets/gencat.c: Likewise.
29657 * csu/version.c: Likewise.
29658 * debug/catchsegv.sh: Likewise.
29659 * debug/xtrace.sh: Likewise.
29660 * elf/ldconfig.c: Likewise.
29661 * elf/ldd.bash.in: Likewise.
29662 * elf/sprof.c (print_version): Likewise.
29663 * iconv/iconv_prog.c: Likewise.
29664 * iconv/iconvconfig.c: Likewise.
29665 * locale/programs/locale.c: Likewise.
29666 * locale/programs/localedef.c: Likewise.
29667 * malloc/memusage.sh: Likewise.
29668 * malloc/mtrace.pl: Likewise.
29669 * nscd/nscd.c (print_version): Likewise.
29670 * nss/getent.c: Likewise.
29671
a77e8cbc
UD
29672 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29673 PF_CAIF, and PF_ALG.
29674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29675
77e8bddf
AS
296762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29677
1f20b93a
AS
29678 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29679 (modules-names): Use them.
29680 (ifunc-test-modules, ifunc-pie-tests): Define.
29681 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29682 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29683 (test-extras): Likewise.
29684 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29685 $(compile-command.c).
29686 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29687 (all-built-dso): Define.
29688 (check-textrel.out, check-execstack.out): Depend on it.
29689
77e8bddf
AS
29690 * configure.in: Don't override --enable-multi-arch.
29691
bc425b33
UD
296922011-01-15 Ulrich Drepper <drepper@gmail.com>
29693
29694 [BZ #6812]
29695 * nscd/hstcache.c (tryagain): Define.
29696 (cache_addhst): Return tryagain not notfound for temporary errors.
29697 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29698 failed.
29699
794c3ad3
UD
297002011-01-14 Ulrich Drepper <drepper@gmail.com>
29701
70181fdd
UD
29702 [BZ #10563]
29703 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29704 to make the syscall.
29705 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29706
794c3ad3
UD
29707 [BZ #12378]
29708 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29709 and fall back to matching as normal character if the string ends before
29710 the matching ']' is found. This is what POSIX requires.
29711 * posix/testfnm.c: Adjust test result.
29712 * posix/globtest.sh: Adjust test result. Add new test.
29713 * posix/tst-fnmatch.input: Likewise.
29714 * posix/tst-fnmatch2.c: Add new test.
29715
68dc9497
AS
297162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29717
29718 * elf/Makefile (check-execstack): Revert last change. Depend on
29719 check-execstack.h.
29720 (check-execstack.h): New target.
29721 (generated): Add check-execstack.h.
29722 * elf/check-execstack.c: Include "check-execstack.h".
29723 (main): Revert last change.
29724 (handle_file): Return zero if GNU_STACK is absent and
29725 DEFAULT_STACK_PERMS doesn't include PF_X.
29726
451f001b
UD
297272011-01-13 Ulrich Drepper <drepper@gmail.com>
29728
cfa28e56
UD
29729 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29730 in child fails because the descriptor is already closed.
8cf8ce17
UD
29731 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29732 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29733 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29734
1086d70d
UD
29735 [BZ #12397]
29736 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29737 syscall.
29738
451f001b
UD
29739 [BZ #10484]
29740 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29741 temporary buffer used to handle multi lookups locally.
a85b5cb4 29742 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29743
08769175
UD
297442011-01-12 Ulrich Drepper <drepper@gmail.com>
29745
29746 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29747 loader is ld.so.
29748
5e49c52e
UD
297492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29750
29751 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29752 alignment for SSE2.
29753
60522a5f
UD
297542011-01-12 Ulrich Drepper <drepper@gmail.com>
29755
29756 [BZ #12394]
29757 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29758 characters. When rounding increased number of integer digits recompute
29759 number of groups.
29760 * stdio-common/tst-grouping.c: New file.
29761 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29762
f257bbd7
UD
297632011-01-09 Ulrich Drepper <drepper@gmail.com>
29764
29765 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29766 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29767
29768 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29769 void.
29770 * bits/select.h: Likewise.
29771
fa9c15cb
UD
297722011-01-08 Ulrich Drepper <drepper@gmail.com>
29773
29774 * po/ja.po: Update from translation team.
29775
16c2895f
DM
297762011-01-04 David S. Miller <davem@sunset.davemloft.net>
29777
29778 [BZ #11155]
29779 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29780 implementation just like for lxstat, fxstatat, et al.
29781
2543fef2
JM
297822010-12-27 Jim Meyering <meyering@redhat.com>
29783
29784 [BZ #12348]
29785 * posix/regexec.c (build_trtable): Return failure indication upon
29786 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29787
98727dbe
UD
297882010-12-25 Ulrich Drepper <drepper@gmail.com>
29789
5bd6dc5c
UD
29790 [BZ #12201]
29791 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29792 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29793 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29795
97983464
UD
29796 [BZ #12207]
29797 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29798
98727dbe
UD
29799 [BZ #12204]
29800 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29801 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29802
4a531bb0
L
298032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29804
29805 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29806 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29807 script has SORT_BY_INIT_PRIORITY.
29808 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29809 NO_CTORS_DTORS_SECTIONS is defined.
29810 * elf/soinit.c: Likewise.
29811 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29812 NO_CTORS_DTORS_SECTIONS is defined.
29813 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29814 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29815 * sysdeps/sh/init-first.c: Likewise.
29816 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29817
07eb4b71
UD
298182010-12-24 Ulrich Drepper <drepper@gmail.com>
29819
29820 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29821 always use the slow path.
29822
30950a5f
RA
298232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29824
29825 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29826 similar rule which adds the sysdep directories to the header search in
29827 order to pick up the correct platform stackinfo.h.
29828 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29829 perform test if it is, otherwise return successfully without testing.
29830 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29831 DEFAULT_STACK_PERMS define in stackinfo.h.
29832 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29833 defined in stackinfo.h.
29834 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29835 DEFAULT_STACK_PERMS defined in stackinfo.h.
29836 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29837 * sysdeps/ia64/stackinfo.h: Likewise.
29838 * sysdeps/s390/stackinfo.h: Likewise.
29839 * sysdeps/sh/stackinfo.h: Likewise.
29840 * sysdeps/sparc/stackinfo.h: Likewise.
29841 * sysdeps/x86_64/stackinfo.h: Likewise.
29842 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29843 PF_X for powerpc64. Retain PF_X for powerpc32.
29844
db753e2c
UD
298452010-12-19 Ulrich Drepper <drepper@gmail.com>
29846
14b697f7
UD
29847 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29848 accurately.
db753e2c
UD
29849 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29850 GETDENTS_64BIT_ALIGNED.
29851
28300719
UD
298522010-12-14 Ulrich Drepper <dreper@gmail.com>
29853
14b697f7 29854 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29855
4f197237
AS
298562010-12-10 Andreas Schwab <schwab@redhat.com>
29857
dbb0472f
AS
29858 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29859 _GNU_SOURCE.
29860
4f197237
AS
29861 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29862 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29863 Remove __restrict.
29864 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29865 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29866
fb88ac72
UD
298672010-12-09 Ulrich Drepper <drepper@gmail.com>
29868
29869 [BZ #11655]
29870 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29871 are initialized.
29872
42acbb92
JJ
298732010-12-09 Jakub Jelinek <jakub@redhat.com>
29874
29875 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29876
c038d98d
UD
298772010-12-03 Ulrich Drepper <drepper@gmail.com>
29878
29879 * po/it.po: Update from translation team.
29880
3a4a2499
L
298812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29882
29883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29884 unused codes.
29885
1e24cf6e
UD
298862010-11-30 Ulrich Drepper <drepper@gmail.com>
29887
29888 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29889
a7690819
AS
298902010-11-24 Andreas Schwab <schwab@redhat.com>
29891
29892 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29893 specially.
29894 (gaih_getanswer_slice): Likewise.
29895
3bf8d1b1
JJ
298962010-10-20 Jakub Jelinek <jakub@redhat.com>
29897
29898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29899
6db52fbb
PB
299002010-05-31 Petr Baudis <pasky@suse.cz>
29901
29902 [BZ #11149]
29903 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29904 silently even in the chroot mode.
29905
eaca7569
UD
299062010-11-22 Ulrich Drepper <drepper@gmail.com>
29907
29908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29909 last patch a bit. Pretty printing
29910
3056dcdb
UD
299112010-05-31 Petr Baudis <pasky@suse.cz>
29912
29913 [BZ #10085]
29914 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29915 initialization of skip_initgroups_dyn.
29916
cf7c9078
UD
299172010-11-19 Ulrich Drepper <drepper@gmail.com>
29918
29919 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29920 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29921
a1fb5e3e
UD
299222010-11-16 Ulrich Drepper <drepper@gmail.com>
29923
29924 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29925
3540d66b
AS
299262010-11-11 Andreas Schwab <schwab@redhat.com>
29927
29928 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29929 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29930 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29931 ($(objpfx)tst-fnmatch-mem): New rule.
29932 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29933 * posix/tst-fnmatch.c (main): Call mtrace.
29934
13b69574
L
299352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29936
29937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29938 Support Intel processor model 6 and model 0x2c.
29939
da93d214
LM
299402010-11-10 Luis Machado <luisgpm@br.ibm.com>
29941
29942 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29943 signed comparison.
29944
8ca52c6e
L
299452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29946
29947 [BZ #12205]
29948 * string/test-strncasecmp.c (check_result): New function.
29949 (do_one_test): Use it.
29950 (check1): New function.
29951 (test_main): Use it.
29952 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29953 Support strcasecmp and strncasecmp.
29954
69da074d
UD
299552010-11-08 Ulrich Drepper <drepper@gmail.com>
29956
29957 [BZ #12194]
29958 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29960
ff02d528
L
299612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29962
29963 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29964 IFUNC support.
29965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29966 memset-x86-64.
29967 * sysdeps/x86_64/multiarch/bzero.S: New file.
29968 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29969 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29970 * sysdeps/x86_64/multiarch/memset.S: New file.
29971 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29973 Set bit_Prefer_SSE_for_memop for Intel processors.
29974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29975 Define.
29976 (index_Prefer_SSE_for_memop): Define.
29977 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29978
344d0b54
LM
299792010-11-04 Luis Machado <luisgpm@br.ibm.com>
29980
29981 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29982 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29983
c0dde15b
UD
299842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 [BZ #12191]
29987 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29988 (__x86_64_raw_data_cache_size_half): Likewise.
29989 (__x86_64_raw_shared_cache_size): Likewise.
29990 (__x86_64_raw_shared_cache_size_half): Likewise.
29991
29992 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29993 (__x86_64_raw_data_cache_size_half): Likewise.
29994 (__x86_64_raw_shared_cache_size): Likewise.
29995 (__x86_64_raw_shared_cache_size_half): Likewise.
29996 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29997 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29998 and __x86_64_raw_shared_cache_size_half. Round
29999 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30000 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30001 to multiple of 256 bytes.
30002
0e516e0e
MS
300032010-11-03 Ulrich Drepper <drepper@gmail.com>
30004
30005 [BZ #12167]
30006 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30007 of inacessible symlinks. Verify result of symlink before returning it.
30008 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30009 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30010
0e012e87
ER
300112010-10-28 Erich Ritz <erichritz@gmail.com>
30012
30013 * math/math.h (isinf): Fix typo in comment.
30014
de0ff7bc
UD
300152010-11-01 Ulrich Drepper <drepper@gmail.com>
30016
30017 * po/da.po: Update from translation team.
30018
fa41c84d
UD
300192010-10-26 Ulrich Drepper <drepper@gmail.com>
30020
30021 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30022 is added to the list.
30023
f0967738
AK
300242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30025 Ulrich Drepper <drepper@gmail.com>
30026
30027 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30028 the global list here. Move code to...
30029 (_dl_add_to_namespace_list): ...here. New function.
30030 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30031 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30032 * elf/dl-load.c (lose): Don't remove the element from the list.
30033 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30034 (_dl_map_object): Likewise.
30035
300362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30037
30038 [BZ #12159]
30039 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30040 into all bytes of SSE register.
30041 Patch by Richard Li <richardpku@gmail.com>.
30042
f0967738 300432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30044
30045 [BZ #12140]
30046 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30047 perturbing.
30048
d0b9e94f
MB
300492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30050
30051 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30052 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30054 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30056 submachine.
30057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30058
8e9f92e9
AS
300592010-10-22 Andreas Schwab <schwab@redhat.com>
30060
30061 * include/dlfcn.h (__RTLD_SECURE): Define.
30062 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30063 mode & __RTLD_SECURE instead.
30064 (open_path): Rename preloaded parameter to secure.
30065 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30066 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30067 * elf/dl-deps.c (openaux): Likewise.
30068 * elf/rtld.c (struct map_args): Remove is_preloaded.
30069 (map_doit): Don't use it.
30070 (dl_main): Likewise.
30071 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30072 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30073
bc96fbda
AS
300742010-09-09 Andreas Schwab <schwab@redhat.com>
30075
30076 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30077 (sysd-rules-targets): Remove duplicates.
30078 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30079 rtld-%.$o dependency.
30080
22cd1c9b
AS
300812010-10-18 Andreas Schwab <schwab@redhat.com>
30082
30083 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30084 _dl_map_object do it.
30085
18edac48
UD
300862010-10-19 Ulrich Drepper <drepper@gmail.com>
30087
30088 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30089 fast fma builtins, define the macros in the C99 standard.
30090 (FP_FAST_FMAF): Likewise.
30091 (FP_FAST_FMAL): Likewise.
30092 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30093
30094 * bits/mathdef.h: Update copyright year.
30095 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30096
d2050124
MM
300972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30098
30099 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30100 builtins, define the macros in the C99 standard.
30101 (FP_FAST_FMAF): Likewise.
30102 (FP_FAST_FMAL): Likewise.
30103 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30104 multiply/add.
30105 (FP_FAST_FMAF): Likewise.
30106
475facd1
JJ
301072010-10-15 Jakub Jelinek <jakub@redhat.com>
30108
30109 [BZ #3268]
30110 * math/libm-test.inc (fma_test): Some new testcases.
30111 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30112 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30113 y and infinite z. Do multiplication by C already in long double.
30114 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30116 y and infinite z. Do bitwise or of inexact bit into u.d.
30117 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30118 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30119 * sysdeps/i386/fpu/s_fma.S: Removed.
30120 * sysdeps/i386/fpu/s_fmal.S: Removed.
30121
7c08a05c
JJ
301222010-10-16 Jakub Jelinek <jakub@redhat.com>
30123
30124 [BZ #3268]
30125 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30127 computation is not scheduled after fetestexcept. Fix value
30128 of minimum denormal long double.
30129
f3f7372d
JJ
301302010-10-14 Jakub Jelinek <jakub@redhat.com>
30131
30132 [BZ #3268]
30133 * math/libm-test.inc (fma_test): Add some more tests.
30134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30135 correctly.
30136
14d43591
AS
301372010-10-15 Andreas Schwab <schwab@redhat.com>
30138
30139 * scripts/data/localplt-s390-linux-gnu.data: New file.
30140 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30141
5e908464
JJ
301422010-10-13 Jakub Jelinek <jakub@redhat.com>
30143
30144 [BZ #3268]
30145 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30146 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30147 instead of dbl-64.
30148 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30149 inlines.
30150 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30152 if one of x and y is very large and the other is subnormal.
30153 * sysdeps/s390/fpu/s_fmaf.c: New file.
30154 * sysdeps/s390/fpu/s_fma.c: New file.
30155 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30156 * sysdeps/powerpc/fpu/s_fma.S: New file.
30157 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30158 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30159 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30160
301612010-10-12 Jakub Jelinek <jakub@redhat.com>
30162
30163 [BZ #3268]
30164 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30165 fma tests.
30166 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30167 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30168 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30169 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30170 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30171 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30173
b833d51f
UD
301742010-10-12 Ulrich Drepper <drepper@redhat.com>
30175
30176 [BZ #12078]
30177 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30178 * posix/bug-regex31.input: Add test case.
30179
1751705d
UD
301802010-10-11 Ulrich Drepper <drepper@gmail.com>
30181
e9b9cbf5
UD
30182 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30183 * posix/bug-regex31.input: New file.
30184
30185 [BZ #12078]
30186 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30187 (parse_sub_exp): Fix last change, use postorder.
30188
ef06edbe
UD
30189 * posix/bug-regex31.c: New file.
30190 * posix/Makefile: Add rules to build and run bug-regex31.
30191
a129c80d
UD
30192 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30193
30194 [BZ #12078]
30195 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30196
b76b818e
UD
30197 [BZ #12108]
30198 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30199 to have entries in sys_siglist.
30200
1751705d
UD
30201 [BZ #12093]
30202 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30203 be NULL.
30204
9ff8d36f
JJ
302052010-10-07 Jakub Jelinek <jakub@redhat.com>
30206
30207 [BZ #3268]
30208 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30209 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30210 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30211 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30212 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30213 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30214 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30215 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30216 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30217 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30218 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30219 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30220 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30221 * math/ftestexcept.c (fetestexcept): Likewise.
30222 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30223 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30224 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30225 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30226 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30227 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30228 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30229
af325969
UD
302302010-10-11 Ulrich Drepper <drepper@gmail.com>
30231
c579b202 30232 [BZ #12107]
af325969
UD
30233 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30234 newline.
30235
67a67b95
UD
302362010-10-06 Ulrich Drepper <drepper@gmail.com>
30237
30238 * string/bug-strstr1.c: New file.
30239 * string/Makefile: Add rules to build and run bug-strstr1.
30240
5fb308bc
EB
302412010-10-05 Eric Blake <eblake@redhat.com>
30242
30243 [BZ #12092]
30244 * string/str-two-way.h (two_way_long_needle): Always clear memory
30245 when skipping input due to the shift table.
30246
45db99c7
UD
302472010-10-03 Ulrich Drepper <drepper@gmail.com>
30248
3b111893
UD
30249 [BZ #12005]
30250 * malloc/mcheck.c: Handle large requests.
30251
45db99c7
UD
30252 [BZ #12077]
30253 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30254 for strncmp and strncasecmp.
30255 * string/stratcliff.c: Add tests for strcmp and strncmp.
30256 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30257
cf7a1eb8
NI
302582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30259
30260 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30261 __set_fpscr.
30262
6484ba5e
AJ
302632010-09-30 Andreas Jaeger <aj@suse.de>
30264
30265 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30266 (CGROUP_SUPER_MAGIC): Define.
30267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30268 Handle btrfs and cgroup file systems.
30269 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30270 Likewise.
30271
91c42559
LM
302722010-09-27 Luis Machado <luisgpm@br.ibm.com>
30273
30274 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30275 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30276
87a97932
AK
302772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30278
30279 [BZ #12067]
30280 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30281 trying to locate the ELF header.
30282
c21cc9bc
AS
302832010-09-27 Andreas Schwab <schwab@redhat.com>
30284
30285 [BZ #11611]
30286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30287 Mask out sign-bit copies when constructing f_fsid.
30288
315970f6
PB
302892010-09-24 Petr Baudis <pasky@suse.cz>
30290
30291 * debug/stack_chk_fail_local.c: Add missing licence exception.
30292 * debug/warning-nop.c: Likewise.
30293
1ac7a2c7
JM
302942010-09-15 Joseph Myers <joseph@codesourcery.com>
30295
30296 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30297 implementing getdents64 using getdents syscall, set d_type if
30298 __ASSUME_GETDENTS32_D_TYPE.
30299
56801c50
AS
303002010-09-16 Andreas Schwab <schwab@redhat.com>
30301
30302 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30303 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30304
dda51327
UD
303052010-09-21 Ulrich Drepper <drepper@redhat.com>
30306
30307 [BZ #12037]
30308 * posix/unistd.h: Undo change of feature selection for ftruncate from
30309 2010-01-11.
30310
8ffcee4a
UD
303112010-09-20 Ulrich Drepper <drepper@redhat.com>
30312
a545ecd9 30313 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30314 detection.
30315
e24f0a8b
AS
303162010-09-20 Andreas Schwab <schwab@redhat.com>
30317
30318 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30319 fanotify_mark.
30320 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30321
7291c56f
AS
303222010-09-14 Andreas Schwab <schwab@redhat.com>
30323
30324 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30325 variables after CHECK_SP call.
30326 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30327
bc5fb037
AS
303282010-09-13 Andreas Schwab <schwab@redhat.com>
30329 Ulrich Drepper <drepper@redhat.com>
30330
30331 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30332 re-relocationg ld.so.
30333 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30334 _dl_init_paths call.
30335 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30336 here anymore.
30337
e66e7419
UD
303382010-09-14 Ulrich Drepper <drepper@redhat.com>
30339
30340 * resolv/res_init.c (__res_vinit): Count the default server we added.
30341
c044aa75
CLT
303422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30343 Ulrich Drepper <drepper@redhat.com>
30344
30345 [BZ #11968]
30346 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30347 (____longjmp_chk): Use %ebx for saving value across system call.
30348 Add unwind info.
30349
32cf4069
AS
303502010-09-06 Andreas Schwab <schwab@redhat.com>
30351
30352 * manual/Makefile: Don't mix pattern rules with normal rules.
30353
817328ee
AS
303542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30355
30356 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30357 operation.
30358 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30359 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30360 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30361 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30363 Likewise.
30364
29fddf61
UD
303652010-09-04 Ulrich Drepper <drepper@redhat.com>
30366
30367 [BZ #11979]
30368 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30369 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30370
0959ffc9
UD
303712010-09-02 Ulrich Drepper <drepper@redhat.com>
30372
30373 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30374 * sysdeps/x86_64/addmul_1.S: Likewise.
30375 * sysdeps/x86_64/lshift.S: Likewise.
30376 * sysdeps/x86_64/mul_1.S: Likewise.
30377 * sysdeps/x86_64/rshift.S: Likewise.
30378 * sysdeps/x86_64/sub_n.S: Likewise.
30379 * sysdeps/x86_64/submul_1.S: Likewise.
30380
ece29840
ST
303812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30382
0959ffc9
UD
30383 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30384 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30385 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30386 * bits/sched.h [__need_schedparam]
ece29840 30387 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30388 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30389 (__defined_schedparam): Define to 1.
ece29840
ST
30390 (__sched_param): New structure, identical to sched_param.
30391 (__need_schedparam): Undefine.
30392
e53a31fe
MF
303932010-08-31 Mike Frysinger <vapier@gentoo.org>
30394
fdc0c10d
MF
30395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30396 (epoll_create1): Declare.
30397
e53a31fe
MF
30398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30399
a726d796
AS
304002010-08-31 Andreas Schwab <schwab@redhat.com>
30401
30402 [BZ #7066]
30403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30404 shifting retval into place.
30405
2f3e3dc7
UD
304062010-09-01 Ulrich Drepper <drepper@redhat.com>
30407
f2933da9
UD
30408 * nis/rpcsvc/nis.h: Update copyright notice.
30409 * nis/rpcsvc/nis.x: Likewise.
30410 * nis/rpcsvc/nis_callback.h: Likewise.
30411 * nis/rpcsvc/nis_callback.x: Likewise.
30412 * nis/rpcsvc/nis_object.x: Likewise.
30413 * nis/rpcsvc/nis_tags.h: Likewise.
30414 * nis/rpcsvc/yp.h: Likewise.
30415 * nis/rpcsvc/yp.x: Likewise.
30416 * nis/rpcsvc/ypupd.h: Likewise.
30417 * nis/yp_xdr.c: Likewise.
30418 * nis/ypupdate_xdr.c: Likewise.
30419
2f3e3dc7
UD
30420 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30421 mainly the body of pmap_getport. Add parameters to specify timeouts.
30422 (pmap_getport): Use __libc_rpc_getport.
30423 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30424 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30425 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30426
f3dcc2f9
AS
304272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30428
30429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30430 fanotify_mark.
30431
6d34eb5b
RM
304322010-08-27 Roland McGrath <roland@redhat.com>
30433
30434 * sysdeps/i386/i686/multiarch/Makefile
30435 (CFLAGS-varshift.c): New variable.
30436
9ea3de11
UD
304372010-08-27 Ulrich Drepper <drepper@redhat.com>
30438
c96d23fc
UD
30439 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30440 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30441
9ea3de11
UD
30442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30443
30444 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30445
623aac7f
L
304462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30447
30448 * sysdeps/x86_64/strlen.S: Unroll the loop.
30449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30450 strlen-sse2 strlen-sse2-bsf.
30451 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30452 __strlen_no_bsf if bit_Slow_BSF is set.
30453 (__strlen_sse42): Removed.
30454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30455 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30456
8b2b7715
RM
304572010-08-25 Roland McGrath <roland@redhat.com>
30458
30459 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30460 * sysdeps/x86_64/multiarch/varshift.c: New file.
30461 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30462 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30463 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30464 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30465
e73015f2
L
304662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30469 strlen-sse2 strlen-sse2-bsf.
30470 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30471 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30472 (__strlen_sse2): Removed.
30473 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30476 bit_Slow_BSF for Atom.
30477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30478 (index_Slow_BSF): Define.
30479 (HAS_SLOW_BSF): Define.
30480
df24a73e
UD
304812010-08-25 Ulrich Drepper <drepper@redhat.com>
30482
30483 [BZ #10851]
30484 * resolv/res_init.c (__res_vinit): When no server address at all
30485 is given default to loopback.
30486
f2ac4868
RM
304872010-08-24 Roland McGrath <roland@redhat.com>
30488
09055553
RM
30489 * configure.in: Remove config-name.h generation.
30490 * configure: Regenerated.
30491 * config-name.in: File removed.
30492 * scripts/config-uname.sh: New file.
30493 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30494 ($(objdir)config-name.h): New target.
30495
f2ac4868
RM
30496 * sunrpc/rpc_parse.h: Avoid nested comment.
30497
73f27d5e
RH
304982010-08-24 Richard Henderson <rth@redhat.com>
30499 Ulrich Drepper <drepper@redhat.com>
30500 H.J. Lu <hongjiu.lu@intel.com>
30501
30502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30504 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30505 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30506 _mm_alignr_epi8 with _mm_loadu_si128.
30507 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30508 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30509 (__m128i_shift_right): Removed.
30510 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30511 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30512 * sysdeps/x86_64/multiarch/varshift.h: New file.
30513 * sysdeps/x86_64/multiarch/varshift.S: New file.
30514
84b9230c
MF
305152010-08-21 Mike Frysinger <vapier@gentoo.org>
30516
30517 * configure.in: Move assembler checks to before sysdep dir checking.
30518
9bbd0ddc
PB
305192010-08-20 Petr Baudis <pasky@suse.cz>
30520
30521 * LICENSES: Sync the sunrpc license.
30522
9da4bb31
UD
305232010-08-19 Ulrich Drepper <drepper@redhat.com>
30524
a7ab6ec8
UD
30525 * sunrpc/auth_des.c: Update copyright notice once again.
30526 * sunrpc/auth_none.c: Likewise.
30527 * sunrpc/auth_unix.c: Likewise.
30528 * sunrpc/authdes_prot.c: Likewise.
30529 * sunrpc/authuxprot.c: Likewise.
30530 * sunrpc/bindrsvprt.c: Likewise.
30531 * sunrpc/clnt_gen.c: Likewise.
30532 * sunrpc/clnt_perr.c: Likewise.
30533 * sunrpc/clnt_raw.c: Likewise.
30534 * sunrpc/clnt_simp.c: Likewise.
30535 * sunrpc/clnt_tcp.c: Likewise.
30536 * sunrpc/clnt_udp.c: Likewise.
30537 * sunrpc/clnt_unix.c: Likewise.
30538 * sunrpc/des_crypt.c: Likewise.
30539 * sunrpc/des_soft.c: Likewise.
30540 * sunrpc/get_myaddr.c: Likewise.
30541 * sunrpc/getrpcport.c: Likewise.
30542 * sunrpc/key_call.c: Likewise.
30543 * sunrpc/key_prot.c: Likewise.
30544 * sunrpc/openchild.c: Likewise.
30545 * sunrpc/pm_getmaps.c: Likewise.
30546 * sunrpc/pm_getport.c: Likewise.
30547 * sunrpc/pmap_clnt.c: Likewise.
30548 * sunrpc/pmap_prot.c: Likewise.
30549 * sunrpc/pmap_prot2.c: Likewise.
30550 * sunrpc/pmap_rmt.c: Likewise.
30551 * sunrpc/rpc/auth.h: Likewise.
30552 * sunrpc/rpc/auth_unix.h: Likewise.
30553 * sunrpc/rpc/clnt.h: Likewise.
30554 * sunrpc/rpc/des_crypt.h: Likewise.
30555 * sunrpc/rpc/key_prot.h: Likewise.
30556 * sunrpc/rpc/netdb.h: Likewise.
30557 * sunrpc/rpc/pmap_clnt.h: Likewise.
30558 * sunrpc/rpc/pmap_prot.h: Likewise.
30559 * sunrpc/rpc/pmap_rmt.h: Likewise.
30560 * sunrpc/rpc/rpc.h: Likewise.
30561 * sunrpc/rpc/rpc_des.h: Likewise.
30562 * sunrpc/rpc/rpc_msg.h: Likewise.
30563 * sunrpc/rpc/svc.h: Likewise.
30564 * sunrpc/rpc/svc_auth.h: Likewise.
30565 * sunrpc/rpc/types.h: Likewise.
30566 * sunrpc/rpc/xdr.h: Likewise.
30567 * sunrpc/rpc_clntout.c: Likewise.
30568 * sunrpc/rpc_cmsg.c: Likewise.
30569 * sunrpc/rpc_common.c: Likewise.
30570 * sunrpc/rpc_cout.c: Likewise.
30571 * sunrpc/rpc_dtable.c: Likewise.
30572 * sunrpc/rpc_hout.c: Likewise.
30573 * sunrpc/rpc_main.c: Likewise.
30574 * sunrpc/rpc_parse.c: Likewise.
30575 * sunrpc/rpc_parse.h: Likewise.
30576 * sunrpc/rpc_prot.c: Likewise.
30577 * sunrpc/rpc_sample.c: Likewise.
30578 * sunrpc/rpc_scan.c: Likewise.
30579 * sunrpc/rpc_scan.h: Likewise.
30580 * sunrpc/rpc_svcout.c: Likewise.
30581 * sunrpc/rpc_tblout.c: Likewise.
30582 * sunrpc/rpc_util.c: Likewise.
30583 * sunrpc/rpc_util.h: Likewise.
30584 * sunrpc/rpcinfo.c: Likewise.
30585 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30586 * sunrpc/rpcsvc/key_prot.x: Likewise.
30587 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30588 * sunrpc/rpcsvc/mount.x: Likewise.
30589 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30590 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30591 * sunrpc/rpcsvc/rex.x: Likewise.
30592 * sunrpc/rpcsvc/rstat.x: Likewise.
30593 * sunrpc/rpcsvc/rusers.x: Likewise.
30594 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30595 * sunrpc/rpcsvc/spray.x: Likewise.
30596 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30597 * sunrpc/rtime.c: Likewise.
30598 * sunrpc/svc.c: Likewise.
30599 * sunrpc/svc_auth.c: Likewise.
30600 * sunrpc/svc_authux.c: Likewise.
30601 * sunrpc/svc_raw.c: Likewise.
30602 * sunrpc/svc_run.c: Likewise.
30603 * sunrpc/svc_simple.c: Likewise.
30604 * sunrpc/svc_tcp.c: Likewise.
30605 * sunrpc/svc_udp.c: Likewise.
30606 * sunrpc/svc_unix.c: Likewise.
30607 * sunrpc/svcauth_des.c: Likewise.
30608 * sunrpc/xcrypt.c: Likewise.
30609 * sunrpc/xdr.c: Likewise.
30610 * sunrpc/xdr_array.c: Likewise.
30611 * sunrpc/xdr_float.c: Likewise.
30612 * sunrpc/xdr_mem.c: Likewise.
30613 * sunrpc/xdr_rec.c: Likewise.
30614 * sunrpc/xdr_ref.c: Likewise.
30615 * sunrpc/xdr_sizeof.c: Likewise.
30616 * sunrpc/xdr_stdio.c: Likewise.
30617
9da4bb31
UD
30618 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30619 handling.
30620
bdaa77bc
AS
306212010-08-19 Andreas Schwab <schwab@redhat.com>
30622
30623 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30624
fe2f79db
LM
306252010-08-19 Luis Machado <luisgpm@br.ibm.com>
30626
30627 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30628 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30629 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30630 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30631 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30632 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30633 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30634 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30635 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30636 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30637 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30638 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30639 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30640 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30641
b9b42ee0
AB
306422010-07-26 Anton Blanchard <anton@samba.org>
30643
30644 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30645 * malloc/arena.c (heap_trim): Likewise.
30646
1c06ba31
UD
306472010-08-16 Ulrich Drepper <drepper@redhat.com>
30648
30649 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30650 here. Not...
30651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30652 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30653
f8392f40
L
306542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30655
30656 * sysdeps/i386/elf/Makefile: New file.
30657
3162f12e
AS
306582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30659
30660 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30661 from fanotify_init.
30662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30664
28c90b2c
UD
306652010-08-15 Ulrich Drepper <drepper@redhat.com>
30666
30667 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30668 of strncasecmp_l.
1feccb6c 30669 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30670
ca6bb004
UD
306712010-08-14 Ulrich Drepper <drepper@redhat.com>
30672
e9f82e0d
UD
30673 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30674 strncase_l-nonascii.
30675 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30676 Add strncase_l-ssse3.
30677 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30678 * sysdeps/x86_64/strcmp.S: Likewise.
30679 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30680 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30681 * sysdeps/x86_64/strncase.S: New file.
30682 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30683 * sysdeps/x86_64/strncase_l.S: New file.
30684 * string/Makefile (strop-tests): Add strncasecmp.
30685 * string/test-strncasecmp.c: New file.
30686
30687 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30688 warning.
30689
ca6bb004
UD
30690 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30691 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30692
052fa7b3
AS
306932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30694
30695 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30696
962dba78
UD
306972010-08-12 Ulrich Drepper <drepper@redhat.com>
30698
30699 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30700 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30701 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30702
bebff237
AM
307032010-05-01 Alan Modra <amodra@gmail.com>
30704
30705 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30706 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30707 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30708 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30709 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30710 tidying. Don't tail-call __sigjmp_save for static lib.
30711 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30712 save location.
30713 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30714 (CALL_MCOUNT): Add eh info, and nop after bl.
30715 (TAIL_CALL_SYSCALL_ERROR): New macro.
30716 (PSEUDO_RET): Use it.
30717 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30718 Correct save location of integer regs and cr.
30719 (_dl_profile_resolve): Correct cr save location. Delete nops
30720 after bl when SHARED. Reduce cfi size a little by better
30721 placement of cfi directives.
30722 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30723 make a stack frame. Instead use parm save area as a temp.
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30725 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30727 Don't make a stack frame for parent, use parm save area.
30728 Increase child stack frame to 112 bytes. Don't save unused reg,
30729 and adjust reg usage. Set up cfi on error recovery and
30730 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30732 (__makecontext): Add dummy nop after jump to exit.
30733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30734 Use correct parm save area and cr save, reduce stack frame.
30735 Correct cfi for possible PSEUDO_RET frame setup.
30736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30737 Branch to local label emitted by PSEUDO_RET rather than
30738 __syscall_error.
30739
02637374
AS
307402010-08-12 Andreas Schwab <schwab@redhat.com>
30741
30742 [BZ #11904]
30743 * locale/programs/locale.c (print_assignment): New function.
30744 (show_locale_vars): Use it.
30745
c3e2f19b
UD
307462010-08-11 Ulrich Drepper <drepper@redhat.com>
30747
3cdaa6ad
UD
30748 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30749 field.
30750 (struct statfs64): Likewise.
30751 (_STATFS_F_FLAGS): Define.
30752 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30754 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30755 (ST_VALID): Define locally.
30756 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30757 __statvfs_getflags, use the provided value.
30758 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30759 __ASSUME_STATFS_F_FLAGS.
30760
754f7da3
UD
30761 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30762
10b3bedc
UD
30763 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30764 Add sys/fanotify.h.
30765 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30766 fanotify_mask for GLIBC_2.13.
30767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30768 fanotify_init and fanotify_mark.
30769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30770 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30771
c08fb0d7
UD
30772 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30773 Add prlimit.
30774 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30775 prlimit64 for GLIBC_2.13.
30776 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30777 prlimit64.
30778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30779 syscall.
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30782 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30785 add prlimit alias.
30786 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30787
15bac72b
UD
30788 [BZ #11903]
30789 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30790 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30791
c3e2f19b
UD
30792 * nss/Makefile: Add rules to build and run tst-nss-test1.
30793 * shlib-versions: Add entry for libnss_test1.
30794 * nss/nss_test1.c: New file.
30795 * nss/tst-nss-test1.c: New file.
30796
30797 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30798 (__nss_configure_lookup): Set appropriate entry in
30799 __nss_configure_lookup to true.
30800 * nss/nsswitch.h: Define enum with indeces of databases in
30801 databases and __nss_database_custom arrays. Declare
30802 __nss_database_custom.
30803 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30804 to avoid using nscd when custom rules are installed.
30805 * nss/getXXbyYY_r.c: Likewise.
30806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30807
30808 * nss/nss_files/files-parse.c: Whitespace fixes.
30809
f15ce4d8
UD
308102010-08-09 Ulrich Drepper <drepper@redhat.com>
30811
30812 [BZ #11883]
30813 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30814 * posix/fnmatch_loop.c: Likewise.
30815
d22e4cc9
AK
308162010-07-17 Andi Kleen <ak@linux.intel.com>
30817
30818 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30819 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30820 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30821 * Versions.def [GLIBC_2.13]: Add.
30822
805bc17d
UD
308232010-08-06 Ulrich Drepper <drepper@redhat.com>
30824
30825 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30826 Also fail if tpwd after pwuid call is NULL.
30827
5a42321d
ST
308282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30829
30830 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30831 when converting to ms.
30832
fd3ebeda
ST
308332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30834
30835 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30836 EOPNOTSUPP errors with ENOTTY.
30837 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30838 EOPNOTSUPP errors with ENOTTY.
30839
73507d3a
UD
308402010-07-31 Ulrich Drepper <drepper@redhat.com>
30841
30842 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30843 Add strcasecmp_l-ssse3.
30844 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30845 strcasecmp.
30846 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30847 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30848 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30849
fe36dd02
UD
308502010-07-30 Ulrich Drepper <drepper@redhat.com>
30851
66f6765a
UD
30852 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30853
42e08a54
UD
30854 * string/Makefile (strop-tests): Add strcasecmp.
30855 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30856 strcasecmp_l-nonascii.
30857 (gen-as-const-headers): Add locale-defines.sym.
30858 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30859 * sysdeps/x86_64/strcasecmp.S: New file.
30860 * sysdeps/x86_64/strcasecmp_l.S: New file.
30861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30862 * sysdeps/x86_64/locale-defines.sym: New file.
30863 * string/test-strcasecmp.c: New file.
30864
fe36dd02
UD
30865 * string/test-strcasestr.c: Test both ends of the range of characters.
30866 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30867
48cbc0d6
RM
308682010-07-29 Roland McGrath <roland@redhat.com>
30869
76e6d6bc 30870 [BZ #11856]
48cbc0d6
RM
30871 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30872
880113d9
UD
308732010-07-27 Ulrich Drepper <drepper@redhat.com>
30874
30875 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30876 for ld.so.
30877
deb9cabb
AS
308782010-07-27 Andreas Schwab <schwab@redhat.com>
30879
30880 * manual/memory.texi (Malloc Tunable Parameters): Document
30881 M_PERTURB.
30882
1c7570ff
RM
308832010-07-26 Roland McGrath <roland@redhat.com>
30884
30885 [BZ #11840]
30886 * configure.in (-fgnu89-inline check): Set and substitute
30887 gnu89_inline, not libc_cv_gnu89_inline.
30888 * configure: Regenerated.
30889 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30890
24fb0f88
UD
308912010-07-26 Ulrich Drepper <drepper@redhat.com>
30892
30893 * string/test-strnlen.c: New file.
30894 * string/Makefile (strop-tests): Add strnlen.
30895 * string/tester.c (test_strnlen): Add a few more test cases.
30896 * string/tst-strlen.c: Better error reporting.
30897
30898 * sysdeps/x86_64/strnlen.S: New file.
30899
8e96b93a
UD
309002010-07-24 Ulrich Drepper <drepper@redhat.com>
30901
30902 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30903 lower-latency instructions.
30904
dbc676d4
UD
309052010-07-23 Ulrich Drepper <drepper@redhat.com>
30906
30907 * string/test-strcasestr.c: New file.
30908 * string/test-strstr.c: New file.
30909 * string/Makefile (strop-tests): Add strstr and strcasestr.
30910 * string/str-two-way.h: Don't undefine MAX.
30911 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30912
f6a31e0e
AS
309132010-07-21 Andreas Schwab <schwab@redhat.com>
30914
30915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30916 strcasestr-nonascii.
30917 (CFLAGS-strcasestr-nonascii.c): Define.
30918 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30920 Remove unused attribute.
30921
5dbc3b6c
RM
309222010-07-20 Roland McGrath <roland@redhat.com>
30923
30924 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30925 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30926 ld.so.cache was broken. With it, there is no way to disable dsocaps
30927 like LD_HWCAP_MASK can disable hwcaps.
30928
23d101d8
EPM
309292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30930
30931 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30932
cc9f2e47
UD
309332010-07-16 Ulrich Drepper <drepper@redhat.com>
30934
30935 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30936 call in strcasestr.
30937 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30938 __strcasestr_sse42_nonascii.
30939 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30940 strcasestr-nonascii.c.
30941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30942
77c1b069
LM
309432010-06-15 Luis Machado <luisgpm@br.ibm.com>
30944
30945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30946 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30949
440566c3
UD
309502010-07-09 Ulrich Drepper <drepper@redhat.com>
30951
30952 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30953 fcntl.
30954
5be9d05d
AS
309552010-07-06 Andreas Schwab <schwab@redhat.com>
30956
c30b7ee2 30957 [BZ #11577]
5be9d05d
AS
30958 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30959 dl_signal_cerror.
30960
8a492a67
UD
309612010-07-06 Ulrich Drepper <drepper@redhat.com>
30962
30963 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30964 _PC_PIPE_BUF using F_GETPIPE_SZ.
30965
713df3d5
RM
309662010-07-05 Roland McGrath <roland@redhat.com>
30967
30968 * manual/arith.texi (Rounding Functions): Fix rint description
30969 implicit in round description.
30970
702e8f14
UD
309712010-07-02 Ulrich Drepper <drepper@redhat.com>
30972
30973 * elf/Makefile: Fix linking for a few tests to make recent linker
30974 happy.
30975
52ed8be9
AS
309762010-06-30 Andreas Schwab <schwab@redhat.com>
30977
30978 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30979 $(common-objpfx)libc_nonshared.a.
30980
f47c9a11
LM
309812010-06-21 Luis Machado <luisgpm@br.ibm.com>
30982
30983 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30984 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30985 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30986 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30987 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30988 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30989 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30990 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31005 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31006 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31007 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31008 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31009 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31010 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31011 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31012 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31013 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31014 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31015 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31016 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31031
6fb8cbcb
L
310322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31033
31034 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31035 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31036 * string/memmove.c (memmove): Renamed to ...
31037 (MEMMOVE): ...this. Default to memmove.
31038 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31039 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31040 (END_CHK): Define.
31041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31042 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31043 mempcpy-ssse3-back memmove-ssse3-back.
31044 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31045 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31047 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31048 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31049 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31050 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31051 * sysdeps/x86_64/multiarch/memmove.c: New file.
31052 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31053 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31054 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31055 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31058 Define.
31059 (index_Fast_Copy_Backward): Define.
31060 (HAS_ARCH_FEATURE): Define.
31061 (HAS_FAST_REP_STRING): Define.
31062 (HAS_FAST_COPY_BACKWARD): Define.
31063
4e733bac 310642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31065
31066 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31067 Restore proper fallback handling.
31068
63c4ed22
UD
310692010-06-19 Ulrich Drepper <drepper@redhat.com>
31070
ac2b484c
UD
31071 [BZ #11701]
31072 * posix/group_member.c (__group_member): Correct checking loop.
31073
63c4ed22
UD
31074 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31075 OOM in getpwuid_r correctly. Return error number when the caller
31076 should return, otherwise -1.
31077 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31078 call returning > 0 value.
31079 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31080
765ade4b
AS
310812010-06-07 Andreas Schwab <schwab@redhat.com>
31082
31083 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31084 libc_nonshared.a from targets in modules-names.
31085
80da2e09
KS
310862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31087
31088 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31089 requires it.
31090
158db122
LM
310912010-06-10 Luis Machado <luisgpm@br.ibm.com>
31092
31093 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31094 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31095 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31097
caa78cf8
AS
310982010-06-02 Andreas Schwab <schwab@redhat.com>
31099
31100 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31101
b2ef2c01
UD
311022010-06-14 Ulrich Drepper <drepper@redhat.com>
31103
31104 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31105 and F_GETPIPE_SZ.
31106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31110 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31112
fbd643b6
RM
311132010-06-14 Roland McGrath <roland@redhat.com>
31114
31115 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31116
f32f2869
JJ
311172010-06-07 Jakub Jelinek <jakub@redhat.com>
31118
31119 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31120 __REDIRECT followed by __THROW.
31121 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31122 * posix/getopt.h (getopt): Likewise.
31123
2a50c078
EPM
311242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31125
31126 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31127 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31128 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31129 in AT_FLAGS.
31130 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31131 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31132
eb5ad2eb
LM
311332010-05-28 Luis Machado <luisgpm@br.ibm.com>
31134
31135 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31136
3c88fe1e
L
311372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31138
31139 [BZ #11640]
31140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31141 Properly check family and model.
31142
d2f73151
TY
311432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31144
31145 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31146
ebd2e13d
LM
311472010-05-24 Luis Machado <luisgpm@br.ibm.com>
31148
31149 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31150
b32b8b45
UD
311512010-05-21 Ulrich Drepper <drepper@redhat.com>
31152
31153 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31154 symbol reference.
31155
9acbe24d
AS
311562010-05-19 Andreas Schwab <schwab@redhat.com>
31157
31158 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31159 symbol reference.
31160
f0ccf6ea
AS
311612010-05-21 Andreas Schwab <schwab@redhat.com>
31162
3d04ff3a
AS
31163 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31164 and internal_recvmmsg.
31165 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31166 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31167 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31168 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31169
f0ccf6ea
AS
31170 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31171 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31172 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31173
5b08ac57
AS
311742010-05-20 Andreas Schwab <schwab@redhat.com>
31175
31176 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31177
4828935d
LM
311782010-05-17 Luis Machado <luisgpm@br.ibm.com>
31179
31180 POWER7 optimizations.
31181 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31182 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31183
373d545e
UD
311842010-05-19 Ulrich Drepper <drepper@redhat.com>
31185
31186 * version.h: Update for 2.13 development version.
31187
21a2b1ae
AS
311882010-05-12 Andrew Stubbs <ams@codesourcery.com>
31189
31190 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31191 exceptions. Return 0.
31192
3f7dcb2b
RM
311932010-05-07 Roland McGrath <roland@redhat.com>
31194
31195 * elf/ldconfig.c (main): Add a const.
31196
5f24d53a 311972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31198
a160f8d8
UD
31199 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31200 (args_options): Add no-idn option.
31201 (ahosts_keys_int): Add idn_flags to ai_flags.
31202 (parse_option): Handle 'i' option to clear idn_flags.
31203
5f24d53a
UD
31204 * malloc/malloc.c (_int_free): Possible race in the most recently
31205 added check. Only act on the data if no current modification
31206 happened.
265bb1ce
UD
31207
31208See ChangeLog.17 for earlier changes.
This page took 3.983571 seconds and 5 git commands to generate.