1 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4 (__bswap_32): Do not use "register".
5 * crypt/crypt.c (_ufc_doit_r): Likewise.
6 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8 * gmon/gmon.c (__monstartup): Likewise.
9 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10 * hurd/hurdmalloc.c (more_memory): Likewise.
14 (malloc_fork_prepare): Likewise.
15 (malloc_fork_parent): Likewise.
16 (malloc_fork_child): Likewise.
17 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18 (_svcauth_des): Likewise.
19 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20 * inet/inet_net.c (inet_network): Likewise.
21 * inet/inet_netof.c (inet_netof): Likewise.
22 * inet/rcmd.c (__validuser2_sa): Likewise.
23 * io/fts.c (fts_open): Likewise.
25 (fts_close): Likewise.
27 (fts_children): Likewise.
28 (fts_build): Likewise.
31 (fts_alloc): Likewise.
32 (fts_lfree): Likewise.
33 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34 (_IO_file_xsgetn): Likewise.
35 (_IO_file_xsgetn_mmap): Likewise.
36 * libio/iofopncook.c (_IO_cookie_read): Likewise.
37 (_IO_cookie_write): Likewise.
38 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41 * malloc/obstack.c (_obstack_begin): Likewise.
42 (_obstack_begin_1): Likewise.
43 (_obstack_newchunk): Likewise.
44 (_obstack_allocated_p): Likewise.
45 (obstack_free): Likewise.
46 (_obstack_memory_used): Likewise.
47 * misc/getttyent.c (getttynam): Likewise.
48 (getttyent): Likewise.
51 * misc/getusershell.c (initshells): Likewise.
52 * misc/syslog.c (__vsyslog_chk): Likewise.
53 * misc/ttyslot.c (ttyslot): Likewise.
54 * nis/nis_hash.c (__nis_hash): Likewise.
55 * posix/fnmatch_loop.c (FCT): Likewise.
56 * posix/getconf.c (print_all): Likewise.
58 * posix/getopt.c (exchange): Likewise.
59 * posix/glob.c (globfree): Likewise.
60 (prefix_array): Likewise.
61 (__glob_pattern_type): Likewise.
62 * resolv/arpa/nameser.h (NS_GET16): Likewise.
66 * resolv/gethnamaddr.c (getanswer): Likewise.
67 (gethostbyname2): Likewise.
68 (gethostbyaddr): Likewise.
69 (_gethtent): Likewise.
70 (_gethtbyname2): Likewise.
71 (_gethtbyaddr): Likewise.
72 * resolv/ns_print.c (dst_s_get_int16): Likewise.
73 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
74 * resolv/res_init.c (__res_vinit): Likewise.
76 * resolv/res_mkquery.c (outchar): Likewise.
78 * stdio-common/printf_fp.c (outchar): Likewise.
80 * stdio-common/printf_fphex.c (outchar): Likewise.
82 * stdio-common/printf_size.c (outchar): Likewise.
84 * stdio-common/test_rdwr.c (main): Likewise.
85 * stdio-common/tfformat.c (matches): Likewise.
86 * stdio-common/vfprintf.c (outchar): Likewise.
87 (printf_unknown): Likewise.
88 (buffered_vfprintf): Likewise.
89 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
90 * stdio-common/xbug.c (AppendToBuffer): Likewise.
92 * stdlib/qsort.c (SWAP): Likewise.
93 (_quicksort): Likewise.
94 * stdlib/setenv.c (__add_to_environ): Likewise.
95 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
96 * stdlib/strtol_l.c (__strtol_l): Likewise.
97 * stdlib/tst-strtod.c (main): Likewise.
98 * stdlib/tst-strtol.c (main): Likewise.
99 * stdlib/tst-strtoll.c (main): Likewise.
100 * string/bits/string2.h (__strcmp_cc): Likewise.
101 (__strcmp_cg): Likewise.
102 (__strcspn_c1): Likewise.
103 (__strcspn_c2): Likewise.
104 (__strcspn_c3): Likewise.
105 (__strspn_c1): Likewise.
106 (__strspn_c2): Likewise.
107 (__strspn_c3): Likewise.
108 (__strsep_1c): Likewise.
109 (__strsep_2c): Likewise.
110 (__strsep_3c): Likewise.
111 * string/memccpy.c (__memccpy): Likewise.
112 * string/stpcpy.c (__stpcpy): Likewise.
113 * string/strcmp.c (strcmp): Likewise.
114 * string/strrchr.c (strrchr): Likewise.
115 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
117 * sysdeps/mach/hurd/getcwd.c
118 (_hurd_canonicalize_directory_name_internal): Likewise.
119 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
120 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
121 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
122 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
123 Likewise, in both definitions.
124 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
126 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
127 64] (__bswap_64): Likewise.
128 * time/test_time.c (main): Likewise.
129 * time/tzfile.c (__tzfile_read): Likewise.
130 (__tzfile_compute): Likewise.
131 * time/tzset.c (__tzset_parse_tz): Likewise.
132 (tzset_internal): Likewise.
133 (compute_change): Likewise.
134 * wcsmbs/wcscat.c (__wcscat): Likewise.
135 * wcsmbs/wcschr.c (wcschr): Likewise.
136 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
137 * wcsmbs/wcscspn.c (wcscspn): Likewise.
138 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
139 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
140 * wcsmbs/wcsspn.c (wcsspn): Likewise.
141 * wcsmbs/wcsstr.c (wcsstr): Likewise.
142 * wcsmbs/wmemchr.c (wmemchr): Likewise.
143 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
144 * wcsmbs/wmemset.c (wmemset): Likewise.
146 2013-06-06 Joseph Myers <joseph@codesourcery.com>
148 * scripts/config.guess: Update to version 2013-05-16.
149 * scripts/config.sub: Update to version 2013-04-24.
150 * scripts/install-sh: Update to version 2011-11-20.07.
151 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
152 * scripts/move-if-change: Update to version 2012-01-06 07:23.
154 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
156 * debug/fgetws_u_chk.c: Fix leading whitespaces.
157 * elf/sln.c: Likewise.
158 * hurd/hurd/ioctl.h: Likewise.
159 * hurd/hurdmalloc.c: Likewise.
160 * hurd/xattr.c: Likewise.
161 * include/shlib-compat.h: Likewise.
162 * inet/ruserpass.c: Likewise.
163 * libio/iofgets_u.c: Likewise.
164 * libio/iofgetws_u.c: Likewise.
165 * locale/programs/ld-identification.c: Likewise.
166 * locale/programs/ld-time.c: Likewise.
167 * mach/msg-destroy.c: Likewise.
168 * nss/nss_files/files-netgrp.c: Likewise.
169 * resolv/res_data.c: Likewise.
170 * soft-fp/op-1.h: Likewise.
171 * soft-fp/op-2.h: Likewise.
172 * soft-fp/op-4.h: Likewise.
173 * soft-fp/op-common.h: Likewise.
174 * stdio-common/printf_fphex.c: Likewise.
175 * stdlib/strtod_l.c: Likewise.
176 * sunrpc/rpc/clnt.h: Likewise.
177 * sysdeps/generic/framestate.c: Likewise.
178 * sysdeps/i386/bsd-_setjmp.S: Likewise.
179 * sysdeps/i386/bsd-setjmp.S: Likewise.
180 * sysdeps/i386/__longjmp.S: Likewise.
181 * sysdeps/i386/setjmp.S: Likewise.
182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
183 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
184 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
191 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
192 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
198 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
199 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
200 * sysdeps/ieee754/support.c: Likewise.
201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
202 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
203 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
204 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
205 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
206 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
207 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
208 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
209 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
210 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
211 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
212 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
213 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
216 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
217 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
220 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
222 * posix/transbug.c: Remove executable mode.
224 2013-06-05 Joseph Myers <joseph@codesourcery.com>
226 * crypt/speeds.c: Remove trailing whitespace.
227 * dlfcn/default.c: Likewise.
228 * elf/ifuncdep2.c: Likewise.
229 * elf/ifuncmain1.c: Likewise.
230 * elf/ifuncmain1vis.c: Likewise.
231 * elf/testobj.h: Likewise.
232 * elf/tst-stackguard1.c: Likewise.
233 * gmon/sys/gmon.h: Likewise.
234 * hurd/hurdmsg.c: Likewise.
235 * hurd/new-fd.c: Likewise.
236 * hurd/ports-get.c: Likewise.
237 * iconvdata/ibm1008_420.c: Likewise.
238 * inet/tst-getni1.c: Likewise.
239 * inet/tst-getni2.c: Likewise.
240 * libio/ioungetc.c: Likewise.
241 * libio/wfiledoalloc.c: Likewise.
242 * manual/libm-err-tab.pl: Likewise.
243 * math/w_dremf.c: Likewise.
244 * misc/ftruncate.c: Likewise.
245 * posix/bug-glob2.c: Likewise.
246 * posix/tst-pcre.c: Likewise.
247 * posix/wait4.c: Likewise.
248 * resolv/README: Likewise.
249 * resolv/res_debug.h: Likewise.
250 * resolv/tst-inet_ntop.c: Likewise.
251 * setjmp/bug269-setjmp.c: Likewise.
252 * soft-fp/extended.h: Likewise.
253 * soft-fp/op-1.h: Likewise.
254 * soft-fp/op-2.h: Likewise.
255 * soft-fp/op-4.h: Likewise.
256 * soft-fp/op-8.h: Likewise.
257 * soft-fp/testit.c: Likewise.
258 * stdio-common/bug16.c: Likewise.
259 * stdlib/random.c: Likewise.
260 * sunrpc/rpcsvc/rquota.x: Likewise.
261 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
266 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
269 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
270 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
271 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
277 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
279 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
282 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
290 * sysdeps/ieee754/s_lib_version.c: Likewise.
291 * sysdeps/mach/hurd/check_fds.c: Likewise.
292 * sysdeps/mach/hurd/getsockname.c: Likewise.
293 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
294 * sysdeps/mach/hurd/recvfrom.c: Likewise.
295 * sysdeps/powerpc/bits/link.h: Likewise.
296 * sysdeps/powerpc/dl-procinfo.c: Likewise.
297 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
298 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
299 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
300 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
301 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
302 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
303 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
304 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
305 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
306 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
307 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
308 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
309 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
310 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
311 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
315 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
316 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
317 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
318 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
319 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
321 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
323 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
325 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
326 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
328 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
329 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
330 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
331 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
332 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
333 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
334 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
335 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
336 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
337 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
339 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
340 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
341 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
342 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
343 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
344 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
345 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
349 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
350 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
351 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
352 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
353 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
355 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
358 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
359 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
360 * sysdeps/powerpc/sysdep.h: Likewise.
361 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
362 * sysdeps/s390/s390-64/sub_n.S: Likewise.
363 * sysdeps/sh/dl-trampoline.S: Likewise.
364 * sysdeps/sh/memset.S: Likewise.
365 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
366 * sysdeps/sh/strlen.S: Likewise.
367 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
368 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
369 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
370 * sysdeps/sparc/sparc32/rem.S: Likewise.
371 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
372 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
373 * sysdeps/sparc/sparc32/strchr.S: Likewise.
374 * sysdeps/sparc/sparc32/udiv.S: Likewise.
375 * sysdeps/sparc/sparc32/urem.S: Likewise.
376 * sysdeps/sparc/sparc64/add_n.S: Likewise.
377 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
378 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
379 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
381 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
382 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
383 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
384 * sysdeps/unix/bsd/times.c: Likewise.
385 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
386 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
392 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
393 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
394 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
395 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
396 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
398 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
399 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
400 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
401 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
402 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
403 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
404 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
405 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
406 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
407 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
410 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
411 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
413 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
414 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
415 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
416 * sysdeps/x86_64/strcspn.S: Likewise.
418 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
420 * locale/C-translit.h: Revert #include <stdint.h> because this is a
421 generated file. Regenerate properly from gen-translit.pl.
422 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
425 2013-06-05 Andreas Schwab <schwab@suse.de>
428 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
429 week as 6 instead of -1.
430 * time/tst-strptime.c (day_tests): Add test case.
432 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
434 * sysdeps/generic/math_private.h
435 (libc_feholdexcept_setround_53bit): Replace with
436 libc_feholdsetround_53bit.
437 (libc_feupdateenv_53bit): Replace with
438 libc_feresetround_53bit.
439 (SET_RESTORE_ROUND_53BIT): Adjust.
441 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
443 * string/test-strchrnul.c: Add copyright header.
445 * posix/tst-getaddrinfo4.c: Increase test timeout.
447 2013-06-03 Carlos O'Donell <carlos@redhat.com>
450 * math/libm-test.inc (MAX_EXP): Remove
452 (ulp): Use MIN_EXP - MANT_DIG.
453 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
455 2013-05-31 Carlos O'Donell <carlos@redhat.com>
457 * po/be.po: Revert last change.
458 * po/zh_CN.po: Likewise.
459 * po/header.pot: Likewise.
461 2013-05-31 Joseph Myers <joseph@codesourcery.com>
463 * Makefile ($(common-objpfx)linkobj/libc.so): Define
464 link-libc-deps to empty as target-specific variable.
465 * Makerules (link-libc-args): New variable.
466 (libc-for-link): Likewise.
467 (link-libc-deps): Likewise.
468 (lib%.so): Depend on $(link-libc-deps). Link with
470 (build-module): Link with $(link-libc-args).
471 (build-module-asneeded): Likewise.
472 (build-module-helper-objlist): Filter out $(link-libc-deps) from
474 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
475 target-specific variable.
476 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
477 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
478 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
480 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
482 ($(objpfx)libpcprofile.so): Likewise.
483 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
485 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
486 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
487 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
489 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
490 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
491 * login/Makefile ($(objpfx)libutil.so): Likewise.
492 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
493 * math/Makefile ($(objpfx)libm.so): Likewise.
494 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
495 $(objpfx)libnsl.so): Define libc-for-link as target-specific
496 variable instead of depending directly on libc.
497 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
498 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
500 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
502 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
503 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
504 ($(objpfx)libanl.so): Likewise.
505 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
507 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
509 * sysdeps/i386/fpu/Makefile: Remove file.
510 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
511 ($(objpfx)libm.so): Remove dependency on ld.so.
513 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
516 * nis/yp_xdr.c (XDRMAXNAME): Define.
517 (XDRMAXRECORD): Define.
518 (xdr_domainname): Use XDRMAXNAME.
519 (xdr_mapname): Likewise.
520 (xdr_peername): Likewise.
521 (xdr_keydat): Use XDRMAXRECORD.
522 (xdr_valdat): Likewise.
524 2013-05-30 Jeff Law <law@redhat.com>
527 * manual/errno.texi (ESTALE): Update to account for more than
528 just NFS file systems.
529 * sysdeps/gnu/errlist.c: Regenerated.
531 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
534 * elf/Makefile (tests): Add tst-null-argv.
535 (modules-names): Add tst-null-argv-lib.
536 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
537 (tst-null-argv-ENV): Set environment for tst-null-argv.
538 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
539 (RTLD_PROGNAME): New macro.
540 * elf/tst-null-argv.c: New test case.
541 * elf/tst-null-argv-lib.c: Library for test case.
542 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
543 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
544 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
545 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
546 * elf/dl-init.c (call_init): Likewise.
547 (_dl_init): Likewise.
548 * elf/dl-load.c (print_search_path): Likewise.
549 (_dl_map_object): Likewise.
550 * elf/dl-lookup.c (do_lookup_x): Likewise.
551 (add_dependency): Likewise.
552 (_dl_lookup_symbol_x): Likewise.
553 (_dl_debug_bindings): Likewise.
554 * elf/dl-open.c (_dl_show_scope): Likewise.
555 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
556 * elf/dl-version.c (match_symbol): Likewise.
557 (_dl_check_map_versions): Likewise.
558 * elf/rtld.c (dl_main): Likewise.
559 (print_unresolved): Use RTLD_PROGNAME.
560 (print_missing_version): Likewise.
561 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
562 (elf_machine_rela): Likewise.
563 * sysdeps/powerpc/powerpc32/dl-machine.c
564 (__process_machine_rela): Likewise.
565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
567 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
571 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
578 2013-05-28 Carlos O'Donell <carlos@redhat.com>
580 * po/be.po: Add descriptive title.
581 * po/zh_CN.po: Likewise.
582 * po/header.pot: Likewise.
584 2013-05-28 Mike Frysinger <vapier@gentoo.org>
586 * locale/programs/locarchive.c (create_archive): Inlucde fname in
588 (enlarge_archive): Likewise.
590 2013-05-28 Ben North <ben@redfrontdoor.org>
592 * manual/arith.texi (frexp): It is the magnitude of the return
593 value which lies in [0.5, 1), not the return value itself.
595 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
599 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
601 * stdio-common/bug26.c (main): Correct fscanf template.
603 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
604 declare _dl_skip_args.
606 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
609 * manual/platform.texi: Add missing @end deftypefun.
611 2013-05-24 Joseph Myers <joseph@codesourcery.com>
614 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
615 bit of mantissa of 2^16382.
616 * math/libm-test.inc (hypot_test_data): Add more tests.
618 * math/libm-test.inc: Add drem and pow10 to list of tested
620 (pow10_test): New function.
621 (drem_test): Likewise.
622 (drem_test_tonearest): Likewise.
623 (drem_test_towardzero): Likewise.
624 (drem_test_downward): Likewise.
625 (drem_test_upward): Likewise.
626 (main): Call the new functions.
628 * math/libm-test.inc (finite_test_data): Remove.
629 (finite_test): Run tests from isfinite_test_data.
630 (gamma_test_data): Remove.
631 (gamma_test): Run tests from lgamma_test_data.
632 * sysdeps/i386/fpu/libm-test-ulps: Update.
633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
635 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
637 * manual/platform.texi: Add PowerPC PPR function set documentation.
638 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
641 2013-05-24 Carlos O'Donell <carlos@redhat.com>
643 * math/libm-test.inc (MAX_EXP): Define.
646 (check_float_internal): Use ULPDIFF.
647 (cpow_test): Disable failing test.
648 (check_ulp): Test ulp() implemetnation.
649 (main): Call check_ulp before starting tests.
651 2013-05-24 Joseph Myers <joseph@codesourcery.com>
653 * math/gen-libm-test.pl (generate_testfile): Do not handle
654 START_DATA and END_DATA.
655 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
657 (acos_tonearest_test_data): Likewise.
658 (acos_towardzero_test_data): Likewise.
659 (acos_downward_test_data): Likewise.
660 (acos_upward_test_data): Likewise.
661 (acosh_test_data): Likewise.
662 (asin_test_data): Likewise.
663 (asin_tonearest_test_data): Likewise.
664 (asin_towardzero_test_data): Likewise.
665 (asin_downward_test_data): Likewise.
666 (asin_upward_test_data): Likewise.
667 (asinh_test_data): Likewise.
668 (atan_test_data): Likewise.
669 (atanh_test_data): Likewise.
670 (atan2_test_data): Likewise.
671 (cabs_test_data): Likewise.
672 (cacos_test_data): Likewise.
673 (cacosh_test_data): Likewise.
674 (carg_test_data): Likewise.
675 (casin_test_data): Likewise.
676 (casinh_test_data): Likewise.
677 (catan_test_data): Likewise.
678 (catanh_test_data): Likewise.
679 (cbrt_test_data): Likewise.
680 (ccos_test_data): Likewise.
681 (ccosh_test_data): Likewise.
682 (ceil_test_data): Likewise.
683 (cexp_test_data): Likewise.
684 (cimag_test_data): Likewise.
685 (clog_test_data): Likewise.
686 (clog10_test_data): Likewise.
687 (conj_test_data): Likewise.
688 (copysign_test_data): Likewise.
689 (cos_test_data): Likewise.
690 (cos_tonearest_test_data): Likewise.
691 (cos_towardzero_test_data): Likewise.
692 (cos_downward_test_data): Likewise.
693 (cos_upward_test_data): Likewise.
694 (cosh_test_data): Likewise.
695 (cosh_tonearest_test_data): Likewise.
696 (cosh_towardzero_test_data): Likewise.
697 (cosh_downward_test_data): Likewise.
698 (cosh_upward_test_data): Likewise.
699 (cpow_test_data): Likewise.
700 (cproj_test_data): Likewise.
701 (creal_test_data): Likewise.
702 (csin_test_data): Likewise.
703 (csinh_test_data): Likewise.
704 (csqrt_test_data): Likewise.
705 (ctan_test_data): Likewise.
706 (ctan_tonearest_test_data): Likewise.
707 (ctan_towardzero_test_data): Likewise.
708 (ctan_downward_test_data): Likewise.
709 (ctan_upward_test_data): Likewise.
710 (ctanh_test_data): Likewise.
711 (ctanh_tonearest_test_data): Likewise.
712 (ctanh_towardzero_test_data): Likewise.
713 (ctanh_downward_test_data): Likewise.
714 (ctanh_upward_test_data): Likewise.
715 (erf_test_data): Likewise.
716 (erfc_test_data): Likewise.
717 (exp_test_data): Likewise.
718 (exp_tonearest_test_data): Likewise.
719 (exp_towardzero_test_data): Likewise.
720 (exp_downward_test_data): Likewise.
721 (exp_upward_test_data): Likewise.
722 (exp10_test_data): Likewise.
723 (exp2_test_data): Likewise.
724 (expm1_test_data): Likewise.
725 (fabs_test_data): Likewise.
726 (fdim_test_data): Likewise.
727 (finite_test_data): Likewise.
728 (floor_test_data): Likewise.
729 (fma_test_data): Likewise.
730 (fma_towardzero_test_data): Likewise.
731 (fma_downward_test_data): Likewise.
732 (fma_upward_test_data): Likewise.
733 (fmax_test_data): Likewise.
734 (fmin_test_data): Likewise.
735 (fmod_test_data): Likewise.
736 (fpclassify_test_data): Likewise.
737 (frexp_test_data): Likewise.
738 (gamma_test_data): Likewise.
739 (hypot_test_data): Likewise.
740 (ilogb_test_data): Likewise.
741 (isfinite_test_data): Likewise.
742 (isgreater_test_data): Likewise.
743 (isgreaterequal_test_data): Likewise.
744 (isinf_test_data): Likewise.
745 (isless_test_data): Likewise.
746 (islessequal_test_data): Likewise.
747 (islessgreater_test_data): Likewise.
748 (isnan_test_data): Likewise.
749 (isnormal_test_data): Likewise.
750 (issignaling_test_data): Likewise.
751 (isunordered_test_data): Likewise.
752 (j0_test_data): Likewise.
753 (j1_test_data): Likewise.
754 (jn_test_data): Likewise.
755 (ldexp_test_data): Likewise.
756 (lgamma_test_data): Likewise.
757 (lrint_test_data): Likewise.
758 (lrint_tonearest_test_data): Likewise.
759 (lrint_towardzero_test_data): Likewise.
760 (lrint_downward_test_data): Likewise.
761 (lrint_upward_test_data): Likewise.
762 (llrint_test_data): Likewise.
763 (llrint_tonearest_test_data): Likewise.
764 (llrint_towardzero_test_data): Likewise.
765 (llrint_downward_test_data): Likewise.
766 (llrint_upward_test_data): Likewise.
767 (log_test_data): Likewise.
768 (log10_test_data): Likewise.
769 (log1p_test_data): Likewise.
770 (log2_test_data): Likewise.
771 (logb_test_data): Likewise.
772 (logb_downward_test_data): Likewise.
773 (lround_test_data): Likewise.
774 (llround_test_data): Likewise.
775 (modf_test_data): Likewise.
776 (nearbyint_test_data): Likewise.
777 (nextafter_test_data): Likewise.
778 (nexttoward_test_data): Likewise.
779 (pow_test_data): Likewise.
780 (pow_tonearest_test_data): Likewise.
781 (pow_towardzero_test_data): Likewise.
782 (pow_downward_test_data): Likewise.
783 (pow_upward_test_data): Likewise.
784 (remainder_test_data): Likewise.
785 (remainder_tonearest_test_data): Likewise.
786 (remainder_towardzero_test_data): Likewise.
787 (remainder_downward_test_data): Likewise.
788 (remainder_upward_test_data): Likewise.
789 (remquo_test_data): Likewise.
790 (rint_test_data): Likewise.
791 (rint_tonearest_test_data): Likewise.
792 (rint_towardzero_test_data): Likewise.
793 (rint_downward_test_data): Likewise.
794 (rint_upward_test_data): Likewise.
795 (round_test_data): Likewise.
796 (scalb_test_data): Likewise.
797 (scalbn_test_data): Likewise.
798 (scalbln_test_data): Likewise.
799 (signbit_test_data): Likewise.
800 (sin_test_data): Likewise.
801 (sin_tonearest_test_data): Likewise.
802 (sin_towardzero_test_data): Likewise.
803 (sin_downward_test_data): Likewise.
804 (sin_upward_test_data): Likewise.
805 (sincos_test_data): Likewise.
806 (sinh_test_data): Likewise.
807 (sinh_tonearest_test_data): Likewise.
808 (sinh_towardzero_test_data): Likewise.
809 (sinh_downward_test_data): Likewise.
810 (sinh_upward_test_data): Likewise.
811 (sqrt_test_data): Likewise.
812 (tan_test_data): Likewise.
813 (tan_tonearest_test_data): Likewise.
814 (tan_towardzero_test_data): Likewise.
815 (tan_downward_test_data): Likewise.
816 (tan_upward_test_data): Likewise.
817 (tanh_test_data): Likewise.
818 (tgamma_test_data): Likewise.
819 (trunc_test_data): Likewise.
820 (y0_test_data): Likewise.
821 (y1_test_data): Likewise.
822 (yn_test_data): Likewise.
823 (significand_test_data): Likewise.
825 * math/gen-libm-test.pl (@functions): Remove variable.
826 (generate_testfile): Don't handle START and END lines.
827 * math/libm-test.inc (START): New macro.
829 (END_COMPLEX): Likewise.
830 (acos_test): Use END macro without arguments.
831 (acos_test_tonearest): Likewise.
832 (acos_test_towardzero): Likewise.
833 (acos_test_downward): Likewise.
834 (acos_test_upward): Likewise.
835 (acosh_test): Likewise.
836 (asin_test): Likewise.
837 (asin_test_tonearest): Likewise.
838 (asin_test_towardzero): Likewise.
839 (asin_test_downward): Likewise.
840 (asin_test_upward): Likewise.
841 (asinh_test): Likewise.
842 (atan_test): Likewise.
843 (atanh_test): Likewise.
844 (atan2_test): Likewise.
845 (cabs_test): Likewise.
846 (cacos_test): Use END_COMPLEX macro without arguments.
847 (cacosh_test): Likewise.
848 (carg_test): Use END macro without arguments.
849 (casin_test): Use END_COMPLEX macro without arguments.
850 (casinh_test): Likewise.
851 (catan_test): Likewise.
852 (catanh_test): Likewise.
853 (cbrt_test): Use END macro without arguments.
854 (ccos_test): Use END_COMPLEX macro without arguments.
855 (ccosh_test): Likewise.
856 (ceil_test): Use END macro without arguments.
857 (cexp_test): Use END_COMPLEX macro without arguments.
858 (cimag_test): Use END macro without arguments.
859 (clog_test): Use END_COMPLEX macro without arguments.
860 (clog10_test): Likewise.
861 (conj_test): Likewise.
862 (copysign_test): Use END macro without arguments.
863 (cos_test): Likewise.
864 (cos_test_tonearest): Likewise.
865 (cos_test_towardzero): Likewise.
866 (cos_test_downward): Likewise.
867 (cos_test_upward): Likewise.
868 (cosh_test): Likewise.
869 (cosh_test_tonearest): Likewise.
870 (cosh_test_towardzero): Likewise.
871 (cosh_test_downward): Likewise.
872 (cosh_test_upward): Likewise.
873 (cpow_test): Use END_COMPLEX macro without arguments.
874 (cproj_test): Likewise.
875 (creal_test): Use END macro without arguments.
876 (csin_test): Use END_COMPLEX macro without arguments.
877 (csinh_test): Likewise.
878 (csqrt_test): Likewise.
879 (ctan_test): Likewise.
880 (ctan_test_tonearest): Likewise.
881 (ctan_test_towardzero): Likewise.
882 (ctan_test_downward): Likewise.
883 (ctan_test_upward): Likewise.
884 (ctanh_test): Likewise.
885 (ctanh_test_tonearest): Likewise.
886 (ctanh_test_towardzero): Likewise.
887 (ctanh_test_downward): Likewise.
888 (ctanh_test_upward): Likewise.
889 (erf_test): Use END macro without arguments.
890 (erfc_test): Likewise.
891 (exp_test): Likewise.
892 (exp_test_tonearest): Likewise.
893 (exp_test_towardzero): Likewise.
894 (exp_test_downward): Likewise.
895 (exp_test_upward): Likewise.
896 (exp10_test): Likewise.
897 (exp2_test): Likewise.
898 (expm1_test): Likewise.
899 (fabs_test): Likewise.
900 (fdim_test): Likewise.
901 (finite_test): Likewise.
902 (floor_test): Likewise.
903 (fma_test): Likewise.
904 (fma_test_towardzero): Likewise.
905 (fma_test_downward): Likewise.
906 (fma_test_upward): Likewise.
907 (fmax_test): Likewise.
908 (fmin_test): Likewise.
909 (fmod_test): Likewise.
910 (fpclassify_test): Likewise.
911 (frexp_test): Likewise.
912 (gamma_test): Likewise.
913 (hypot_test): Likewise.
914 (ilogb_test): Likewise.
915 (isfinite_test): Likewise.
916 (isgreater_test): Likewise.
917 (isgreaterequal_test): Likewise.
918 (isinf_test): Likewise.
919 (isless_test): Likewise.
920 (islessequal_test): Likewise.
921 (islessgreater_test): Likewise.
922 (isnan_test): Likewise.
923 (isnormal_test): Likewise.
924 (issignaling_test): Likewise.
925 (isunordered_test): Likewise.
929 (ldexp_test): Likewise.
930 (lgamma_test): Likewise.
931 (lrint_test): Likewise.
932 (lrint_test_tonearest): Likewise.
933 (lrint_test_towardzero): Likewise.
934 (lrint_test_downward): Likewise.
935 (lrint_test_upward): Likewise.
936 (llrint_test): Likewise.
937 (llrint_test_tonearest): Likewise.
938 (llrint_test_towardzero): Likewise.
939 (llrint_test_downward): Likewise.
940 (llrint_test_upward): Likewise.
941 (log_test): Likewise.
942 (log10_test): Likewise.
943 (log1p_test): Likewise.
944 (log2_test): Likewise.
945 (logb_test): Likewise.
946 (logb_test_downward): Likewise.
947 (lround_test): Likewise.
948 (llround_test): Likewise.
949 (modf_test): Likewise.
950 (nearbyint_test): Likewise.
951 (nextafter_test): Likewise.
952 (nexttoward_test): Likewise.
953 (pow_test): Likewise.
954 (pow_test_tonearest): Likewise.
955 (pow_test_towardzero): Likewise.
956 (pow_test_downward): Likewise.
957 (pow_test_upward): Likewise.
958 (remainder_test): Likewise.
959 (remainder_test_tonearest): Likewise.
960 (remainder_test_towardzero): Likewise.
961 (remainder_test_downward): Likewise.
962 (remainder_test_upward): Likewise.
963 (remquo_test): Likewise.
964 (rint_test): Likewise.
965 (rint_test_tonearest): Likewise.
966 (rint_test_towardzero): Likewise.
967 (rint_test_downward): Likewise.
968 (rint_test_upward): Likewise.
969 (round_test): Likewise.
970 (scalb_test): Likewise.
971 (scalbn_test): Likewise.
972 (scalbln_test): Likewise.
973 (signbit_test): Likewise.
974 (sin_test): Likewise.
975 (sin_test_tonearest): Likewise.
976 (sin_test_towardzero): Likewise.
977 (sin_test_downward): Likewise.
978 (sin_test_upward): Likewise.
979 (sincos_test): Likewise.
980 (sinh_test): Likewise.
981 (sinh_test_tonearest): Likewise.
982 (sinh_test_towardzero): Likewise.
983 (sinh_test_downward): Likewise.
984 (sinh_test_upward): Likewise.
985 (sqrt_test): Likewise.
986 (tan_test): Likewise.
987 (tan_test_tonearest): Likewise.
988 (tan_test_towardzero): Likewise.
989 (tan_test_downward): Likewise.
990 (tan_test_upward): Likewise.
991 (tanh_test): Likewise.
992 (tgamma_test): Likewise.
993 (trunc_test): Likewise.
997 (significand_test): Likewise.
999 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1002 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1004 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1007 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1008 __ppc_mdoio and __ppc_mdoom.
1009 * manual/platform.texi: Document new functions __ppc_yield,
1010 __ppc_mdoio and __ppc_mdoom.
1012 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1014 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1015 (main): Mention "tls" pseudo-hwcap is legacy.
1016 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1018 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1020 * math/gen-libm-test.pl (parse_args): Output only string of
1021 arguments as text for test name, not full call or descriptions of
1022 tests for extra outputs.
1023 (generate_testfile): Do not pass function name to parse_args.
1024 Generate this_func variable from START.
1025 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1027 (struct test_ff_f_data): Likewise.
1028 (test_ff_f_data_nexttoward): Likewise.
1029 (struct test_fi_f_data): Likewise.
1030 (struct test_fl_f_data): Likewise.
1031 (struct test_if_f_data): Likewise.
1032 (struct test_fff_f_data): Likewise.
1033 (struct test_c_f_data): Likewise.
1034 (struct test_f_f1_data): Likewise. Remove field extra_name.
1035 (struct test_fF_f1_data): Likewise.
1036 (struct test_ffI_f1_data): Likewise.
1037 (struct test_c_c_data): Rename test_name field to arg_str.
1038 (struct test_cc_c_data): Likewise.
1039 (struct test_f_i_data): Likewise.
1040 (struct test_ff_i_data): Likewise.
1041 (struct test_f_l_data): Likewise.
1042 (struct test_f_L_data): Likewise.
1043 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1045 (COMMON_TEST_SETUP): New macro.
1046 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1047 (COMMON_TEST_CLEANUP): Likewise.
1048 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1049 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1051 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1052 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1054 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1055 (RUN_TEST_fff_f): Take argument string. Call new setup and
1057 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1058 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1060 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1061 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1063 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1064 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1066 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1067 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1069 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1070 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1072 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1073 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1075 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1076 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1078 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1079 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1081 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1082 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1084 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1085 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1087 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1088 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1090 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1091 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1093 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1094 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1096 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1097 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1099 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1100 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1102 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1104 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1106 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1107 to _sifields.sigfault.
1108 (si_addr_lsb): Define new macro.
1109 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1111 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1113 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1116 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1118 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1120 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1123 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1125 * math/gen-libm-test.pl (parse_args): Do not include expected
1126 result in test name.
1127 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1129 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1130 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1134 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1136 * benchtests/Makefile: Sort function entries.
1138 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1139 tanh, asinh, acosh, atanh.
1140 * benchtests/acos-inputs: New file.
1141 * benchtests/acosh-inputs: New file.
1142 * benchtests/asin-inputs: New file.
1143 * benchtests/asinh-inputs: New file.
1144 * benchtests/atanh-inputs: New file.
1145 * benchtests/cosh-inputs: New file.
1146 * benchtests/log-inputs: New file.
1147 * benchtests/sinh-inputs: New file.
1148 * benchtests/tanh-inputs: New file.
1150 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1153 * posix/tst-getaddrinfo4.c: New test.
1154 * posix/Makefile (tests): Add it.
1156 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1159 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1160 when no services were used.
1161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1162 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1164 2013-05-21 Andreas Schwab <schwab@suse.de>
1167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1168 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1170 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1171 redundant variable declarations and reallocation of buffer when
1172 parsing as IPv6 address. Always set NSS status when called from
1173 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1174 buffer too small. Correct computation of needed size.
1175 * nss/Makefile (tests): Add test-digits-dots.
1176 * nss/test-digits-dots.c: New test.
1178 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1180 * benchtests/Makefile: Remove instructions for adding
1182 * benchtests/README: New file to explain how to execute and
1183 enhance the benchmark tests.
1185 2013-05-21 Andreas Schwab <schwab@suse.de>
1188 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1189 * setjmp/tst-sigsetjmp.c: New test.
1191 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1193 * sysdeps/x86_64/memset.S (memset): New implementation.
1194 (__bzero): Likewise.
1195 (__memset_tail): New function.
1197 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1199 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1200 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1201 __memcpy_sse2_unaligned ifunc selection.
1202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1203 Add memcpy-sse2-unaligned.S.
1204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1205 Add: __memcpy_sse2_unaligned.
1207 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1210 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1211 math_force_eval before restoring floating-point envrionment.
1212 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1215 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1217 (__nearbyintl): Use math_force_eval before restoring
1218 floating-point environment.
1219 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1221 * math/gen-libm-test.pl (special_functions): Remove.
1222 (parse_args): Don't handle TEST_extra. Handle functions with no
1224 * math/libm-test.inc (struct test_sincos_data): Replace with
1225 struct test_fFF_11_data.
1226 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1227 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1228 (sincos_test_data): Change element type to struct
1229 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1230 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1231 RUN_TEST_LOOP_sincos.
1232 * math/README.libm-test: Don't mention special handling of
1233 individual functions.
1234 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1236 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1237 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1241 * math/gen-libm-test.pl (get_variable): Remove function.
1242 (parse_args): Don't show pointer parameters to call in test
1243 names. Use "extra output N" in test names for extra outputs
1244 rather than naming variables.
1246 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1249 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1250 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1251 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1253 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1255 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1258 * math/gen-libm-test.pl (@tests): Remove variable.
1260 (new_test): Remove function.
1261 (show_exceptions): New function.
1262 (special_functions): Use show_exceptions instead of new_test.
1263 (parse_args): Likewise.
1264 (generate_testfile): Pass only function name in generated call to
1265 print_max_error or print_complex_max_error.
1266 (get_ulps): Do not handle complex tests specially.
1267 (output_test): Rename to ...
1268 (get_all_ulps_for_test): ... this. Return a string rather than
1269 printing to a file. Require ulps to be present.
1270 (output_ulps): Generate arrays rather than #defines.
1271 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1272 (struct ulp_data): New type.
1273 (BUILD_COMPLEX_ULP): Remove macro.
1274 (compare_ulp_data): New function.
1275 (find_ulps): Likewise.
1276 (find_test_ulps): Likewise.
1277 (find_function_ulps): Likewise.
1278 (find_complex_function_ulps): Likewise.
1279 (print_max_error): Determine allowed ulps using
1281 (print_complex_max_error): Determine allowed ulps using
1282 find_complex_function_ulps.
1283 (check_float_internal): Determine max ulps using find_test_ulps.
1284 (check_float): Do not take max_ulp parameter. Update call to
1285 check_float_internal.
1286 (check_complex): Likewise.
1287 (check_int): Do not take max_ulp parameter.
1288 (check_long): Likewise.
1289 (check_bool): Likewise.
1290 (check_longlong): Likewise.
1291 (struct test_f_f_data): Remove max_ulp field.
1292 (struct test_ff_f_data): Likewise.
1293 (struct test_ff_f_data_nexttoward): Likewise.
1294 (struct test_fi_f_data): Likewise.
1295 (struct test_fl_f_data): Likewise.
1296 (struct test_if_f_data): Likewise.
1297 (struct test_fff_f_data): Likewise.
1298 (struct test_c_f_data): Likewise.
1299 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1300 (struct test_fF_f1_data): Likewise.
1301 (struct test_ffI_f1_data): Likewise.
1302 (struct test_c_c_data): Remove max_ulp field.
1303 (struct test_cc_c_data): Likewise.
1304 (struct test_f_i_data): Likewise.
1305 (struct test_ff_i_data): Likewise.
1306 (struct test_f_l_data): Likewise.
1307 (struct test_f_L_data): Likewise.
1308 (struct test_sincos_data): Likewise.
1309 (RUN_TEST_f_f): Do not handle ulps.
1310 (RUN_TEST_LOOP_f_f): Likewise.
1311 (RUN_TEST_2_f): Likewise.
1312 (RUN_TEST_LOOP_2_f): Likewise.
1313 (RUN_TEST_fff_f): Likewise.
1314 (RUN_TEST_LOOP_fff_f): Likewise.
1315 (RUN_TEST_c_f): Likewise.
1316 (RUN_TEST_LOOP_c_f): Likewise.
1317 (RUN_TEST_f_f1): Likewise.
1318 (RUN_TEST_LOOP_f_f1): Likewise.
1319 (RUN_TEST_fF_f1): Likewise.
1320 (RUN_TEST_LOOP_fF_f1): Likewise.
1321 (RUN_TEST_fI_f1): Likewise.
1322 (RUN_TEST_LOOP_fI_f1): Likewise.
1323 (RUN_TEST_ffI_f1): Likewise.
1324 (RUN_TEST_LOOP_ffI_f1): Likewise.
1325 (RUN_TEST_c_c): Likewise.
1326 (RUN_TEST_LOOP_c_c): Likewise.
1327 (RUN_TEST_cc_c): Likewise.
1328 (RUN_TEST_LOOP_cc_c): Likewise.
1329 (RUN_TEST_f_i): Likewise.
1330 (RUN_TEST_LOOP_f_i): Likewise.
1331 (RUN_TEST_f_i_tg): Likewise.
1332 (RUN_TEST_LOOP_f_i_tg): Likewise.
1333 (RUN_TEST_ff_i_tg): Likewise.
1334 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1335 (RUN_TEST_f_b): Likewise.
1336 (RUN_TEST_LOOP_f_b): Likewise.
1337 (RUN_TEST_f_b_tg): Likewise.
1338 (RUN_TEST_LOOP_f_b_tg): Likewise.
1339 (RUN_TEST_f_l): Likewise.
1340 (RUN_TEST_LOOP_f_l): Likewise.
1341 (RUN_TEST_f_L): Likewise.
1342 (RUN_TEST_LOOP_f_L): Likewise.
1343 (RUN_TEST_sincos): Likewise.
1344 (RUN_TEST_LOOP_sincos): Likewise.
1346 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1351 main case of finite arguments, set rounding mode to FE_TONEAREST
1352 and discard exceptions.
1353 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1355 (remainder_tonearest_test_data): New variable.
1356 (remainder_test_tonearest): New function.
1357 (remainder_towardzero_test_data): New variable.
1358 (remainder_test_towardzero): New function.
1359 (remainder_downward_test_data): New variable.
1360 (remainder_test_downward): New function.
1361 (remainder_upward_test_data): New variable.
1362 (remainder_test_upward): New function.
1363 (main): Call the new test functions.
1365 * math/libm-test.inc (struct test_f_f1_data): Remove field
1367 (struct test_fF_f1_data): Likewise.
1368 (struct test_ffI_f1_data): Likewise.
1369 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1370 based on value of EXTRA_EXPECTED.
1371 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1372 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1373 EXTRA_VAR based on value of EXTRA_EXPECTED.
1374 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1375 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1376 EXTRA_VAR based on value of EXTRA_EXPECTED.
1377 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1378 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1379 EXTRA_VAR based on value of EXTRA_EXPECTED.
1380 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1381 * math/gen-libm-test.pl (parse_args): Don't output initializers
1382 for extra output values.
1384 * math/libm-test.inc (check_int): Expect result to be exactly
1385 equal to expected value and do not handle ulps.
1386 (check_long): Likewise.
1387 (check_longlong): Likewise.
1389 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1391 (cimag_test_data): Likewise.
1392 (conj_test_data): Likewise.
1393 (copysign_test_data): Likewise.
1394 (cproj_test_data): Likewise.
1395 (creal_test_data): Likewise.
1396 (fabs_test_data): Likewise.
1397 (fdim_test_data): Likewise.
1398 (finite_test_data): Likewise.
1399 (floor_test_data): Likewise.
1400 (fmax_test_data): Likewise.
1401 (fmin_test_data): Likewise.
1402 (fmod_test_data): Likewise.
1403 (fpclassify_test_data): Likewise.
1404 (frexp_test_data): Likewise.
1405 (ilogb_test_data): Likewise.
1406 (isfinite_test_data): Likewise.
1407 (isgreater_test_data): Likewise.
1408 (isgreaterequal_test_data): Likewise.
1409 (isinf_test_data): Likewise.
1410 (isless_test_data): Likewise.
1411 (islessequal_test_data): Likewise.
1412 (islessgreater_test_data): Likewise.
1413 (isnan_test_data): Likewise.
1414 (isnormal_test_data): Likewise.
1415 (issignaling_test_data): Likewise.
1416 (isunordered_test_data): Likewise.
1417 (ldexp_test_data): Likewise.
1418 (lrint_test_data): Likewise.
1419 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1420 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1421 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1422 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1423 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1424 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1426 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1427 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1428 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1429 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1431 (lrint_downward_test_data): Test for "inexact" exceptions.
1432 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1433 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1434 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1436 (lrint_upward_test_data): Test for "inexact" exceptions.
1437 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1439 (llrint_test_data): Test for "inexact" exceptions.
1440 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1441 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1442 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1443 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1444 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1445 (llrint_downward_test_data): Test for "inexact" exceptions.
1446 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1447 (llrint_upward_test_data): Test for "inexact" exceptions.
1448 (logb_test_data): Likewise.
1449 (logb_downward_test_data): Likewise.
1450 (nextafter_test_data): Likewise.
1451 (nexttoward_test_data): Likewise.
1452 (remainder_test_data): Likewise.
1453 (remquo_test_data): Likewise.
1454 (scalbn_test_data): Likewise.
1455 (scalbln_test_data): Likewise.
1456 (signbit_test_data): Likewise.
1457 (sqrt_test_data): Likewise.
1458 (significand_test_data): Likewise.
1460 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1463 * benchtests/bench-modf.c (struct args): Mark arg0 as
1465 * scripts/bench.pl: Mark members of struct args as volatile.
1467 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1471 negative infinity on POWER6 or lower.
1472 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1474 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1477 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1478 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1479 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1480 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1481 (_FP_SETQNAN): New macro.
1482 (_FP_SETQNAN_SEMIRAW): Likewise.
1483 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1484 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1485 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1486 (FP_EXTEND): Use _FP_FRAC_SNANP.
1487 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1488 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1490 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1495 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1497 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1498 with DIVIDE_BY_ZERO_EXCEPTION.
1499 (gamma_test_data): Likewise.
1500 (lgamma_test_data): Likewise.
1501 (log_test_data): Likewise.
1502 (log10_test_data): Likewise.
1503 (log2_test_data): Likewise.
1504 (tgamma_test_data): Likewise.
1506 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1507 (acos_test_tonearest): Likewise.
1508 (acos_test_towardzero): Likewise.
1509 (acos_test_downward): Likewise.
1510 (acos_test_upward): Likewise.
1511 (acosh_test): Likewise.
1512 (asin_test): Likewise.
1513 (asin_test_tonearest): Likewise.
1514 (asin_test_towardzero): Likewise.
1515 (asin_test_downward): Likewise.
1516 (asin_test_upward): Likewise.
1517 (asinh_test): Likewise.
1518 (atan_test): Likewise.
1519 (atanh_test): Likewise.
1520 (atan2_test): Likewise.
1521 (cabs_test): Likewise.
1522 (cacos_test): Likewise.
1523 (cacosh_test): Likewise.
1524 (casin_test): Likewise.
1525 (casinh_test): Likewise.
1526 (catan_test): Likewise.
1527 (catanh_test): Likewise.
1528 (cbrt_test): Likewise.
1529 (ccos_test): Likewise.
1530 (ccosh_test): Likewise.
1531 (cexp_test): Likewise.
1532 (clog_test): Likewise.
1533 (clog10_test): Likewise.
1534 (cos_test): Likewise.
1535 (cos_test_tonearest): Likewise.
1536 (cos_test_towardzero): Likewise.
1537 (cos_test_downward): Likewise.
1538 (cos_test_upward): Likewise.
1539 (cosh_test): Likewise.
1540 (cosh_test_tonearest): Likewise.
1541 (cosh_test_towardzero): Likewise.
1542 (cosh_test_downward): Likewise.
1543 (cosh_test_upward): Likewise.
1544 (cpow_test): Likewise.
1545 (csin_test): Likewise.
1546 (csinh_test): Likewise.
1547 (csqrt_test): Likewise.
1548 (ctan_test): Likewise.
1549 (ctan_test_tonearest): Likewise.
1550 (ctan_test_towardzero): Likewise.
1551 (ctan_test_downward): Likewise.
1552 (ctan_test_upward): Likewise.
1553 (ctanh_test): Likewise.
1554 (ctanh_test_tonearest): Likewise.
1555 (ctanh_test_towardzero): Likewise.
1556 (ctanh_test_downward): Likewise.
1557 (ctanh_test_upward): Likewise.
1558 (erf_test): Likewise.
1559 (erfc_test): Likewise.
1560 (exp_test): Likewise.
1561 (exp_test_tonearest): Likewise.
1562 (exp_test_towardzero): Likewise.
1563 (exp_test_downward): Likewise.
1564 (exp_test_upward): Likewise.
1565 (exp10_test): Likewise.
1566 (exp2_test): Likewise.
1567 (expm1_test): Likewise.
1568 (fmod_test): Likewise.
1569 (gamma_test): Likewise.
1570 (hypot_test): Likewise.
1571 (j0_test): Likewise.
1572 (j1_test): Likewise.
1573 (jn_test): Likewise.
1574 (lgamma_test): Likewise.
1575 (log_test): Likewise.
1576 (log10_test): Likewise.
1577 (log1p_test): Likewise.
1578 (log2_test): Likewise.
1579 (logb_test_downward): Likewise.
1580 (pow_test): Likewise.
1581 (pow_test_tonearest): Likewise.
1582 (pow_test_towardzero): Likewise.
1583 (pow_test_downward): Likewise.
1584 (pow_test_upward): Likewise.
1585 (remainder_test): Likewise.
1586 (remquo_test): Likewise.
1587 (sin_test): Likewise.
1588 (sin_test_tonearest): Likewise.
1589 (sin_test_towardzero): Likewise.
1590 (sin_test_downward): Likewise.
1591 (sin_test_upward): Likewise.
1592 (sincos_test): Likewise.
1593 (sinh_test): Likewise.
1594 (sinh_test_tonearest): Likewise.
1595 (sinh_test_towardzero): Likewise.
1596 (sinh_test_downward): Likewise.
1597 (sinh_test_upward): Likewise.
1598 (sqrt_test): Likewise.
1599 (tan_test): Likewise.
1600 (tan_test_tonearest): Likewise.
1601 (tan_test_towardzero): Likewise.
1602 (tan_test_downward): Likewise.
1603 (tan_test_upward): Likewise.
1604 (tanh_test): Likewise.
1605 (tgamma_test): Likewise.
1606 (y0_test): Likewise.
1607 (y1_test): Likewise.
1608 (yn_test): Likewise.
1610 * math/gen-libm-test.pl (adjust_arg): Remove function.
1611 (special_function): Remove argument $in_func. Only handle
1612 generating output for tables of tests, not inside functions.
1613 (parse_args): Likewise.
1614 (generate_testfile): Remove variable $in_func. Update call to
1616 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1617 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1618 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1619 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1620 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1621 (MAX_VALUE_INIT): Rename macro to max_value.
1622 (MIN_VALUE_INIT): Rename macro to min_value.
1623 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1624 (plus_zero): Remove variable.
1625 (minus_zero): Likewise.
1626 (plus_infty): Likewise.
1627 (minus_infty): Likewise.
1628 (qnan_value): Likewise.
1629 (max_value): Likewise.
1630 (min_value): Likewise.
1631 (min_subnorm_value): Likewise.
1633 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1635 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1636 uint64_t or uint32_t usage.
1637 * crypt/sha256-block.c: Likewise.
1638 * crypt/sha256-crypt.c: Likewise.
1639 * crypt/sha256.c: Likewise.
1640 * crypt/sha512-block.c: Likewise.
1641 * crypt/sha512-crypt.c: Likewise.
1642 * crypt/sha512.c: Likewise.
1643 * debug/backtrace-tst.c: Likewise.
1644 * debug/pcprofiledump.c: Likewise.
1645 * elf/cache.c: Likewise.
1646 * elf/dl-cache.c: Likewise.
1647 * elf/dl-misc.c: Likewise.
1648 * elf/dl-profile.c: Likewise.
1649 * elf/dl-support.c: Likewise.
1650 * elf/ldconfig.c: Likewise.
1651 * elf/sprof.c: Likewise.
1652 * iconv/dummy-repertoire.c: Likewise.
1653 * iconv/iconv_charmap.c: Likewise.
1654 * iconv/skeleton.c: Likewise.
1655 * iconvdata/8bit-generic.c: Likewise.
1656 * iconvdata/cp737.h: Likewise.
1657 * iconvdata/cp775.h: Likewise.
1658 * iconvdata/ibm1008.h: Likewise.
1659 * iconvdata/ibm1025.h: Likewise.
1660 * iconvdata/ibm1046.h: Likewise.
1661 * iconvdata/ibm1097.h: Likewise.
1662 * iconvdata/ibm1112.h: Likewise.
1663 * iconvdata/ibm1122.h: Likewise.
1664 * iconvdata/ibm1123.h: Likewise.
1665 * iconvdata/ibm1124.h: Likewise.
1666 * iconvdata/ibm1129.h: Likewise.
1667 * iconvdata/ibm1130.h: Likewise.
1668 * iconvdata/ibm1132.h: Likewise.
1669 * iconvdata/ibm1133.h: Likewise.
1670 * iconvdata/ibm1137.h: Likewise.
1671 * iconvdata/ibm1140.h: Likewise.
1672 * iconvdata/ibm1141.h: Likewise.
1673 * iconvdata/ibm1142.h: Likewise.
1674 * iconvdata/ibm1143.h: Likewise.
1675 * iconvdata/ibm1144.h: Likewise.
1676 * iconvdata/ibm1145.h: Likewise.
1677 * iconvdata/ibm1146.h: Likewise.
1678 * iconvdata/ibm1147.h: Likewise.
1679 * iconvdata/ibm1148.h: Likewise.
1680 * iconvdata/ibm1149.h: Likewise.
1681 * iconvdata/ibm1153.h: Likewise.
1682 * iconvdata/ibm1154.h: Likewise.
1683 * iconvdata/ibm1155.h: Likewise.
1684 * iconvdata/ibm1156.h: Likewise.
1685 * iconvdata/ibm1157.h: Likewise.
1686 * iconvdata/ibm1158.h: Likewise.
1687 * iconvdata/ibm1160.h: Likewise.
1688 * iconvdata/ibm1161.h: Likewise.
1689 * iconvdata/ibm1162.h: Likewise.
1690 * iconvdata/ibm1163.h: Likewise.
1691 * iconvdata/ibm1164.h: Likewise.
1692 * iconvdata/ibm1166.h: Likewise.
1693 * iconvdata/ibm1167.h: Likewise.
1694 * iconvdata/ibm12712.h: Likewise.
1695 * iconvdata/ibm1390.h: Likewise.
1696 * iconvdata/ibm1399.h: Likewise.
1697 * iconvdata/ibm16804.h: Likewise.
1698 * iconvdata/ibm4517.h: Likewise.
1699 * iconvdata/ibm4899.h: Likewise.
1700 * iconvdata/ibm4909.h: Likewise.
1701 * iconvdata/ibm4971.h: Likewise.
1702 * iconvdata/ibm5347.h: Likewise.
1703 * iconvdata/ibm803.h: Likewise.
1704 * iconvdata/ibm856.h: Likewise.
1705 * iconvdata/ibm901.h: Likewise.
1706 * iconvdata/ibm902.h: Likewise.
1707 * iconvdata/ibm9030.h: Likewise.
1708 * iconvdata/ibm9066.h: Likewise.
1709 * iconvdata/ibm921.h: Likewise.
1710 * iconvdata/ibm922.h: Likewise.
1711 * iconvdata/ibm9448.h: Likewise.
1712 * iconvdata/isiri-3342.h: Likewise.
1713 * iconvdata/jis0201.h: Likewise.
1714 * include/link.h: Likewise.
1715 * include/netdb.h: Likewise.
1716 * inet/check_native.c: Likewise.
1717 * inet/check_pf.c: Likewise.
1718 * inet/getipv4sourcefilter.c: Likewise.
1719 * inet/getnameinfo.c: Likewise.
1720 * inet/getsourcefilter.c: Likewise.
1721 * inet/htonl.c: Likewise.
1722 * inet/setipv4sourcefilter.c: Likewise.
1723 * inet/setsourcefilter.c: Likewise.
1724 * inet/test-inet6_opt.c: Likewise.
1725 * inet/tst-network.c: Likewise.
1726 * locale/C-collate.c: Likewise.
1727 * locale/C-ctype.c: Likewise.
1728 * locale/C-time.c: Likewise.
1729 * locale/C-translit.h: Likewise.
1730 * locale/loadarchive.c: Likewise.
1731 * locale/programs/3level.h: Likewise.
1732 * locale/programs/charmap.c: Likewise.
1733 * locale/programs/charmap.h: Likewise.
1734 * locale/programs/ld-address.c: Likewise.
1735 * locale/programs/ld-collate.c: Likewise.
1736 * locale/programs/ld-ctype.c: Likewise.
1737 * locale/programs/ld-identification.c: Likewise.
1738 * locale/programs/ld-measurement.c: Likewise.
1739 * locale/programs/ld-messages.c: Likewise.
1740 * locale/programs/ld-monetary.c: Likewise.
1741 * locale/programs/ld-name.c: Likewise.
1742 * locale/programs/ld-numeric.c: Likewise.
1743 * locale/programs/ld-paper.c: Likewise.
1744 * locale/programs/ld-telephone.c: Likewise.
1745 * locale/programs/ld-time.c: Likewise.
1746 * locale/programs/linereader.c: Likewise.
1747 * locale/programs/locale.c: Likewise.
1748 * locale/programs/locarchive.c: Likewise.
1749 * locale/programs/locfile.h: Likewise.
1750 * locale/programs/repertoire.c: Likewise.
1751 * locale/programs/simple-hash.c: Likewise.
1752 * locale/programs/simple-hash.h: Likewise.
1753 * malloc/memusage.c: Likewise.
1754 * malloc/memusagestat.c: Likewise.
1755 * nis/nis_defaults.c: Likewise.
1756 * nis/nis_hash.c: Likewise.
1757 * nis/nis_print.c: Likewise.
1758 * nis/nis_xdr.c: Likewise.
1759 * nscd/connections.c: Likewise.
1760 * nscd/hstcache.c: Likewise.
1761 * nscd/nscd_gethst_r.c: Likewise.
1762 * nscd/nscd_getserv_r.c: Likewise.
1763 * nscd/nscd_helper.c: Likewise.
1764 * nscd/servicescache.c: Likewise.
1765 * nss/makedb.c: Likewise.
1766 * nss/nss_db/db-XXX.c: Likewise.
1767 * nss/nss_db/db-initgroups.c: Likewise.
1768 * nss/nss_db/db-netgrp.c: Likewise.
1769 * nss/nss_files/files-network.c: Likewise.
1770 * nss/nss_files/files-parse.c: Likewise.
1771 * posix/bug-regex5.c: Likewise.
1772 * posix/fnmatch_loop.c: Likewise.
1773 * posix/regcomp.c: Likewise.
1774 * posix/regexec.c: Likewise.
1775 * posix/tst-rfc3484-2.c: Likewise.
1776 * posix/tst-rfc3484-3.c: Likewise.
1777 * posix/tst-rfc3484.c: Likewise.
1778 * resolv/nss_dns/dns-canon.c: Likewise.
1779 * resolv/nss_dns/dns-network.c: Likewise.
1780 * resolv/res_init.c: Likewise.
1781 * resolv/res_mkquery.c: Likewise.
1782 * resolv/tst-aton.c: Likewise.
1783 * stdlib/cxa_atexit.c: Likewise.
1784 * stdlib/cxa_finalize.c: Likewise.
1785 * stdlib/gen-fpioconst.c: Likewise.
1786 * stdlib/strtol_l.c: Likewise.
1787 * string/tst-endian.c: Likewise.
1788 * sunrpc/auth_des.c: Likewise.
1789 * sunrpc/clnt_udp.c: Likewise.
1790 * sunrpc/rtime.c: Likewise.
1791 * sunrpc/svcauth_des.c: Likewise.
1792 * sunrpc/xdr.c: Likewise.
1793 * sunrpc/xdr_intXX_t.c: Likewise.
1794 * sunrpc/xdr_rec.c: Likewise.
1795 * sysdeps/generic/ldconfig.h: Likewise.
1796 * sysdeps/generic/ldsodefs.h: Likewise.
1797 * sysdeps/generic/memusage.h: Likewise.
1798 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1808 * sysdeps/posix/getaddrinfo.c: Likewise.
1809 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1811 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1812 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1813 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1814 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1815 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1816 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1817 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1818 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1819 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1820 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1821 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1822 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1823 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1824 * sysdeps/x86_64/dl-tls.h: Likewise.
1825 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1826 * time/alt_digit.c: Likewise.
1827 * time/era.c: Likewise.
1828 * wcsmbs/tst-c16c32-1.c: Likewise.
1830 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1832 * math/libm-test.inc (struct test_sincos_data): New type.
1833 (RUN_TEST_LOOP_sincos): New macro.
1834 (sincos_test_data): New variable.
1835 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1837 2013-05-16 Richard Henderson <rth@redhat.com>
1839 * math/atest-exp2.c (LIMB64): New macro.
1840 (CONSTSZ): New macro.
1841 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1843 (print_mpn_fp): ... to function scope.
1844 (read_mpn_hex): Remove.
1846 (exp2_mpn): Use mp_log2.
1847 (main): Use mp_exp1.
1849 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1851 * math/libm-test.inc: Remove comment about not testing "inexact"
1853 (INEXACT_EXCEPTION): New macro.
1854 (NO_INEXACT_EXCEPTION): Likewise.
1855 (INVALID_EXCEPTION_OK): Update value.
1856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1857 (OVERFLOW_EXCEPTION_OK): Likewise.
1858 (UNDERFLOW_EXCEPTION_OK): Likewise.
1859 (IGNORE_ZERO_INF_SIGN): Likewise.
1860 (ERRNO_UNCHANGED): Likewise.
1861 (ERRNO_EDOM): Likewise.
1862 (ERRNO_ERANGE): Likewise.
1863 (test_exceptions): Handle testing "inexact" exceptions.
1864 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1865 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1866 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1867 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1869 (rint_towardzero_test_data): Likewise.
1870 (rint_downward_test_data): Likewise.
1871 (rint_upward_test_data): Likewise.
1873 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1874 with OVERFLOW_EXCEPTION.
1875 (exp10_test_data): Likewise.
1876 (exp2_test_data): Likewise.
1877 (expm1_test_data): Likewise.
1878 (lgamma_test_data): Likewise.
1879 (pow_test_data): Likewise.
1880 (tgamma_test_data): Likewise.
1881 (yn_test_data): Remove duplicate test of overflow.
1883 * math/libm-test.inc (struct test_cc_c_data): New type.
1884 (RUN_TEST_LOOP_cc_c): New macro.
1885 (cpow_test_data): New variable.
1886 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1888 * math/libm-test.inc (struct test_f_L_data): New type.
1889 (RUN_TEST_LOOP_f_L): New macro.
1890 (llrint_test_data): New variable.
1891 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1892 (llrint_tonearest_test_data): New variable.
1893 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1894 (llrint_towardzero_test_data): New variable.
1895 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1896 (llrint_downward_test_data): New variable.
1897 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1898 (llrint_upward_test_data): New variable.
1899 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1900 (llround_test_data): New variable.
1901 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1903 2013-05-13 Peter Collingbourne <pcc@google.com>
1905 * math/atest-exp2.c (get_log2): Remove const attribute.
1907 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1909 * math/libm-test.inc (struct test_f_l_data): New type.
1910 (RUN_TEST_LOOP_f_l): New macro.
1911 (lrint_test_data): New variable.
1912 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1913 (lrint_tonearest_test_data): New variable.
1914 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1915 (lrint_towardzero_test_data): New variable.
1916 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1917 (lrint_downward_test_data): New variable.
1918 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1919 (lrint_upward_test_data): New variable.
1920 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1921 (lround_test_data): New variable.
1922 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1924 2013-05-15 Peter Collingbourne <pcc@google.com>
1926 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1927 (EXTRACT_WORDS64) Use where appropriate.
1928 (INSERT_WORDS64) Likewise.
1930 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1931 constraints with x constraints.
1932 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1934 * malloc/obstack.c (_obstack_compat): Add initializer.
1936 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1939 si_trapno and add si_addr_lsb to _sifields.sigfault.
1940 (si_trapno): Remove macro.
1941 (si_addr_lsb): Define new macro.
1942 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1944 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1946 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1947 instead of TEST_f_l.
1948 (llrint_test_tonearest): Likewise.
1949 (llrint_test_towardzero): Likewise.
1950 (llrint_test_downward): Likewise.
1951 (llrint_test_upward): Likewise.
1952 (llround_test): Likewise.
1954 * math/libm-test.inc (struct test_f_i_data): Add comment.
1955 (RUN_TEST_LOOP_f_b): New macro.
1956 (RUN_TEST_LOOP_f_b_tg): Likewise.
1957 (finite_test_data): New variable.
1958 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1959 (isfinite_test_data): New variable.
1960 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1961 (isinf_test_data): New variable.
1962 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1963 (isnan_test_data): New variable.
1964 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1965 (isnormal_test_data): New variable.
1966 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1967 (issignaling_test_data): New variable.
1968 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1969 (signbit_test_data): New variable.
1970 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1972 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1973 with INVALID_EXCEPTION.
1974 (acosh_test_data): Likewise.
1975 (asin_test_data): Likewise.
1976 (atanh_test_data): Likewise.
1977 (fmod_test_data): Likewise.
1978 (log_test_data): Likewise.
1979 (log10_test_data): Likewise.
1980 (log2_test_data): Likewise.
1981 (pow_test_data): Likewise.
1982 (sqrt_test_data): Likewise.
1983 (y0_test_data): Likewise.
1984 (y1_test_data): Likewise.
1985 (yn_test_data): Likewise.
1987 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1990 * math/libm-test.inc (struct test_ff_i_data): New type.
1991 (RUN_TEST_LOOP_ff_i_tg): New macro.
1992 (isgreater_test_data): New variable.
1993 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1994 (isgreaterequal_test_data): New variable.
1995 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1996 (isless_test_data): New variable.
1997 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1998 (islessequal_test_data): New variable.
1999 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2000 (islessgreater_test_data): New variable.
2001 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2002 (isunordered_test_data): New variable.
2003 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2005 2013-05-14 David S. Miller <davem@davemloft.net>
2007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2009 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2011 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2013 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2015 (struct test_f_i_data): Change type of max_ulp to int.
2017 * math/libm-test.inc (test_ffI_f1_data): New type.
2018 (RUN_TEST_LOOP_ffI_f1): New macro.
2019 (remquo_test_data): New variable.
2020 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2022 * setjmp/tst-setjmp-fp.c: New file.
2023 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2024 (link-libm): New variable.
2025 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2027 * math/libm-test.inc (struct test_f_i_data): New type.
2028 (RUN_TEST_LOOP_f_i): New macro.
2029 (RUN_TEST_LOOP_f_i_tg): Likewise.
2030 (fpclassify_test_data): New variable.
2031 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2032 (ilogb_test_data): New variable.
2033 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2035 * math/libm-test.inc (scalbln_test): Correct function name in END
2038 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2039 (RUN_TEST_LOOP_fI_f1): New macro.
2040 (frexp_test_data): New variable.
2041 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2043 * math/libm-test.inc (struct test_fF_f1_data): New type.
2044 (RUN_TEST_LOOP_fF_f1): New macro.
2045 (modf_test_data): New variable.
2046 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2048 * math/libm-test.inc (struct test_f_f1_data): New type.
2049 (RUN_TEST_LOOP_f_f1): New macro.
2050 (gamma_test_data): New variable.
2051 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2052 (lgamma_test_data): New variable.
2053 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2055 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2057 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2058 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2059 (main): Comment "tls" pseudo-hwcap.
2061 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2063 * math/libm-test.inc (struct test_fl_f_data): New type.
2064 (RUN_TEST_LOOP_fl_f): New variable.
2065 (scalbln_test_data): New variable.
2066 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2068 * math/libm-test.inc (struct test_fi_f_data): New type.
2069 (RUN_TEST_LOOP_fi_f): New macro.
2070 (ldexp_test_data): New variable.
2071 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2072 (scalbn_test_data): New variable.
2073 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2075 * math/libm-test.inc (struct test_c_f_data): New type.
2076 (RUN_TEST_LOOP_c_f): New macro.
2077 (cabs_test_data): New variable.
2078 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2079 (carg_test_data): New variable.
2080 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2081 (cimag_test_data): New variable.
2082 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2083 (creal_test_data): New variable.
2084 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2086 * math/libm-test.inc (struct test_if_f_data): New type.
2087 (RUN_TEST_LOOP_if_f): New macro.
2088 (jn_test_data): New variable.
2089 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2090 (yn_test_data): New variable.
2091 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2093 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2095 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2098 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2100 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2102 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2103 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2104 (bench-deps): Add bench-timing.h.
2105 * benchtests-bench-skeleton.c: Include bench-timing.h.
2106 (main): Use TIMING_* macros instead of clock_gettime.
2107 * benchtests/bench-timing.h: New file.
2110 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2111 Renamed from _LIB_VERSION.
2112 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2114 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2116 * math/libm-test.inc (struct test_fff_f_data): New type.
2117 (RUN_TEST_LOOP_fff_f): New macro.
2118 (fma_test_data): New variable.
2119 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2120 (fma_towardzero_test_data): New variable.
2121 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2122 (fma_downward_test_data): New variable.
2123 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2124 (fma_upward_test_data): New variable.
2125 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2127 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2128 (struct test_c_c_data): New type.
2129 (RUN_TEST_LOOP_c_c): New macro.
2130 (cacos_test_data): New variable.
2131 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2132 (cacosh_test_data): New variable.
2133 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2134 (casin_test_data): New variable.
2135 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2136 (casinh_test_data): New variable.
2137 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2138 (catan_test_data): New variable.
2139 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2140 (catanh_test_data): New variable.
2141 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2142 (ccos_test_data): New variable.
2143 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2144 (ccosh_test_data): New variable.
2145 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2146 (cexp_test_data): New variable.
2147 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2148 (clog_test_data): New variable.
2149 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2150 (clog10_test_data): New variable.
2151 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2152 (conj_test_data): New variable.
2153 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2154 (cproj_test_data): New variable.
2155 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2156 (csin_test_data): New variable.
2157 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2158 (csinh_test_data): New variable.
2159 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2160 (csqrt_test_data): New variable.
2161 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2162 (ctan_test_data): New variable.
2163 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2164 (ctan_tonearest_test_data): New variable.
2165 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2166 (ctan_towardzero_test_data): New variable.
2167 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2168 (ctan_downward_test_data): New variable.
2169 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2170 (ctan_upward_test_data): New variable.
2171 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2172 (ctanh_test_data): New variable.
2173 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2174 (ctanh_tonearest_test_data): New variable.
2175 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2176 (ctanh_towardzero_test_data): New variable.
2177 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2178 (ctanh_downward_test_data): New variable.
2179 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2180 (ctanh_upward_test_data): New variable.
2181 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2182 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2185 * math/libm-test.inc (struct test_ff_f_data): New type.
2186 (struct test_ff_f_data_nexttoward): Likewise.
2187 (RUN_TEST_LOOP_2_f): New macro.
2188 (RUN_TEST_LOOP_ff_f): Likewise.
2189 (atan2_test_data): New variable.
2190 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2191 (copysign_test_data): New variable.
2192 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2193 (fdim_test_data): New variable.
2194 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2195 (fmax_test_data): New variable.
2196 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2197 (fmin_test_data): New variable.
2198 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2199 (fmod_test_data): New variable.
2200 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2201 (hypot_test_data): New variable.
2202 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2203 (nextafter_test_data): New variable.
2204 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2205 (nexttoward_test_data): New variable.
2206 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2207 (pow_test_data): New variable.
2208 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2209 (pow_tonearest_test_data): New variable.
2210 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2211 (pow_towardzero_test_data): New variable.
2212 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2213 (pow_downward_test_data): New variable.
2214 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2215 (pow_upward_test_data): New variable.
2216 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2217 (remainder_test_data): New variable.
2218 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2219 (scalb_test_data): New variable.
2220 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2221 * sysdeps/i386/fpu/libm-test-ulps: Update.
2223 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2225 * math/libm-test.inc (fma_test): Use max_value instead of local
2227 (nextafter_test): Likewise.
2229 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2230 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2231 (acos_downward_test_data): New variable.
2232 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2233 (acos_upward_test_data): New variable.
2234 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2235 (acosh_test_data): New variable.
2236 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2237 (asin_test_data): New variable.
2238 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2239 (asin_tonearest_test_data): New variable.
2240 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2241 (asin_towardzero_test_data): New variable.
2242 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2243 (asin_downward_test_data): New variable.
2244 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2245 (asin_upward_test_data): New variable.
2246 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2247 (asinh_test_data): New variable.
2248 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2249 (atan_test_data): New variable.
2250 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2251 (atanh_test_data): New variable.
2252 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2253 (cbrt_test_data): New variable.
2254 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2255 (ceil_test_data): New variable.
2256 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2257 (cos_test_data): New variable.
2258 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2259 (cos_tonearest_test_data): New variable.
2260 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2261 (cos_towardzero_test_data): New variable.
2262 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2263 (cos_downward_test_data): New variable.
2264 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2265 (cos_upward_test_data): New variable.
2266 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2267 (cosh_test_data): New variable.
2268 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2269 (cosh_tonearest_test_data): New variable.
2270 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2271 (cosh_towardzero_test_data): New variable.
2272 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2273 (cosh_downward_test_data): New variable.
2274 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2275 (cosh_upward_test_data): New variable.
2276 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2277 (erf_test_data): New variable.
2278 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2279 (erfc_test_data): New variable.
2280 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2281 (exp_test_data): New variable.
2282 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2283 (exp_tonearest_test_data): New variable.
2284 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2285 (exp_towardzero_test_data): New variable.
2286 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2287 (exp_downward_test_data): New variable.
2288 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2289 (exp_upward_test_data): New variable.
2290 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2291 (exp10_test_data): New variable.
2292 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2293 (exp2_test_data): New variable.
2294 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2295 (expm1_test_data): New variable.
2296 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2297 (fabs_test_data): New variable.
2298 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2299 (floor_test_data): New variable.
2300 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2301 (j0_test_data): New variable.
2302 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2303 (j1_test_data): New variable.
2304 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2305 (log_test_data): New variable.
2306 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2307 (log10_test_data): New variable.
2308 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2309 (log1p_test_data): New variable.
2310 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2311 (log2_test_data): New variable.
2312 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2313 (logb_test_data): New variable.
2314 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2315 (logb_downward_test_data): New variable.
2316 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2317 (nearbyint_test_data): New variable.
2318 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2319 (rint_test_data): New variable.
2320 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2321 (rint_tonearest_test_data): New variable.
2322 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2323 (rint_towardzero_test_data): New variable.
2324 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2325 (rint_downward_test_data): New variable.
2326 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2327 (rint_upward_test_data): New variable.
2328 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2329 (round_test_data): New variable.
2330 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2331 (sin_test_data): New variable.
2332 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2333 (sin_tonearest_test_data): New variable.
2334 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2335 (sin_towardzero_test_data): New variable.
2336 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2337 (sin_downward_test_data): New variable.
2338 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2339 (sin_upward_test_data): New variable.
2340 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2341 (sinh_test_data): New variable.
2342 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2343 (sinh_tonearest_test_data): New variable.
2344 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2345 (sinh_towardzero_test_data): New variable.
2346 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2347 (sinh_downward_test_data): New variable.
2348 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2349 (sinh_upward_test_data): New variable.
2350 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2351 (sqrt_test_data): New variable.
2352 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2353 (tan_test_data): New variable.
2354 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2355 (tan_tonearest_test_data): New variable.
2356 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2357 (tan_towardzero_test_data): New variable.
2358 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2359 (tan_downward_test_data): New variable.
2360 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2361 (tan_upward_test_data): New variable.
2362 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2363 (tanh_test_data): New variable.
2364 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2365 (tgamma_test_data): New variable.
2366 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2367 (trunc_test_data): New variable.
2368 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2369 (y0_test_data): New variable.
2370 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2371 (y1_test_data): New variable.
2372 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2373 (significand_test_data): New variable.
2374 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2376 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2379 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2381 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2383 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2385 2013-05-10 Andreas Jaeger <aj@suse.de>
2388 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2389 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2391 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2393 * math/gen-libm-test.pl (adjust_arg): New function.
2394 (special_functions): Handle generating output in both functions
2396 (parse_args): Likewise.
2397 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2398 $in_func argument to parse_args.
2399 * math/libm-test.inc (struct test_f_f_data): New type.
2400 (IF_ROUND_INIT_): New macro.
2401 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2402 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2403 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2404 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2405 (ROUND_RESTORE_): Likewise.
2406 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2407 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2408 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2409 (ROUND_RESTORE_FE_UPWARD): Likewise.
2410 (RUN_TEST_LOOP_f_f): New macro.
2411 (acos_test_data): New variable.
2412 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2413 (acos_tonearest_test_data): New variable.
2414 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2416 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2418 * benchtests/bench-skeleton.c (startup): Fix coding style.
2420 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2423 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2424 negative infinity argument.
2425 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2426 negative infinity argument.
2427 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2428 negative infinity argument.
2429 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2432 2013-05-10 Florian Weimer <fweimer@redhat.com>
2434 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2435 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2436 * iconv/iconv_prog.c (main): Likewise.
2437 * locale/programs/charmap-dir.c (charmap_readdir)
2438 (fopen_uncompressed): Likewise.
2439 * locale/programs/locfile.c (siblings_uncached)
2440 (write_locale_data): Use lstat64 instead of lstat.
2441 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2444 2013-05-10 Andreas Jaeger <aj@suse.de>
2447 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2451 2013-05-09 Carlos O'Donell <carlos@redhat.com>
2453 * elf/dl-close.c (_dl_close_worker): Add comments.
2455 2013-05-09 Joseph Myers <joseph@codesourcery.com>
2458 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2460 (__ieee754_rem_pio2l): Update comments.
2463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2465 (__ieee754_rem_pio2l): Update comments.
2467 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2468 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2470 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2473 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2474 (M_PI_34_LOG10El): Likewise.
2475 (M_PI2_LOG10El): Likewise.
2476 (M_PI4_LOG10El): Likewise.
2477 (M_PI_LOG10El): Likewise.
2479 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2483 2013-05-08 Joseph Myers <joseph@codesourcery.com>
2485 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2486 (MINUS_ZERO_INIT): Likewise.
2487 (PLUS_INFTY_INIT): Likewise.
2488 (MINUS_INFTY_INIT): Likewise.
2489 (QNAN_VALUE_INIT): Likewise.
2490 (MAX_VALUE_INIT): Likewise.
2491 (MIN_VALUE_INIT): Likewise.
2492 (MIN_SUBNORM_VALUE_INIT): Likewise.
2493 (plus_zero): Initialize with PLUS_ZERO_INIT.
2494 (minus_zero): Initialize with MINUS_ZERO_INIT.
2495 (plus_infty): Initialize with PLUS_INFTY_INIT.
2496 (minus_infty): Initialize with MINUS_INFTY_INIT.
2497 (qnan_value): Initialize with QNAN_VALUE_INIT.
2498 (max_value): Initialize with MAX_VALUE_INIT.
2499 (min_value): Initialize with MIN_VALUE_INIT.
2500 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2502 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2503 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2504 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2505 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2507 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2508 (RUN_TEST_2_f): Likewise.
2509 (RUN_TEST_ff_f): Likewise.
2510 (RUN_TEST_fi_f): Likewise.
2511 (RUN_TEST_fl_f): Likewise.
2512 (RUN_TEST_fff_f): Likewise.
2513 (RUN_TEST_c_f): Likewise.
2514 (RUN_TEST_f_f1): Likewise.
2515 (RUN_TEST_fF_f1): Likewise.
2516 (RUN_TEST_fI_f1): Likewise.
2517 (RUN_TEST_ffI_f1): Likewise.
2518 (RUN_TEST_c_c): Likewise.
2519 (RUN_TEST_cc_c): Likewise.
2520 (RUN_TEST_f_i): Likewise.
2521 (RUN_TEST_f_i_tg): Likewise.
2522 (RUN_TEST_ff_i_tg): Likewise.
2523 (RUN_TEST_f_b): Likewise.
2524 (RUN_TEST_f_b_tg): Likewise.
2525 (RUN_TEST_f_l): Likewise.
2526 (RUN_TEST_f_L): Likewise.
2527 (RUN_TEST_sincos): Likewise.
2528 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2529 whether to show exceptions. Do not include ");\n" in return
2531 (special_functions): Output call to RUN_TEST_sincos instead of
2532 check_float calls. Update calls to new_test.
2533 (parse_args): Output call to single RUN_TEST_* macro instead of
2534 check_* calls and other assignments. Update calls to new_test.
2540 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2541 input to result for tgamma overflow.
2542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2543 (gamma_coeff): New variable.
2544 (NCOEFF): New macro.
2545 (gamma_positive): New function.
2546 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2547 underflow here. Use gamma_positive instead of exp (lgamma) for
2549 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2550 (gamma_coeff): New variable.
2551 (NCOEFF): New macro.
2552 (gammaf_positive): New function.
2553 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2554 underflow here. Use gamma_positive instead of exp (lgamma) for
2556 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2557 (gamma_coeff): New variable.
2558 (NCOEFF): New macro.
2559 (gammal_positive): New function.
2560 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2561 underflow here. Use gamma_positive instead of exp (lgamma) for
2563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2564 (gamma_coeff): New variable.
2565 (NCOEFF): New macro.
2566 (gammal_positive): New function.
2567 (__ieee754_gammal_r): Handle positive infinity, overflow and
2568 underflow here. Handle NaN the same as positive infinity. Remove
2569 check x < 0xffffffff for negative integers. Use gamma_positive
2570 instead of exp (lgamma) for other arguments.
2571 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2572 (gamma_coeff): New variable.
2573 (NCOEFF): New macro.
2574 (gammal_positive): New function.
2575 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2576 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2581 * sysdeps/generic/math_private.h (__gamma_productf): New
2583 (__gamma_product): Likewise.
2584 (__gamma_productl): Likewise.
2585 * math/Makefile (libm-calls): Add gamma_product.
2586 * math/libm-test.inc (tgamma_test): Add more tests.
2587 * sysdeps/i386/fpu/libm-test-ulps: Update.
2588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2590 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2592 * benchtests/bench-skeleton.c (main): Preheat CPU.
2594 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2596 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2598 2013-05-07 Roland McGrath <roland@hack.frob.com>
2600 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2601 and _dl_skip_args_internal.
2603 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2605 * manual/message.texi (Message Translation): Talk about users.
2606 Message to key mapping impacts design.
2608 2013-05-06 Roland McGrath <roland@hack.frob.com>
2610 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2612 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2614 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2615 * sysdeps/wordsize-64/glob64.c: ... here.
2617 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2618 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2621 * debug/getlogin_r_chk.c: Moved to ...
2622 * login/getlogin_r_chk.c: ... here.
2623 * debug/Makefile (routines): Move getlogin_r_chk to ...
2624 * login/Makefile (routines): ... here.
2625 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2626 * login/Versions (libc: GLIBC_2.4): ... here.
2628 * io/poll.c (__poll): Renamed from poll.
2629 Add libc_hidden_def.
2630 (poll): Define as weak alias.
2632 * debug/ptsname_r_chk.c: Moved to ...
2633 * login/ptsname_r_chk.c: ... here.
2634 * debug/Makefile (routines): Move ptsname_r_chk to ...
2635 * login/Makefile (routines): ... here.
2636 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2637 * login/Versions (libc: GLIBC_2.4): ... here.
2639 * posix/getlogin.c: Moved to ...
2640 * login/getlogin.c: ... here.
2641 * posix/getlogin_r.c: Moved to ...
2642 * login/getlogin_r.c: ... here.
2643 * posix/getlogin_r.c: Moved to ...
2644 * login/getlogin_r.c: ... here.
2645 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2646 * login/Makefile (routines): ... here.
2647 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2648 * login/Versions (libc: GLIBC_2.0): ... here.
2650 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2651 (setrlimit): Define as weak alias.
2653 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2654 Call __ names for open, ftruncate, and close.
2655 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2656 (truncate): Define as weak alias.
2658 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2660 * math/gen-libm-test.pl (parse_args): Initialize x before each
2661 test of frexp, modf and remquo.
2663 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2666 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2672 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2674 2013-05-06 Roland McGrath <roland@hack.frob.com>
2676 * elf/dl-writev.h: New file.
2677 * elf/dl-misc.c: Include it.
2678 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2679 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2681 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2683 * math/libm-test.inc (noXFails): Remove variable.
2684 (noXPasses): Likewise.
2685 (BUILD_COMPLEX_INT): Remove macro.
2686 (print_screen): Remove xfail argument.
2687 (print_screen_max_error): Likewise.
2688 (update_stats): Likewise.
2689 (print_max_error): Likewise. Update calls to other affected
2691 (print_complex_max_error): Likewise.
2692 (test_single_exception): Update calls to print_screen.
2693 (test_single_errno): Likewise.
2694 (check_float_internal): Remove xfail argument. Update calls to
2695 other affected functions.
2696 (check_float): Likewise.
2697 (check_complex): Likewise.
2698 (check_int): Likewise.
2699 (check_long): Likewise.
2700 (check_bool): Likewise.
2701 (check_longlong): Likewise.
2702 (main): Don't print noXFails and noXPasses.
2703 * math/gen-libm-test.pl (top level): Don't mention expected
2704 failure handling in comment.
2705 (new_test): Don't handle expected failures.
2706 (parse_args): Don't mention expected failure handling in comment.
2707 (generate_testfile): Don't handle expected failures.
2708 (parse_ulps): Likewise.
2709 (print_ulps_file): Likewise.
2710 (get_failure): Remove function.
2711 (output_test): Don't handle expected failures.
2712 * make/README.libm-test: Don't mention expected failure handling.
2714 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2715 (minus_zero): Likewise.
2716 (plus_infty): Likewise.
2717 (minus_infty): Likewise.
2718 (qnan_value): Likewise.
2719 (max_value): Likewise.
2720 (min_value): Likewise.
2721 (min_subnorm_value): Likewise.
2722 (initialize): Do not initialize those variables dynamically.
2724 2013-05-03 Roland McGrath <roland@hack.frob.com>
2726 * io/open.c (__open_2): Moved to ...
2727 * io/open_2.c: ... this new file.
2728 * io/open64.c (__open64_2): Moved to ...
2729 * io/open64_2.c: ... this new file.
2730 * io/openat.c (__openat_2): Moved to ...
2731 * io/openat_2.c: ... this new file.
2732 * io/openat64.c (__openat64_2): Moved to ...
2733 * io/openat64_2.c: ... this new file.
2734 * io/Makefile (routines): Add them.
2735 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2736 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2737 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2738 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2739 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2740 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2741 (__openat64): Add hidden_ver.
2742 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2743 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2745 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2746 Separately conditionalize setting of GLRO(dl_sysinfo) so
2747 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2748 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2750 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2752 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2755 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2756 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2757 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2758 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2759 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2761 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2763 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2766 * math/libm-test.inc (hypot_test): Do not use
2767 IGNORE_ZERO_INF_SIGN.
2769 2013-05-03 Andreas Jaeger <aj@suse.de>
2771 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2774 (PF_MAX): Adjust for VSOCK change.
2776 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2780 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2783 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2784 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2785 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2787 2013-05-02 David S. Miller <davem@davemloft.net>
2789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2791 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2793 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2795 2013-05-01 Roland McGrath <roland@hack.frob.com>
2797 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2799 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2802 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2803 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2804 Use __attribute__ ((__gnu_inline__)).
2805 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2806 Don't use __attribute__ ((__gnu_inline__)).
2808 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2811 * math/s_catan.c (__catan): Handle small real or imaginary part of
2812 input specially to avoid spurious underflow.
2813 * math/s_catanf.c (__catanf): Likewise.
2814 * math/s_catanh.c (__catanh): Likewise.
2815 * math/s_catanhf.c (__catanhf): Likewise.
2816 * math/s_catanhl.c (__catanhl): Likewise.
2817 * math/s_catanl.c (__catanl): Likewise.
2818 * math/libm-test.inc (catan_test): Add more tests.
2819 (catanh_test): Likewise.
2820 * sysdeps/i386/fpu/libm-test-ulps: Update.
2821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2823 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2827 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2830 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2831 accurately for denominator in atan2.
2832 * math/s_catanf.c (__catanf): Likewise.
2833 * math/s_catanh.c (__catanh): Likewise.
2834 * math/s_catanhf.c (__catanhf): Likewise.
2835 * math/s_catanhl.c (__catanhl): Likewise.
2836 * math/s_catanl.c (__catanl): Likewise.
2837 * math/libm-test.inc (catan_test): Add more tests.
2838 (catanh_test): Likewise.
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2844 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2846 * benchtests/Makefile (bench): Remove slow benchmarks.
2847 * benchtests/atan-inputs: Add slow benchmark inputs.
2848 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2849 (BENCH_FUNC): Accept variant offset.
2851 * benchtests/bench-skeleton.c (main): Run benchmark for each
2853 * benchtests/cos-inputs: Add slow benchmark inputs.
2854 * benchtests/exp-inputs: Likewise.
2855 * benchtests/pow-inputs: Likewise.
2856 * benchtests/sin-inputs: Likewise.
2857 * benchtests/slowatan-inputs: Remove.
2858 * benchtests/slowatan.c: Remove.
2859 * benchtests/slowcos-inputs: Remove.
2860 * benchtests/slowcos.c: Remove.
2861 * benchtests/slowexp-inputs: Remove.
2862 * benchtests/slowexp.c: Remove.
2863 * benchtests/slowpow-inputs: Remove.
2864 * benchtests/slowpow.c: Remove.
2865 * benchtests/slowsin-inputs: Remove.
2866 * benchtests/slowsin.c: Remove.
2867 * benchtests/slowtan-inputs: Remove.
2868 * benchtests/slowtan.c: Remove.
2869 * benchtests/tan-inputs: Add slow benchmark inputs.
2870 * scripts/bench.pl: Parse comments and directives.
2872 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2874 ($(objpfx)bench-%.c): Remove *-ITER.
2875 * benchtests/bench-modf.c: Remove definition of ITER.
2876 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2877 (main): Loop for DURATION seconds instead of fixed number of
2879 * scripts/bench.pl: Don't expect iterations in parameters.
2881 2013-04-29 Roland McGrath <roland@hack.frob.com>
2883 * io/fchdir.c (__fchdir): Renamed from fchdir.
2884 (fchdir): Define as weak alias.
2886 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2888 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2889 (ERRNO_EDOM): Likewise.
2890 (ERRNO_ERANGE): Likewise.
2891 (noErrnoTests): New variable.
2892 (init_max_error): Set errno to 0.
2893 (test_single_errno): New function.
2894 (test_errno): Likewise.
2895 (check_float_internal): Call test_errno. Set errno to 0.
2896 (check_complex): Refer to errno tests in comment.
2897 (check_int): Call test_errno. Set errno to 0.
2898 (check_long): Likewise.
2899 (check_bool): Likewise.
2900 (check_longlong): Likewise.
2901 (cos_test): Use ERRNO_* flags for errno tests instead of
2903 (expm1_test): Likewise.
2904 (fmod_test): Likewise.
2905 (ilogb_test): Likewise.
2906 (lgamma_test): Likewise.
2907 (pow_test): Likewise.
2908 (remainder_test): Likewise.
2909 (sin_test): Likewise.
2910 (tan_test): Likewise.
2911 (yn_test): Likewise.
2912 (initialize): Set errno to 0.
2913 (main): Print number of errno tests.
2914 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2916 2013-04-29 Andreas Jaeger <aj@suse.de>
2919 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2923 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2924 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2928 * stdlib/random.c (__initstate): Return NULL if
2932 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2933 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2936 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2940 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2942 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2943 of individual tests.
2944 (casin_test): Likewise.
2945 (casinh_test): Likewise.
2947 2013-04-27 Joseph Myers <joseph@codesourcery.com>
2950 * math/s_catan.c (__catan): Handle arguments with large real or
2951 imaginary part separately without squaring.
2952 * math/s_catanf.c (__catanf): Likewise.
2953 * math/s_catanh.c (__catanh): Likewise.
2954 * math/s_catanhf.c (__catanhf): Likewise.
2955 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2957 (__catanhl): Handle arguments with large real or imaginary part
2958 separately without squaring.
2959 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2961 (__catanl): Handle arguments with large real or imaginary part
2962 separately without squaring.
2963 * math/libm-test.inc (catan_test): Add more tests.
2964 (catanh_test): Likewise.
2965 * sysdeps/i386/fpu/libm-test-ulps: Update.
2966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2968 2013-04-27 Andreas Jaeger <aj@suse.de>
2971 * stdlib/stdlib.h: Update guards for qecvt.
2972 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2975 2013-04-27 Allan McRae <allan@archlinux.org>
2977 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 2013-04-26 Joseph Myers <joseph@codesourcery.com>
2982 * math/s_catan.c: Include <float.h>.
2983 (__catan): Ensure underflow exception occurs for underflowed
2985 * math/s_catanf.c: Include <float.h>.
2986 (__catanf): Ensure underflow exception occurs for underflowed
2988 * math/s_catanh.c: Include <float.h>.
2989 (__catanh): Ensure underflow exception occurs for underflowed
2991 * math/s_catanhf.c: Include <float.h>.
2992 (__catanhf): Ensure underflow exception occurs for underflowed
2994 * math/s_catanhl.c: Include <float.h>.
2995 (__catanhl): Ensure underflow exception occurs for underflowed
2997 * math/s_catanl.c: Include <float.h>.
2998 (__catanl): Ensure underflow exception occurs for underflowed
3000 * math/libm-test.inc (catan_test): Add more tests.
3001 (catanh_test): Likewise.
3004 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3006 * math/s_ccoshf.c (__ccoshf): Likewise.
3007 * math/s_ccoshl.c (__ccoshl): Likewise.
3008 * math/s_csin.c (__csin): Likewise.
3009 * math/s_csinf.c (__csinf): Likewise.
3010 * math/s_csinh.c (__csinh): Likewise.
3011 * math/s_csinhf.c (__csinhf): Likewise.
3012 * math/s_csinhl.c (__csinhl): Likewise.
3013 * math/s_csinl.c (__csinl): Likewise.
3014 * math/libm-test.inc (ccos_test): Add more tests.
3015 (ccosh_test): Likewise.
3016 (csin_test): Likewise.
3017 (csinh_test): Likewise.
3019 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3021 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3022 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3023 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3024 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3025 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3026 powerpc/power5+/fpu folders.
3027 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3030 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3034 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3036 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3037 additions to variable.
3038 [$(config-machine) = x86_64] (modules-names): Likewise.
3039 ($(objpfx)tst-audit3): Remove dependency.
3040 ($(objpfx)tst-audit3.out): Likewise.
3041 ($(objpfx)tst-audit4): Likewise.
3042 ($(objpfx)tst-audit4.out): Likewise.
3043 ($(objpfx)tst-audit5): Likewise.
3044 ($(objpfx)tst-audit5.out): Likewise.
3045 ($(objpfx)tst-audit6): Likewise.
3046 ($(objpfx)tst-audit6.out): Likewise.
3047 ($(objpfx)tst-audit7): Likewise.
3048 ($(objpfx)tst-audit7.out): Likewise.
3049 (tst-audit3-ENV): Remove variable.
3050 (tst-audit4-ENV): Likewise.
3051 (tst-audit5-ENV): Likewise.
3052 (tst-audit6-ENV): Likewise.
3053 (tst-audit7-ENV): Likewise.
3054 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3055 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3056 addition to variable.
3057 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3062 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3063 tst-audit3, tst-audit4 and tst-audit5.
3064 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3065 tst-audit6 and tst-audit7.
3066 [$(subdir) = elf] (modules-names): Add audit modules for those
3068 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3069 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3070 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3071 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3072 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3073 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3074 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3075 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3076 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3077 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3078 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3079 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3080 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3081 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3082 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3083 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3085 [$(subdir) = elf && $(config-cflags-avx) = yes]
3086 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3087 [$(subdir) = elf && $(config-cflags-avx) = yes]
3088 (CFLAGS-tst-auditmod4a.c): Likewise.
3089 [$(subdir) = elf && $(config-cflags-avx) = yes]
3090 (CFLAGS-tst-auditmod4b.c): Likewise.
3091 [$(subdir) = elf && $(config-cflags-avx) = yes]
3092 (CFLAGS-tst-auditmod6b.c): Likewise.
3093 [$(subdir) = elf && $(config-cflags-avx) = yes]
3094 (CFLAGS-tst-auditmod6c.c): Likewise.
3095 [$(subdir) = elf && $(config-cflags-avx) = yes]
3096 (CFLAGS-tst-auditmod7b.c): Likewise.
3097 * elf/tst-audit3.c: Move to ...
3098 * sysdeps/x86_64/tst-audit3.c: ... here.
3099 * elf/tst-audit4.c: Move to ...
3100 * sysdeps/x86_64/tst-audit4.c: ... here.
3101 * elf/tst-audit5.c: Move to ...
3102 * sysdeps/x86_64/tst-audit5.c: ... here.
3103 * elf/tst-audit6.c: Move to ...
3104 * sysdeps/x86_64/tst-audit6.c: ... here.
3105 * elf/tst-audit7.c: Move to ...
3106 * sysdeps/x86_64/tst-audit7.c: ... here.
3107 * elf/tst-auditmod3a.c: Move to ...
3108 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3109 * elf/tst-auditmod3b.c: Move to ...
3110 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3111 * elf/tst-auditmod4a.c: Move to ...
3112 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3113 * elf/tst-auditmod4b.c: Move to ...
3114 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3115 * elf/tst-auditmod5a.c: Move to ...
3116 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3117 * elf/tst-auditmod5b.c: Move to ...
3118 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3119 * elf/tst-auditmod6a.c: Move to ...
3120 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3121 * elf/tst-auditmod6b.c: Move to ...
3122 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3123 * elf/tst-auditmod6c.c: Move to ...
3124 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3125 * elf/tst-auditmod7a.c: Move to ...
3126 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3127 * elf/tst-auditmod7b.c: Move to ...
3128 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3130 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3133 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3134 define unconditionally.
3135 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3136 define unconditionally.
3137 (INT8_C, INT16_C, etc.): Likewise.
3139 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3141 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3142 __ehdr_start with hidden visibility.
3144 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3146 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3148 * math/libm-test.inc (cos_test): Use accurate hex constants.
3149 (sincost_test): Likewise.
3151 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3153 * math/libm-test.inc (catan_test): Add more tests.
3154 (catanh_test): Likewise.
3156 * math/s_catanf.c (__catanf): Use suffixed floating-point
3158 * math/s_catanhf.c (__catanhf): Likewise.
3159 * math/s_catanhl.c (__catanhl): Likewise.
3160 * math/s_catanl.c (__catanl): Likewise.
3163 * math/s_catan.c (__catan): Calculate imaginary part of result
3164 with log1p not log unless computing log of number close to 0.
3165 * math/s_catanf.c (__catanf): Likewise.
3166 * math/s_catanl.c (__catanl): Likewise.
3167 * math/s_catanh.c (__catanh): Calculate real part of result with
3168 log1p not log unless computing log of number close to 0.
3169 * math/s_catanhf.c (__catanhf): Likewise.
3170 * math/s_catanhl.c (__catanhl): Likewise.
3171 * math/libm-test.inc (catan_test): Add more tests.
3172 (catanh_test): Likewise.
3173 * sysdeps/i386/fpu/libm-test-ulps: Update.
3174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3176 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3178 * benchtests/Makefile: Mention files in which fast and slow
3179 paths of math functions are implemented.
3181 2013-04-23 Roland McGrath <roland@hack.frob.com>
3183 * sysdeps/posix/timespec_get.c: New file.
3185 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3187 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3189 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3191 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3192 powerpc/power5/fpu folders.
3193 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3194 * benchtests/Makefile: Add modf testcase.
3195 * benchtests/bench-modf.c: New file: Benchmark test for mo
3197 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3200 * time/Makefile (tests): Add tst-strptime-whitespace.
3201 * time/strptime_l.c (get_number): Use ISSPACE.
3202 (__strptime_internal): Likewise.
3203 * time/tst-strptime-whitespace.c: New test case.
3205 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3207 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3209 (_nss_files_init): Set it here.
3211 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3213 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3214 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3217 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3219 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3221 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3226 2013-04-21 David S. Miller <davem@davemloft.net>
3228 * po/ru.po: Update Russion translation from translation project.
3230 2013-04-17 Adam Conrad <adconrad@0c3.net>
3232 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3235 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3237 * configure.in: Remove i386 configure warning. Remove i386 case.
3238 * configure: Regenerate.
3239 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3240 Add example to error message.
3241 * sysdeps/i386/configure: Regenerate.
3243 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3245 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3247 * benchtests/cos-inputs: New file.
3248 * benchtests/slowcos-inputs: New file.
3249 * benchtests/slowcos.c: New file.
3250 * benchtests/slowtan-inputs: New file.
3251 * benchtests/slowtan.c: New file.
3252 * benchtests/tan-inputs: New file.
3254 2013-04-16 Roland McGrath <roland@hack.frob.com>
3256 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3259 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3261 * benchtests/Makefile: Include cppflags-iterator.mk to add
3262 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3264 * Makefile.in (bench-clean): New target.
3265 * benchtests/Makefile (bench-clean): Likewise.
3267 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3269 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3271 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3273 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3275 2013-04-15 Andreas Schwab <schwab@suse.de>
3277 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3278 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3279 * nscd/pwdcache.c (cache_addpw): Likewise.
3280 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3283 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3285 * benchtests/Makefile (bench): Write all output to
3286 bench-out.tmp together.
3288 2013-04-15 Andreas Schwab <schwab@suse.de>
3290 * nscd/nscd.c (main): Don't fork again after closing files.
3292 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3296 * benchtests/Rules (bench-deps): Collect dependencies into a
3297 single variable. Add Makefile to dependencies.
3298 ($(objpfx)bench-%.c): Depend on bench-deps.
3300 2013-04-12 Roland McGrath <roland@hack.frob.com>
3301 Xavier Roche <roche+kml2@exalead.com>
3304 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3305 just that it's a file descriptor.
3306 * manual/llio.texi (Synchronizing AIO Operations): Update description
3307 for EBADF error from aio_fsync.
3309 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3311 * Rules (bench): Move target definition...
3312 * benchtests/Makefile: ... here.
3314 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3316 * math/libm-test.inc (cos_test): Fix PI/2 test.
3317 (sincos_test): Likewise.
3318 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3319 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3321 2013-04-11 Andreas Schwab <schwab@suse.de>
3324 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3325 accept exponent character only when digits were seen.
3326 * stdio-common/Makefile (tests): Add bug26.
3327 * stdio-common/bug26.c: New file.
3330 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3333 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3335 * Makeconfig (rtld-prefix): Define built linker prefix.
3336 * Rules (run-bench): Use it.
3337 * math/Makefile (run-regen-ulps): Likewise.
3339 * Rules (bench): Remove eval.
3341 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3342 Roland McGrath <roland@hack.frob.com>
3343 Ondrej Bilka <neleai@seznam.cz>
3346 * time/getdate.c: Include ctype.h and alloca.h.
3347 (__getdate_r): Trim leading and trailing spaces of input.
3348 * time/tst-getdate.c (tests): Add tests with leading and
3351 2013-04-08 Roland McGrath <roland@hack.frob.com>
3354 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3355 when computing value.
3357 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3359 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3360 Use testrun.sh to run libm tests.
3363 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3365 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3368 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3370 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3372 * Makefile.in (regen-ulps): New target.
3373 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3374 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3375 [ifneq (no,$(PERL)] (regen-ulps): New target.
3376 [ifeq (no,$(PERL)] (regen-ulps): New target.
3377 * math/libm-test.inc (ulps_file_name): Define.
3378 (output_dir): New variable.
3379 (options): Add "output-dir" option.
3380 (parse_opt): Handle 'o' case.
3381 (main): If output_dir is non-NULL use it as a prefix
3383 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3385 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3388 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3389 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3390 fail configure if __sync_val_compare_and_swap is not inlined.
3391 * sysdeps/i386/configure: Regenerate.
3392 * configure.in: Build for i686 when configured for i386.
3393 * configure: Regenerate.
3394 * README: Remove i386 reference.
3396 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3398 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3401 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3403 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3404 (lmsnanval): New variables.
3405 (F): Add conversion tests.
3406 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3407 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3409 * stdio-common/tstdiomisc.c (F): Properly collect individual
3413 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3414 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3415 Instead, use input NaN values or generate a qNaN by arithmetic
3416 operation. Also fix bugs to comply with the standard.
3417 * math/libm-test.inc (remainder_test): Add more tests.
3420 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3422 input NaN values or generate a qNaN by arithmetic operation.
3424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3427 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3430 2013-04-03 Joseph Myers <joseph@codesourcery.com>
3433 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3435 * math/s_cexpf.c (__cexpf): Likewise.
3436 * math/s_cexpl.c (__cexpl): Likewise.
3437 * math/libm-test.inc (cexp_test): Add more tests.
3439 2013-04-03 Andreas Schwab <schwab@suse.de>
3442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3443 order arrays from heap if bigger than alloca cutoff.
3445 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3447 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3448 (SNAN_TESTS_double): Refer to GCC PR56831.
3449 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3452 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3454 * Rules (bench): Move bench.out after the run is complete.
3456 * Rules (bench): Echo currently running benchmark.
3458 * benchtests/Makefile (bench): Add atan and slowatan.
3459 * benchtests/atan-inputs: New file.
3460 * benchtests/slowatan-inputs: New file.
3461 * benchtests/slowatan.c: New file.
3463 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3468 * sysdeps/unix/sysv/linux/kernel-features.h
3469 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3470 __ASSUME_XFS_RESTRICTED_CHOWN.
3471 * sysdeps/unix/sysv/linux/pathconf.c
3472 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3473 Save and restore errno.
3475 2013-04-02 Joseph Myers <joseph@codesourcery.com>
3478 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3479 arguments using __kernel_casinh.
3480 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3481 arguments using __kernel_casinhf.
3482 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3483 arguments using __kernel_casinhl.
3484 * math/libm-test.inc (cacosh_test): Add more tests.
3485 * sysdeps/i386/fpu/libm-test-ulps: Update.
3486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3488 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3490 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3493 * bench/Makefile (bench): Add sin and slowsin.
3494 * benchtests/sin-inputs: New file.
3495 * benchtests/slowsin-inputs: New file.
3496 * benchtests/slowsin.c: New file.
3498 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3499 (bench): Add slowexp and slowpow.
3500 (exp-ITER): Increase iterations.
3501 (pow-ITER): Likewise.
3502 * benchtests/exp-inputs: Change input.
3503 * benchtests/pow-inputs: Likewise.
3504 * benchtests/slowexp-inputs: New file.
3505 * benchtests/slowexp.c: New file.
3506 * benchtests/slowpow-inputs: New file.
3507 * benchtests/slowpow.c: New file.
3509 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3511 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3513 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3516 * benchtests/Makefile: Add rint benchtest.
3517 * benchtests/rint-inputs: Input for rint benchtest.
3519 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3521 * Versions.def (libm): Add GLIBC_2.18.
3522 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3523 hidden libm prototypes.
3524 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3525 * math/Makefile (libm-calls): Add s_issignaling.
3526 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3527 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3528 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3530 * math/math.h [__USE_GNU] (issignaling): New macro.
3531 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3532 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3533 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3534 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3537 * manual/arith.texi (issignaling): New section.
3538 * manual/libm-err-tab.pl (@all_functions): Update comment.
3539 * math/gen-libm-test.pl (parse_args): Apply special handling for
3541 * math/libm-test.inc (print_float, issignaling_test): New
3543 (check_float_internal): Add issignaling checks.
3544 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3546 * sysdeps/powerpc/math-tests.h: New file.
3547 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3549 * math/test-snan.c (TEST_FUNC): Likewise.
3551 2013-03-30 David S. Miller <davem@davemloft.net>
3553 * po/de.po: Update from translation team.
3555 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3558 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3559 imaginary part less than 1.0 and real part less than 0.5
3561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3563 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3564 (cacos_test): Add more tests.
3565 (casin_test): Likewise.
3566 (casinh_test): Likewise.
3567 * sysdeps/i386/fpu/libm-test-ulps: Update.
3568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3570 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3572 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3575 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3576 (__pow_mp): Replace ONE and MONE with their values.
3577 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3579 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3580 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3581 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3584 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3586 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3587 (__pow_mp): Replace ZERO and MZERO with their values.
3588 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3590 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3593 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3596 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3598 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3600 2013-03-28 Roland McGrath <roland@hack.frob.com>
3602 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3603 Declare with __attribute__ ((weak)).
3604 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3605 Call __call_tls_dtors only if it's not NULL.
3607 2013-03-28 Roland McGrath <roland@hack.frob.com>
3609 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3610 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3611 magic __ehdr_start linker symbol if it's defined.
3612 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3613 them up here if it was already done.
3615 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3616 (_dl_aux_init): Use const in cast when setting it.
3617 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3618 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3619 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3621 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3623 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3624 * csu/libc-tls.c: Nor here.
3625 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3627 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3628 (__libc_message): Never call vsyslog.
3630 2013-03-28 Alan Modra <amodra@gmail.com>
3632 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3634 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3637 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3644 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3647 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3648 Don't add gid passed as argument.
3650 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3652 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3655 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3656 imaginary part between 1.0 and 1.5 and real part less than 0.5
3658 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3659 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3660 * math/libm-test.inc (cacos_test): Add more tests.
3661 (casin_test): Likewise.
3662 (casinh_test): Likewise.
3663 * sysdeps/i386/fpu/libm-test-ulps: Update.
3664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3666 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3668 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3672 (__dbl_mp): Likewise.
3673 (add_magnitudes): Likewise.
3674 (sub_magnitudes): Likewise.
3682 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3684 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3685 (__dubcos): Likewise.
3686 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3687 (__ieee754_acos): Likewise.
3688 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3689 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3691 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3694 (my_log2): Likewise.
3695 (checkint): Likewise.
3696 * sysdeps/ieee754/dbl-64/e_remainder.c
3697 (__ieee754_remainder): Likewise.
3698 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3703 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3705 MANTISSA_STORE_T to store computations on mantissa. Use
3706 macros for rounding and division.
3708 (__dbl_mp): Likewise.
3709 (add_magnitudes): Likewise.
3710 (sub_magnitudes): Likewise.
3713 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3714 powers of two in terms of TWOPOW macro.
3715 (mp_no): Make type of mantissa as MANTISSA_T.
3716 [!RADIXI]: Define RADIXI.
3717 [!TWO52]: Define TWO52.
3718 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3720 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3722 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3723 llroundl symbol when building for PPC32.
3725 2013-03-24 Mark H Weaver <mhw@netris.org>
3727 * manual/arith.texi (Normalization Functions): Fix prototypes for
3728 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3730 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3734 high value to check if expl overflow.
3735 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3736 to check for underflow and overflow.
3737 * math/libm-test.inc: Add exp test.
3739 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3742 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3745 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3750 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3752 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3753 wrap blocks consisting of several statements.
3755 * sysdeps/generic/math-tests.h: New file.
3756 * sysdeps/i386/fpu/math-tests.h: Likewise.
3757 * math/test-snan.c: Include it.
3758 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3760 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3764 (__ieee754_j0l): Do not improve calculations using cos of twice
3765 input for inputs above LDBL_MAX / 2.0L.
3766 (__ieee754_y0l): Likewise.
3767 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3768 (__ieee754_j1l): Do not improve calculations using cos of twice
3769 input for inputs above LDBL_MAX / 2.0L.
3770 (__ieee754_y1l): Likewise.
3771 * math/libm-test.inc (j0_test): Add another test.
3772 (j1_test): Likewise.
3773 (y0_test): Likewise.
3774 (y1_test): Likewise.
3775 * sysdeps/i386/fpu/libm-test-ulps: Update.
3777 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3779 * Rules ($(objpfx)bench-%.c): Include code from a C source
3782 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3785 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3786 imaginary part 1.0 and real part less than 0.5 specially.
3787 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3788 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3789 * math/libm-test.inc (cacos_test): Add more tests.
3790 (casin_test): Likewise.
3791 (casinh_test): Likewise.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update.
3793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3795 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3797 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3798 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3800 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3802 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3803 * config.make.in (config-cflags-sse4): Remove variable.
3804 (config-cflags-avx): Likewise.
3805 (config-cflags-sse2avx): Likewise.
3806 (config-cflags-novzeroupper): Likewise.
3807 (config-asflags-i686): Likewise.
3808 (have-mfma4): Likewise.
3809 (have-as-vis3): Likewise.
3811 * configure.in (MIG): Do not AC_SUBST.
3812 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3813 (libc_cv_cc_sse4): Do not AC_SUBST.
3814 (libc_cv_cc_avx): Likewise.
3815 (libc_cv_cc_sse2avx): Likewise.
3816 (libc_cv_cc_novzeroupper): Likewise.
3817 (libc_cv_cc_fma4): Likewise.
3818 (libc_cv_as_i686): Likewise.
3819 (libc_cv_sparc_as_vis3): Likewise.
3820 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3822 (config-asflags-i686): Likewise.
3823 (config-cflags-avx): Likewise.
3824 (config-cflags-sse2avx): Likewise.
3825 (have-mfma4): Likewise.
3826 (config-cflags-novzeroupper): Likewise.
3827 * sysdeps/mach/configure.in (MIG): Likewise.
3828 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3829 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3831 (config-cflags-avx): Likewise.
3832 (config-cflags-sse2avx): Likewise.
3833 (have-mfma4): Likewise.
3834 (config-cflags-novzeroupper): Likewise.
3835 * configure: Regenerated.
3836 * sysdeps/i386/configure: Likewise.
3837 * sysdeps/mach/configure: Likewise.
3838 * sysdeps/sparc/configure: Likewise.
3839 * sysdeps/x86_64/configure: Likewise.
3841 2013-03-20 Roland McGrath <roland@hack.frob.com>
3844 * locale/programs/localedef.c (options): Put N_ translation marker
3845 on argument names, not just descriptions.
3847 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3849 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3851 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
3854 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3856 2013-03-19 Roland McGrath <roland@hack.frob.com>
3858 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3859 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3860 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3861 [!BEFORE_ABORT] (before_abort): New function.
3862 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3863 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3864 (writev_for_fatal): New function.
3865 (WRITEV_FOR_FATAL): New macro; call that.
3866 (backtrace_and_maps): New function.
3867 (BEFORE_ABORT): New macro; call that.
3868 (struct str_list): Type removed.
3869 (__libc_message, __libc_fatal): Functions removed.
3870 Include <sysdeps/posix/libc_fatal.c> instead.
3872 2013-03-19 Joseph Myers <joseph@codesourcery.com>
3874 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3876 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3879 2013-03-19 Andreas Schwab <schwab@suse.de>
3881 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3882 * sysdeps/gnu/configure: Regenerate.
3884 * configure.in: Substitute libc_cv_rtlddir.
3885 * configure: Regenerate.
3886 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3887 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3888 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3889 * elf/Makefile (install-others, CFLAGS-interp.c)
3890 (ldso_install, common-ldd-rewrite): Likewise.
3891 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3892 $(inst_slibdir)/$(rtld-installed-name).
3893 * scripts/rellns-sh: Add -p option.
3894 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3897 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3899 * manual/nptl.texi: Renamed to ...
3900 * manual/threads.texi: ... this.
3901 * manual/Makefile (chapters): Update.
3903 2013-03-18 Roland McGrath <roland@hack.frob.com>
3906 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3907 on argument names, not just descriptions.
3908 * malloc/memusagestat.c (options): Likewise.
3909 * nss/getent.c (options): Likewise.
3911 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
3914 * iconv/iconv_prog.c (options): Put N_ translation marker
3915 on argument names, not just descriptions.
3916 * iconv/iconvconfig.c (options): Likewise.
3918 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
3920 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3921 implementation which is faster on all x86_64 architectures.
3922 Tested on AMD, Intel Nehalem, SNB, IVB.
3923 * sysdeps/x86_64/strnlen.S: Likewise.
3925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3926 Remove all multiarch strlen and strnlen versions.
3927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3928 Remove strlen and strnlen related parts.
3930 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3932 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3934 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3935 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3936 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3937 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3938 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3939 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3941 2013-03-17 Carlos O'Donell <carlos@redhat.com>
3943 * manual/memory.texi (Malloc Tunable Parameters):
3944 Sort parameters alphabetically. Add comments for missing entries.
3946 2013-03-17 David S. Miller <davem@davemloft.net>
3948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3950 2013-03-16 Joseph Myers <joseph@codesourcery.com>
3953 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3954 for arguments at most half maximum finite value.
3955 * math/libm-test.inc (j0_test): Add more tests.
3956 (j1_test): Likewise.
3957 (y0_test): Likewise.
3958 (y1_test): Likewise.
3959 * sysdeps/i386/fpu/libm-test-ulps: Update.
3960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3963 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3964 1 / x and functions P and Q for arguments above 0x1p256L.
3965 (__ieee754_y0l): Likewise.
3966 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3967 (__ieee754_y1l): Likewise.
3968 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3969 (j1_test): Likewise.
3970 (y0_test): Likewise.
3971 (y1_test): Likewise.
3973 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3975 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3978 2013-03-15 Roland McGrath <roland@hack.frob.com>
3980 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3981 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3982 zero since it's initialized to EXEC_PAGESIZE.
3984 * sysdeps/unix/sysv/linux/ldsodefs.h
3985 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3986 * sysdeps/generic/ldsodefs.h: ... here.
3988 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3990 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3992 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3994 * math/test-snan.c: Renamed from
3995 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3996 * math/Makefile (tests): Add test-snan.
3997 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4000 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4001 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4003 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4004 __builtin_nan family of functions.
4005 * math/libm-test.inc (initialize): Initialize qnan_value with
4006 __builtin_nan family of functions.
4007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4009 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4011 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4012 storage class. Initialize qNaN_var and sNaN_var with
4013 __builtin_nan and __builtin_nans families of functions,
4016 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4017 (sqrt_test): Remove duplicate test with qNaN input.
4018 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4019 (round_test, signbit_test, significand_test): Note missing +/-Inf
4020 as well as qNaN tests.
4022 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4023 qNaN_var. Fix a few strings, too.
4024 * math/libm-test.inc (nan_value): Rename to qnan_value.
4025 * math/gen-libm-test.pl (%beautify): Adjust to that.
4026 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4027 * math/test-misc.c (main): Likewise.
4028 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4029 to __qnan_bytes, and __qnan_union, respectively.
4030 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4032 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4033 and lqnanval, respectively.
4034 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4035 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4037 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4039 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4040 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4043 * math/test-misc.c (main): Fix copy'n'pastos.
4044 * misc/tst-efgcvt.c (special): Likewise.
4046 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4047 Remove declarations.
4049 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4051 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4052 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4053 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4054 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4056 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4058 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4059 macro to return vdso values correctly in IFUNC implementations.
4060 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4061 Optimization by using IFUNC.
4063 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4064 Richard Henderson <rth@redhat.com>
4065 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4067 * Makefile.in (bench): New target.
4068 * NEWS: Mention the benchmark framework.
4069 * Rules (bench): Likewise.
4070 (binaries-bench): Generate binaries for functions to
4072 * benchtests/Makefile: New makefile for benchmark tests.
4073 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4075 * benchtests/exp-inputs: New input file for EXP function.
4076 * benchtests/pow-inputs: New input file for POW function.
4077 * scripts/bench.pl: New script to generate source files for
4080 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4082 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4083 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4084 computations on mantissa. Use macros for rounding and
4087 (__dbl_mp): Likewise.
4088 (add_magnitudes): Likewise.
4089 (sub_magnitudes): Likewise.
4092 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4093 powers of two in terms of TWOPOW macro.
4094 (mp_no): Make type of mantissa as MANTISSA_T.
4095 [!RADIXI]: Define RADIXI.
4096 [!TWO52]: Define TWO52.
4097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4099 * manual/nptl.texi (cindex): Modify threads to pthreads.
4101 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4103 * sysdeps/x86_64/preconfigure: Regenerated.
4105 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4108 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4110 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4111 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4113 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4114 * math/libm-test.inc (j0_test): Do not allow one spurious
4115 underflow exception.
4116 (y1_test): Likewise.
4118 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4120 * manual/Makefile (chapters): Add nptl.
4121 * manual/debug.texi (Debugging Support): Add link to Threads
4123 * manual/nptl.texi: New file.
4125 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4127 2013-03-14 Petr Baudis <pasky@ucw.cz>
4129 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4130 for non-NULL pointer before the memory validity test. Pointed
4131 out by Holger Brunck <holger.brunck@keymile.com>.
4133 2013-03-13 Andreas Schwab <schwab@suse.de>
4135 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4138 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4140 * timezone/zic.c: Update from tzcode 2013b.
4142 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4144 * manual/install.texi (Configuring and compiling):
4145 Mention i686 and i586.
4146 * INSTALL: Regenerate.
4148 2013-03-12 Roland McGrath <roland@hack.frob.com>
4150 * sysdeps/init_array/elf-init.c: New file.
4152 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4153 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4155 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4156 __gmon_start__ as global, but as static with a .preinit_array pointer.
4157 * sysdeps/init_array/gmon-start.c: New file. Use that.
4158 * sysdeps/init_array/crti.S: New file, empty except for comments.
4159 * sysdeps/init_array/crtn.S: Likewise.
4161 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4163 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4166 Remove Prefer_SSE_for_memop.
4167 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4168 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4169 HAS_PREFER_SSE_FOR_MEMOP.
4170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4173 Remove bzero, memset ifunc support.
4174 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4176 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4177 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4179 2013-03-11 Andreas Schwab <schwab@suse.de>
4182 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4185 (GLIBC_2.16): Remove pthread_atfork.
4187 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4189 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4190 (ptestcases.h): Likewise.
4192 2013-03-08 Roland McGrath <roland@hack.frob.com>
4194 * Makeconfig ($(common-objpfx)config.status): Depend on
4195 sysdeps/*/preconfigure{,.in} too.
4197 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4199 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4200 (__free_hook): Use void * instead of __malloc_ptr_t.
4201 (__malloc_hook): Likewise.
4202 (__realloc_hook): Likewise.
4203 (__memalign_hook): Likewise.
4204 (__after_morecore_hook): Likewise.
4205 * malloc/arena.c (save_malloc_hook): Likewise.
4206 (save_free_hook): Likewise.
4207 * malloc/hooks.c (malloc_hook_ini): Likewise.
4208 (realloc_hook_ini): Likewise.
4209 (memalign_hook_ini): Likewise.
4210 * malloc/malloc.c (malloc_hook_ini): Likewise.
4211 (realloc_hook_ini): Likewise.
4212 (memalign_hook_ini): Likewise.
4213 (__free_hook): Likewise.
4214 (__malloc_hook): Likewise.
4215 (__realloc_hook): Likewise.
4216 (__memalign_hook): Likewise.
4217 (__libc_malloc): Likewise.
4218 (__libc_free): Likewise.
4219 (__libc_realloc): Likewise.
4220 (__libc_memalign): Likewise.
4221 (__libc_valloc): Likewise.
4222 (__libc_pvalloc): Likewise.
4223 (__libc_calloc): Likewise.
4224 (__posix_memalign): Likewise.
4225 * malloc/morecore.c (__sbrk): Likewise.
4226 (__default_morecore): Likewise.
4228 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4230 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4231 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4234 * malloc/malloc.h (__malloc_size_t): Remove macro.
4235 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4237 (old_memalign_hook): Likewise.
4238 (old_realloc_hook): Likewise.
4239 (struct hdr): Likewise.
4241 (mallochook): Likewise.
4242 (memalignhook): Likewise.
4243 (reallochook): Likewise.
4244 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4245 (tr_old_realloc_hook): Likewise.
4246 (tr_old_memalign_hook): Likewise.
4247 (tr_mallochook): Likewise.
4248 (tr_reallochook): Likewise.
4249 (tr_memalignhook): Likewise.
4251 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4254 default_ldbl_pack and using as default implementation.
4255 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4257 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4258 redundant definition.
4259 (ldbl_insert_mantissa): Likewise.
4260 (ldbl_canonicalize): Likewise.
4261 (ldbl_nearbyint): Likewise.
4262 (ldbl_pack): Rename to ldbl_pack_ppc.
4263 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4264 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4265 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4267 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4270 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4272 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4275 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4276 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4278 2013-03-07 Andreas Jaeger <aj@suse.de>
4280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4283 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4285 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4286 Include mpa.h and declare __MPEXP.
4287 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4288 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4289 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4290 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4292 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4293 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4295 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4296 (__slowpow): Use long double EXPL and LOGL functions to
4298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4299 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4302 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4303 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4306 intermediate variable to calculate exponent.
4308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4312 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4313 [!NO__SQR]: Define __sqr.
4314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4315 and NO__SQR. Remove all code except __mul and __sqr. Include
4316 sysdeps/ieee754/dbl-64/mpa.c.
4317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4320 * posix/Makefile (tests): Add tst-pathconf.
4321 * posix/tst-pathconf.c: New test case.
4322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4324 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4326 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4328 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4330 2013-03-06 Andreas Jaeger <aj@suse.de>
4332 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4333 definition via __MAP_ANONYMOUS.
4335 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4336 it's not part of Linux headers.
4338 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4339 (MAP_HUGE_MASK): Define.
4341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4343 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4344 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4346 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4347 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4349 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4350 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4352 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4354 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4355 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4356 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4357 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4358 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4365 Handle f2fs and efivarfs.
4367 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4370 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4371 (EFIVARFS_MAGIC): Add.
4372 (F2FS_LINK_MAX): Add.
4374 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4376 * stdio-common/vfprintf.c: Replace __builtin_expect with
4379 2013-03-06 Joseph Myers <joseph@codesourcery.com>
4382 * sysdeps/generic/bp-sym.h: Remove file.
4383 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4384 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4385 <bp-sym.h> and <bp-asm.h>.
4386 (__longjmp): Don't use BP_SYM.
4387 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4389 (memcpy): Don't use BP_SYM.
4390 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4391 <bp-sym.h> and <bp-asm.h>.
4392 (memcpy): Don't use BP_SYM.
4393 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4395 (memcpy): Don't use BP_SYM.
4396 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4398 (memset): Don't use BP_SYM.
4399 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4400 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4401 (__bzero): Don't use BP_SYM.
4402 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4403 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4404 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4405 <bp-sym.h> and <bp-asm.h>.
4406 (memcmp): Don't use BP_SYM. Remove comment about bounded
4408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4409 <bp-sym.h> and <bp-asm.h>.
4410 (memcpy): Don't use BP_SYM.
4411 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4412 <bp-sym.h> and <bp-asm.h>.
4413 (memset): Don't use BP_SYM.
4414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4416 (__bzero): Don't use BP_SYM.
4417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4419 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4420 <bp-sym.h> and <bp-asm.h>.
4421 (strncmp): Don't use BP_SYM. Remove comment about bounded
4423 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4424 <bp-sym.h> and <bp-asm.h>.
4425 (memcpy): Don't use BP_SYM.
4426 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4427 <bp-sym.h> and <bp-asm.h>.
4428 (memset): Don't use BP_SYM.
4429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4431 (__bzero): Don't use BP_SYM.
4432 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4433 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4434 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4435 <bp-sym.h> and <bp-asm.h>.
4436 (__memchr): Don't use BP_SYM.
4437 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4438 <bp-sym.h> and <bp-asm.h>.
4439 (memcmp): Don't use BP_SYM. Remove comment about bounded
4441 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4442 <bp-sym.h> and <bp-asm.h>.
4443 (memcpy): Don't use BP_SYM.
4444 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4445 <bp-sym.h> and <bp-asm.h>.
4446 (__mempcpy): Don't use BP_SYM.
4447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4448 <bp-sym.h> and <bp-asm.h>.
4449 (__memrchr): Don't use BP_SYM.
4450 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4451 <bp-sym.h> and <bp-asm.h>.
4452 (memset): Don't use BP_SYM.
4453 (__bzero): Likewise.
4454 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4455 <bp-sym.h> and <bp-asm.h>.
4456 (__rawmemchr): Don't use BP_SYM.
4457 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4458 <bp-sym.h> and <bp-asm.h>.
4459 (__STRCMP): Don't use BP_SYM.
4460 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4461 <bp-sym.h> and <bp-asm.h>.
4462 (strchr): Don't use BP_SYM.
4463 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4464 <bp-sym.h> and <bp-asm.h>.
4465 (__strchrnul): Don't use BP_SYM.
4466 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4467 <bp-sym.h> and <bp-asm.h>.
4468 (strlen): Don't use BP_SYM.
4469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4470 <bp-sym.h> and <bp-asm.h>.
4471 (strncmp): Don't use BP_SYM. Remove comment about bounded
4473 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4474 <bp-sym.h> and <bp-asm.h>.
4475 (__strnlen): Don't use BP_SYM.
4476 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4477 <bp-sym.h> and <bp-asm.h>.
4478 (__GI__setjmp): Don't use BP_SYM.
4479 (_setjmp): Likewise.
4480 (__sigsetjmp): Likewise.
4481 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4482 (L(start_addresses)): Don't use BP_SYM.
4484 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4486 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4487 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4488 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4489 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4490 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4492 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4493 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4494 about bounded pointers.
4495 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4496 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4497 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4499 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4500 about bounded pointers. Remove GKM FIXME comments.
4501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4502 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4504 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4505 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4506 Remove GKM FIXME comments.
4507 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4508 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4509 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4511 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4512 about bounded pointers. Remove GKM FIXME comment.
4513 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4515 (strncmp): Don't use BP_SYM. Remove comment about bounded
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4518 <bp-sym.h> and <bp-asm.h>.
4519 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4521 <bp-sym.h> and <bp-asm.h>.
4522 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4525 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4527 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4530 2013-03-05 David S. Miller <davem@davemloft.net>
4532 * po/es.po: Update from translation team.
4534 2013-03-05 Andreas Jaeger <aj@suse.de>
4536 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4537 <bits/mman-linux.h>.
4538 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4541 <bits/mman-linux.h> to end of file.
4542 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4545 <bits/mman-linux.h> to end of file.
4546 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4549 <bits/mman-linux.h> to end of file.
4551 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4552 (MCL_CURRENT, MCL_FUTURE): Define here.
4554 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4559 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4561 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4563 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4564 fourth parameter needed for rt_sigprocmask syscall.
4565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4566 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4569 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4570 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4572 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4575 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4576 comment about bounded pointers.
4577 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4578 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4580 2013-03-04 Andreas Jaeger <aj@suse.de>
4582 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4586 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4592 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4596 __ieee754_sqrl instead of __sqrl.
4598 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4600 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4601 * sysdeps/powerpc/fpu_control.h: ... here.
4602 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4603 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4604 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4605 * sysdeps/powerpc/bits/mathinline.h: ... here.
4607 2013-03-01 Roland McGrath <roland@hack.frob.com>
4609 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4610 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4611 to just [NEED_DL_SYSINFO_DSO].
4612 * elf/dl-support.c: Likewise.
4613 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4614 * elf/rtld.c (dl_main): Likewise.
4615 * elf/setup-vdso.h (setup_vdso): Likewise.
4616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4617 * sysdeps/unix/sysv/linux/dl-sysdep.c
4618 (_dl_discover_osversion): Likewise.
4620 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4622 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4623 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4625 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4627 * NEWS: Mention libm performance improvements and non-x86 PI
4630 * csu/libc-start.c (__pthread_initialize_minimal): Change
4632 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4634 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4637 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4638 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4639 <bp-sym.h> and <bp-asm.h>.
4640 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4641 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4643 (memcpy): Don't use BP_SYM.
4644 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4646 (__mpn_add_n): Don't use BP_SYM.
4647 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4648 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4650 (__mpn_addmul_1): Don't use BP_SYM.
4651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4652 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4654 (_setjmp): Don't use BP_SYM.
4655 (__novmx_setjmp): Likewise.
4656 (__GI__setjmp): Likewise.
4657 (__vmx_setjmp): Likewise.
4658 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4660 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4661 (__bzero): Don't use BP_SYM.
4662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4664 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4665 <bp-sym.h> and <bp-asm.h>.
4666 (memcpy): Don't use BP_SYM.
4667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4668 <bp-sym.h> and <bp-asm.h>.
4669 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4671 <bp-sym.h> and <bp-asm.h>.
4672 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4673 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4675 (__mpn_lshift): Don't use BP_SYM.
4676 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4677 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4679 (memset): Don't use BP_SYM.
4680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4682 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4684 (__mpn_mul_1): Don't use BP_SYM.
4685 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4687 <bp-sym.h> and <bp-asm.h>.
4688 (memcmp): Don't use BP_SYM.
4689 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4690 <bp-sym.h> and <bp-asm.h>.
4691 (memcpy): Don't use BP_SYM.
4692 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4693 <bp-sym.h> and <bp-asm.h>.
4694 (memset): Don't use BP_SYM.
4695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4696 <bp-sym.h> and <bp-asm.h>.
4697 (strncmp): Don't use BP_SYM.
4698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4699 <bp-sym.h> and <bp-asm.h>.
4700 (memcpy): Don't use BP_SYM.
4701 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4702 <bp-sym.h> and <bp-asm.h>.
4703 (memset): Don't use BP_SYM.
4704 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4705 <bp-sym.h> and <bp-asm.h>.
4706 (__memchr): Don't use BP_SYM.
4707 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4708 <bp-sym.h> and <bp-asm.h>.
4709 (memcmp): Don't use BP_SYM.
4710 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4711 <bp-sym.h> and <bp-asm.h>.
4712 (memcpy): Don't use BP_SYM.
4713 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4714 <bp-sym.h> and <bp-asm.h>.
4715 (__mempcpy): Don't use BP_SYM.
4716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4717 <bp-sym.h> and <bp-asm.h>.
4718 (__memrchr): Don't use BP_SYM.
4719 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4720 <bp-sym.h> and <bp-asm.h>.
4721 (memset): Don't use BP_SYM.
4722 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4723 <bp-sym.h> and <bp-asm.h>.
4724 (__rawmemchr): Don't use BP_SYM.
4725 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4726 <bp-sym.h> and <bp-asm.h>.
4727 (__STRCMP): Don't use BP_SYM.
4728 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4729 <bp-sym.h> and <bp-asm.h>.
4730 (strchr): Don't use BP_SYM.
4731 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4732 <bp-sym.h> and <bp-asm.h>.
4733 (__strchrnul): Don't use BP_SYM.
4734 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4735 <bp-sym.h> and <bp-asm.h>.
4736 (strlen): Don't use BP_SYM.
4737 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4738 <bp-sym.h> and <bp-asm.h>.
4739 (strncmp): Don't use BP_SYM.
4740 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4741 <bp-sym.h> and <bp-asm.h>.
4742 (__strnlen): Don't use BP_SYM.
4743 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4745 (__mpn_rshift): Don't use BP_SYM.
4746 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4747 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4748 <bp-sym.h> and <bp-asm.h>.
4749 (__sigsetjmp): Don't use BP_SYM.
4750 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4751 (L(start_addresses)): Don't use BP_SYM.
4753 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4755 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4756 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4757 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4758 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4760 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4761 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4762 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4763 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4765 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4767 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4768 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4770 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4772 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4773 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4774 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4776 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4778 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4780 (strncmp): Don't use BP_SYM,
4781 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4783 (__mpn_sub_n): Don't use BP_SYM.
4784 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4785 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4787 (__mpn_submul_1): Don't use BP_SYM.
4788 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4790 <bp-sym.h> and <bp-asm.h>.
4791 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4793 <bp-sym.h> and <bp-asm.h>.
4794 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4797 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4800 Use ZK to minimize writes to Z.
4801 (sub_magnitudes): Simplify code a bit.
4802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4803 Use ZK to minimize writes to Z.
4804 (sub_magnitudes): Simplify code a bit.
4806 2013-02-27 Roland McGrath <roland@hack.frob.com>
4808 * csu/gmon-start.c: Add special exception to license text.
4810 2013-02-27 Richard Henderson <rth@redhat.com>
4812 * scripts/config.guess: Update from config.git.
4813 * scripts/config.sub: Likewise.
4815 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4819 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4821 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4823 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4825 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4827 2013-02-26 Roland McGrath <roland@hack.frob.com>
4829 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4830 [$(build-shared = yes].
4832 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4834 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4835 (__mul): Reduce iterations for calculating mantissa.
4837 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4839 (__mpranred): Likewise.
4842 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4843 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4845 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4847 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4848 Define __attribute__.
4850 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4852 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4854 * posix/regex_internal.h (__attribute): Remove.
4855 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4856 (re_string_context_at): Likewise.
4857 (bitset_not): Use __attribute__ and mark function as possibly
4859 (bitset_merge): Likewise.
4860 (bitset_mask): Likewise.
4861 (re_string_char_size_at): Likewise.
4862 (re_string_wchar_at): Likewise.
4863 (re_string_elem_size_at): Likewise.
4865 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4867 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4871 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4876 (__dbl_mp): Likewise.
4877 (add_magnitudes): Likewise.
4878 (sub_magnitudes): Likewise.
4882 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4885 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4888 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4892 up changes with default code.
4893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4896 2013-02-24 Allan McRae <allan@archlinux.org>
4898 * manual/socket.texi (The Internet Namespace): Order menu items
4899 to match that in the file.
4901 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4902 node listing of the info page menu.
4904 2013-02-21 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/i386/bp-asm.h: Remove file.
4908 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4909 (PARMS): Do not use macros from bp-asm.h.
4913 (__mpn_add_n): Do not use BP_SYM
4914 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4916 (PARMS): Do not use macros from bp-asm.h.
4919 (__mpn_addmul_1): Do not use BP_SYM
4920 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4922 (PARMS): Do not use macros from bp-asm.h.
4924 (_setjmp): Likewise. Do not use BP_SYM.
4925 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4927 (PARMS): Do not use macros from bp-asm.h.
4929 (setjmp): Likewise. Do not use BP_SYM.
4930 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4932 (PARMS): Do not use macros from bp-asm.h.
4933 (__frexp): Do not use BP_SYM.
4935 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4937 (PARMS): Do not use macros from bp-asm.h.
4938 (__frexpf): Do not use BP_SYM.
4940 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4942 (PARMS): Do not use macros from bp-asm.h.
4943 (__frexpl): Do not use BP_SYM.
4945 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4947 (PARMS): Do not use macros from bp-asm.h.
4948 (__remquo): Do not use BP_SYM.
4950 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4952 (PARMS): Do not use macros from bp-asm.h.
4953 (__remquof): Do not use BP_SYM.
4954 (remquof): Likewise.
4955 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4957 (PARMS): Do not use macros from bp-asm.h.
4958 (__remquol): Do not use BP_SYM.
4959 (remquol): Likewise.
4960 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4962 (PARMS): Do not use macros from bp-asm.h.
4965 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4966 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4968 (PARMS): Do not use macros from bp-asm.h.
4969 (strlen): Do not use BP_SYM.
4970 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4972 (PARMS): Do not use macros from bp-asm.h.
4976 (__mpn_add_n): Do not use BP_SYM.
4977 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4979 (PARMS): Do not use macros from bp-asm.h.
4982 (__mpn_addmul_1): Do not use BP_SYM.
4983 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4986 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4988 (PARMS): Do not use macros from bp-asm.h.
4991 (__mpn_lshift): Do not use BP_SYM.
4992 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4994 (PARMS): Do not use macros from bp-asm.h.
4998 (memcpy): Likewise. Do not use BP_SYM.
4999 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5000 libc_hidden_def and weak_alias.
5001 (mempcpy): Do not use BP_SYM in weak_alias.
5002 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5004 (PARMS): Do not use macros from bp-asm.h.
5007 [!BZERO_P] (CHR): Likewise.
5008 (memset): Likewise. Do not use BP_SYM.
5009 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5011 (PARMS): Do not use macros from bp-asm.h.
5014 (__mpn_mul_1): Do not use BP_SYM.
5015 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5017 (PARMS): Do not use macros from bp-asm.h.
5020 (__mpn_rshift): Do not use BP_SYM.
5021 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5023 (PARMS): Do not use macros from bp-asm.h.
5026 (strchr): Likewise. Do not use BP_SYM.
5027 (index): Do not use BP_SYM in weak_alias.
5028 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5030 (PARMS): Do not use macros from bp-asm.h.
5033 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5034 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5036 (PARMS): Do not use macros from bp-asm.h.
5037 (strlen): Do not use BP_SYM.
5038 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5040 (PARMS): Do not use macros from bp-asm.h.
5044 (__mpn_sub_n): Do not use BP_SYM.
5045 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5047 (PARMS): Do not use macros from bp-asm.h.
5050 (__mpn_submul_1): Do not use BP_SYM.
5051 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5053 (PARMS): Do not use macros from bp-asm.h.
5057 (__mpn_add_n): Do not use BP_SYM.
5058 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5061 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5063 (PARMS): Do not use macros from bp-asm.h.
5066 (memcmp): Do not use BP_SYM.
5067 (bcmp): Do not use BP_SYM in weak_alias.
5068 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5070 (PARMS): Do not use macros from bp-asm.h.
5074 (memcpy): Likewise. Do not use BP_SYM.
5075 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5077 (PARMS): Do not use macros from bp-asm.h.
5081 (memmove): Likewise. Do not use BP_SYM.
5082 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5084 (PARMS): Do not use macros from bp-asm.h.
5088 (__mempcpy): Likewise. Do not use BP_SYM.
5089 (mempcpy): Do not use BP_SYM in weak_alias.
5090 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5092 (PARMS): Do not use macros from bp-asm.h.
5095 [!BZERO_P] (CHR): Likewise.
5096 (memset): Likewise. Do not use BP_SYM.
5097 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5099 (PARMS): Do not use macros from bp-asm.h.
5101 (strcmp): Do not use BP_SYM.
5102 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5104 (PARMS): Do not use macros from bp-asm.h.
5107 [USE_AS_STRTOK_R] (SAVE): Likewise.
5108 (FUNCTION): Likewise. Do not use BP_SYM.
5109 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5111 (strtok_r): Likewise.
5112 (__GI___strtok_r): Likewise.
5113 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5114 (PARMS): Do not use macros from bp-asm.h.
5117 (__mpn_lshift): Do not use BP_SYM.
5118 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5119 (PARMS): Do not use macros from bp-asm.h.
5122 (__memchr): Do not use BP_SYM.
5123 (memchr): Do not use BP_SYM in weak_alias.
5124 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5125 (PARMS): Do not use macros from bp-asm.h.
5128 (memcmp): Do not use BP_SYM.
5129 (bcmp): Do not use BP_SYM in weak_alias.
5130 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5131 (PARMS): Do not use macros from bp-asm.h.
5134 (__mpn_mul_1): Do not use BP_SYM.
5135 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5137 (PARMS): Do not use macros from bp-asm.h.
5140 (__rawmemchr): Do not use BP_SYM.
5141 (rawmemchr): Do not use BP_SYM in weak_alias.
5142 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5143 (PARMS): Do not use macros from bp-asm.h.
5146 (__mpn_rshift): Do not use BP_SYM.
5147 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5148 (PARMS): Do not use macros from bp-asm.h.
5150 (__sigsetjmp): Likewise. Do not use BP_SYM.
5151 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5152 (_start): Do not use BP_SYM.
5153 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5154 (PARMS): Do not use macros from bp-asm.h.
5157 (__stpcpy): Likewise. Do not use BP_SYM.
5158 (stpcpy): Do not use BP_SYM in weak_alias.
5159 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5161 (PARMS): Do not use macros from bp-asm.h.
5165 (__stpncpy): Likewise. Do not use BP_SYM.
5166 (stpncpy): Do not use BP_SYM in weak_alias.
5167 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5168 (PARMS): Do not use macros from bp-asm.h.
5171 (strchr): Likewise. Do not use BP_SYM.
5172 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5174 (PARMS): Do not use macros from bp-asm.h.
5177 (__strchrnul): Likewise. Do not use BP_SYM.
5178 (strchrnul): Do not use BP_SYM in weak_alias.
5179 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5181 (PARMS): Do not use macros from bp-asm.h.
5183 (strcspn): Do not use BP_SYM.
5184 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5186 (PARMS): Do not use macros from bp-asm.h.
5189 (strpbrk): Likewise. Do not use BP_SYM.
5190 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5192 (PARMS): Do not use macros from bp-asm.h.
5195 (strrchr): Likewise. Do not use BP_SYM.
5196 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5197 (PARMS): Do not use macros from bp-asm.h.
5199 (strspn): Do not use BP_SYM.
5200 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5201 (PARMS): Do not use macros from bp-asm.h.
5205 (FUNCTION): Likewise. Do not use BP_SYM.
5206 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5208 (strtok_r): Likewise.
5209 (__GI___strtok_r): Likewise.
5210 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5211 (PARMS): Do not use macros from bp-asm.h.
5215 (__mpn_sub_n): Do not use BP_SYM.
5216 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5218 (PARMS): Do not use macros from bp-asm.h.
5221 (__mpn_submul_1): Do not use BP_SYM.
5222 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5224 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5226 (PARMS): Do not use macros from bp-asm.h.
5231 (__clone): Do not use BP_SYM.
5232 (clone): Do not use BP_SYM in weak_alias.
5233 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5235 (PARMS): Do not use macros from bp-asm.h.
5237 (__mmap64): Do not use BP_SYM.
5238 (mmap64): Do not use BP_SYM in weak_alias.
5239 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5240 <bp-sym.h> and <bp-asm.h>.
5241 (PARMS): Do not use macros from bp-asm.h.
5242 (__posix_fadvise64_l64): Do not use BP_SYM.
5243 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5244 (PARMS): Do not use macros from bp-asm.h.
5246 (semtimedop): Do not use BP_SYM.
5247 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5250 2013-02-21 Allan McRae <allan@archlinux.org>
5252 * manual/message.texi (Charset conversion in gettext):
5253 Move @end statement to beginning of line.
5255 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5267 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5269 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5270 tail-call to the resolved function if pltexit isn't needed.
5272 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5275 or Y being zero as being unlikely.
5276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5279 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5281 * manual/nss.texi (System Databases and Name Service Switch):
5282 Remove frobnicate @pxref.
5284 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5286 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5287 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5289 2013-02-20 Petr Machata <pmachata@redhat.com>
5291 * elf/elf.h (R_ARM_TARGET1): New macro.
5292 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5293 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5294 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5295 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5296 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5297 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5298 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5299 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5300 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5301 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5302 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5303 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5304 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5305 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5306 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5307 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5308 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5309 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5310 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5311 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5312 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5313 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5314 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5315 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5316 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5317 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5318 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5319 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5320 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5321 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5322 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5323 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5324 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5325 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5326 (R_ARM_THM_GOT_BREL12): Likewise.
5327 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5328 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5329 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5330 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5331 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5332 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5333 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5334 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5335 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5337 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5339 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5340 __attribute_used__ to __attribute__ ((unused)).
5342 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5344 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5350 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5353 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5355 (ENTER): Remove both macro definitions.
5357 (CHECK_BOUNDS_LOW): Likewise.
5358 (CHECK_BOUNDS_HIGH): Likewise.
5359 (CHECK_BOUNDS_BOTH): Likewise.
5360 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5361 (RETURN_BOUNDED_POINTER): Likewise.
5362 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5363 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5364 (POP_ERRNO_LOCATION_RETURN): Likewise.
5365 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5367 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5369 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5370 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5371 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5372 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5373 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5374 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5375 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5376 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5377 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5378 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5379 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5380 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5381 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5382 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5384 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5385 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5387 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5388 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5389 * sysdeps/i386/i586/memset.S (memset): Likewise.
5390 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5391 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5392 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5394 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5395 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5396 Change uses of L(2) to L(out).
5397 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5398 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5399 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5400 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5401 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5404 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5407 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5408 (RETURN): Do not use macro LEAVE.
5409 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5410 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5411 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5412 * sysdeps/i386/i686/memset.S (memset): Likewise.
5413 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5414 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5415 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5416 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5418 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5419 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5420 L(1_2) and L(1_3) into L(1).
5421 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5422 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5423 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5424 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5425 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5426 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5427 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5428 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5429 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5431 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5432 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5433 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5434 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5435 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5436 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5437 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5438 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5439 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5440 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5441 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5442 * sysdeps/i386/strspn.S (strspn): Likewise.
5443 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5445 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5446 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5447 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5448 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5450 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5451 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5452 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5454 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5456 2013-02-19 Jakub Jelinek <jakub@redhat.com>
5458 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5461 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5463 * math/atest-exp.c (exp_mpn): Remove ROUND.
5464 * math/atest-exp2.c (exp_mpn): Likewise.
5465 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5467 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5468 * stdlib/tst-tls-atexit-lib.c: Likewise.
5469 * stdlib/tst-tls-atexit.c: Likewise.
5471 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5473 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5474 and __attribute_alloc_size__.
5476 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5478 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5479 __attribute_alloc_size__.
5480 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5481 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5483 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5485 * include/programs/xmalloc.h: New file.
5486 * catgets/gencat.c: Include it.
5487 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5488 * elf/pldd.c: Likewise.
5489 * iconv/iconv_charmap.c: Likewise.
5490 * iconv/iconvconfig.c: Likewise.
5491 * iconv/strtab.c: Likewise.
5492 * locale/programs/locale.c: Likewise.
5493 * locale/programs/localedef.h: Likewise.
5494 * locale/programs/simple-hash.c: Likewise.
5495 * nscd/nscd.h: Likewise.
5496 * nss/makedb.c: Likewise.
5497 * sysdeps/generic/ldconfig.h: Likewise.
5499 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5501 * Versions.def: Add GLIBC_2.18.
5502 * include/link.h (struct link_map): New member l_tls_dtor_count.
5503 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5504 (__call_tls_dtors): Likewise.
5505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5506 __cxa_thread_atexit_impl.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5523 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5524 (tests): Add test case tst-tls-atexit.
5525 (modules-names): Add shared library for tst-tls-atexit.
5526 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5527 (GLIBC_PRIVATE): Add __call_tls_dtors.
5528 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5530 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5531 * stdlib/tst-tls-atexit.c: New test case.
5532 * stdlib/tst-tls-atexit-lib.c: New test case.
5534 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5536 * elf/Versions (ld): Add _dl_find_dso_for_object.
5537 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5538 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5539 (dl_open_worker): Use _dl_find_dso_for_object.
5540 * elf/dl-sym.c (do_sym): Likewise.
5541 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5543 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5545 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5546 Syntactic changes only.
5547 (_dl_runtime_profile): Do a tail-call to the resolved function.
5549 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5552 * sysdeps/x86_64/bp-asm.h: Remove file.
5553 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5554 <bp-sym.h> and <bp-asm.h>.
5555 (__clone): Do not use BP_SYM.
5556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5557 <bp-sym.h> and <bp-asm.h>.
5558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5559 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5561 (_setjmp): Do not use BP_SYM.
5562 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5564 (setjmp): Do not use BP_SYM.
5565 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5567 (mempcpy): Do not use BP_SYM in weak_alias.
5568 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5570 (strchr): Do not use BP_SYM.
5571 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5573 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5574 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5575 (_start): Do not use BP_SYM.
5576 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5578 (strcat): Do not use BP_SYM.
5579 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5581 (STRCMP): Do not use BP_SYM.
5582 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5584 (STRCPY): Do not use BP_SYM.
5585 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5587 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5589 (FUNCTION): Do not use BP_SYM.
5590 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5592 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5594 2013-02-17 Andreas Jaeger <aj@suse.de>
5596 * time/Versions: Sort entries.
5597 * string/Versions: Likewise.
5598 * resolv/Versions: Likewise.
5599 * posix/Versions: Likewise.
5600 * iconv/Versions: Likewise.
5601 * elf/Versions: Likewise.
5602 * wcsmbs/Versions: Likewise.
5604 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5606 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5607 loop termination condition.
5609 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5610 variable to calculate EZ.
5613 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5614 the lower precision input.
5616 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5619 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5620 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5621 (run-via-rtld-prefix): Do not handle %-bp tests.
5622 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5623 (all-object-suffixes): Remove .ob.
5624 (bppfx): Remove variable.
5625 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5626 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5627 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5628 [$(build-bounded) = yes] (libtype.ob): Likewise.
5629 * Makerules (elide-routines.ob): Remove variable.
5630 (do-tests-clean): Do not handle *-bp.out.
5631 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5632 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5633 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5634 (tests): Do not include $(tests-bp.out).
5635 (xtests): Do not include $(xtests-bp.out).
5636 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5637 [$(build-bounded) = yes] ($(addprefix
5638 $(objpfx),$(binaries-bounded))): Remove rule.
5639 ($(objpfx)%-bp.out): Remove rule.
5640 * config.make.in (build-bounded): Remove variable.
5641 * crypt/Makefile [$(build-bounded) = yes]
5642 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5643 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5645 [$(build-bounded) = yes] (install-lib): Likewise.
5646 [$(build-bounded) = yes] (generated): Likewise.
5647 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5649 * intl/Makefile [$(build-bounded) = yes]
5650 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5651 * math/Makefile [$(build-bounded) = yes]
5652 ($(tests:%=$(objpfx)%-bp): Likewise.
5653 * misc/Makefile [$(build-bounded) = yes]
5654 ($(objpfx)tst-tsearch-bp): Likewise.
5655 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5656 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5658 * string/Makefile (o-objects.ob): Remove variable.
5659 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5660 (CFLAGS-.ob): Remove variable.
5661 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5662 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5663 both definitions of variable.
5664 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5665 (ASFLAGS-.ob): Remove variable.
5667 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5670 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5671 Remove __BOUNDED_POINTERS__ from condition.
5672 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5673 * string/bits/string2.h [!__NO_STRING_INLINES &&
5674 !__BOUNDED_POINTERS__]: Likewise.
5675 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5677 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5678 Remove conditional code.
5679 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5680 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5681 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5685 * csu/libc-start.c: Do not include <bp-sym.h>.
5686 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5687 * elf/dl-open.c: Do not include <bp-sym.h>.
5688 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5689 * math/fegetenv.c: Do not include <bp-sym.h>.
5690 (fegetenv): Do not use BP_SYM in versioned symbols.
5691 * nptl/sysdeps/pthread/bits/libc-lockP.h
5692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5695 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5697 (__pthread_mutex_destroy): Likewise.
5698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5699 (__pthread_mutex_lock): Likewise.
5700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5701 (__pthread_mutex_trylock): Likewise.
5702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5703 (__pthread_mutex_unlock): Likewise.
5704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5705 (__pthread_mutexattr_init): Likewise.
5706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5707 (__pthread_mutexattr_destroy): Likewise.
5708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5709 (__pthread_mutexattr_settype): Likewise.
5710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5711 (__pthread_rwlock_init): Likewise.
5712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5713 (__pthread_rwlock_destroy): Likewise.
5714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5715 (__pthread_rwlock_rdlock): Likewise.
5716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5717 (__pthread_rwlock_tryrdlock): Likewise.
5718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5719 (__pthread_rwlock_wrlock): Likewise.
5720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5721 (__pthread_rwlock_trywrlock): Likewise.
5722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5723 (__pthread_rwlock_unlock): Likewise.
5724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5725 (__pthread_key_create): Likewise.
5726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5727 (__pthread_setspecific): Likewise.
5728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5729 (__pthread_getspecific): Likewise.
5730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5733 (_pthread_cleanup_push_defer): Likewise.
5734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5735 (_pthread_cleanup_pop_restore): Likewise.
5736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5737 (pthread_setcancelstate): Likewise.
5738 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5740 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5741 (memchr): Do not use BP_SYM in weak_alias.
5742 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5743 (fegetenv): Do not use BP_SYM in versioned symbols.
5744 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5745 (fesetenv): Do not use BP_SYM in versioned symbols.
5746 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5747 (feupdateenv): Do not use BP_SYM in versioned symbols.
5748 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5749 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5750 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5751 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5752 (open64): Do not use BP_SYM in weak_alias.
5753 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5754 (fegetenv): Do not use BP_SYM in versioned symbols.
5755 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5756 (fesetenv): Do not use BP_SYM in versioned symbols.
5757 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5758 (feupdateenv): Do not use BP_SYM in versioned symbols.
5759 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5760 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5761 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5762 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5763 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5764 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5765 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5767 (__libc_start_main): Do not use BP_SYM.
5769 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5772 redundant return line.
5776 (sub_magnitudes): Likewise.
5782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5786 (sub_magnitudes): Likewise.
5793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5795 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5796 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5799 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5800 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5802 of __mul for squares.
5803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5810 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5813 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5815 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5816 prototype or function definition. Rename ubp_* variables and
5817 parameters. Remove argv definitions conditional on
5818 [__BOUNDED_POINTERS__].
5819 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5820 * elf/dl-runtime.c (_dl_fixup): Likewise.
5821 * include/set-hooks.h (RUN_HOOK): Likewise.
5822 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5824 * string/strcpy.c (strcpy): Do not use __unbounded.
5825 * sysdeps/generic/frame.h (struct layout): Likewise.
5826 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5827 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5828 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5829 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5830 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5831 (__backtrace): Likewise.
5832 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5834 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5835 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5836 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5838 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5839 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5840 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5841 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5842 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5843 Do not use __unbounded.
5844 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5845 Rename __unboundedrlimits parameter to rlimits in prototype.
5846 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5847 Do not use __unbounded.
5848 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5850 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5851 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5852 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5853 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5854 __ptrvalue or __unbounded.
5855 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5856 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5858 (__new_msgctl): Do not use __ptrvalue.
5859 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5861 (__libc_msgrcv): Do not use __ptrvalue.
5862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5863 startup_info): Do not use __unbounded.
5864 (__libc_start_main): Likewise. Rename ubp_* variables and
5865 parameters. Remove argv definitions conditional on
5866 [__BOUNDED_POINTERS__].
5867 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5869 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5873 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5875 (__new_shmctl): Do not use __ptrvalue.
5876 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5877 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5879 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5881 (__libc_sigaction): Likewise.
5882 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5883 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5885 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5887 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
5889 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5891 * string/mempcpy.c: Implement by calling memcpy.
5893 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5900 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5901 values in the mantissa.
5903 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5904 minimize writes to Z.
5905 (sub_magnitudes): Simplify code a bit.
5907 2013-02-12 Roland McGrath <roland@hack.frob.com>
5909 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5910 from the message. The linker prefixes all warnings with that already.
5912 2013-02-12 Andreas Schwab <schwab@suse.de>
5915 * posix/regexec.c (extend_buffers): Add parameter min_len.
5916 (check_matching): Pass minimum needed length.
5917 (clean_state_log_if_needed): Likewise.
5918 (get_subexp): Likewise.
5919 * posix/Makefile (tests): Add bug-regex34.
5920 (bug-regex34-ENV): Define.
5921 * posix/bug-regex34.c: New file.
5924 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5925 elements compare against the byte sequence of it, not its name.
5926 * posix/Makefile (tests): Add bug-regex35.
5927 (bug-regex35-ENV): Define.
5928 * posix/bug-regex35.c: New file.
5930 2013-02-11 Tom de Vries <tom@codesourcery.com>
5932 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5934 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5935 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5936 (CHECK_EOL): Add undef.
5938 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
5940 * bits/stdlib-bsearch.h: New file.
5941 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5942 * stdlib/stdlib.h: Likewise.
5944 2013-02-11 Roland McGrath <roland@hack.frob.com>
5946 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5947 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5949 * manual/search.texi (Array Search Function): Add missing const in
5951 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5952 declaration to use rlim_t.
5953 (Basic Scheduling Functions): Remove erroneous const from
5954 sched_getparam prototype. Remove erroneous * from
5955 sched_get_priority_max and sched_get_priority_min prototypes.
5956 (Resource Usage): Fix summary @comment on vtimes to refer to
5957 sys/vtimes.h rather than vtimes.h.
5958 Add missing *s in vtimes prototype.
5959 (Limits on Resources): Fix ulimit prototype to return long int.
5960 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5961 prototypes to use long int rather than double.
5962 (BSD Random): Fix initstate and setstate to use char *, not void *.
5963 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5964 prototype to make second argument 'struct aiocb64 *const[]'.
5965 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5966 (Status of AIO Operations): Remove erroneous const in aio_return and
5967 aio_return64 prototypes.
5968 (Synchronizing I/O): Fix sync prototype to return void.
5969 * manual/startup.texi (Suboptions): Remove an erroneous const in
5970 getsubopt prototype.
5971 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5972 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5973 use size_t rather than int.
5974 (Scanning All Users): Likewise for getpwent_r.
5975 (Setting Groups): Add missing const to setgroups prototype.
5976 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5977 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5978 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5979 'const void *' rather than 'const char *'.
5980 (Host Address Functions): Likewise for inet_ntop.
5981 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5982 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5983 ssize_t for return value.
5984 (Sending Data): Likewise for send, sendto, sendmsg.
5985 (Socket Option Functions): Add a missing const in setsockopt prototype.
5986 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5987 use wchar_t for the argument.
5988 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5989 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5991 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5992 double/float/long double for second argument.
5993 Fix return types of significand, significandf, significandl.
5994 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5995 argument in fchmod prototype.
5996 (File Owner): Use uid_t and gid_t in fchown prototype.
5997 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5998 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5999 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6000 use 'const struct dirent **' as argument types to CMP function pointer
6002 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6003 (File Times): Fix summary magic @comment for struct utimbuf and utime
6004 to refer to utime.h, not time.h.
6005 * manual/string.texi (Argz Functions): Add missing const in
6006 argz_extract and argz_next prototypes.
6007 (Finding Tokens in a String): Likewise for basename.
6008 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6009 (Copying and Concatenation): Fix typo in wmemmove prototype.
6010 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6011 (Signal Stack): Remove erroneous const in sigstack prototype.
6012 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6014 (Simple Calendar Time): Likewise for stime.
6015 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6017 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6018 say sys/sysctl.h instead.
6019 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6020 and vsyslog prototypes.
6022 2013-02-11 Tom de Vries <tom@codesourcery.com>
6024 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6027 2013-02-11 Roland McGrath <roland@hack.frob.com>
6029 * misc/sys/mman.h: Fix typo in mremap comment.
6031 2013-02-08 Roland McGrath <roland@hack.frob.com>
6033 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6034 the '\0' terminator.
6036 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6039 * debug/segfault.c: Don't include <bp-checks.h>.
6040 * sysdeps/generic/bp-checks.h: Remove file.
6041 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6042 (__GETDENTS): Don't use CHECK_N.
6043 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6044 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6045 (__getgroups): Don't use CHECK_N.
6046 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6047 (setgroups): Don't use CHECK_N.
6048 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6049 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6050 (__libc_msgrcv): Don't use CHECK_N.
6051 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6052 (__libc_msgsnd): Don't use CHECK_N.
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6055 (__libc_pread): Don't use CHECK_N.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6057 include <bp-checks.h>.
6058 (__libc_pread64): Don't use CHECK_N.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6060 include <bp-checks.h>.
6061 (__libc_pwrite): Don't use CHECK_N.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6063 include <bp-checks.h>.
6064 (__libc_pwrite64): Don't use CHECK_N.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6067 (__libc_pread): Don't use CHECK_N.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6069 include <bp-checks.h>.
6070 (__libc_pread64): Don't use CHECK_N.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6072 include <bp-checks.h>.
6073 (__libc_pwrite): Don't use CHECK_N.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6075 include <bp-checks.h>.
6076 (__libc_pwrite64): Don't use CHECK_N.
6077 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6078 (do_pread): Don't use CHECK_N.
6079 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6080 (do_pread64): Don't use CHECK_N.
6081 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6082 (do_pwrite): Don't use CHECK_N.
6083 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6084 (do_pwrite64): Don't use CHECK_N.
6085 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6086 (__libc_readv): Don't use CHECK_N.
6087 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6088 (semop): Don't use CHECK_N.
6089 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6091 (semtimedop): Don't use CHECK_N.
6092 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6093 (__libc_pread): Don't use CHECK_N.
6094 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6096 (__libc_pread64): Don't use CHECK_N.
6097 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6099 (__libc_pwrite): Don't use CHECK_N.
6100 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6102 (__libc_pwrite64): Don't use CHECK_N.
6103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6105 (__libc_msgrcv): Don't use CHECK_N.
6106 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6107 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6108 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6109 (__libc_writev): Don't use CHECK_N.
6111 2013-02-08 Roland McGrath <roland@hack.frob.com>
6113 * string/strcpy.c: Removed unused variable.
6115 * Makeconfig (+sysdep-includes): Define with := rather than =.
6116 Use an existing include/ subdir of each sysdeps dir before it.
6118 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6120 * nscd/connection.c (register_traced_file): Comment function.
6121 [HAVE_INOTIFY] (union __inev): Define.
6122 [HAVE_INOTIFY] (inotify_check_files): New function.
6123 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6124 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6126 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6128 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6130 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6131 loaded if not already and that a failure is permanent.
6133 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6136 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6137 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6139 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6142 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6143 (CHECK_1_NULL_OK): Likewise.
6144 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6145 (__fxstat): Do not use CHECK_1.
6146 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6148 (___fxstat64): Do not use CHECK_1.
6149 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6151 (__fxstatat): Do not use CHECK_1.
6152 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6154 (__fxstatat64): Do not use CHECK_1.
6155 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6157 (__fxstat): Do not use CHECK_1.
6158 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6160 (__fxstatat): Do not use CHECK_1.
6161 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6163 (__getresgid): Do not use CHECK_1.
6164 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6166 (__getresuid): Do not use CHECK_1.
6167 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6169 (__lxstat): Do not use CHECK_1.
6170 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6172 (__old_msgctl): Do not use CHECK_1.
6173 (__new_msgctl): Likewise.
6174 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6176 (__new_setrlimit): Do not use CHECK_1.
6177 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6179 (__old_shmctl): Do not use CHECK_1.
6180 (__new_shmctl): Likewise.
6181 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6183 (__xstat): Do not use CHECK_1.
6184 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6185 (__lxstat): Do not use CHECK_1.
6186 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6188 (___lxstat64): Do not use CHECK_1.
6189 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6190 (__old_msgctl): Do not use CHECK_1.
6191 (__new_msgctl): Likewise.
6192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6194 (__gettimeofday): Do not use CHECK_1.
6195 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6196 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6197 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6199 (__gettimeofday): Do not use CHECK_1.
6200 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6201 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6202 (__new_shmctl): Do not use CHECK_1.
6203 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6205 (do_sigtimedwait): Do not use CHECK_1.
6206 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6208 (do_sigwaitinfo): Do not use CHECK_1.
6209 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6211 (msgctl): Do not use CHECK_1.
6212 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6214 (shmctl): Do not use CHECK_1.
6215 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6216 (ustat): Do not use CHECK_1.
6217 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6219 (__fxstat): Do not use CHECK_1.
6220 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6222 (__fxstatat): Do not use CHECK_1.
6223 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6225 (__lxstat): Do not use CHECK_1.
6226 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6228 (__xstat): Do not use CHECK_1.
6229 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6230 (__xstat): Do not use CHECK_1.
6231 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6232 (___xstat64): Do not use CHECK_1.
6235 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6237 (CHECK_BOUNDS_HIGH): Likewise.
6238 * string/strcpy.c: Do not include <bp-checks.h>.
6239 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6241 2013-02-07 Roland McGrath <roland@hack.frob.com>
6243 * nscd/nscd-client.h (__nscd_drop_map_ref):
6244 Add __attribute__ ((unused)).
6245 * nis/nss-nisplus.h (niserr2nss): Likewise.
6247 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6248 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6250 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6251 Remove inline keyword.
6252 * include/rounding-mode.h (round_away): Likewise.
6253 * libio/wfileops.c (adjust_wide_data): Likewise.
6254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6255 (__m128i_strloadu_tolower): Likewise.
6256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6257 (__m128i_strloadu_tolower): Likewise.
6258 * time/mktime.c (ydhms_diff): Likewise.
6259 * locale/elem-hash.h (elem_hash): Likewise.
6260 * locale/setlocale.c (setdata): Likewise.
6261 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6262 (re_string_wchar_at): Likewise.
6263 (bitset_not, bitset_merge, bitset_mask): Likewise.
6264 [!(__GNUC__ > 3)] (inline): Remove macro.
6265 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6266 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6267 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6268 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6269 * string/memcmp.c (memcmp_bytes): Likewise.
6270 * locale/programs/locarchive.c (compute_hashval): Likewise.
6271 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6272 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6273 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6274 * nss/getent.c (print_rpc, print_protocols): Likewise.
6275 (print_passwd, print_group, print_aliases): Likewise.
6276 * nis/nss-nisplus.h (niserr2nss): Likewise.
6277 * nscd/connections.c (restart_p): Likewise.
6278 Change return type to bool.
6280 2013-02-05 Roland McGrath <roland@hack.frob.com>
6282 * Makeconfig (all-Depend-files): Add existing
6283 $(sorted-subdirs:=/Depend) files.
6284 (all-subdirs): Remove nss.
6285 * sysdeps/unix/inet/Subdirs: Add it here instead.
6286 * hesiod/Depend: New file.
6288 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6289 instead of calling alloca.
6291 * io/lseek.c (__lseek): Rename to __libc_lseek.
6292 Define __lseek as an alias.
6294 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6296 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6298 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6299 else clause and remove check for non-standard endianness.
6301 2013-02-04 David S. Miller <davem@davemloft.net>
6303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6305 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6308 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6309 (__ubp_memchr): Remove prototype.
6310 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6311 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6312 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6313 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6314 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6316 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6317 (__ubp_memchr): Likewise.
6318 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6319 (__ubp_memchr): Likewise.
6320 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6321 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6322 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6323 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6325 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6326 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6327 (__getcwd): Do not use CHECK_STRING.
6328 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6330 (__real_chown): Do not use CHECK_STRING.
6331 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6333 (fchownat): Do not use CHECK_STRING.
6334 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6336 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6338 (__lchown): Do not use CHECK_STRING.
6339 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6340 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6341 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6342 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6344 include <bp-checks.h>.
6345 (truncate64): Do not use CHECK_STRING.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6348 (__real_chown): Do not use CHECK_STRING.
6349 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6351 (__lchown): Do not use CHECK_STRING.
6352 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6354 (__chown): Do not use CHECK_STRING.
6355 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6357 (truncate64): Do not use CHECK_STRING.
6358 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6360 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6361 (__xmknod): Do not use CHECK_STRING.
6362 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6364 (__xmknodat): Do not use CHECK_STRING.
6365 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6366 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6368 2013-02-04 Andreas Schwab <schwab@suse.de>
6371 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6372 * include/netdb.h: Likewise for h_errno.
6373 * elf/tst-stackguard1.c: Include <tls.h>.
6375 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6377 * elf/link.h (struct link_map): Extend the l_addr comment.
6378 * include/link.h (struct link_map): Likewise.
6380 2013-02-01 Joseph Myers <joseph@codesourcery.com>
6383 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6384 (BOUNDED_1): Remove macro.
6385 * debug/backtrace.c: Don't include <bp-checks.h>.
6386 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6387 (__backtrace): Likewise.
6388 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6390 (__backtrace): Don't use BOUNDED_1.
6391 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6393 (__backtrace): Don't use BOUNDED_1.
6394 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6395 (__backtrace): Don't use BOUNDED_1.
6396 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6397 (shmat): Don't use BOUNDED_N.
6399 2013-01-31 Joseph Myers <joseph@codesourcery.com>
6402 * sysdeps/generic/bp-start.h: Remove file.
6403 * csu/libc-start.c: Don't include <bp-start.h>.
6404 (LIBC_START_MAIN): Set up __environ directly instead of using
6405 INIT_ARGV_and_ENVIRON.
6406 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6410 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6412 (CHECK_FCNTL): Likewise.
6413 (CHECK_N_PAGES): Likewise.
6416 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6418 (CHECK_SIGSET_NULL_OK): Likewise.
6419 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6421 (sigpending): Don't use CHECK_SIGSET.
6422 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6424 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6425 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6427 (do_sigsuspend): Don't use CHECK_SIGSET.
6428 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6430 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6431 (do_sigwait): Don't use CHECK_SIGSET.
6432 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6435 include <bp-checks.h>.
6436 (sigpending): Don't use CHECK_SIGSET.
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6438 include <bp-checks.h>.
6439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6440 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6442 (sigpending): Don't use CHECK_SIGSET.
6443 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6445 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6448 * sysdeps/generic/bp-semctl.h: Remove file.
6449 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6450 <bp-checks.h> and <bp-semctl.h>.
6451 (__old_semctl): Don't use CHECK_SEMCTL.
6452 (__new_semctl): Likewise.
6453 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6455 (__old_semctl): Don't use CHECK_SEMCTL.
6456 (__new_semctl): Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6458 <bp-checks.h> and <bp-semctl.h>.
6459 (__old_semctl): Don't use CHECK_SEMCTL.
6460 (__new_semctl): Likewise.
6461 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6462 <bp-checks.h> and <bp-semctl.h>.
6463 (semctl): Don't use CHECK_SEMCTL.
6466 * Makerules (elide-bp-thunks): Remove variable.
6467 (elide-routines.oS): Don't use $(elide-bp-thunks).
6468 (elide-routines.os): Likewise.
6469 (elide-routines.o): Likewise.
6470 (elide-routines.op): Likewise.
6471 (elide-routines.og): Likewise.
6472 (objects): Don't use $(bp-thunks).
6473 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6475 (common-generated): Do not add s-proto-bp.d.
6476 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6479 Do not generate makefile rules for bounded-pointer thunks.
6480 * sysdeps/generic/bp-thunks.h: Remove file.
6481 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6482 * sysdeps/unix/s-proto-bp.S: Likewise.
6485 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6486 parts of result separately when argument is not close to line from
6487 -i to i and one part of argument is small.
6488 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6489 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6490 * math/libm-test.inc (cacos_test): Add more tests.
6491 (casin_test): Likewise.
6492 (casinh_test): Likewise.
6493 * sysdeps/i386/fpu/libm-test-ulps: Update.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6496 2013-01-31 David S. Miller <davem@davemloft.net>
6498 * po/de.po: Update from translation team.
6500 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6502 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6504 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6506 * configure.in (_AC_PROG_CC_C89): New definition.
6507 * configure: Regenerate.
6509 * configure.in (AC_PROG_CPP): New definition.
6510 * configure: Regenerate.
6512 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6514 * debug/tst-backtrace.h: New file.
6515 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6516 (ret): Remove variable.
6518 (FAIL): Remove macro.
6519 (NO_INLINE): Likewise.
6520 (fn1): Use match function instead of strstr.
6521 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6522 (ret): Remove variable.
6524 (FAIL): Remove macro.
6525 (NO_INLINE): Likewise.
6526 (fn): Use match function instead of strstr.
6527 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6528 (ret): Remove variable.
6530 (FAIL): Remove macro.
6531 (NO_INLINE): Likewise.
6532 (handle_signal): Use match function instead of strstr.
6533 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6534 (ret): Remove variable.
6536 (FAIL): Remove macro.
6537 (NO_INLINE): Likewise.
6538 (handle_signal): Use match function instead of strstr.
6540 2013-01-23 Roland McGrath <roland@hack.frob.com>
6542 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6544 2013-01-23 David S. Miller <davem@davemloft.net>
6546 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6547 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6548 argument of CAS if possible.
6549 * sysdeps/sparc/sparc64/bits/atomic.h
6550 (__arch_compare_and_exchange_val_32_acq): Likewise.
6551 (__arch_compare_and_exchange_val_64_acq): Likewise.
6553 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6555 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6556 * sysdeps/posix/ulimit.c: ... this.
6558 * sysdeps/unix/bsd/ulimit.c: Remove file.
6560 2013-01-23 Adam Conrad <adconrad@0c3.net>
6562 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6563 (LDFLAGS-tst-array5): Likewise.
6565 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6568 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6569 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6570 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6571 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6573 2013-01-21 David S. Miller <davem@davemloft.net>
6575 * sysdeps/sparc/backtrace.c: New file.
6576 * sysdeps/sparc/sparc32/backtrace.h: New file.
6577 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6578 * sysdeps/sparc/sparc64/backtrace.h: New file.
6579 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6580 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6583 2013-01-21 Andreas Schwab <schwab@suse.de>
6586 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6589 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6595 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6596 Mark Mitchell <mark@codesourcery.com>
6597 Tom de Vries <tom@codesourcery.com>
6598 Paul Pluzhnikov <ppluzhnikov@google.com>
6600 * debug/tst-backtrace2.c: New file.
6601 * debug/tst-backtrace3.c: Likewise.
6602 * debug/tst-backtrace4.c: Likewise.
6603 * debug/tst-backtrace5.c: Likewise.
6604 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6605 (CFLAGS-tst-backtrace3.c): Likewise.
6606 (CFLAGS-tst-backtrace4.c): Likewise.
6607 (CFLAGS-tst-backtrace5.c): Likewise.
6608 (LDFLAGS-tst-backtrace2): Likewise.
6609 (LDFLAGS-tst-backtrace3): Likewise.
6610 (LDFLAGS-tst-backtrace4): Likewise.
6611 (LDFLAGS-tst-backtrace5): Likewise.
6612 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6613 tst-backtrace4 and tst-backtrace5.
6615 2013-01-18 Anton Blanchard <anton@samba.org>
6616 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6618 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6619 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6621 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6623 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6624 "+r" and remove output regs list as redundant. Add explicit inline
6625 asm to specify register of return val to work around compiler codegen
6626 bug. Remove (int) cast on return value. Add return type parameter to
6627 use in macro so that this macro does not truncate return value for
6629 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6630 pass to INTERNAL_VSYSCALL_NCS.
6631 (INLINE_VSYSCALL): Add 'long int' as return type to
6632 INTERNAL_VSYSCALL_NCS macro invocation.
6633 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6634 INTERNAL_VSYSCALL_NCS macro invocation.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6637 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6640 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6641 Fix application of SIMD FP exception mask.
6643 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6644 mp_no from a power of two.
6645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6646 __mpexp_twomm1. Use __pow_mp.
6648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6651 2013-01-17 David S. Miller <davem@davemloft.net>
6653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6655 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6658 * include/complex.h: Condition contents on [!_COMPLEX_H].
6659 (__kernel_casinhf): New prototype.
6660 (__kernel_casinh): Likewise.
6661 (__kernel_casinhl): Likewise.
6662 * math/Makefile (libm_calls): Add k_casinh.
6663 * math/k_casinh.c: New file.
6664 * math/k_casinhf.c: Likewise.
6665 * math/k_casinhl.c: Likewise.
6666 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6667 finite nonzero arguments.
6668 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6669 finite nonzero arguments.
6670 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6671 finite nonzero arguments.
6672 * math/s_casinh.c: Do not include <float.h>.
6673 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6674 * math/s_casinhf.c: Do not include <float.h>.
6675 (__casinhf): Move code for finite nonzero arguments to
6677 * math/s_casinhl.c: Do not include <float.h>.
6678 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6680 (__casinhl): Move code for finite nonzero arguments to
6682 * math/libm-test.inc (cacos_test): Add more tests.
6683 * sysdeps/i386/fpu/libm-test-ulps: Update.
6684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6686 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6688 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6689 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6690 [!HAVE_MREMAP]: Remove [defined linux] case.
6691 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6693 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6695 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6697 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6699 * elf/elf.h (R_386_SIZE32): New relocation.
6700 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6702 (elf_machine_rela): Likewise.
6703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6704 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6706 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6708 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6709 (FP_FAST_FMA): Do not define.
6710 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6711 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6712 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6713 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6714 !_SOFT_FLOAT]: Likewise.
6715 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6716 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6718 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6719 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6720 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6722 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6723 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6726 2013-01-16 Andreas Schwab <schwab@suse.de>
6729 * include/stdlib.h (__mktemp): Add declaration.
6730 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6731 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6733 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6735 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6737 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6738 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6739 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6741 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6742 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6744 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6746 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6747 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6748 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6750 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6751 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6753 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6755 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6757 2013-01-15 David S. Miller <davem@davemloft.net>
6759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6760 trunc{,f} to libm-sysdep_routes.
6761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6771 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6773 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6775 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6776 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6779 nearbyint{,f} to libm-sysdep_routes.
6780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6791 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6793 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6796 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6797 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6798 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6800 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6801 libc_feholdexcept and libc_fesetenv.
6803 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6805 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6807 2013-01-14 David S. Miller <davem@davemloft.net>
6809 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6810 (SPARC_ASM_VIS2_IFUNC): Likewise.
6811 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6813 use of 'siam' instruction.
6814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6847 routines to libm-sysdep_routines.
6848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6851 fdim/fdimf to libm-sysdep_routines.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6860 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6861 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6862 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6865 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6870 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6875 local variable MPTWO.
6876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6879 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6881 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6884 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6886 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6888 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6890 * manual/pattern.texi (glob_t): Document gl_flags.
6891 (glob64_t): Likewise.
6893 2013-01-11 David S. Miller <davem@davemloft.net>
6895 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6896 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6897 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
6898 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6899 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6900 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6901 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6902 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6903 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6904 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6905 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6906 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6907 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6909 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6910 sparc V9 rather than using V8 code.
6911 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6912 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6916 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6919 2013-01-11 Roland McGrath <roland@hack.frob.com>
6921 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6922 not in the main loop.
6923 * configure: Regenerated.
6925 2013-01-11 Joseph Myers <joseph@codesourcery.com>
6927 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6928 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6930 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6931 [!__GLIBC_HAVE_LONG_LONG] case.
6932 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6933 condition to just #else.
6934 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6935 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6936 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6937 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6939 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6940 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6941 #elif condition to just #else.
6942 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6943 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6944 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6945 #elif condition to just #else.
6947 2013-01-11 Steve Ellcey <sellcey@mips.com>
6949 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6950 (EF_MIPS_ARCH_64): Fix value.
6951 (EF_MIPS_ARCH_32R2): New.
6952 (EF_MIPS_ARCH_64R2): New.
6954 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6956 * Makeconfig (+link-pie-before-libc): New.
6957 (+link-pie-after-libc): Likewise.
6958 (+link-pie-tests): Likewise.
6959 (+link-pie): Rewritten.
6960 (link-before-libc): Remove $(config-LDFLAGS).
6961 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6962 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6963 (config-LDFLAGS): Renamed to ...
6964 (rtld-LDFLAGS): This.
6965 (rtld-tests-LDFLAGS): New macro.
6966 (link-libc-rpath-link): Likewise.
6967 (link-libc-tests-rpath-link): Likewise.
6968 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6969 (link-libc): Prepand $(link-libc-rpath-link).
6970 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6971 (test-program-prefix): New macro.
6972 (test-via-rtld-prefix): Likewise.
6973 (test-program-cmd): Likewise.
6974 (host-test-program-cmd): Likewise.
6975 * Makefile ($(common-objpfx)testrun.sh): Replace
6976 $(run-program-prefix) with $(test-program-prefix).
6977 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6979 ($(common-objpfx)shlib.lds): Likewise.
6980 (build-module-helper): Likewise.
6981 ($(common-objpfx)format.lds): Likewise.
6982 * Rules (binaries-pie-tests): New.
6983 (binaries-pie-notests): Likewise.
6984 (binaries-pie): Rewritten.
6985 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6986 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6987 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6988 (make-test-out): Replace $(host-built-program-cmd) with
6989 $(host-test-program-cmd).
6990 * config.make.in (build-hardcoded-path-in-tests): New variable.
6991 * configure.in (--enable-hardcoded-path-in-tests): New configure
6993 (hardcoded_path_in_tests): New AC_SUBST.
6994 * configure: Regenerated.
6995 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6996 $(built-program-cmd) with $(test-program-cmd).
6997 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6998 (test_program_cmd): This.
6999 * elf/Makefile ($(objpfx)order.out): Run test with
7000 $(test-program-prefix).
7001 ($(objpfx)order2.out): Likewise.
7002 ($(objpfx)tst-initorder.out): Likewise.
7003 ($(objpfx)tst-initorder2.out): Likewise.
7004 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7005 $(test-program-cmd).
7006 ($(objpfx)tst-array1-static.out): Likewise.
7007 ($(objpfx)tst-array2.out): Likewise.
7008 ($(objpfx)tst-array3.out): Likewise.
7009 ($(objpfx)tst-array4.out): Likewise.
7010 ($(objpfx)tst-array5.out): Likewise.
7011 ($(objpfx)tst-array5-static.out): Likewise.
7012 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7013 $(test-program-cmd).
7014 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7015 $(run-program-prefix) with $(test-program-prefix).
7016 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7017 (test_program_prefix): This.
7018 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7019 $(run-program-prefix) with $(test-program-prefix).
7020 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7021 (test_program_prefix): This.
7022 * iconvdata/tst-tables.sh: Likewise.
7023 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7024 $(run-program-prefix) with $(test-program-prefix).
7025 ($(objpfx)tst-translit.out): Likewise.
7026 ($(objpfx)tst-gettext2.out): Likewise.
7027 ($(objpfx)tst-gettext4.out): Likewise.
7028 ($(objpfx)tst-gettext6.out): Likewise.
7029 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7030 (test_program_prefix): This.
7031 * intl/tst-gettext2.sh: Likewise.
7032 * intl/tst-gettext4.sh Likewise.
7033 * intl/tst-gettext6.sh: Likewise.
7034 * intl/tst-translit.sh: Likewise.
7035 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7036 with $(test-program-cmd).
7037 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7038 $(run-program-prefix) with $(test-program-prefix).
7039 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7040 (test_program_prefix): This.
7041 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7042 $(run-program-prefix) with $(test-program-prefix).
7043 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7044 (test_program_prefix): This.
7045 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7046 * posix/Makefile ($(objpfx)globtest.out): Replace
7047 $(run-via-rtld-prefix) and $(test-wrapper) with
7048 $(test-program-prefix) and $(test-via-rtld-prefix).
7049 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7050 $(test-program-prefix).
7051 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7052 $(host-test-program-cmd).
7053 (tst-spawn-ARGS): Likewise.
7054 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7055 $(test-program-prefix).
7056 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7057 (test_via_rtld_prefix): This.
7058 (test_wrapper): Renamed to ...
7059 (test_program_prefix): This.
7060 (run_program_prefix): Replaced by test_program_prefix.
7061 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7062 (test_program_prefix): This.
7063 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7064 with $(host-test-program-cmd).
7065 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7066 $(run-program-prefix) with $(test-program-prefix).
7067 ($(objpfx)tst-printf.out): Likewise.
7068 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7069 $(test-program-cmd).
7070 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7071 (test_program_prefix): This.
7072 * stdio-common/tst-unbputc.sh: Likewise.
7073 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7074 $(run-program-prefix) with $(test-program-prefix).
7075 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7076 (test_program_prefix): This.
7077 * string/Makefile ($(objpfx)tst-svc.out): Replace
7078 $(built-program-cmd) with $(test-program-cmd).
7080 2013-01-11 Andreas Jaeger <aj@suse.de>
7083 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7084 value. Sync with Linux 3.7.
7086 2013-01-10 David S. Miller <davem@davemloft.net>
7088 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7092 2013-01-10 Roland McGrath <roland@hack.frob.com>
7094 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7096 * configure: Regenerated.
7098 2013-01-10 David S. Miller <davem@davemloft.net>
7100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7101 sparc V9 rather than using V8 code.
7102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7105 2013-01-10 Roland McGrath <roland@hack.frob.com>
7107 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7108 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7109 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7110 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7111 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7112 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7113 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7114 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7115 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7116 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7117 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7118 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7119 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7120 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7121 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7122 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7123 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7124 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7125 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7126 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7127 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7128 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7129 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7130 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7131 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7132 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7133 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7135 2013-01-10 David S. Miller <davem@davemloft.net>
7137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7139 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7141 * posix/Makefile (tests-static): New variable.
7142 (tests): Add $(tests-static).
7143 (tst-exec-static-ARGS): New variable.
7144 (tst-spawn-static-ARGS): Likewise.
7145 * posix/tst-exec-static.c: New file.
7146 * posix/tst-spawn-static.c: Likewise.
7147 * posix/tst-exec.c: Support run directly.
7148 * posix/tst-spawn.c: Likewise.
7150 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7152 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7154 * math/bits/mathcalls.h (llrint): Likewise.
7155 (llround): Likewise.
7156 * stdlib/stdlib.h (struct drand48_data): Likewise.
7157 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7158 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7159 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7161 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7164 (elf_greg_t): Likewise.
7165 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7166 (__jmp_buf): Likewise.
7167 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7169 (llrint): Likewise, for all definitions.
7170 (llrintl): Likewise.
7172 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7173 Remove [__GNUC__] condition.
7174 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7175 condition to just [__USE_ISOC99].
7176 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7178 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7181 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7182 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7184 (_POSIX_V6_ILP32_OFF32): Likewise.
7185 (_XBS5_ILP32_OFF32): Likewise.
7186 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7187 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7189 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7191 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7194 doubles __mpexp_twomm1. Adjust usage.
7195 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7198 2013-01-10 Andreas Schwab <schwab@suse.de>
7201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7202 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7204 2013-01-09 David S. Miller <davem@davemloft.net>
7207 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7208 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7209 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7210 TCP_FASTOPEN): Define.
7211 (tcp_repair_opt): New structure.
7212 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7214 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7215 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7216 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7217 (tcp_cookie_transactions): New structure.
7219 2013-01-09 Anton Blanchard <anton@samba.org>
7221 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7222 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7224 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7226 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7228 * include/features.h (__USE_ANSI): Remove.
7230 2013-01-09 Roland McGrath <roland@hack.frob.com>
7232 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7234 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7236 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7238 * sysdeps/s390/fpu/libm-test-ulps: Update.
7240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7242 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7247 (__mp_dbl): Likewise.
7248 (__dbl_mp): Likewise.
7249 (add_magnitudes): Likewise.
7250 (sub_magnitudes): Likewise.
7256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7261 (__mp_dbl): Likewise.
7262 (__dbl_mp): Likewise.
7263 (add_magnitudes): Likewise.
7264 (sub_magnitudes): Likewise.
7270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7275 (__mp_dbl): Likewise.
7276 (__dbl_mp): Likewise.
7277 (add_magnitudes): Likewise.
7278 (sub_magnitudes): Likewise.
7285 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7287 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7288 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7289 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7290 2 && __USE_EXTERN_INLINES]: Likewise.
7292 2013-01-08 Andreas Jaeger <aj@suse.de>
7295 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7297 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7298 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7300 2013-01-07 Anton Blanchard <anton@samba.org>
7302 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7303 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7304 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7305 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7306 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7307 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7308 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7309 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7311 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7312 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7316 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7317 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7320 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7321 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7322 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7325 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7326 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7327 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7328 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7329 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7331 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7332 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7337 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7338 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7339 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7340 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7342 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7344 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7346 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7348 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7349 (__MALLOC_PMT): Likewise.
7350 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7351 [__GNUC__], only on [_LIBC].
7352 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7353 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7354 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7355 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7356 forward declaration.
7357 (realloc_hook_ini): Likewise.
7358 (memalign_hook_ini): Likewise.
7359 (__libc_memalign): Do not use __MALLOC_PMT in variable
7361 (__libc_valloc): Likewise.
7362 (__libc_pvalloc): Likewise.
7363 (__libc_calloc): Likewise.
7364 (__posix_memalign): Likewise.
7367 * math/s_casinh.c: Include <float.h>.
7368 (__casinh): Do not do computation with squaring and square root
7369 for large arguments.
7370 * math/s_casinhf.c: Include <float.h>.
7371 (__casinhf): Do not do computation with squaring and square root
7372 for large arguments.
7373 * math/s_casinhl.c: Include <float.h>.
7374 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7375 (__casinhl): Do not do computation with squaring and square root
7376 for large arguments.
7377 * math/libm-test.inc (casin_test): Add more tests.
7378 (casinh_test): Likewise.
7379 * sysdeps/i386/fpu/libm-test-ulps: Update.
7380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7382 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7384 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7385 (__x86_64_raw_data_cache_size): Likewise.
7386 (__x86_64_data_cache_size_half): Likewise.
7387 (__x86_64_raw_data_cache_size_half): Likewise.
7388 (__x86_64_shared_cache_size): Likewise.
7389 (__x86_64_raw_shared_cache_size): Likewise.
7390 (__x86_64_shared_cache_size_half): Likewise.
7391 (__x86_64_raw_shared_cache_size_half): Likewise.
7392 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7394 (__x86_data_cache_size): This.
7395 (__x86_64_raw_data_cache_size): Renamed to ...
7396 (__x86_raw_data_cache_size): This.
7397 (__x86_64_data_cache_size_half): Renamed to ...
7398 (__x86_data_cache_size_half): This.
7399 (__x86_64_raw_data_cache_size_half): Renamed to ...
7400 (__x86_raw_data_cache_size_half): This.
7401 (__x86_64_shared_cache_size): Renamed to ...
7402 (__x86_shared_cache_size): This.
7403 (__x86_64_raw_shared_cache_size): Renamed to ...
7404 (__x86_raw_shared_cache_size): This.
7405 (__x86_64_shared_cache_size_half): Renamed to ...
7406 (__x86_shared_cache_size_half): This.
7407 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7408 (__x86_raw_shared_cache_size_half): This.
7409 * sysdeps/x86_64/memcpy.S: Updated.
7410 * sysdeps/x86_64/memset.S: Likewise.
7411 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7415 2013-01-04 David S. Miller <davem@davemloft.net>
7417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7419 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7421 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7422 1 to avoid redefinition warning.
7423 (__USE_GNU): Don't define.
7424 (init_signaling_nan): Protoize.
7426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7428 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7432 (__cpymn): Likewise.
7433 (norm): Remove commented code.
7435 (__mp_dbl): Likewise.
7437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7438 (__cpymn): Likewise.
7439 (norm): Remove commented code.
7441 (__mp_dbl): Likewise.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7445 mp_no value for 1.0 and 2.0.
7446 (norm): Use RADIXI instead of radixi.d.
7448 (__mul): Use 0.0 instead of zero.d.
7449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7450 mp_no value for 1.0 and 2.0.
7451 (norm): Use RADIXI instead of radixi.d.
7453 (__mul): Use 0.0 instead of zero.d.
7455 2013-01-04 Joseph Myers <joseph@codesourcery.com>
7458 * math/s_casinh.c (__casinh): Reduce finite argument to first
7459 quadrant then set signs of results at the end.
7460 * math/s_casinhf.c (__casinhf): Likewise.
7461 * math/s_casinhl.c (__casinhl): Likewise.
7462 * math/libm-test.inc (casin_test): Add more tests.
7463 (casinh_test): Likewise.
7464 * sysdeps/i386/fpu/libm-test-ulps: Update.
7465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7467 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7469 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7471 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7473 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7476 (__mp_dbl): Likewise.
7479 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7480 and adjust the header comment.
7482 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7483 variable name from declaration.
7485 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7488 Initialize COMMON_CPUID_INDEX_7 element.
7489 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7490 (CPUID_RTM): Likewise.
7491 (HAS_RTM): Likewise.
7492 (COMMON_CPUID_INDEX_7): New enum.
7494 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7497 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7498 size is zero, record memory as freed.
7500 2013-01-03 Andreas Jaeger <aj@suse.de>
7502 * po/ia.po: Add new Interlingua translation.
7504 2012-01-03 Allan McRae <allan@archlinux.org>
7506 * locale/programs/localedef.c: Fix description of '--posix' flag.
7508 2013-01-02 Joseph Myers <joseph@codesourcery.com>
7510 * NEWS: Update dates in second copyright notice.
7511 * README: Update copyright dates in example.
7512 * manual/libc.texinfo: Update copyright dates.
7513 * scripts/test-installation.pl: Update copyright date in --version
7516 * hurd/ctty-input.c: Fix copyright notice formatting.
7517 * hurd/ctty-output.c: Likewise.
7518 * hurd/dtable.c: Likewise.
7519 * hurd/hurd-raise.c: Likewise.
7520 * hurd/hurdprio.c: Likewise.
7521 * hurd/msgportdemux.c: Likewise.
7522 * misc/sys/file.h: Likewise.
7523 * misc/sys/ioctl.h: Likewise.
7524 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7525 * sysdeps/mach/hurd/chdir.c: Likewise.
7526 * sysdeps/mach/hurd/fchdir.c: Likewise.
7527 * sysdeps/mach/hurd/rename.c: Likewise.
7528 * sysdeps/mach/hurd/rmdir.c: Likewise.
7529 * sysdeps/mach/hurd/seekdir.c: Likewise.
7530 * sysdeps/mach/hurd/setsid.c: Likewise.
7531 * sysdeps/posix/wait3.c: Likewise.
7533 * All files with FSF copyright notices: Update copyright dates
7534 using scripts/update-copyrights.
7535 * intl/plural.c: Regenerated.
7536 * locale/programs/charmap-kw.h: Likewise.
7537 * locale/programs/locfile-kw.h: Likewise.
7539 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7541 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7545 calculation loop and add branch prediction.
7547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7548 check access beyond bounds of m1np.
7550 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7552 (__inv): Remove local variable MPTWO to use the global
7554 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7555 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7557 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7558 MP3HALFS static const.
7560 2013-01-01 David S. Miller <davem@davemloft.net>
7562 * po/ca.po: Update from translation team.
7564 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7566 * scripts/update-copyrights: New file.
7567 * Makeconfig: Reformat copyright notice.
7568 * ctype/ctype.h: Likewise.
7569 * debug/swprintf_chk.c: Likewise.
7570 * elf/dl-cache.c: Likewise.
7571 * elf/dl-debug.c: Likewise.
7572 * elf/dl-object.c: Likewise.
7573 * grp/initgroups.c: Likewise.
7574 * hurd/Makefile: Likewise.
7575 * hurd/hurd/signal.h: Likewise.
7576 * hurd/hurdfault.c: Likewise.
7577 * hurd/hurdioctl.c: Likewise.
7578 * hurd/hurdlookup.c: Likewise.
7579 * hurd/intr-msg.c: Likewise.
7580 * iconv/gconv_open.c: Likewise.
7581 * libio/swprintf.c: Likewise.
7582 * locale/lc-ctype.c: Likewise.
7583 * locale/nl_langinfo.c: Likewise.
7584 * mach/Machrules: Likewise.
7585 * mach/Makefile: Likewise.
7586 * malloc/obstack.h: Likewise.
7587 * manual/Makefile: Likewise.
7588 * manual/tsort.awk: Likewise.
7589 * misc/bits/stab.def: Likewise.
7590 * nis/nis_print_group_entry.c: Likewise.
7591 * nis/nis_table.c: Likewise.
7592 * nis/nss_compat/compat-pwd.c: Likewise.
7593 * nis/nss_compat/compat-spwd.c: Likewise.
7594 * po/Makefile: Likewise.
7595 * posix/fnmatch.c: Likewise.
7596 * posix/regex.h: Likewise.
7597 * resolv/Makefile: Likewise.
7598 * resolv/nss_dns/dns-network.c: Likewise.
7599 * resolv/res_hconf.c: Likewise.
7600 * scripts/gen-sorted.awk: Likewise.
7601 * soft-fp/soft-fp.h: Likewise.
7602 * stdio-common/printf.h: Likewise.
7603 * stdlib/monetary.h: Likewise.
7604 * stdlib/random.c: Likewise.
7605 * stdlib/random_r.c: Likewise.
7606 * sysdeps/generic/Makefile: Likewise.
7607 * sysdeps/gnu/Makefile: Likewise.
7608 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7619 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7620 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7628 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7629 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7636 * sysdeps/mach/hurd/errnos.awk: Likewise.
7637 * sysdeps/mach/hurd/fork.c: Likewise.
7638 * sysdeps/mach/hurd/getcwd.c: Likewise.
7639 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7640 * sysdeps/mach/hurd/mmap.c: Likewise.
7641 * sysdeps/mach/hurd/utimes.c: Likewise.
7642 * sysdeps/mach/hurd/xmknod.c: Likewise.
7643 * sysdeps/posix/profil.c: Likewise.
7644 * sysdeps/posix/readdir_r.c: Likewise.
7645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7646 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7647 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7648 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7650 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7651 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7652 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7654 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7655 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7656 * sysdeps/pthread/lio_listio.c: Likewise.
7657 * sysdeps/sparc/dl-procinfo.h: Likewise.
7658 * sysdeps/unix/i386/sysdep.S: Likewise.
7659 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7660 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7661 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7662 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7664 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7665 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7666 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7667 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7668 * sysdeps/wordsize-32/divdi3.c: Likewise.
7669 * time/sys/time.h: Likewise.
7670 * wcsmbs/Makefile: Likewise.
7672 2013-01-01 David S. Miller <davem@davemloft.net>
7674 * po/fr.po: Update from translation team.
7676 * catgets/gencat.c: Update copyright year.
7677 * csu/version.c: Likewise.
7678 * debug/catchsegv.sh: Likewise.
7679 * debug/pcprofiledump.c: Likewise.
7680 * debug/xtrace.sh: Likewise.
7681 * elf/ldconfig.c: Likewise.
7682 * elf/ldd.bash.in: Likewise.
7683 * elf/pldd.c: Likewise.
7684 * elf/sotruss.ksh: Likewise.
7685 * elf/sprof.c: Likewise.
7686 * iconv/iconv_prog.c: Likewise.
7687 * iconv/iconvconfig.c: Likewise.
7688 * locale/programs/locale.c: Likewise.
7689 * locale/programs/localedef.c: Likewise.
7690 * login/programs/pt_chown.c: Likewise.
7691 * malloc/memusage.sh: Likewise.
7692 * malloc/memusagestat.c: Likewise.
7693 * malloc/mtrace.pl: Likewise.
7694 * nscd/nscd.c: Likewise.
7695 * nss/getent.c: Likewise.
7696 * nss/makedb.c: Likewise.
7697 * posix/getconf.c: Likewise.
7699 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7701 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7704 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7706 * math/bits/mathcalls.h (modf): Use __nonnull.
7708 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7710 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7711 (split): Use macro CN instead of the bare value.
7712 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7715 instead of the bare value.
7718 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7724 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7726 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7728 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7729 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7731 2012-12-28 Andreas Jaeger <aj@suse.de>
7733 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7734 values are from Linux 3.7.
7736 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7737 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7739 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7741 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7744 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7746 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7747 variables with preprocessor constants.
7748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7749 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7750 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7752 2012-12-27 Bruno Haible <bruno@clisp.org>
7755 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7758 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7761 and use variable directly.
7762 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7764 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7766 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7771 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7772 include directive. Remove local variable MPONE.
7773 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7774 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7777 2012-12-25 David S. Miller <davem@davemloft.net>
7779 * version.h (RELEASE): Set to "development".
7780 (VERSION): Set to "2.17.90".
7781 * NEWS: Add 2.18 section.
7783 2012-12-21 David S. Miller <davem@davemloft.net>
7785 * po/hr.po: Update from translation team.
7787 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7789 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7791 2012-12-19 Steve Ellcey <sellcey@mips.com>
7793 * NEWS: Mention new memcpy for MIPS.
7795 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7797 * manual/contrib.texi (Contributors): Spelling correction.
7799 2012-12-15 David S. Miller <davem@davemloft.net>
7801 * po/ru.po: Update from translation team.
7803 2012-12-13 David S. Miller <davem@davemloft.net>
7805 * NEWS: Mention IFUNC testsuite enhancements.
7807 * po/pl.po: Update from translation team.
7808 * po/bg.po: Likewise.
7810 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7811 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7813 2012-12-11 David S. Miller <davem@davemloft.net>
7815 * po/sv.po: Update from translation team.
7817 * po/vi.po: Update from translation team.
7819 * po/cs.po: Update from translation team.
7821 * po/de.po: Update from translation team.
7822 * po/eo.po: Likewise.
7823 * po/nl.po: Likewise.
7825 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7828 * manual/argp.texi (Argp Helper Functions): Move node to follow
7832 * manual/conf.texi (Limits on File System Capacity): Mention if
7833 terminating null is included in the max size.
7835 2012-12-10 Andreas Jaeger <aj@suse.de>
7837 * po/cs.po: Update from translation team.
7839 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7841 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7842 void pointer and cast to uintptr_t.
7843 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7845 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7846 * sysdeps/s390/s390-64/memset.S: Likewise.
7848 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
7851 * menual/message.texi (Message Translation): Fix typos.
7852 (Helper programs for gettext): Likewise.
7854 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7857 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7860 2012-12-07 David S. Miller <davem@davemloft.net>
7862 * po/libc.pot: Update.
7864 2012-12-07 Richard Henderson <rth@redhat.com>
7867 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7868 normal/normal case to before the switch.
7869 (_FP_DIV): Likewise.
7871 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7872 Mike Frysinger <vapier@gentoo.org>
7874 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7875 check for __NR_fadvise64_64.
7877 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7879 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7880 0, not just to plain "0" as a statement.
7881 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7884 2012-12-06 Joseph Myers <joseph@codesourcery.com>
7886 * NEWS: Use sourceware.org in Bugzilla URL.
7888 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7891 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7893 * stdio-common/tst-put-error.c (do_test): Add newline to the
7894 padded test to ensure flush.
7896 2012-12-05 Jeff Law <law@redhat.com>
7898 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7900 2012-12-05 Joseph Myers <joseph@codesourcery.com>
7902 * README: Don't refer to ports add-on as distributed separately.
7903 Mention AArch64 in list of systems supported in the ports add-on.
7905 * LICENSES: Add more non-FSF copyright and license notices.
7907 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7912 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7913 10000 as width of padded output.
7915 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7917 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7919 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7920 variable LX with __attribute__ ((unused)).
7921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7923 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7926 with __attribute__ ((unused)).
7928 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
7930 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7932 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7934 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7935 (CFLAGS-nldbl-acos.c): New variable.
7936 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7937 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7938 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7939 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7940 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7941 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7942 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7943 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7944 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7945 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7946 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7947 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7948 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7949 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7950 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7951 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7952 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7953 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7954 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7955 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7956 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7957 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7958 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7959 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7960 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7961 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7962 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7963 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7964 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7965 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7966 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7967 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7968 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7969 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7970 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7971 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7972 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7973 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7974 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7975 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7976 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7977 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7978 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7979 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7980 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7981 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7982 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7983 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7984 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7985 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7986 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7987 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7988 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7989 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7990 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7991 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7992 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7993 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7994 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7995 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7996 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7997 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7998 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7999 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8000 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8001 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8002 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8003 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8004 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8005 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8006 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8007 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8008 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8009 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8010 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8011 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8012 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8013 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8014 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8015 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8016 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8017 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8018 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8019 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8020 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8021 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8022 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8023 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8024 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8025 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8026 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8027 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8028 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8029 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8030 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8031 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8032 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8035 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8039 whole low double instead of just low 47 bits when splitting values
8042 2012-12-03 Allan McRae <allan@archlinux.org>
8044 * manual/stdio.texi (Predefined Printf Handlers): Remove
8045 @hsep and @vsep usage.
8047 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8049 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8050 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8052 2012-12-03 Jeff Law <law@redhat.com>
8054 * time/sys/time.h (settimeofday): Do not mark TV argument
8057 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8059 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8060 when currently writing and seek to current position when not.
8061 * libio/Makefile (tests): Remove bug-fclose1.
8062 * libio/bug-fclose1.c: Delete.
8064 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8066 * manual/arith.texi (feenableexcept): Fix typo.
8067 (fedisableexcept): Likewise.
8069 2012-11-30 Roland McGrath <roland@hack.frob.com>
8071 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8072 second, differently-typed declaration, rather than a cast.
8074 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8076 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8077 * include/rpc/svc.h: ... here.
8079 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8082 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8083 depending n and resplen2 to catch cases where answer
8086 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8088 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8089 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8091 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8095 2012-11-29 Roland McGrath <roland@hack.frob.com>
8097 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8099 2012-11-28 Jeff Law <law@redhat.com>
8102 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8103 dataset_temporary. Track alloca usage into alloca_used.
8104 If dataset is large allocate and release it via malloc/free.
8106 2012-06-04 Florian Weimer <fweimer@redhat.com>
8109 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8111 2012-11-28 David S. Miller <davem@davemloft.net>
8113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8115 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8118 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8119 of pi/2 rounded to nearest to 64 bits.
8120 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8122 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8125 2012-11-28 Jeff Law <law@redhat.com>
8126 Martin Osvald <mosvald@redhat.com>
8129 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8130 * sunrpc/svc.c: Include time.h.
8131 (__svc_accept_failed): New function.
8132 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8133 any reason other than EINTR, call __svc_accept_failed.
8134 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8135 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8137 2012-11-28 Andreas Schwab <schwab@suse.de>
8139 * scripts/abilist.awk: Also handle indirect functions in .opd
8142 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8145 * sysdeps/x86/fpu/powl_helper.c: New file.
8146 * sysdeps/x86/fpu/Makefile: Likewise.
8147 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8149 (__ieee754_powl): Use __powl_helper for finite arguments except
8150 integer exponents below 8.
8151 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8153 (__ieee754_powl): Use __powl_helper for finite arguments except
8154 integer exponents below 8.
8155 * math/libm-test.inc (pow_test): Add more tests and enable some
8156 previously disabled tests.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8160 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8161 Carlos O'Donell <carlos_odonell@mentor.com>
8163 * nss/makedb.c (is_prime): Assert that input is odd and greater
8164 than 4. Note that fact in a comment too.
8165 (next_prime): Add 4 to input.
8167 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8170 * libio/Makefile (tests): Add test case tst-fwrite-error.
8171 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8172 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8173 * libio/tst-fwrite-error.c: New test case.
8175 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8177 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8178 before casting to void *.
8179 * include/libc-internal.h (__pointer_type): New macro.
8180 (__integer_if_pointer_type_sub): Likewise.
8181 (__integer_if_pointer_type): Likewise.
8182 (cast_to_integer): Likewise.
8183 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8184 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8185 before casting to atomic64_t.
8186 (atomic_exchange_acq): Likewise.
8187 (__arch_exchange_and_add_body): Likewise.
8188 (__arch_add_body): Likewise.
8189 (atomic_add_negative): Likewise.
8190 (atomic_add_zero): Likewise.
8192 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8194 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8195 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8196 (add_fdes): Likewise.
8197 (linear_search_fdes): Likewise.
8198 (binary_search_unencoded_fdes): Likewise.
8200 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8202 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8204 2012-11-24 Adam Conrad <adconrad@0c3.net>
8206 * configure.in: Autodetect C++ header directories.
8207 * configure: Regenerated.
8209 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8211 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8213 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8217 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8219 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8220 LDBL_MANT_DIG == 106]: Disable some tests.
8221 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8223 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8228 input for small inputs. Return +/- pi/2 for large inputs.
8229 * math/libm-test.inc (atan_test): Add more tests.
8231 * sysdeps/generic/unwind-dw2-fde-glibc.c
8232 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8233 __attribute__ ((unused)).
8236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8237 x * y if x and y are nonzero and z is zero.
8240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8241 nonzero exponents with absolute value below 0x1p-117 to +/-
8245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8246 up arguments below 2**-450, not just those below 2**-500.
8247 * math/libm-test.inc (hypot_test): Add another test.
8250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8251 Return a+b for ratio over 2**120, not 2**60.
8252 * math/libm-test.inc (hypot_test): Add another test.
8254 * math/libm-test.inc (clog_test): Use
8255 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8256 (clog10_test): Likewise.
8259 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8261 2012-11-22 Andreas Schwab <schwab@suse.de>
8263 * sysdeps/i386/fpu/libm-test-ulps: Update.
8265 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8267 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8268 printf output with newline.
8270 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8273 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8274 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8275 -z nodlopen, -z initfirst and -z execstack support.
8276 * configure: Regenerated.
8278 * elf/elf.h (DF_1_NODIRECT): New macro.
8279 (DF_1_IGNMULDEF): Likewise.
8280 (DF_1_NOKSYMS): Likewise.
8281 (DF_1_NOHDR): Likewise.
8282 (DF_1_EDITED): Likewise.
8283 (DF_1_NORELOC): Likewise.
8284 (DF_1_SYMINTPOSE): Likewise.
8285 (DF_1_GLOBAUDIT): Likewise.
8286 (DF_1_SINGLETON): Likewise.
8287 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8288 DT_1_SUPPORTED_MASK bits.
8289 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8291 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8293 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8295 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8297 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8300 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8301 (sendmmsg): Move declarations...
8302 * socket/sys/socket.h: ... here.
8303 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8304 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8306 * socket/recvmmsg.c: ... this new file.
8307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8308 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8309 definition of __sendmmsg hidden.
8310 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8311 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8312 Move ENOSYS stub into and include it from...
8313 * socket/sendmmsg.c: ... this new file.
8314 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8315 (sysdep_routines): Move recvmmsg and sendmmsg...
8316 * socket/Makefile (routines): ... here.
8317 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8318 (GLIBC_PRIVATE): Add __sendmmsg.
8319 * include/sys/socket.h (__sendmmsg): Add declarations.
8320 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8323 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8326 variable I1 with __attribute__ ((unused)).
8327 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8329 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8331 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8332 DUMMY variables with __attribute__ ((unused)).
8334 * bits/byteswap.h: Include <bits/types.h>.
8335 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8337 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8339 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8340 string_t. Do not manually set errno.
8341 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8342 length with __strnlen. Make sure to both set errno and return it on
8345 2012-11-19 David S. Miller <davem@davemloft.net>
8347 With help from Joseph Myers.
8348 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8349 very large arguments properly.
8350 * math/libm-test.inc (atan_test): New tests.
8351 (atan2_test): New tests.
8352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8355 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8358 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8361 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8362 [POSIX] (EADDRNOTAVAIL): Likewise.
8363 [POSIX] (EAFNOSUPPORT): Likewise.
8364 [POSIX] (EALREADY): Likewise.
8365 [POSIX] (ECONNABORTED): Likewise.
8366 [POSIX] (ECONNREFUSED): Likewise.
8367 [POSIX] (ECONNRESET): Likewise.
8368 [POSIX] (EDESTADDRREQ): Likewise.
8369 [POSIX] (EDQUOT): Likewise.
8370 [POSIX] (EHOSTUNREACH): Likewise.
8371 [POSIX] (EIDRM): Likewise.
8372 [POSIX] (EISCONN): Likewise.
8373 [POSIX] (ELOOP): Likewise.
8374 [POSIX] (EMULTIHOP): Likewise.
8375 [POSIX] (ENETDOWN): Likewise.
8376 [POSIX] (ENETUNREACH): Likewise.
8377 [POSIX] (ENOBUFS): Likewise.
8378 [POSIX] (ENODATA): Likewise.
8379 [POSIX] (ENOLINK): Likewise.
8380 [POSIX] (ENOMSG): Likewise.
8381 [POSIX] (ENOPROTOOPT): Likewise.
8382 [POSIX] (ENOSR): Likewise.
8383 [POSIX] (ENOSTR): Likewise.
8384 [POSIX] (ENOTCONN): Likewise.
8385 [POSIX] (ENOTSOCK): Likewise.
8386 [POSIX] (EOPNOTSUPP): Likewise.
8387 [POSIX] (EOVERFLOW): Likewise.
8388 [POSIX] (EPROTO): Likewise.
8389 [POSIX] (EPROTONOSUPPORT): Likewise.
8390 [POSIX] (EPROTOTYPE): Likewise.
8391 [POSIX] (ESTALE): Likewise.
8392 [POSIX] (ETIME): Likewise.
8393 [POSIX] (ETXTBSY): Likewise.
8394 [POSIX] (EWOULDBLOCK): Likewise.
8395 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8396 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8397 [POSIX] (SEEK_CUR): Likewise.
8398 [POSIX] (SEEK_END): Likewise.
8399 [POSIX || UNIX98] (mode_t): Do not require.
8400 [POSIX] (off_t): Likewise.
8401 [POSIX] (pid_t): Likewise.
8402 [POSIX] (sys/stat.h): Do not allow header.
8403 [POSIX] (unistd.h): Likewise.
8404 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8405 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8406 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8407 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8409 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8410 sigevent): Specify elements.
8411 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8413 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8414 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8416 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8417 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8418 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8419 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8420 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8421 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8422 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8423 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8424 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8425 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8426 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8427 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8428 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8429 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8431 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8433 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8435 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8438 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8441 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8442 Specify lower bound on value.
8443 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8444 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8445 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8446 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8447 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8448 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8449 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8450 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8452 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8454 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8456 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8457 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8458 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8460 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8462 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8464 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8465 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8466 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8467 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8468 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8469 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8471 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8473 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8475 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8476 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8477 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8478 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8480 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8482 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8483 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8484 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8485 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8486 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8488 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8491 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8492 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8493 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8494 specify as optional.
8495 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8496 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8497 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8498 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8499 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8500 [XPG3] (NL_LANGMAX): Likewise.
8501 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8502 [POSIX || XPG3] (NL_NMAX): Likewise.
8503 [POSIX || XPG3] (NL_SETMAX): Likewise.
8504 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8505 [XPG3] (NZERO): Likewise.
8506 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8507 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8508 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8509 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8510 (REG_ERANGE): Expect.
8511 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8513 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8514 Use (void) in prototype.
8515 [POSIX] (*_t): Allow.
8516 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8517 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8518 (WRDE_BADVAL): Expect.
8520 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8522 [XPG3 || XPG4] (O_RSYNC): Likewise.
8523 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8525 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8526 [XPG3 || XPG4] (sigqueue): Likewise.
8527 [XPG3 || XPG4] (sigtimedwait): Likewise.
8528 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8529 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8530 [XPG3 || XPG4] (vsnprintf): Likewise.
8531 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8533 [XPG3 || XPG4] (blksize_t): Likewise.
8534 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8536 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8537 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8538 [XPG3 || XPG4] (struct itimerspec): Likewise.
8539 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8540 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8541 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8542 [XPG3 || XPG4] (clockid_t): Likewise.
8543 [XPG3 || XPG4] (timer_t): Likewise.
8544 [XPG3 || XPG4] (clock_getres): Likewise.
8545 [XPG3 || XPG4] (clock_gettime): Likewise.
8546 [XPG3 || XPG4] (clock_settime): Likewise.
8547 [XPG3 || XPG4] (nanosleep): Likewise.
8548 [XPG3 || XPG4] (timer_create): Likewise.
8549 [XPG3 || XPG4] (timer_delete): Likewise.
8550 [XPG3 || XPG4] (timer_gettime): Likewise.
8551 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8552 [XPG3 || XPG4] (timer_settime): Likewise.
8553 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8554 [XPG3 || XPG4] (getlogin_r): Likewise.
8555 [XPG3 || XPG4] (pread): Likewise.
8556 [XPG3 || XPG4] (pthread_atfork): Likewise.
8557 [XPG3 || XPG4] (pwrite): Likewise.
8560 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8563 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8565 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8566 finalizing MALLSTREAM.
8568 * sysdeps/mach/hurd/syncfs.c: New file.
8570 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8573 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8574 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8576 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8577 (_nss_dns_gethostbyname4_r): Likewise.
8578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8579 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8581 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8584 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8586 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8588 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8589 * elf/cache.c (print_entry): Print ",AArch64" for
8592 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8593 * elf/cache.c (print_entry): Print ",hard-float" for
8596 2012-11-18 David S. Miller <davem@davemloft.net>
8598 With help from Joseph Myers.
8599 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8601 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8603 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8604 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8607 * math/libm-test.inc (y0_test): New tests.
8608 (y1_test): New tests.
8609 * sysdeps/i386/fpu/libm-test-ulps: Update.
8610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8613 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8615 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8617 * configure: Regenerated.
8619 2012-11-17 David S. Miller <davem@davemloft.net>
8622 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8623 nonzero exponents with absolute value below 0x1p-128 to +/-
8626 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8628 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8630 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8632 * posix/getconf-speclist.c: New file.
8633 * posix/posix-envs.def: Likewise.
8634 * posix/confstr.c (START_ENV_GROUP): New macro.
8635 (END_ENV_GROUP): Likewise.
8636 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8637 (KNOWN_PRESENT_ENV_STRING): Likewise.
8638 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8639 (UNKNOWN_ENVIRONMENT): Likewise.
8640 (confstr): Include posix-envs.def instead of handling
8641 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8642 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8643 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8644 (END_ENV_GROUP): Likewise.
8645 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8646 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8647 (UNKNOWN_ENVIRONMENT): Likewise.
8648 (__sysconf): Include posix-envs.def instead of handling associated
8649 cases directly here.
8650 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8651 preprocessing getconf-speclist.c rather than running getconf or
8652 generating empty file.
8654 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8656 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8658 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8661 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8663 2012-11-16 David S. Miller <davem@davemloft.net>
8665 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8666 smaller than LDBL_EPSILON/2.0L, just return xm1.
8668 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8670 * elf/tst-array1.c (init): Set constructor priority to 1000.
8671 (fini): Set destructor priority to 1000.
8672 * elf/tst-array2dep.c: Likewise.
8674 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8677 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8678 (_IO_new_file_xsputn): Also return EOF if none of the input
8679 data was written when overflow failed.
8680 * libio/iopadn.c (_IO_padn): Likewise.
8681 * libio/iowpadn.c (_IO_wpadn): Likewise.
8682 * stdio-common/tst-put-error.c: Add copyright notice.
8683 (do_test): Add case for printing padded string.
8684 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8685 _IO_padn returned error.
8686 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8687 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8690 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8692 * libio/libioP.h: Add comment note that the references to C++
8693 bits are now obsolete.
8695 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8697 * math/libm-test.inc (check_complex): Use asprintf.
8699 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8701 * debug/pcprofiledump.c (print_version): Update copyright year.
8702 * malloc/memusagestat.c (print_version): Likewise.
8704 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8707 * elf/Makefile (tests): Add tst-audit8.
8708 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8709 ($(objpfx)tst-audit8.out): New target.
8710 (tst-audit8-ENV): New variable.
8711 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8712 audit if l_reloc_result is NULL.
8713 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8714 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8715 * elf/tst-audit8.c: New file.
8717 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8719 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8720 * misc/Makefile (CFLAGS-select.c): Define.
8721 * posix/Makefile (CFLAGS-pause.c): Define.
8723 2012-11-13 David S. Miller <davem@davemloft.net>
8725 * crypt/Makefile: Move test targets after toplevel Rules
8726 inclusion. Grab any necessary sysdep routines when linking.
8727 * crypt/md5.c (md5_process_block): Remove define, we will always
8728 name it __md5_process_block.
8729 (md5_finish_ctx): Update md5_process_block call.
8730 (md5_stream): Likewise.
8731 (md5_process_bytes): Likewise.
8732 (md5_process_block): Rename to __md5_process_block and move to ...
8733 * crypt/md5-block.c: ... here.
8734 * crypt/sha256.c (sha256_process_block): Move to ...
8735 * crypt/sha256-block.c: ... here.
8736 * crypt/sha512.c (sha512_process_block): Move to ...
8737 * crypt/sha512-block.c: ... here.
8738 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8740 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8741 * sysdeps/sparc/sparc64/multiarch/Makefile
8742 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8744 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8747 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8748 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8749 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8750 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8751 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8752 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8753 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8755 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8757 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8760 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8762 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8764 * timezone/tzselect.ksh: Update from tzcode git revision
8765 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8766 * timezone/zdump.c: Likewise.
8767 * timezone/zic.c: Likewise.
8768 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8769 in TZVERSION setting, not $(PKGVERSION).
8770 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8771 REPORT_BUGS_TO settings.
8774 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8777 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8779 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8780 detection to immediately after _FP_ROUND().
8781 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8784 2012-11-11 David S. Miller <davem@davemloft.net>
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8788 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8789 __close rather than their public counterparts.
8791 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8793 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8795 [UNIX98] (sem_timedwait): Do not expect.
8796 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8797 [XPG4 || UNIX98] (sockatmark): Do not expect.
8798 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8799 (clock_getcpuclockid): Do not expect.
8800 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8801 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8803 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8804 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8805 [UNIX98] (vwscanf): Likewise.
8806 [UNIX98] (vswscanf): Likewise.
8808 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8810 * timezone/version.h: Remove file.
8811 * timezone/README: Do not refer to version.h.
8812 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8814 ($(objpfx)zdump.o): Likewise.
8815 ($(objpfx)version.h): New target.
8817 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8819 * timezone/README: Don't mention modification to tzselect.ksh.
8820 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8821 work on unmodified tzselect.ksh. Substitute version numbers in
8824 * Makefile (format-me): Remove.
8825 (INSTALL): Adjust indentation. Use commands directly instead of
8828 * aclocal.m4 (ACX_PKGVERSION): New macro.
8829 (ACX_BUGURL): Likewise.
8830 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8831 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8832 (REPORT_BUGS_TO): Likewise.
8833 * configure: Regenerated.
8834 * config.h.in (PKGVERSION): New macro.
8835 (REPORT_BUGS_TO): Likewise.
8836 * config.make.in (PKGVERSION): New variable.
8837 (PKGVERSION_TEXI): Likewise.
8838 (REPORT_BUGS_TO): Likewise.
8839 (REPORT_BUGS_TEXI): Likewise.
8840 * Makefile (format-me): Use -I$(common-objpfx)manual.
8841 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8842 ($(common-objpfx)manual/%): New target.
8843 (manual/%): Remove target.
8844 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8845 (print_version): Use PKGVERSION.
8846 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8847 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8849 ($(objpfx)xtrace): Likewise.
8850 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8851 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8852 (print_version): Use PKGVERSION.
8853 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8854 (do_version): Use PKGVERSION.
8855 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8857 (common-ldd-rewrite): Likewise.
8858 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8859 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8860 (print_version): Use PKGVERSION.
8861 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8862 * elf/pldd.c (argp_program_bug_address): Remove variable.
8863 (more_help): New function.
8864 (argp): Use more_help.
8865 (print_version): Use PKGVERSION.
8866 * elf/sln.c (main): Use PKGVERSION.
8867 (usage): Use REPORT_BUGS_TO.
8868 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8869 (top level): Use PKGVERSION.
8870 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8871 (print_version): Use PKGVERSION.
8872 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8873 (print_version): Use PKGVERSION.
8874 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8875 (print_version): Use PKGVERSION.
8876 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8877 (print_version): Use PKGVERSION.
8878 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8879 (print_version): Use PKGVERSION.
8880 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8881 (print_version): Use PKGVERSION.
8882 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8884 ($(objpfx)memusage): Likewise.
8885 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8886 (do_version): Use PKGVERSION.
8887 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8888 (print_version): Use PKGVERSION.
8889 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8890 ($PKGVERSION): New variable.
8891 ($REPORT_BUGS_TO): Likewise.
8892 (usage): Use $REPORT_BUGS_TO.
8893 (top level): Use $PKGVERSION.
8894 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8895 ($(objpfx)pkgvers.texi): New rule.
8896 ($(objpfx)stamp-pkgvers): Likewise.
8897 * manual/install.texi: Include pkgvers.texi.
8898 (--with-pkgversion): Document new configure option.
8899 (--with-bugurl): Likewise.
8900 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8901 than necessarily for this particular distribution. Use
8902 REPORT_BUGS_TO for where to report bugs.
8903 * INSTALL: Regenerated.
8904 * manual/libc.texinfo: Include pkgvers.texi.
8905 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8906 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8907 (print_version): Use PKGVERSION.
8908 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8909 (print_version): Use PKGVERSION.
8910 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8911 (print_version): Use PKGVERSION.
8912 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8913 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8915 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8916 (print_version): Use PKGVERSION.
8917 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8918 (print_version): Use PKGVERSION.
8919 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8922 * timezone/checktab.awk: Update from tzcode 2012i.
8923 * timezone/ialloc.c: Likewise.
8924 * timezone/private.h: Likewise.
8925 * timezone/scheck.c: Likewise.
8926 * timezone/tzfile.h: Likewise.
8927 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8928 (TZVERSION): Hardcode tzcode version number.
8929 * timezone/zdump.c: Update from tzcode 2012i.
8930 * timezone/zic.c: Likewise.
8931 * timezone/version.h: New file.
8932 * timezone/README: Describe version.h. Update upstream location.
8935 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8936 (mktemp): Enable declaration.
8937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8954 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8955 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8956 for copies of such integer values.
8957 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8958 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8960 2012-11-09 Andreas Jaeger <aj@suse.de>
8962 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8963 definitions and declarations that are provided by
8964 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8966 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8968 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8969 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8970 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8973 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8975 * elf/elf.h: Update comment before AArch64 relocations.
8977 2012-11-07 David S. Miller <davem@davemloft.net>
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8981 (__start_context): Declare.
8982 (__makecontext_ret): Delete.
8983 (__makecontext): Hook up __start_context instead of
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8986 (sysdep_routines): Add __start_context when in stdlib.
8988 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8990 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8991 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8992 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8994 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8995 (READELF): New variable. Use it instead of hardcoded "readelf".
8997 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8999 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9000 * sysdeps/x86/Makefile: Here.
9001 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9002 * sysdeps/x86/tst-xmmymm.sh: This.
9004 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9006 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9008 [UNIX98] (pthread_barrier_t): Do not expect.
9009 [UNIX98] (pthread_barrierattr_t): Likewise.
9010 [UNIX98] (pthread_spinlock_t): Likewise.
9011 [UNIX98] (pthread_barrier_destroy): Likewise.
9012 [UNIX98] (pthread_barrier_init): Likewise.
9013 [UNIX98] (pthread_barrier_wait): Likewise.
9014 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9015 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9016 [UNIX98] (pthread_barrierattr_init): Likewise.
9017 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9018 [UNIX98] (pthread_getcpuclockid): Likewise.
9019 [UNIX98] (pthread_mutex_timedlock): Likewise.
9020 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9021 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9022 [UNIX98] (pthread_sigmask): Likewise.
9023 [UNIX98] (pthread_spin_destroy): Likewise.
9024 [UNIX98] (pthread_spin_init): Likewise.
9025 [UNIX98] (pthread_spin_lock): Likewise.
9026 [UNIX98] (pthread_spin_trylock): Likewise.
9027 [UNIX98] (pthread_spin_unlock): Likewise.
9028 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9030 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9031 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9032 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9033 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9034 [XPG3 || XPG4] (pthread_key_t): Likewise.
9035 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9036 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9037 [XPG3 || XPG4] (pthread_once_t): Likewise.
9038 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9039 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9040 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9041 [XPG3 || XPG4] (pthread_t): Likewise.
9043 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9045 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9047 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9048 Change function return type to int.
9050 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9051 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9052 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9053 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9054 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9055 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9056 [!POSIX] (posix_madvise): Likewise.
9057 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9059 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9060 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9062 (posix_mem_offset): Likewise.
9063 (posix_typed_mem_get_info): Likewise.
9064 (posix_typed_mem_open): Likewise.
9066 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9067 Change condition to [XOPEN2K8].
9069 * conform/conformtest.pl: Preprocess allow-header data with -x c
9070 instead of from stdin.
9071 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9072 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9073 [C99-based standards] (cerfc): Likewise.
9074 [C99-based standards] (cexp2): Likewise.
9075 [C99-based standards] (cexpm1): Likewise.
9076 [C99-based standards] (clog10): Likewise.
9077 [C99-based standards] (clog1p): Likewise.
9078 [C99-based standards] (clog2): Likewise.
9079 [C99-based standards] (clgamma): Likewise.
9080 [C99-based standards] (ctgamma): Likewise.
9081 [C99-based standards] (cerff): Likewise.
9082 [C99-based standards] (cerfcf): Likewise.
9083 [C99-based standards] (cexp2f): Likewise.
9084 [C99-based standards] (cexpm1f): Likewise.
9085 [C99-based standards] (clog10f): Likewise.
9086 [C99-based standards] (clog1pf): Likewise.
9087 [C99-based standards] (clog2f): Likewise.
9088 [C99-based standards] (clgammaf): Likewise.
9089 [C99-based standards] (ctgammaf): Likewise.
9090 [C99-based standards] (cerfl): Likewise.
9091 [C99-based standards] (cerfcl): Likewise.
9092 [C99-based standards] (cexp2l): Likewise.
9093 [C99-based standards] (cexpm1l): Likewise.
9094 [C99-based standards] (clog10l): Likewise.
9095 [C99-based standards] (clog1pl): Likewise.
9096 [C99-based standards] (clog2l): Likewise.
9097 [C99-based standards] (clgammal): Likewise.
9098 [C99-based standards] (ctgammal): Likewise.
9099 * conform/data/inttypes.h-data [C99-based standards]: Include
9100 stdint.h-data. Remove all expectations for stdint.h contents.
9101 [C99-based standards] (PRI*): Do not allow.
9102 [C99-based standards] (SCN*): Likewise.
9103 [C99-based standards] (*_t): Likewise.
9104 [C99-based-standards] (PRId8): Expect macro.
9105 [C99-based-standards] (PRIi8): Likewise.
9106 [C99-based-standards] (PRIo8): Likewise.
9107 [C99-based-standards] (PRIu8): Likewise.
9108 [C99-based-standards] (PRIx8): Likewise.
9109 [C99-based-standards] (PRIX8): Likewise.
9110 [C99-based-standards] (SCNd8): Likewise.
9111 [C99-based-standards] (SCNi8): Likewise.
9112 [C99-based-standards] (SCNo8): Likewise.
9113 [C99-based-standards] (SCNu8): Likewise.
9114 [C99-based-standards] (SCNx8): Likewise.
9115 [C99-based-standards] (PRIdLEAST8): Likewise.
9116 [C99-based-standards] (PRIiLEAST8): Likewise.
9117 [C99-based-standards] (PRIoLEAST8): Likewise.
9118 [C99-based-standards] (PRIuLEAST8): Likewise.
9119 [C99-based-standards] (PRIxLEAST8): Likewise.
9120 [C99-based-standards] (PRIXLEAST8): Likewise.
9121 [C99-based-standards] (SCNdLEAST8): Likewise.
9122 [C99-based-standards] (SCNiLEAST8): Likewise.
9123 [C99-based-standards] (SCNoLEAST8): Likewise.
9124 [C99-based-standards] (SCNuLEAST8): Likewise.
9125 [C99-based-standards] (SCNxLEAST8): Likewise.
9126 [C99-based-standards] (PRIdFAST8): Likewise.
9127 [C99-based-standards] (PRIiFAST8): Likewise.
9128 [C99-based-standards] (PRIoFAST8): Likewise.
9129 [C99-based-standards] (PRIuFAST8): Likewise.
9130 [C99-based-standards] (PRIxFAST8): Likewise.
9131 [C99-based-standards] (PRIXFAST8): Likewise.
9132 [C99-based-standards] (SCNdFAST8): Likewise.
9133 [C99-based-standards] (SCNiFAST8): Likewise.
9134 [C99-based-standards] (SCNoFAST8): Likewise.
9135 [C99-based-standards] (SCNuFAST8): Likewise.
9136 [C99-based-standards] (SCNxFAST8): Likewise.
9137 [C99-based-standards] (PRId16): Likewise.
9138 [C99-based-standards] (PRIi16): Likewise.
9139 [C99-based-standards] (PRIo16): Likewise.
9140 [C99-based-standards] (PRIu16): Likewise.
9141 [C99-based-standards] (PRIx16): Likewise.
9142 [C99-based-standards] (PRIX16): Likewise.
9143 [C99-based-standards] (SCNd16): Likewise.
9144 [C99-based-standards] (SCNi16): Likewise.
9145 [C99-based-standards] (SCNo16): Likewise.
9146 [C99-based-standards] (SCNu16): Likewise.
9147 [C99-based-standards] (SCNx16): Likewise.
9148 [C99-based-standards] (PRIdLEAST16): Likewise.
9149 [C99-based-standards] (PRIiLEAST16): Likewise.
9150 [C99-based-standards] (PRIoLEAST16): Likewise.
9151 [C99-based-standards] (PRIuLEAST16): Likewise.
9152 [C99-based-standards] (PRIxLEAST16): Likewise.
9153 [C99-based-standards] (PRIXLEAST16): Likewise.
9154 [C99-based-standards] (SCNdLEAST16): Likewise.
9155 [C99-based-standards] (SCNiLEAST16): Likewise.
9156 [C99-based-standards] (SCNoLEAST16): Likewise.
9157 [C99-based-standards] (SCNuLEAST16): Likewise.
9158 [C99-based-standards] (SCNxLEAST16): Likewise.
9159 [C99-based-standards] (PRIdFAST16): Likewise.
9160 [C99-based-standards] (PRIiFAST16): Likewise.
9161 [C99-based-standards] (PRIoFAST16): Likewise.
9162 [C99-based-standards] (PRIuFAST16): Likewise.
9163 [C99-based-standards] (PRIxFAST16): Likewise.
9164 [C99-based-standards] (PRIXFAST16): Likewise.
9165 [C99-based-standards] (SCNdFAST16): Likewise.
9166 [C99-based-standards] (SCNiFAST16): Likewise.
9167 [C99-based-standards] (SCNoFAST16): Likewise.
9168 [C99-based-standards] (SCNuFAST16): Likewise.
9169 [C99-based-standards] (SCNxFAST16): Likewise.
9170 [C99-based-standards] (PRId32): Likewise.
9171 [C99-based-standards] (PRIi32): Likewise.
9172 [C99-based-standards] (PRIo32): Likewise.
9173 [C99-based-standards] (PRIu32): Likewise.
9174 [C99-based-standards] (PRIx32): Likewise.
9175 [C99-based-standards] (PRIX32): Likewise.
9176 [C99-based-standards] (SCNd32): Likewise.
9177 [C99-based-standards] (SCNi32): Likewise.
9178 [C99-based-standards] (SCNo32): Likewise.
9179 [C99-based-standards] (SCNu32): Likewise.
9180 [C99-based-standards] (SCNx32): Likewise.
9181 [C99-based-standards] (PRIdLEAST32): Likewise.
9182 [C99-based-standards] (PRIiLEAST32): Likewise.
9183 [C99-based-standards] (PRIoLEAST32): Likewise.
9184 [C99-based-standards] (PRIuLEAST32): Likewise.
9185 [C99-based-standards] (PRIxLEAST32): Likewise.
9186 [C99-based-standards] (PRIXLEAST32): Likewise.
9187 [C99-based-standards] (SCNdLEAST32): Likewise.
9188 [C99-based-standards] (SCNiLEAST32): Likewise.
9189 [C99-based-standards] (SCNoLEAST32): Likewise.
9190 [C99-based-standards] (SCNuLEAST32): Likewise.
9191 [C99-based-standards] (SCNxLEAST32): Likewise.
9192 [C99-based-standards] (PRIdFAST32): Likewise.
9193 [C99-based-standards] (PRIiFAST32): Likewise.
9194 [C99-based-standards] (PRIoFAST32): Likewise.
9195 [C99-based-standards] (PRIuFAST32): Likewise.
9196 [C99-based-standards] (PRIxFAST32): Likewise.
9197 [C99-based-standards] (PRIXFAST32): Likewise.
9198 [C99-based-standards] (SCNdFAST32): Likewise.
9199 [C99-based-standards] (SCNiFAST32): Likewise.
9200 [C99-based-standards] (SCNoFAST32): Likewise.
9201 [C99-based-standards] (SCNuFAST32): Likewise.
9202 [C99-based-standards] (SCNxFAST32): Likewise.
9203 [C99-based-standards] (PRId64): Likewise.
9204 [C99-based-standards] (PRIi64): Likewise.
9205 [C99-based-standards] (PRIo64): Likewise.
9206 [C99-based-standards] (PRIu64): Likewise.
9207 [C99-based-standards] (PRIx64): Likewise.
9208 [C99-based-standards] (PRIX64): Likewise.
9209 [C99-based-standards] (SCNd64): Likewise.
9210 [C99-based-standards] (SCNi64): Likewise.
9211 [C99-based-standards] (SCNo64): Likewise.
9212 [C99-based-standards] (SCNu64): Likewise.
9213 [C99-based-standards] (SCNx64): Likewise.
9214 [C99-based-standards] (PRIdLEAST64): Likewise.
9215 [C99-based-standards] (PRIiLEAST64): Likewise.
9216 [C99-based-standards] (PRIoLEAST64): Likewise.
9217 [C99-based-standards] (PRIuLEAST64): Likewise.
9218 [C99-based-standards] (PRIxLEAST64): Likewise.
9219 [C99-based-standards] (PRIXLEAST64): Likewise.
9220 [C99-based-standards] (SCNdLEAST64): Likewise.
9221 [C99-based-standards] (SCNiLEAST64): Likewise.
9222 [C99-based-standards] (SCNoLEAST64): Likewise.
9223 [C99-based-standards] (SCNuLEAST64): Likewise.
9224 [C99-based-standards] (SCNxLEAST64): Likewise.
9225 [C99-based-standards] (PRIdFAST64): Likewise.
9226 [C99-based-standards] (PRIiFAST64): Likewise.
9227 [C99-based-standards] (PRIoFAST64): Likewise.
9228 [C99-based-standards] (PRIuFAST64): Likewise.
9229 [C99-based-standards] (PRIxFAST64): Likewise.
9230 [C99-based-standards] (PRIXFAST64): Likewise.
9231 [C99-based-standards] (SCNdFAST64): Likewise.
9232 [C99-based-standards] (SCNiFAST64): Likewise.
9233 [C99-based-standards] (SCNoFAST64): Likewise.
9234 [C99-based-standards] (SCNuFAST64): Likewise.
9235 [C99-based-standards] (SCNxFAST64): Likewise.
9236 [C99-based-standards] (PRIdMAX): Likewise.
9237 [C99-based-standards] (PRIiMAX): Likewise.
9238 [C99-based-standards] (PRIoMAX): Likewise.
9239 [C99-based-standards] (PRIuMAX): Likewise.
9240 [C99-based-standards] (PRIxMAX): Likewise.
9241 [C99-based-standards] (PRIXMAX): Likewise.
9242 [C99-based-standards] (SCNdMAX): Likewise.
9243 [C99-based-standards] (SCNiMAX): Likewise.
9244 [C99-based-standards] (SCNoMAX): Likewise.
9245 [C99-based-standards] (SCNuMAX): Likewise.
9246 [C99-based-standards] (SCNxMAX): Likewise.
9247 [C99-based-standards] (PRIdPTR): Likewise.
9248 [C99-based-standards] (PRIiPTR): Likewise.
9249 [C99-based-standards] (PRIoPTR): Likewise.
9250 [C99-based-standards] (PRIuPTR): Likewise.
9251 [C99-based-standards] (PRIxPTR): Likewise.
9252 [C99-based-standards] (PRIXPTR): Likewise.
9253 [C99-based-standards] (SCNdPTR): Likewise.
9254 [C99-based-standards] (SCNiPTR): Likewise.
9255 [C99-based-standards] (SCNoPTR): Likewise.
9256 [C99-based-standards] (SCNuPTR): Likewise.
9257 [C99-based-standards] (SCNxPTR): Likewise.
9258 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9260 * conform/data/stdint.h-data: Update comments to clarify
9262 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9264 [C99-based standards] (INT8_MAX): Likewise.
9265 [C99-based standards] (INT16_MIN): Likewise.
9266 [C99-based standards] (INT16_MAX): Likewise.
9267 [C99-based standards] (INT32_MIN): Likewise.
9268 [C99-based standards] (INT32_MAX): Likewise.
9269 [C99-based standards] (INT64_MIN): Likewise.
9270 [C99-based standards] (INT64_MAX): Likewise.
9271 [C99-based standards] (UINT8_MAX): Likewise.
9272 [C99-based standards] (UINT16_MAX): Likewise.
9273 [C99-based standards] (UINT32_MAX): Likewise.
9274 [C99-based standards] (UINT64_MAX): Likewise.
9275 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9276 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9277 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9278 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9279 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9280 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9281 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9282 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9283 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9284 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9285 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9286 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9287 [C99-based standards] (INT_FAST8_MIN): Likewise.
9288 [C99-based standards] (INT_FAST8_MAX): Likewise.
9289 [C99-based standards] (INT_FAST16_MIN): Likewise.
9290 [C99-based standards] (INT_FAST16_MAX): Likewise.
9291 [C99-based standards] (INT_FAST32_MIN): Likewise.
9292 [C99-based standards] (INT_FAST32_MAX): Likewise.
9293 [C99-based standards] (INT_FAST64_MIN): Likewise.
9294 [C99-based standards] (INT_FAST64_MAX): Likewise.
9295 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9296 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9297 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9298 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9299 [C99-based standards] (INTPTR_MIN): Likewise.
9300 [C99-based standards] (INTPTR_MAX): Likewise.
9301 [C99-based standards] (UINTPTR_MAX): Likewise.
9302 [C99-based standards] (INTMAX_MIN): Likewise.
9303 [C99-based standards] (INTMAX_MAX): Likewise.
9304 [C99-based standards] (UINTMAX_MAX): Likewise.
9305 [C99-based standards] (PTRDIFF_MIN): Likewise.
9306 [C99-based standards] (PTRDIFF_MAX): Likewise.
9307 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9308 [C99-based standards] (SIZE_MAX): Likewise.
9309 [C99-based standards] (WCHAR_MAX): Likewise.
9310 [C99-based standards] (WINT_MAX): Likewise.
9311 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9312 constraint on value.
9313 [C99-based standards] (WCHAR_MIN): Likewise.
9314 [C99-based standards] (WINT_MIN): Likewise.
9315 [C99-based standards] (*_t): Allow.
9316 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9317 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9318 Include math.h-data and complex.h-data. Remove all expectations
9319 of math.h and complex.h contents.
9320 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9322 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9323 (struct tm): Expect tag.
9324 [C99-based-standards] (wcstof): Expect function.
9325 [C99-based-standards] (wcstold): Likewise.
9326 [C99-based-standards] (wcstoll): Likewise.
9327 [C99-based-standards] (wcstoull): Likewise.
9328 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9329 macro-int-constant. Specify type.
9330 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9331 constraint on value.
9332 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9334 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9336 [ISO C standards]: Do not allow headers.
9337 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9338 wcs[abcdefghijklmnopqrstuvwxyz]*.
9339 [ISO C standards] (*_t): Do not allow.
9340 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9342 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9343 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9345 [ISO C standards]: Do not allow headers.
9346 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9347 is[abcdefghijklmnopqrstuvwxyz]*.
9348 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9349 to[abcdefghijklmnopqrstuvwxyz]*.
9350 [ISO C standards] (*_t): Do not allow.
9351 * conform/data/stdalign.h-data: New file.
9352 * conform/data/stdbool.h-data: Likewise.
9353 * conform/data/stdnoreturn.h-data: Likewise.
9355 2012-11-07 Roland McGrath <roland@hack.frob.com>
9358 * manual/filesys.texi (Directory Entries): Typo fix.
9359 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9361 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9363 * elf/elf.h (EM_AARCH64): New macro.
9364 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9365 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9366 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9367 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9368 (R_AARCH64_TLSDESC): Likewise.
9369 (NT_ARM_TLS): Likewise.
9370 (NT_ARM_HW_BREAK): Likewise.
9371 (NT_ARM_HW_WATCH): Likewise.
9373 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9376 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9377 (__ieee754_powl): Saturate nonzero exponents with absolute value
9378 below 0x1p-79 to +/- 0x1p-79.
9379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9380 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9381 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9382 nonzero exponents with absolute value below 0x1p-32 to +/-
9384 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9385 (__ieee754_powl): Saturate nonzero exponents with absolute value
9386 below 0x1p-79 to +/- 0x1p-79.
9387 * math/libm-test.inc (pow_test): Add more tests.
9389 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9391 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9392 _dl_s390_cap_flags with kernel. Increase string length.
9393 (_dl_s390_platforms): Add z196 and zEC12.
9395 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9397 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9398 Change XOPEN21K to XOPEN2K.
9400 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9402 * string/memmove.c: Use memcpy when possible.
9404 2012-11-06 Andreas Jaeger <aj@suse.de>
9406 * po/eo.po: Update from translation team.
9408 2012-11-06 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9412 exponent and small x and y exponents, scale x or y up. Increase
9413 by 2 the exponent used in scaling up.
9414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9416 * math/libm-test.inc (fma_test): Add more tests.
9417 (fma_test_towardzero): Likewise.
9418 (fma_test_downward): Likewise.
9419 (fma_test_upward): Likewise.
9421 2012-11-05 Joseph Myers <joseph@codesourcery.com>
9424 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9428 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9429 namespace for names of struct fields.
9430 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9432 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9433 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9435 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9438 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9440 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9442 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9446 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9449 2012-11-04 Joseph Myers <joseph@codesourcery.com>
9452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9453 definitely overflow as x * y not x * y + z.
9454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9456 * math/libm-test.inc (fma_test): Add more tests.
9457 (fma_test_towardzero): Likewise.
9458 (fma_test_downward): Likewise.
9459 (fma_test_upward): Likewise.
9461 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9465 * include/stub-tag.h: Remove file.
9466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9468 * manual/maint.texi (Porting): Don't reference it.
9469 * Makerules ($(objpfx)stubs): Likewise.
9470 * dirent/closedir.c: Don't include <stub-tag.h>.
9471 * dirent/dirfd.c: Likewise.
9472 * dirent/fdopendir.c: Likewise.
9473 * dirent/getdents.c: Likewise.
9474 * dirent/getdents64.c: Likewise.
9475 * dirent/opendir.c: Likewise.
9476 * dirent/readdir.c: Likewise.
9477 * dirent/readdir64.c: Likewise.
9478 * dirent/readdir64_r.c: Likewise.
9479 * dirent/readdir_r.c: Likewise.
9480 * dirent/rewinddir.c: Likewise.
9481 * dirent/seekdir.c: Likewise.
9482 * dirent/telldir.c: Likewise.
9483 * gmon/profil.c: Likewise.
9484 * grp/setgroups.c: Likewise.
9485 * inet/if_index.c: Likewise.
9486 * io/access.c: Likewise.
9487 * io/chdir.c: Likewise.
9488 * io/chmod.c: Likewise.
9489 * io/chown.c: Likewise.
9490 * io/close.c: Likewise.
9491 * io/dup.c: Likewise.
9492 * io/dup2.c: Likewise.
9493 * io/dup3.c: Likewise.
9494 * io/euidaccess.c: Likewise.
9495 * io/faccessat.c: Likewise.
9496 * io/fchdir.c: Likewise.
9497 * io/fchmod.c: Likewise.
9498 * io/fchmodat.c: Likewise.
9499 * io/fchown.c: Likewise.
9500 * io/fchownat.c: Likewise.
9501 * io/fcntl.c: Likewise.
9502 * io/flock.c: Likewise.
9503 * io/fstatfs.c: Likewise.
9504 * io/fstatfs64.c: Likewise.
9505 * io/fstatvfs.c: Likewise.
9506 * io/fstatvfs64.c: Likewise.
9507 * io/futimens.c: Likewise.
9508 * io/fxstat.c: Likewise.
9509 * io/fxstat64.c: Likewise.
9510 * io/fxstatat.c: Likewise.
9511 * io/fxstatat64.c: Likewise.
9512 * io/getcwd.c: Likewise.
9513 * io/isatty.c: Likewise.
9514 * io/lchmod.c: Likewise.
9515 * io/lchown.c: Likewise.
9516 * io/link.c: Likewise.
9517 * io/linkat.c: Likewise.
9518 * io/lseek.c: Likewise.
9519 * io/lseek64.c: Likewise.
9520 * io/lxstat64.c: Likewise.
9521 * io/mkdir.c: Likewise.
9522 * io/mkdirat.c: Likewise.
9523 * io/mkfifo.c: Likewise.
9524 * io/mkfifoat.c: Likewise.
9525 * io/open.c: Likewise.
9526 * io/open64.c: Likewise.
9527 * io/openat.c: Likewise.
9528 * io/openat64.c: Likewise.
9529 * io/pipe.c: Likewise.
9530 * io/pipe2.c: Likewise.
9531 * io/poll.c: Likewise.
9532 * io/posix_fadvise.c: Likewise.
9533 * io/posix_fadvise64.c: Likewise.
9534 * io/posix_fallocate.c: Likewise.
9535 * io/posix_fallocate64.c: Likewise.
9536 * io/read.c: Likewise.
9537 * io/readlink.c: Likewise.
9538 * io/readlinkat.c: Likewise.
9539 * io/rmdir.c: Likewise.
9540 * io/sendfile.c: Likewise.
9541 * io/sendfile64.c: Likewise.
9542 * io/statfs.c: Likewise.
9543 * io/statfs64.c: Likewise.
9544 * io/statvfs.c: Likewise.
9545 * io/statvfs64.c: Likewise.
9546 * io/symlink.c: Likewise.
9547 * io/symlinkat.c: Likewise.
9548 * io/ttyname.c: Likewise.
9549 * io/ttyname_r.c: Likewise.
9550 * io/umask.c: Likewise.
9551 * io/unlink.c: Likewise.
9552 * io/unlinkat.c: Likewise.
9553 * io/utime.c: Likewise.
9554 * io/utimensat.c: Likewise.
9555 * io/write.c: Likewise.
9556 * io/xmknod.c: Likewise.
9557 * io/xmknodat.c: Likewise.
9558 * io/xstat.c: Likewise.
9559 * io/xstat64.c: Likewise.
9560 * login/getpt.c: Likewise.
9561 * login/grantpt.c: Likewise.
9562 * login/unlockpt.c: Likewise.
9563 * math/e_acoshl.c: Likewise.
9564 * math/e_acosl.c: Likewise.
9565 * math/e_asinl.c: Likewise.
9566 * math/e_atan2l.c: Likewise.
9567 * math/e_atanhl.c: Likewise.
9568 * math/e_coshl.c: Likewise.
9569 * math/e_expl.c: Likewise.
9570 * math/e_fmodl.c: Likewise.
9571 * math/e_gammal_r.c: Likewise.
9572 * math/e_hypotl.c: Likewise.
9573 * math/e_j0l.c: Likewise.
9574 * math/e_j1l.c: Likewise.
9575 * math/e_jnl.c: Likewise.
9576 * math/e_lgammal_r.c: Likewise.
9577 * math/e_log10l.c: Likewise.
9578 * math/e_log2l.c: Likewise.
9579 * math/e_logl.c: Likewise.
9580 * math/e_powl.c: Likewise.
9581 * math/e_rem_pio2l.c: Likewise.
9582 * math/e_sinhl.c: Likewise.
9583 * math/e_sqrtl.c: Likewise.
9584 * math/fclrexcpt.c: Likewise.
9585 * math/fedisblxcpt.c: Likewise.
9586 * math/feenablxcpt.c: Likewise.
9587 * math/fegetenv.c: Likewise.
9588 * math/fegetexcept.c: Likewise.
9589 * math/fegetround.c: Likewise.
9590 * math/feholdexcpt.c: Likewise.
9591 * math/fesetenv.c: Likewise.
9592 * math/fesetround.c: Likewise.
9593 * math/feupdateenv.c: Likewise.
9594 * math/fgetexcptflg.c: Likewise.
9595 * math/fraiseexcpt.c: Likewise.
9596 * math/fsetexcptflg.c: Likewise.
9597 * math/ftestexcept.c: Likewise.
9598 * math/k_cosl.c: Likewise.
9599 * math/k_rem_pio2l.c: Likewise.
9600 * math/k_sinl.c: Likewise.
9601 * math/k_tanl.c: Likewise.
9602 * math/s_asinhl.c: Likewise.
9603 * math/s_atanl.c: Likewise.
9604 * math/s_cbrtl.c: Likewise.
9605 * math/s_erfl.c: Likewise.
9606 * math/s_expm1l.c: Likewise.
9607 * math/s_log1pl.c: Likewise.
9608 * math/s_tanhl.c: Likewise.
9609 * misc/acct.c: Likewise.
9610 * misc/brk.c: Likewise.
9611 * misc/chflags.c: Likewise.
9612 * misc/chroot.c: Likewise.
9613 * misc/fchflags.c: Likewise.
9614 * misc/fgetxattr.c: Likewise.
9615 * misc/flistxattr.c: Likewise.
9616 * misc/fremovexattr.c: Likewise.
9617 * misc/fsetxattr.c: Likewise.
9618 * misc/fsync.c: Likewise.
9619 * misc/ftruncate.c: Likewise.
9620 * misc/futimes.c: Likewise.
9621 * misc/futimesat.c: Likewise.
9622 * misc/getdomain.c: Likewise.
9623 * misc/getdtsz.c: Likewise.
9624 * misc/gethostid.c: Likewise.
9625 * misc/gethostname.c: Likewise.
9626 * misc/getloadavg.c: Likewise.
9627 * misc/getpagesize.c: Likewise.
9628 * misc/getsysstats.c: Likewise.
9629 * misc/getxattr.c: Likewise.
9630 * misc/gtty.c: Likewise.
9631 * misc/ioctl.c: Likewise.
9632 * misc/lgetxattr.c: Likewise.
9633 * misc/listxattr.c: Likewise.
9634 * misc/llistxattr.c: Likewise.
9635 * misc/lremovexattr.c: Likewise.
9636 * misc/lsetxattr.c: Likewise.
9637 * misc/lutimes.c: Likewise.
9638 * misc/madvise.c: Likewise.
9639 * misc/mincore.c: Likewise.
9640 * misc/mlock.c: Likewise.
9641 * misc/mlockall.c: Likewise.
9642 * misc/mmap.c: Likewise.
9643 * misc/mprotect.c: Likewise.
9644 * misc/msync.c: Likewise.
9645 * misc/munlock.c: Likewise.
9646 * misc/munlockall.c: Likewise.
9647 * misc/munmap.c: Likewise.
9648 * misc/preadv.c: Likewise.
9649 * misc/preadv64.c: Likewise.
9650 * misc/ptrace.c: Likewise.
9651 * misc/pwritev.c: Likewise.
9652 * misc/pwritev64.c: Likewise.
9653 * misc/readv.c: Likewise.
9654 * misc/reboot.c: Likewise.
9655 * misc/remap_file_pages.c: Likewise.
9656 * misc/removexattr.c: Likewise.
9657 * misc/revoke.c: Likewise.
9658 * misc/select.c: Likewise.
9659 * misc/setdomain.c: Likewise.
9660 * misc/setegid.c: Likewise.
9661 * misc/seteuid.c: Likewise.
9662 * misc/sethostid.c: Likewise.
9663 * misc/sethostname.c: Likewise.
9664 * misc/setregid.c: Likewise.
9665 * misc/setreuid.c: Likewise.
9666 * misc/setxattr.c: Likewise.
9667 * misc/sstk.c: Likewise.
9668 * misc/stty.c: Likewise.
9669 * misc/swapoff.c: Likewise.
9670 * misc/swapon.c: Likewise.
9671 * misc/sync.c: Likewise.
9672 * misc/syncfs.c: Likewise.
9673 * misc/syscall.c: Likewise.
9674 * misc/truncate.c: Likewise.
9675 * misc/ualarm.c: Likewise.
9676 * misc/usleep.c: Likewise.
9677 * misc/ustat.c: Likewise.
9678 * misc/utimes.c: Likewise.
9679 * misc/vhangup.c: Likewise.
9680 * misc/writev.c: Likewise.
9681 * posix/_exit.c: Likewise.
9682 * posix/alarm.c: Likewise.
9683 * posix/execve.c: Likewise.
9684 * posix/fexecve.c: Likewise.
9685 * posix/fork.c: Likewise.
9686 * posix/fpathconf.c: Likewise.
9687 * posix/getaddrinfo.c: Likewise.
9688 * posix/getegid.c: Likewise.
9689 * posix/geteuid.c: Likewise.
9690 * posix/getgid.c: Likewise.
9691 * posix/getgroups.c: Likewise.
9692 * posix/getlogin.c: Likewise.
9693 * posix/getlogin_r.c: Likewise.
9694 * posix/getpgid.c: Likewise.
9695 * posix/getpid.c: Likewise.
9696 * posix/getppid.c: Likewise.
9697 * posix/getresgid.c: Likewise.
9698 * posix/getresuid.c: Likewise.
9699 * posix/getsid.c: Likewise.
9700 * posix/getuid.c: Likewise.
9701 * posix/glob64.c: Likewise.
9702 * posix/nanosleep.c: Likewise.
9703 * posix/pathconf.c: Likewise.
9704 * posix/pause.c: Likewise.
9705 * posix/posix_madvise.c: Likewise.
9706 * posix/pread.c: Likewise.
9707 * posix/pread64.c: Likewise.
9708 * posix/pwrite.c: Likewise.
9709 * posix/pwrite64.c: Likewise.
9710 * posix/sched_getaffinity.c: Likewise.
9711 * posix/sched_getp.c: Likewise.
9712 * posix/sched_gets.c: Likewise.
9713 * posix/sched_primax.c: Likewise.
9714 * posix/sched_primin.c: Likewise.
9715 * posix/sched_rr_gi.c: Likewise.
9716 * posix/sched_setaffinity.c: Likewise.
9717 * posix/sched_setp.c: Likewise.
9718 * posix/sched_sets.c: Likewise.
9719 * posix/sched_yield.c: Likewise.
9720 * posix/setgid.c: Likewise.
9721 * posix/setlogin.c: Likewise.
9722 * posix/setpgid.c: Likewise.
9723 * posix/setresgid.c: Likewise.
9724 * posix/setresuid.c: Likewise.
9725 * posix/setsid.c: Likewise.
9726 * posix/setuid.c: Likewise.
9727 * posix/sleep.c: Likewise.
9728 * posix/spawni.c: Likewise.
9729 * posix/sysconf.c: Likewise.
9730 * posix/times.c: Likewise.
9731 * posix/wait.c: Likewise.
9732 * posix/wait3.c: Likewise.
9733 * posix/wait4.c: Likewise.
9734 * posix/waitpid.c: Likewise.
9735 * resolv/gai_sigqueue.c: Likewise.
9736 * resource/getpriority.c: Likewise.
9737 * resource/getrlimit.c: Likewise.
9738 * resource/getrusage.c: Likewise.
9739 * resource/nice.c: Likewise.
9740 * resource/setpriority.c: Likewise.
9741 * resource/setrlimit.c: Likewise.
9742 * resource/ulimit.c: Likewise.
9743 * rt/aio_cancel.c: Likewise.
9744 * rt/aio_fsync.c: Likewise.
9745 * rt/aio_read.c: Likewise.
9746 * rt/aio_sigqueue.c: Likewise.
9747 * rt/aio_suspend.c: Likewise.
9748 * rt/aio_write.c: Likewise.
9749 * rt/clock_getres.c: Likewise.
9750 * rt/clock_gettime.c: Likewise.
9751 * rt/clock_nanosleep.c: Likewise.
9752 * rt/clock_settime.c: Likewise.
9753 * rt/lio_listio.c: Likewise.
9754 * rt/mq_close.c: Likewise.
9755 * rt/mq_getattr.c: Likewise.
9756 * rt/mq_notify.c: Likewise.
9757 * rt/mq_open.c: Likewise.
9758 * rt/mq_receive.c: Likewise.
9759 * rt/mq_send.c: Likewise.
9760 * rt/mq_setattr.c: Likewise.
9761 * rt/mq_timedreceive.c: Likewise.
9762 * rt/mq_timedsend.c: Likewise.
9763 * rt/mq_unlink.c: Likewise.
9764 * rt/shm_open.c: Likewise.
9765 * rt/shm_unlink.c: Likewise.
9766 * rt/timer_create.c: Likewise.
9767 * rt/timer_delete.c: Likewise.
9768 * rt/timer_getoverr.c: Likewise.
9769 * rt/timer_gettime.c: Likewise.
9770 * rt/timer_settime.c: Likewise.
9771 * setjmp/__longjmp.c: Likewise.
9772 * setjmp/setjmp.c: Likewise.
9773 * signal/kill.c: Likewise.
9774 * signal/killpg.c: Likewise.
9775 * signal/raise.c: Likewise.
9776 * signal/sigaction.c: Likewise.
9777 * signal/sigaltstack.c: Likewise.
9778 * signal/sigblock.c: Likewise.
9779 * signal/sigignore.c: Likewise.
9780 * signal/sigintr.c: Likewise.
9781 * signal/signal.c: Likewise.
9782 * signal/sigpause.c: Likewise.
9783 * signal/sigpending.c: Likewise.
9784 * signal/sigqueue.c: Likewise.
9785 * signal/sigreturn.c: Likewise.
9786 * signal/sigset.c: Likewise.
9787 * signal/sigsetmask.c: Likewise.
9788 * signal/sigstack.c: Likewise.
9789 * signal/sigsuspend.c: Likewise.
9790 * signal/sigtimedwait.c: Likewise.
9791 * signal/sigvec.c: Likewise.
9792 * signal/sigwait.c: Likewise.
9793 * signal/sigwaitinfo.c: Likewise.
9794 * signal/sysv_signal.c: Likewise.
9795 * socket/accept.c: Likewise.
9796 * socket/accept4.c: Likewise.
9797 * socket/bind.c: Likewise.
9798 * socket/connect.c: Likewise.
9799 * socket/getpeername.c: Likewise.
9800 * socket/getsockname.c: Likewise.
9801 * socket/getsockopt.c: Likewise.
9802 * socket/isfdtype.c: Likewise.
9803 * socket/listen.c: Likewise.
9804 * socket/recv.c: Likewise.
9805 * socket/recvfrom.c: Likewise.
9806 * socket/recvmsg.c: Likewise.
9807 * socket/send.c: Likewise.
9808 * socket/sendmsg.c: Likewise.
9809 * socket/sendto.c: Likewise.
9810 * socket/setsockopt.c: Likewise.
9811 * socket/shutdown.c: Likewise.
9812 * socket/sockatmark.c: Likewise.
9813 * socket/socket.c: Likewise.
9814 * socket/socketpair.c: Likewise.
9815 * stdio-common/ctermid.c: Likewise.
9816 * stdio-common/cuserid.c: Likewise.
9817 * stdio-common/remove.c: Likewise.
9818 * stdio-common/rename.c: Likewise.
9819 * stdio-common/renameat.c: Likewise.
9820 * stdio-common/tempname.c: Likewise.
9821 * stdlib/getcontext.c: Likewise.
9822 * stdlib/makecontext.c: Likewise.
9823 * stdlib/setcontext.c: Likewise.
9824 * stdlib/swapcontext.c: Likewise.
9825 * stdlib/system.c: Likewise.
9826 * streams/fattach.c: Likewise.
9827 * streams/fdetach.c: Likewise.
9828 * streams/getmsg.c: Likewise.
9829 * streams/getpmsg.c: Likewise.
9830 * streams/putmsg.c: Likewise.
9831 * streams/putpmsg.c: Likewise.
9832 * sysdeps/unix/bsd/getpt.c: Likewise.
9833 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9834 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9835 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9838 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9839 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9840 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9841 * sysvipc/msgctl.c: Likewise.
9842 * sysvipc/msgget.c: Likewise.
9843 * sysvipc/msgrcv.c: Likewise.
9844 * sysvipc/msgsnd.c: Likewise.
9845 * sysvipc/semctl.c: Likewise.
9846 * sysvipc/semget.c: Likewise.
9847 * sysvipc/semop.c: Likewise.
9848 * sysvipc/semtimedop.c: Likewise.
9849 * sysvipc/shmat.c: Likewise.
9850 * sysvipc/shmctl.c: Likewise.
9851 * sysvipc/shmdt.c: Likewise.
9852 * sysvipc/shmget.c: Likewise.
9853 * termios/tcdrain.c: Likewise.
9854 * termios/tcflow.c: Likewise.
9855 * termios/tcflush.c: Likewise.
9856 * termios/tcgetattr.c: Likewise.
9857 * termios/tcgetpgrp.c: Likewise.
9858 * termios/tcsendbrk.c: Likewise.
9859 * termios/tcsetattr.c: Likewise.
9860 * termios/tcsetpgrp.c: Likewise.
9861 * time/adjtime.c: Likewise.
9862 * time/clock.c: Likewise.
9863 * time/getitimer.c: Likewise.
9864 * time/gettimeofday.c: Likewise.
9865 * time/setitimer.c: Likewise.
9866 * time/settimeofday.c: Likewise.
9867 * time/stime.c: Likewise.
9868 * time/time.c: Likewise.
9870 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
9872 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9875 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9877 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9879 2012-11-03 Joseph Myers <joseph@codesourcery.com>
9882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9883 FE_TONEAREST before applying Dekker multiplication and Knuth
9884 addition. Clear inexact exceptions and check for exact zero
9886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9888 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9889 * math/libm-test.inc (fma_test): Add more tests.
9890 (fma_test_towardzero): Likewise.
9891 (fma_test_downward): Likewise.
9892 (fma_test_upward): Likewise.
9893 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9895 (libc_fesetround): New macro.
9896 (libc_fesetroundf): Likewise.
9897 (libc_fesetroundl): Likewise.
9898 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9900 (libc_fesetround_387): Likewise.
9901 (libc_fesetroundf): New macro.
9902 (libc_fesetround): Likewise.
9903 (libc_fesetroundl): Likewise.
9904 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9906 (libc_fesetroundf): New macro.
9907 (libc_fesetround): Likewise.
9908 (libc_fesetroundl): Likewise.
9909 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9910 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9911 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9913 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9914 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9916 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9917 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9919 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9923 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9924 integer constant usable in #if and use that to give value to enum
9926 (FE_DIVBYZERO): Likewise.
9927 (FE_UNDERFLOW): Likewise.
9928 (FE_OVERFLOW): Likewise.
9929 (FE_INVALID): Likewise.
9930 (FE_INVALID_SNAN): Likewise.
9931 (FE_INVALID_ISI): Likewise.
9932 (FE_INVALID_IDI): Likewise.
9933 (FE_INVALID_ZDZ): Likewise.
9934 (FE_INVALID_IMZ): Likewise.
9935 (FE_INVALID_COMPARE): Likewise.
9936 (FE_INVALID_SOFTWARE): Likewise.
9937 (FE_INVALID_SQRT): Likewise.
9938 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9939 (FE_TONEAREST): Likewise.
9940 (FE_TOWARDZERO): Likewise.
9941 (FE_UPWARD): Likewise.
9942 (FE_DOWNWARD): Likewise.
9943 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9944 (FE_DIVBYZERO): Likewise.
9945 (FE_OVERFLOW): Likewise.
9946 (FE_UNDERFLOW): Likewise.
9947 (FE_INEXACT): Likewise.
9948 (FE_TONEAREST): Likewise.
9949 (FE_DOWNWARD): Likewise.
9950 (FE_UPWARD): Likewise.
9951 (FE_TOWARDZERO): Likewise.
9952 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9953 (FE_UNDERFLOW): Likewise.
9954 (FE_OVERFLOW): Likewise.
9955 (FE_DIVBYZERO): Likewise.
9956 (FE_INVALID): Likewise.
9957 (FE_TONEAREST): Likewise.
9958 (FE_TOWARDZERO): Likewise.
9959 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9960 (FE_OVERFLOW): Likewise.
9961 (FE_UNDERFLOW): Likewise.
9962 (FE_DIVBYZERO): Likewise.
9963 (FE_INEXACT): Likewise.
9964 (FE_TONEAREST): Likewise.
9965 (FE_TOWARDZERO): Likewise.
9966 (FE_UPWARD): Likewise.
9967 (FE_DOWNWARD): Likewise.
9968 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9969 (FE_DIVBYZERO): Likewise.
9970 (FE_OVERFLOW): Likewise.
9971 (FE_UNDERFLOW): Likewise.
9972 (FE_INEXACT): Likewise.
9973 (FE_TONEAREST): Likewise.
9974 (FE_DOWNWARD): Likewise.
9975 (FE_UPWARD): Likewise.
9976 (FE_TOWARDZERO): Likewise.
9978 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9980 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9982 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9984 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9985 commands. Quote $PWD.
9986 (blacklist_exports): Don't use remove_newlines. Replace "declare
9988 (remove_newlines): Remove.
9990 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9992 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9993 * stdlib/stdlib.h (atof): Moved to ...
9994 * include/bits/stdlib-float.h: Here. New file.
9995 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9996 * stdlib/bits/stdlib-float.h: New file.
9997 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10002 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10004 * conform/conformtest.pl (@headers): Add fenv.h.
10005 * conform/data/fenv.h-data: New file.
10006 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10007 include of <math/fenv.h>.
10009 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10010 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10011 && !UNIX98]. Enables tests for XOPEN2K8.
10012 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10013 POSIX2008]: Likewise.
10015 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10016 (struct rusage): Do not expect type or its members.
10019 * math/math.h (FP_NAN): Define macro to integer constant usable in
10020 #if and use that to give value to enum constant.
10021 (FP_INFINITE): Likewise.
10022 (FP_ZERO): Likewise.
10023 (FP_SUBNORMAL): Likewise.
10024 (FP_NORMAL): Likewise.
10026 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10028 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10029 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10032 2012-11-02 Roland McGrath <roland@hack.frob.com>
10034 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10035 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10036 autoconf-time if not.
10037 * configure.in: Remove AC_PREREQ.
10039 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10041 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10042 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10043 of the internal implementation.
10045 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10047 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10048 except include of <misc/sys/syslog.h>.
10050 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10053 function returns with a NULL context exit with zero.
10055 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10057 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10059 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10061 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10062 (run_program_cmd): This.
10063 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10064 (tst_langinfo): New variable. Use it.
10066 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10068 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10069 floating point opcodes.
10071 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10073 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10076 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10078 * sysdeps/mach/hurd/powerpc: Remove directory.
10079 * sysdeps/mach/powerpc: Likewise.
10081 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10083 * scripts/check-local-headers.sh: Ignore c++ headers.
10085 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10087 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10088 __libc_cleanup_region_start argument.
10090 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10095 x * y using scaling, not as x * y + z.
10096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10098 * math/libm-test.inc (fma_test): Add more tests.
10099 (fma_test_towardzero): Likewise.
10100 (fma_test_downward): Likewise.
10101 (fma_test_upward): Likewise.
10103 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10105 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10107 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10109 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10112 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10114 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10116 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10123 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10126 Fix the order of the list for glibc 2.17.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10130 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10134 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10138 for low part of x being zero before using __atanl (y).
10139 * math/libm-test.inc (atan2_test): Add another test.
10141 * manual/install.texi (Configuring and compiling): Document
10142 general use of test-wrapper and test-wrapper-env.
10143 * INSTALL: Regenerated.
10145 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10146 (__fma): Do not extract and scale down low bits on after-rounding
10147 systems when result rounded to normal precision would have normal
10149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10150 (__fmal): Do not extract and scale down low bits on after-rounding
10151 systems when result rounded to normal precision would have normal
10153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10154 (__fmal): Do not extract and scale down low bits on after-rounding
10155 systems when result rounded to normal precision would have normal
10157 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10159 (fma_test): Add more tests.
10160 (fma_test_towardzero): Likewise.
10161 (fma_test_downward): Likewise.
10162 (fma_test_upward): Likewise.
10164 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10166 * sysdeps/i386/tininess.h: Renamed to ...
10167 * sysdeps/x86/tininess.h: This.
10168 * sysdeps/x86_64/tininess.h: Removed.
10170 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10172 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10173 input. Use $(build-program-cmd).
10174 ($(objpfx)tst-array1-static.out): Likewise.
10175 ($(objpfx)tst-array2.out): Likewise.
10176 ($(objpfx)tst-array3.out): Likewise.
10177 ($(objpfx)tst-array4.out): Likewise.
10178 ($(objpfx)tst-array5.out): Likewise.
10179 ($(objpfx)tst-array5-static.out): Likewise.
10181 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10183 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10186 * nss/nsswitch.h (nss_interface_function): Provide new
10187 macro for use with NSS functions.
10188 * grp/initgroups.c: Use new macro.
10189 * nss/getXXbyYY.c: Likewise.
10190 * nss/getXXbyYY_r.c: Likewise.
10191 * nss/getXXent.c: Likewise.
10192 * nss/getXXent_r.c: Likewise.
10193 * sysdeps/posix/getaddrinfo.c: Likewise.
10195 2012-10-30 Andreas Jaeger <aj@suse.de>
10197 * po/ru.po: Update Russion translation from translation project.
10199 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10204 result and shift together with sticky bit instead of replicating
10205 round-to-nearest rounding.
10206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10207 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10208 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10209 missing underflow exceptions.
10210 (fma_test_towardzero): Add more tests.
10211 (fma_test_downward): Likewise.
10212 (fma_test_upward): Likewise.
10215 * sysdeps/generic/tininess.h: New file.
10216 * sysdeps/i386/tininess.h: Likewise.
10217 * sysdeps/sh/tininess.h: Likewise.
10218 * sysdeps/x86_64/tininess.h: Likewise.
10219 * stdlib/tst-strtod-underflow.c: Likewise.
10220 * stdlib/tst-tininess.c: Likewise.
10221 * stdlib/strtod_l.c: Include <tininess.h>.
10222 (round_and_return): Do not set errno for exact underflow cases.
10223 Force an underflow exception when setting errno for underflow.
10224 Determine underflow based on rounding to normal precision if
10225 TININESS_AFTER_ROUNDING.
10226 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10227 ERANGE for exact underflow cases.
10228 * stdlib/Makefile (tests): Add tst-tininess and
10229 tst-strtod-underflow.
10230 ($(objpfx)tst-tininess): Use $(link-libm).
10231 ($(objpfx)tst-strtod-underflow): Likewise.
10233 2012-10-30 Andreas Jaeger <aj@suse.de>
10236 * elf/Makefile (tests): Remove conditional for have-initfini-array
10237 since this is now always required and the variable does not exist
10239 (tests-static): Likewise.
10240 (modules-names): Likewise.
10242 * po/eo.po: Add Esperanto translation from translation project.
10244 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10245 merged with constructor/destructor.
10246 (init_array): Likewise.
10247 * elf/tst-array2dep.c (fini_array): Likewise.
10248 (init_array): Likewise.
10250 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10252 * manual/message.texi: Delete @cartouche tags.
10254 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10256 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10258 * sysdeps/mach/hurd/fsync.c: Likewise.
10260 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10261 [_POSIX_REALTIME_SIGNALS]: Change condition to
10262 [_POSIX_REALTIME_SIGNALS > 0].
10264 2012-10-27 Andreas Jaeger <aj@suse.de>
10266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10267 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10269 [__WORDSIZE != 64]: Likewise.
10271 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10273 * iconvdata/tst-table.sh: Remove ${SHELL}.
10274 * iconvdata/tst-tables.sh: Likewise.
10276 2012-10-25 David S. Miller <davem@davemloft.net>
10278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10279 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10284 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10285 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10286 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10289 2012-10-25 Roland McGrath <roland@hack.frob.com>
10291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10292 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10295 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10296 Jim Blandy <jimb@codesourcery.com>
10298 * scripts/cross-test-ssh.sh: New file.
10299 * manual/install.texi (Configuring and compiling): Document use of
10301 * INSTALL: Regenerated.
10303 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10305 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10308 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10310 * Makeconfig (run-program-prefix): Fix comment.
10312 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10313 Jim Blandy <jimb@codesourcery.com>
10315 * Makeconfig (test-wrapper): New variable,
10316 (test-wrapper-env): Likewise.
10317 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10318 (run-built-tests): Define to yes.
10319 (run-program-prefix): Use $(test-wrapper).
10320 (built-program-cmd): Likewise.
10321 * Rules (make-test-out): Use $(test-wrapper-env) and
10322 $(host-built-program-cmd).
10323 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10324 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10326 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10327 $(test-wrapper-env) to tst-rtld-load-self.sh.
10328 ($(objpfx)order2.out): Use $(test-wrapper).
10329 ($(objpfx)tst-initorder.out): Likewise.
10330 ($(objpfx)tst-initorder2.out): Likewise.
10331 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10332 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10333 (test_wrapper_env): New variable. Use it to run ld.so.
10334 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10335 Use it to run ld.so.
10336 (test_wrapper_env): Likewise.
10337 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10338 $(test-wrapper) to run-iconv-test.sh.
10339 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10340 (ICONV): Use $test_wrapper.
10341 * posix/Makefile ($(objpfx)globtest.out): Pass
10342 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10343 globtest.sh, not $(run-program-prefix).
10344 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10345 (test_wrapper): Likewise.
10346 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10347 set together with run_via_rtld_prefix.
10348 (run_program_prefix): Define in terms of test_wrapper and
10349 run_via_rtld_prefix.
10351 2012-10-24 Roland McGrath <roland@hack.frob.com>
10353 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10354 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10358 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10359 Declare __clock_getres, __clock_gettime, __clock_settime,
10360 __clock_nanosleep, and __clock_getcpuclockid.
10361 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10362 Remove librt_hidden_def (clock_gettime).
10363 * sysdeps/unix/clock_gettime.c: Likewise.
10364 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10365 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10366 * rt/clock_getres.c: Define __clock_getres as an alias.
10367 * sysdeps/posix/clock_getres.c: Likewise.
10368 * rt/clock_settime.c: Define __clock_settime as an alias.
10369 * sysdeps/unix/clock_settime.c: Likewise.
10370 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10371 * sysdeps/unix/clock_nanosleep.c: Likewise.
10372 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10373 * rt/clock-compat.c: New file.
10374 * rt/Makefile (librt-routines): Add clock-compat and move
10375 $(clock-routines) to ...
10376 (routines): ... here, new variable.
10377 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10378 Don't add get_clockfreq here.
10379 * rt/Versions (libc: GLIBC_2.17): New version set.
10380 Add clock_* symbols here.
10381 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10382 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10383 (GLIBC_2.17): Add clock_* symbols.
10384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10395 * NEWS: Mention the move.
10397 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10398 Use __open, __read, __close rather than their public counterparts.
10399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10400 (__get_clockfreq_via_cpuinfo): Likewise.
10401 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10402 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10404 * config.h.in (HAVE_IFUNC): New #undef.
10405 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10407 * configure: Regenerated.
10409 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10411 * configure.in: Move READELF check to start of file.
10412 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10413 libc_cv_asm_gnu_indirect_function in the process.
10414 * configure: Regenerated.
10416 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10418 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10419 send the output to /dev/null.
10420 (libc_cv_cc_with_libunwind): Likewise.
10421 (libc_cv_as_noexecstack): Likewise.
10422 * configure: Regenerate.
10424 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10426 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10428 * posix/globtest.sh (TMPDIR): Do not set.
10429 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10430 (testout): Likewise.
10432 2012-10-24 Andreas Jaeger <aj@suse.de>
10434 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10435 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10436 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10437 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10438 posix_fadvise64, posix_fallocate64.
10440 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10441 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10442 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10444 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10446 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10449 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10450 <bits/fcntl-linux.h>.
10451 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10454 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10455 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10456 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10457 [__WORDSIZE != 64]: Likewise.
10459 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10461 * Makeconfig (run-built-tests): New variable.
10462 * Rules [$(cross-compiling) = yes]: Change condition to
10463 [$(run-built-tests) = no].
10464 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10465 to [$(run-built-tests) = yes].
10466 * elf/Makefile [$(cross-compiling) = no]: Likewise
10467 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10468 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10469 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10470 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10471 * io/Makefile [$(cross-compiling) = no]: Likewise.
10472 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10473 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10474 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10475 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10476 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10477 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10478 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10479 * string/Makefile [$(cross-compiling) = no]: Likewise.
10481 * posix/Makefile ($(objpfx)globtest.out): Pass
10482 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10483 $(rtld-installed-name).
10484 * posix/globtest.sh (elf_objpfx): Remove variable.
10485 (rtld_installed_name): Likewise.
10486 (library_path): Likewise.
10487 (run_program_prefix): New variable. Use for running globtest
10490 2012-10-23 Jim Blandy <jimb@codesourcery.com>
10491 Joseph Myers <joseph@codesourcery.com>
10493 * Makeconfig (host-built-program-cmd): New variable.
10494 * elf/Makefile (tst-stackguard1-ARGS): Use
10495 $(host-built-program-cmd).
10496 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10497 (tst-spawn-ARGS): Likewise.
10498 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10500 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10501 Jim Blandy <jimb@codesourcery.com>
10503 * Makeconfig (run-via-rtld-prefix): New variable.
10504 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10505 (built-program-cmd): Likewise.
10507 2012-10-22 Andreas Jaeger <aj@suse.de>
10509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10510 __O_RSYNC if it exists, otherwise to O_SYNC.
10512 2012-10-22 Jim Blandy <jimb@codesourcery.com>
10513 Joseph Myers <joseph@codesourcery.com>
10515 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10517 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10519 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10522 2012-10-22 Andreas Jaeger <aj@suse.de>
10524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10529 bits/fcntl-linux.h.
10531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10532 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10539 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10540 Joseph Myers <joseph@codesourcery.com>
10542 * config.make.in (NM): New variable.
10544 2012-10-21 Andreas Jaeger <aj@suse.de>
10546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10547 definitions and declarations that are provided by
10548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10550 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10553 * elf/Makefile (tests-static): Add tst-leaks1-static.
10554 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10555 ($(objpfx)tst-leaks1-static): New rule.
10556 ($(objpfx)tst-leaks1-static-mem): Likewise.
10557 (tst-leaks1-static-ENV): New macro.
10558 * elf/dl-open.c (dl_open_worker): Check the main application
10559 only if SHARED is defined.
10560 * elf/tst-leaks1-static.c: New file.
10562 2012-10-20 Andreas Jaeger <aj@suse.de>
10564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10565 generic values for Linux.
10566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10567 and declarations that are provided by <bits/fcntl-linux.h> and
10568 include <bits/fcntl-linux.h>.
10569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10572 2012-10-20 Roland McGrath <roland@hack.frob.com>
10574 * io/fcntl.h: Move include of <bits/types.h> to the top and
10575 include it unconditionally.
10577 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10579 * wcsmbs/Makefile (tests-ifunc): New variable.
10580 (tests): Add $(tests-ifunc).
10581 * wcsmbs/test-wcschr-ifunc.c: New file.
10582 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10583 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10584 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10585 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10586 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10588 * string/Makefile (tests-ifunc): New variable.
10589 (tests): Add $(tests-ifunc).
10590 * string/test-memccpy.c (TEST_NAME): New macro.
10591 * string/test-memchr.c (TEST_NAME): Likewise.
10592 * string/test-memcmp.c (TEST_NAME): Likewise.
10593 * string/test-memcpy.c (TEST_NAME): Likewise.
10594 * string/test-memmem.c (TEST_NAME): Likewise.
10595 * string/test-memmove.c (TEST_NAME): Likewise.
10596 * string/test-memset.c (TEST_NAME): Likewise.
10597 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10598 * string/test-stpcpy.c (TEST_NAME): Likewise.
10599 * string/test-stpncpy.c (TEST_NAME): Likewise.
10600 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10601 * string/test-strcasestr.c (TEST_NAME): Likewise.
10602 * string/test-strcat.c (TEST_NAME): Likewise.
10603 * string/test-strchr.c (TEST_NAME): Likewise.
10604 * string/test-strcmp.c(TEST_NAME): Likewise.
10605 * string/test-strcpy.c (TEST_NAME): Likewise.
10606 * string/test-strcspn.c (TEST_NAME): Likewise.
10607 * string/test-strlen.c (TEST_NAME): Likewise.
10608 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10609 * string/test-strncmp.c (TEST_NAME): Likewise.
10610 * string/test-strncpy.c (TEST_NAME): Likewise.
10611 * string/test-strnlen.c (TEST_NAME): Likewise.
10612 * string/test-strpbrk.c (TEST_NAME): Likewise.
10613 * string/test-strrchr.c (TEST_NAME): Likewise.
10614 * string/test-strspn.c (TEST_NAME): Likewise.
10615 * string/test-strstr.c (TEST_NAME): Likewise.
10616 * string/test-bcopy-ifunc.c: New file.
10617 * string/test-bzero-ifunc.c: Likewise.
10618 * string/test-memccpy-ifunc.c: Likewise.
10619 * string/test-memchr-ifunc.c: Likewise.
10620 * string/test-memcmp-ifunc.c: Likewise.
10621 * string/test-memcpy-ifunc.c: Likewise.
10622 * string/test-memmem-ifunc.c: Likewise.
10623 * string/test-memmove-ifunc.c: Likewise.
10624 * string/test-mempcpy-ifunc.c: Likewise.
10625 * string/test-memset-ifunc.c: Likewise.
10626 * string/test-rawmemchr-ifunc.c: Likewise.
10627 * string/test-stpcpy-ifunc.c: Likewise.
10628 * string/test-stpncpy-ifunc.c: Likewise.
10629 * string/test-strcasecmp-ifunc.c: Likewise.
10630 * string/test-strcasestr-ifunc.c: Likewise.
10631 * string/test-strcat-ifunc.c: Likewise.
10632 * string/test-strchr-ifunc.c: Likewise.
10633 * string/test-strchrnul-ifunc.c: Likewise.
10634 * string/test-strcmp-ifunc.c: Likewise.
10635 * string/test-strcpy-ifunc.c: Likewise.
10636 * string/test-strcspn-ifunc.c: Likewise.
10637 * string/test-strlen-ifunc.c: Likewise.
10638 * string/test-strncasecmp-ifunc.c: Likewise.
10639 * string/test-strncat-ifunc.c: Likewise.
10640 * string/test-strncmp-ifunc.c: Likewise.
10641 * string/test-strncpy-ifunc.c: Likewise.
10642 * string/test-strnlen-ifunc.c: Likewise.
10643 * string/test-strpbrk-ifunc.c: Likewise.
10644 * string/test-strrchr-ifunc.c: Likewise.
10645 * string/test-strspn-ifunc.c: Likewise.
10646 * string/test-strstr-ifunc.c: Likewise.
10648 * debug/Makefile (tests-ifunc): New variable.
10649 (tests): Add $(tests-ifunc).
10650 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10651 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10652 * debug/test-stpcpy_chk-ifunc.c: New file.
10653 * debug/test-strcpy_chk-ifunc.c: Likewise.
10655 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10658 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10659 header is not read in.
10661 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10663 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10664 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10665 directly. Pass built executable to script as
10666 $(built-program-cmd).
10667 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10668 $testprogram without using LD_LIBRARY_PATH and $ldso.
10670 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10671 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10672 $(rtld-installed-name).
10673 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10674 (rtld_installed_name): Likewise.
10675 (library_path): Likewise.
10676 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10677 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10678 $(run-program-prefix) to tst-tables.sh.
10679 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10680 it to run tst-table-from and tst-table-to.
10681 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10682 Pass it to tst-table.sh.
10683 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10684 $(run-program-prefix) to tst-gettext.sh.
10685 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10687 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10689 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10690 to run tst-gettext.
10691 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10692 to run tst-gettext2.
10693 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10694 to run tst-translit.
10695 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10696 $(run-program-prefix) to tst-mtrace.sh.
10697 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10699 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10700 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10701 $(rtld-installed-name).
10702 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10703 (rtld_installed_name): Likewise.
10704 (run_program_prefix): New variable. Use it to run wordexp-test.
10706 * Makeconfig (ARCH): Remove all definitions.
10707 (machine): Likewise.
10708 [ARCH]: Remove conditional code.
10709 [!objdir]: Give error.
10710 [!objdir] (objpfx): Remove.
10711 [!objdir] (common-objpfx): Likewise.
10712 [!objdir] (common-objdir): Likewise.
10713 * configure.in (config_makefile): Remove. Hardcode Makefile in
10714 AC_CONFIG_FILES call.
10715 * configure: Regenerated.
10718 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10720 (testout): Likewise.
10722 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10723 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10724 $(rtld-installed-name).
10725 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10726 (rtld_installed_name): Likwise.
10727 (runit): Remove function.
10728 (run_getconf): New variable, Use it for running getconf binary.
10730 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10733 * string/test-memmem.c (check_result): New function.
10734 (do_one_test): Use it.
10735 (check1): New function.
10736 (test_main): Use it.
10738 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10740 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10742 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10744 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10745 (_G_LSEEK64): Likewise.
10746 (_G_MMAP64): Likewise.
10747 (_G_FSTAT64): Likewise.
10748 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10749 (_G_LSEEK64): Likewise.
10750 (_G_MMAP64): Likewise.
10751 (_G_FSTAT64): Likewise.
10752 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10753 unconditional. Call __mmap64 directly.
10754 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10755 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10756 __lseek64 directly.
10757 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10758 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10760 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10761 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10762 __lseek64 directly.
10763 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10764 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10765 __lseek64 directly.
10766 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10767 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10768 __lseek64 directly.
10769 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10770 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10771 __fxstat64 directly.
10772 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10773 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10775 (freopen64) [!_G_OPEN64]: Remove conditional code.
10776 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10778 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10779 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10781 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10782 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10784 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10785 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10787 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10788 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10790 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10791 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10793 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10794 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10796 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10798 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10801 * manual/memory.texi (Malloc Tunable Parameters): Add note
10802 about free list pointers overwriting some perturb bytes.
10803 Wording suggested by Roland McGrath.
10805 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10807 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10808 (lgamma_test): Likewise.
10809 (tgamma_test): Likewise.
10811 2012-10-16 Florian Weimer <fweimer@redhat.com>
10814 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10815 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10817 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10819 * NEWS: Mention BZ #14716.
10820 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10821 when removing AVAILABLE1_USES_J macro.
10823 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10825 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10826 (__bswap_64): __uint64_t for unsigned 64-bit int.
10828 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10830 * include/string.h (memmem): Declare libc hidden alias.
10831 * string/memmem.c (memmem): Define libc hidden alias.
10832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10833 __read, __close instead of open, read, close.
10835 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10838 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10840 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10841 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10842 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10844 (__rawmemchr_sse2): Likewise.
10845 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10846 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10847 (__strchr_sse2): Likewise.
10848 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10849 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10850 (__strcasecmp_sse2): Likewise.
10851 (__strncasecmp_sse2): Likewise.
10852 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10853 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10854 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10855 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10856 (__strrchr_sse2): Likewise.
10857 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10859 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10860 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10861 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10862 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10863 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10865 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10866 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10867 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10868 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10869 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10870 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10871 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10872 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10873 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10874 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10875 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10876 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10877 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10878 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10879 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10880 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10881 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10882 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10883 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10885 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10886 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10887 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10888 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10890 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10892 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10893 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10894 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10895 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10897 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10899 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10900 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10901 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10902 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10904 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10905 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10907 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10908 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10909 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10911 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10912 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10913 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10914 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10915 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10916 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10917 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10918 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10920 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10921 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10922 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10923 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10925 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10926 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10927 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10929 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10930 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10931 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10932 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10934 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10935 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10936 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10937 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10938 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10941 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10943 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10944 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10946 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10947 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10948 * include/ifunc-impl-list.h: New file.
10949 * misc/ifunc-impl-list.c: Likewise.
10950 * misc/Makefile (routines): Add ifunc-impl-list.
10951 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10952 * string/test-string.h: Include <ifunc-impl-list.h>.
10953 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10954 impl_array): New variables.
10955 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10957 (test_init): Call __libc_ifunc_impl_list to initialize
10958 func_list if TEST_IFUNC and TEST_NAME are defined.
10960 * string/Makefile (strop-tests): Add bcopy and bzero.
10961 * string/test-bcopy.c: New file.
10962 * string/test-bzero.c: Likewise.
10963 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10965 * string/test-memset.c: Support bzero test if TEST_BZERO is
10967 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10969 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10971 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10974 2012-10-10 Joseph Myers <joseph@codesourcery.com>
10976 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10977 * configure: Regenerated.
10979 * Makeconfig (+link-static-before-libc): Don't include
10980 $(link-static-libc).
10982 * libio/libio.h (_IO_pos_t): Remove.
10984 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10986 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10989 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10991 * crypt/crypt-entry.c: Include fips-private.h.
10992 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10993 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10994 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10995 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10997 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10999 * crypt/crypt-private.h: Include stdbool.h.
11000 (_ufc_setup_salt_r): Return bool.
11001 * crypt/crypt-entry.c: Include errno.h.
11002 (__crypt_r): Return NULL with EINVAL for bad salt.
11003 * crypt/crypt_util.c (bad_for_salt): New.
11004 (_ufc_setup_salt_r): Check that salt is long enough and within
11005 the specified alphabet.
11006 * crypt/badsalttest.c: New file.
11007 * crypt/Makefile (tests): Add it.
11008 ($(objpfx)badsalttest): New.
11010 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11012 * NEWS: Add entry for BZ #14602.
11014 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11016 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11018 * math/libm-test.inc: Update comment listing what functions and
11020 (isgreater_test): New function.
11021 (isgreaterequal_test): Likewise.
11022 (isless_test): Likewise.
11023 (islessequal_test): Likewise.
11024 (islessgreater_test): Likewise.
11025 (isunordered_test): Likewise.
11026 (main): Call the new functions.
11028 2012-10-09 Roland McGrath <roland@hack.frob.com>
11030 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11031 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11032 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11033 * sysdeps/i386/configure: Regenerated.
11034 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11035 * sysdeps/mach/configure: Regenerated.
11036 * sysdeps/mach/hurd/configure: Regenerated.
11037 * sysdeps/powerpc/configure: Regenerated.
11038 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11039 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11040 * sysdeps/s390/s390-32/configure: Regenerated.
11041 * sysdeps/s390/s390-64/configure: Regenerated.
11042 * sysdeps/sh/configure: Regenerated.
11043 * sysdeps/sparc/configure: Regenerated.
11044 * sysdeps/unix/sysv/linux/configure: Regenerated.
11045 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11046 * sysdeps/x86_64/configure: Regenerated.
11048 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11049 defined. Don't check if MAP is NULL.
11051 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11053 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11054 (_G_stat64): Likewise.
11055 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11056 (_G_stat64): Likewise.
11057 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11058 instead of struct _G_stat64.
11059 * libio/fileops.c (mmap_remap_check): Likewise.
11060 (decide_maybe_mmap): Likewise.
11061 (_IO_new_file_seekoff): Likewise.
11062 (_IO_file_stat): Likewise.
11063 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11065 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11066 instead of struct _G_stat64.
11067 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11069 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11072 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11074 (CHECK_EOL): New macro.
11075 (two_way_short_needle): Check beginning of haystack for EOL. Use
11077 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11078 Replace with CHECK_EOL.
11079 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11080 Replace with CHECK_EOL.
11082 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11084 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11086 * math/libm-test.inc: Update comment listing what functions and
11088 (finite_test): New function.
11089 (isinf_test): Likewise.
11090 (isnan_test): Likewise.
11091 (fpclassify_test): Test subnormal input.
11092 (isfinite_test): Likewise.
11093 (isnormal_test): Likewise.
11094 (main): Call the new functions.
11096 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11099 * Makerules (%.dynsym): Force C locale when running
11100 $(OBJDUMP) --dynamic-syms.
11102 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11104 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11107 2012-10-06 David S. Miller <davem@davemloft.net>
11109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11110 upper 32-bits of the length value in %o2 since we use branch-on-register
11111 tests which consider the entire 64-bit register.
11113 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11115 * string/test-strstr.c (check2): Add a test for page boundary.
11117 2012-10-05 David S. Miller <davem@davemloft.net>
11119 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11120 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11122 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11124 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11125 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11126 and bzero when HWCAP_SPARC_CRYPTO is present.
11128 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11131 * string/test-strstr.c (check2): New function.
11132 (test_main): Call check2.
11134 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11136 * string/bug-strcasestr1.c (do_test): Moved to ...
11137 * string/test-strcasestr.c (check1): Here. New function.
11138 (do_one_test): Break out result checking code into ...
11139 (check_result): This. New function.
11140 (do_one_test): Call check_result.
11141 (test_main): Call check1.
11142 * string/bug-strchr1.c (do_test): Moved to ...
11143 * string/test-strchr.c (check1): Here. New function.
11144 (do_one_test): Break out result checking code into ...
11145 (check_result): This. New function.
11146 (do_one_test): Call check_result.
11147 (test_main): Call check1.
11148 * string/bug-strstr1.c (main): Moved to ...
11149 * string/test-strstr.c (check1): Here. New function.
11150 (do_one_test): Break out result checking code into ...
11151 (check_result): This. New function.
11152 (do_one_test): Call check_result.
11153 (test_main): Call check1.
11154 * string/bug-strcasestr1.c: Removed.
11155 * string/bug-strchr1.c: Likewise.
11156 * string/bug-strstr1.c: Likewise.
11158 * elf/Makefile (dl-routines): Add hwcaps.
11159 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11160 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11161 (_dl_important_hwcaps): Moved to ...
11162 * elf/dl-hwcaps.c: Here. New file.
11163 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11166 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11167 if IS_IN_rtld isn't defined.
11169 * elf/dl-support.c (_dl_sysinfo_map): New.
11170 Include "get-dynamic-info.h" and "setup-vdso.h".
11171 (_dl_non_dynamic_init): Call setup_vdso.
11172 * elf/dynamic-link.h: Don't include <assert.h>.
11173 (elf_get_dynamic_info): Moved to ...
11174 * elf/get-dynamic-info.h: Here. New file.
11175 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11176 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11177 * elf/setup-vdso.h: Here. New file.
11178 * elf/rtld.c: Include "setup-vdso.h".
11179 (dl_main): Call setup_vdso.
11181 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11183 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11184 creal in comment listing functions tested. List finite, isinf,
11185 isnan, isless, islessequal, isgreater, isgreaterequal,
11186 islessgreater, isunordered, lgamma_r and pow10 as functions and
11187 macros not tested. Mention which functions not tested are aliases
11188 for other functions. Fix typo. Note that signs of NaNs are not
11191 * scripts/config.guess: Update from config.git.
11192 * scripts/config.sub: Likewise.
11194 2012-10-04 Roland McGrath <roland@hack.frob.com>
11196 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11197 * misc/madvise.c (madvise): Renamed to __madvise.
11198 Make madvise a weak alias.
11199 * include/sys/mman.h: Declare __madvise.
11200 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11201 * sysdeps/unix/syscalls.list
11202 (madvise): Make __madvise the strong name, and madvise a weak alias.
11203 * sysdeps/unix/sysv/linux/syscalls.list
11204 (madvise, mmap): Remove redundant entries.
11205 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11206 * malloc/malloc.c (mtrim): Likewise.
11207 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11209 2012-10-03 Roland McGrath <roland@hack.frob.com>
11211 * sysdeps/mach/hurd/dl-cache.c: File removed.
11212 * config.h.in (USE_LDCONFIG): New #undef.
11213 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11214 * configure: Regenerated.
11215 * elf/Makefile (dl-routines): Add dl-cache only under
11216 [$(use-ldconfig) = yes].
11217 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11218 cache on [USE_LDCONFIG].
11219 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11221 * elf/rtld.c (dl_main): Likewise.
11223 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11225 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11226 _SC_LEVEL4_CACHE_LINESIZE.
11228 2012-10-03 Roland McGrath <roland@hack.frob.com>
11230 * sysdeps/unix/bsd/confstr.h: File removed.
11232 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11234 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11237 2012-10-02 Roland McGrath <roland@hack.frob.com>
11239 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11240 Make 'mapoff' field ElfW(Off) rather than off_t.
11242 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11244 * nscd/Makefile: Remove nscd-cflags and all its users.
11245 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11246 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11249 * malloc.c (malloc_printerr): Clarify error message.
11251 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11255 Set bit_FMA_Usable if FMA is supported.
11256 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11258 (bit_FMA4_Usable): Updated.
11259 (index_FMA_Usable): New macro.
11260 (CPUID_FMA): Likewise
11261 (HAS_FMA): Defined with bit_FMA_Usable.
11263 2012-10-01 Roland McGrath <roland@hack.frob.com>
11265 * bits/types.h (__swblk_t): Type removed.
11266 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11267 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11269 (__SWBLK_T_TYPE): Likewise.
11270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11271 (__SWBLK_T_TYPE): Likewise.
11272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11273 (__SWBLK_T_TYPE): Likewise.
11274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11275 (__SWBLK_T_TYPE): Likewise.
11277 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11278 Honza Horak <hhorak@redhat.com>
11280 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11281 (xdr_mapname): Use YPMAXMAP as maxsize.
11282 (xdr_peername): Use YPMAXPEER as maxsize.
11283 (xdr_keydat): Use YPAXRECORD as maxsize.
11284 (xdr_valdat): Use YPMAXRECORD as maxsize.
11286 2012-10-01 Roland McGrath <roland@hack.frob.com>
11288 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11290 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11291 * csu/init-first.c: ... here.
11292 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11293 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11294 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11295 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11296 * sysdeps/i386/init-first.c: File removed.
11297 * sysdeps/sh/init-first.c: File removed.
11299 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11303 if x * y might underflow to zero and z is zero.
11304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11306 * math/libm-test.inc (min_subnorm_value): New variable.
11307 (fma_test): Add more tests.
11308 (fma_test_towardzero): Likewise.
11309 (fma_test_downward): Likewise
11310 (fma_test_upward): Likewise.
11311 (initialize): Set min_subnorm_value.
11313 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11319 mode for addition resulting in exact zero.
11320 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11323 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11324 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11325 * math/libm-test.inc (fma_test): Add more tests.
11326 (fma_test_towardzero): New function.
11327 (fma_test_downward): Likewise.
11328 (fma_test_upward): Likewise.
11329 (main): Call the new functions.
11331 2012-09-28 David S. Miller <davem@davemloft.net>
11333 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11335 2012-09-28 Roland McGrath <roland@hack.frob.com>
11337 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11338 instead of SIGALRM.
11340 * sysdeps/gnu/_G_config.h: Moved to ...
11341 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11342 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11343 * sysdeps/generic/_G_config.h: ... here.
11345 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11347 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11349 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11350 Conditionalize target on [libnss_test1.so-version].
11352 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11354 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11355 (elfobjdir): Move out of conditionals.
11357 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11358 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11359 (__nss_lookup_function): Conditionalize label remove_from_tree on
11360 [!DO_STATIC_NSS || SHARED], matching its only use.
11362 2012-09-28 David S. Miller <davem@davemloft.net>
11364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11367 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11369 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11371 when HWCAP_SPARC_CRYPTO is present.
11373 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11375 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11377 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11380 * stdio-common/vfprintf.c (process_string_arg): Revert
11383 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11385 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11387 * stdio-common/tst-sprintf.c: Include <locale.h>
11388 (main): Test sprintf's handling of incomplete multibyte
11391 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11393 * elf/dl-runtime.c (VERSYMIDX): Removed.
11394 * elf/dl-version.c (VERSYMIDX): Likewise.
11395 * elf/do-rel.h (VERSYMIDX): Likewise.
11396 (VALIDX): Likewise.
11397 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11398 * elf/rtld.c (VALIDX): Likewise.
11399 (ADDRIDX): Likewise.
11400 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11401 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11402 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11403 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11404 (VALIDX): Likewise.
11405 (ADDRIDX): Likewise.
11407 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11409 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11411 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11414 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11416 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11417 addresses are in the same scope as 192.0.2/24.
11418 * posix/gai.conf: Document new scope table defaults.
11420 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11423 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11424 for ftell. Compute offsets from write pointers instead.
11425 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11427 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11430 * libio/Makefile (tests): New test case tst-fseek.
11431 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11432 combination works in wide mode.
11433 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11434 state when the external buffer state changes.
11436 2012-09-27 David S. Miller <davem@davemloft.net>
11439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11440 pass reloc->r_addend in as the 'high' argument to
11441 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11445 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11447 * rt/tst-aio2.c: Include <pthread.h>.
11448 * rt/tst-aio3.c: Likewise.
11450 2012-09-27 Steve Ellcey <sellcey@mips.com>
11452 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11454 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11456 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11457 contents on [SHARED].
11459 2012-09-26 Marek Polacek <polacek@redhat.com>
11463 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11464 for C++ and GCC <4.3 as well as for non GCC compilers.
11466 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11470 2012-09-25 Roland McGrath <roland@hack.frob.com>
11472 * Makefile.in (all, install): Declare with .PHONY.
11473 Reported by Michael Hope <michael.hope@linaro.org>.
11475 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11477 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11478 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11480 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11482 (sydep_routines): Add the new and the internal functions.
11483 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11484 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11486 (GLIBC_2.17): Add the new function.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11488 (GLIBC_2.17): Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11490 (GLIBC_2.17): Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11492 (GLIBC_2.17): Likewise.
11493 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11495 2012-09-25 Alan Modra <amodra@gmail.com>
11497 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11498 Add release barrier before setting once_control to say
11499 initialisation is done. Add hints on lwarx. Use macro in
11501 (clear_once_control): Add release barrier.
11503 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11506 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11508 * math/s_clog10.c (__clog10): Likewise.
11509 * math/s_clog10f.c (__clog10f): Likewise.
11510 * math/s_clog10l.c (__clog10l): Likewise.
11511 * math/s_clogf.c (__clogf): Likewise.
11512 * math/s_clogl.c (__clogl): Likewise.
11513 * math/Makefile (libm-calls): Add x2y2m1.
11514 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11515 (__x2y2m1): Likewise.
11516 (__x2y2m1l): Likewise.
11517 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11518 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11521 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11523 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11524 * sysdeps/i386/fpu/libm-test-ulps: Update.
11525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11528 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11529 int as type of variable DEPTH.
11530 (glob): Use size_t instead of int as type of variables NEWCOUNT
11533 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11535 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11536 Add s_sincosf-sse2.
11537 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11539 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11540 macros for using routine as __sincosf_ia32.
11541 Use macro for function declaration and weak_alias.
11542 * sysdeps/i386/fpu/libm-test-ulps: Update.
11544 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11547 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11548 subnormal argument.
11549 * math/s_cexpf.c (__cexpf): Likewise.
11550 * math/s_csinf.c (__csinf): Likewise.
11551 * math/s_csinhf.c (__csinhf): Likewise.
11552 * math/s_ctanf.c (__ctanf): Likewise.
11553 * math/s_ctanhf.c (__ctanhf): Likewise.
11554 * math/s_ccosh.c (__ccoshf): Likewise.
11555 * math/s_cexp.c (__cexpl): Likewise.
11556 * math/s_csin.c (__csin): Likewise.
11557 * math/s_csinh.c (__csinh): Likewise.
11558 * math/s_ctan.c (__ctan): Likewise.
11559 * math/s_ctanh.c (ctanh): Likewise.
11560 * math/s_ccoshl.c (__ccoshl): Likewise.
11561 * math/s_cexpl.c (__cexpl): Likewise.
11562 * math/s_csinl.c (__csinl): Likewise.
11563 * math/s_csinhl.c (__csinhl): Likewise.
11564 * math/s_ctanl.c (__ctanl): Likewise.
11565 * math/s_ctanhl.c (__ctanhl): Likewise.
11567 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11569 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11570 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11571 (_IO_off_t): Define to __off_t, not _G_off_t.
11572 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11573 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11574 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11575 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11576 type of __dummy and __dummy2 fields.
11577 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11578 (_G_ssize_t): Likewise.
11579 (_G_off_t): Likewise.
11580 (_G_pid_t): Likewise.
11581 (_G_uid_t): Likewise.
11582 (_G_wchar_t): Likewise.
11583 (_G_wint_t): Likewise.
11584 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11585 (_G_ssize_t): Likewise.
11586 (_G_off_t): Likewise.
11587 (_G_pid_t): Likewise.
11588 (_G_uid_t): Likewise.
11589 (_G_wchar_t): Likewise.
11590 (_G_wint_t): Likewise.
11591 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11592 (_G_ssize_t): Likewise.
11593 (_G_off_t): Likewise.
11594 (_G_pid_t): Likewise.
11595 (_G_uid_t): Likewise.
11596 (_G_wchar_t): Likewise.
11597 (_G_wint_t): Likewise.
11599 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11601 * malloc/arena.c: Include malloc-sysdep.h.
11602 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11603 is sufficient to shrink the heap or an unmap is needed.
11604 * sysdeps/generic/malloc-sysdep.h: New file. Define
11605 new function check_may_shrink_heap.
11606 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11607 new function check_may_shrink_heap.
11609 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11611 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11614 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11616 * catgets/test-gencat.sh: Add "set -e".
11617 * elf/tst-pathopt.sh: Likewise.
11618 * grp/tst_fgetgrent.sh: Likewise.
11619 * iconvdata/run-iconv-test.sh: Likewise.
11620 * intl/tst-gettext.sh: Likewise.
11621 * intl/tst-gettext2.sh: Likewise.
11622 * intl/tst-gettext4.sh: Likewise.
11623 * intl/tst-gettext6.sh: Likewise.
11624 * intl/tst-translit.sh: Likewise.
11625 * io/ftwtest-sh: Likewise.
11626 * libio/test-freopen.sh: Likewise.
11627 * malloc/tst-mtrace.sh: Likewise.
11628 * posix/globtest.sh: Likewise.
11629 * posix/tst-getconf.sh: Likewise.
11630 * posix/wordexp-tst.sh: Likewise.
11631 * stdio-common/tst-printf.sh: Likewise.
11632 * stdio-common/tst-unbputc.sh: Likewise.
11633 * stdlib/tst-fmtmsg.sh: Likewise.
11634 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11635 * catgets/Makefile: Do not specify -e option when running
11636 testsuite shell scripts.
11637 * elf/Makefile: Likewise.
11638 * grp/Makefile: Likewise.
11639 * iconvdata/Makefile: Likewise.
11640 * intl/Makefile: Likewise.
11641 * io/Makefile: Likewise.
11642 * libio/Makefile: Likewise.
11643 * malloc/Makefile: Likewise.
11644 * posix/Makefile: Likewise.
11645 * stdio-common/Makefile: Likewise.
11646 * stdlib/Makefile: Likewise.
11647 * sysdeps/x86_64/Makefile: Likewise.
11649 * io/ftwtest-sh: Add copyright header.
11650 * posix/globtest.sh: Likewise.
11651 * posix/tst-getconf.sh: Likewise.
11652 * posix/wordexp-tst.sh: Likewise.
11653 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11655 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11658 * Makeconfig (+link): Defined as $(+link-static) if
11659 $(build-shared) isn't yes.
11660 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11662 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11664 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11667 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11668 new chunk size with MALLOC_ALIGN_MASK.
11670 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11673 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11675 (__printf_fphex): Determine rounding using get_rounding_mode and
11677 * stdio-common/tst-printf-round.c (struct hex_test): New
11679 (hex_tests): New variable.
11680 (test_hex_in_one_mode): New function.
11681 (do_test): Also run tests for hex float output.
11683 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11685 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11686 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11687 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11688 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11689 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11690 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11691 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11692 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11694 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11696 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11697 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11698 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11699 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11701 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11704 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11706 * elf/tst-rtld-load-self.sh: New test.
11707 * elf/Makefile: Run it.
11709 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11711 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11712 (tst-writev-ENV): Remove.
11713 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11715 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11717 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11719 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11721 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11723 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11725 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11726 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11727 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11730 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11733 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11734 * config.make.in (have-cpp-asm-debuginfo): Removed.
11735 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11736 * configure: Regenerated.
11738 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11741 * stdio-common/printf_fp.c: Include <stdbool.h> and
11743 (___printf_fp): Determine rounding using get_rounding_mode and
11745 * stdio-common/tst-printf-round.c: New file.
11746 * stdio-common/Makefile (tests): Add tst-printf-round.
11747 (link-libm): New variable.
11748 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11750 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11753 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11754 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11756 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11759 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11761 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11762 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11763 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11764 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11766 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11769 * include/rounding-mode.h: New file.
11770 * sysdeps/generic/get-rounding-mode.h: Likewise.
11771 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11772 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11773 (MAX_VALUE): New macro.
11774 (MIN_VALUE): Likewise.
11775 (overflow_value): New function.
11776 (underflow_value): Likewise.
11777 (round_and_return): Use overflow_value and underflow_value to
11778 determine return values in overflow and underflow cases. Use
11779 round_away to determine rounding depending on rounding mode.
11780 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11781 determine return values in overflow and underflow cases.
11782 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11783 (struct test_results): New structure.
11784 (struct test): Use struct test_results to store expected results
11785 for all rounding modes.
11786 (TEST): Include expected results for all rounding modes.
11787 (test_in_one_mode): New function.
11788 (do_test): Use test_in_one_mode to compute and check results.
11789 Check results for all rounding modes.
11790 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11793 2012-12-09 Allan McRae <allan@archlinux.org>
11795 * sysdeps/i386/fpu/libm-test-ulps: Update
11797 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11799 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11800 (_G_int32_t): Likewise.
11801 (_G_uint16_t): Likewise.
11802 (_G_uint32_t): Likewise.
11803 (_G_HAVE_BOOL): Likewise.
11804 (_G_HAVE_ATEXIT): Likewise.
11805 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11806 (_G_HAVE_IO_FILE_OPEN): Likewise.
11807 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11808 (_G_int32_t): Likewise.
11809 (_G_uint16_t): Likewise.
11810 (_G_uint32_t): Likewise.
11811 (_G_HAVE_BOOL): Likewise.
11812 (_G_HAVE_ATEXIT): Likewise.
11813 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11814 (_G_HAVE_IO_FILE_OPEN): Likewise.
11815 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11816 (_G_int32_t): Likewise.
11817 (_G_uint16_t): Likewise.
11818 (_G_uint32_t): Likewise.
11819 (_G_HAVE_BOOL): Likewise.
11820 (_G_HAVE_ATEXIT): Likewise.
11821 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11822 (_G_HAVE_IO_FILE_OPEN): Likewise.
11824 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11826 * csu/libc-tls.c: Update copyright years.
11828 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11830 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11831 [!_G_USING_THUNKS]: Remove conditional code.
11832 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11833 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11835 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11836 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11837 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11838 (_G_VTABLE_LABEL_PREFIX): Likewise.
11839 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11840 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11841 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11842 (_G_VTABLE_LABEL_PREFIX): Likewise.
11843 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11844 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11845 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11846 (_G_VTABLE_LABEL_PREFIX): Likewise.
11847 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11849 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11851 * libio/Makefile: Include ../Makeconfig before tests.
11852 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11853 only if $(build-shared) is yes.
11855 * iconv/gconv_db.c: Update copyright years.
11857 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11859 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11860 unwind info if defined PIC. Fix special cases description.
11861 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11863 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11865 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11867 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11869 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11871 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11874 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11875 (LDLIBS-tst-chk4): This.
11876 (LDFLAGS-tst-chk5): Renamed to ...
11877 (LDLIBS-tst-chk5): This.
11878 (LDFLAGS-tst-chk6): Renamed to ...
11879 (LDLIBS-tst-chk6): This.
11880 (LDFLAGS-tst-lfschk4): Renamed to ...
11881 (LDLIBS-tst-lfschk4): This.
11882 (LDFLAGS-tst-lfschk5): Renamed to ...
11883 (LDLIBS-tst-lfschk5): This.
11884 (LDFLAGS-tst-lfschk6): Renamed to ...
11885 (LDLIBS-tst-lfschk6): This.
11887 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11888 on $(common-objpfx)soversions.mk.
11890 2012-09-07 Joseph Myers <joseph@codesourcery.com>
11893 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11896 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11898 * malloc/arena.c (arena_get_retry): New function that gets
11899 another arena for the caller to try its request on.
11900 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11901 current arena cannot fulfill the request.
11902 (__libc_memalign): Likewise.
11903 (__libc_memalign): Likewise.
11904 (__libc_pvalloc): Likewise.
11905 (__libc_calloc): Likewise.
11907 2012-09-05 John Tobey <john.tobey@gmail.com>
11910 * manual/arith.texi (Operations on Complex): Fix description
11911 of carg branch cut.
11913 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11916 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11920 * manual/memory.texi (Memory): Make order of menu items match
11923 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11925 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11926 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11927 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11929 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11931 * csu/libc-tls.c (static_dtv): Renamed to ...
11932 (_dl_static_dtv): This. Make it global.
11933 (_dl_initial_dtv): Removed.
11934 (__libc_setup_tls): Updated.
11935 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11936 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11939 2012-09-06 Petr Machata <pmachata@redhat.com>
11941 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11942 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11943 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11944 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11946 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11949 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11950 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11953 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11956 * Makeconfig (link-static-before-libc): Replace $(+prector)
11958 (link-static-after-libc): Replace $(+postctor) with
11960 (link-bounded): Replace $(+prector)/$(+postctor) with
11961 $(+prectorT)/$(+postctorT).
11962 (+prectorT): New macro.
11963 (+postctorT): Likewise.
11965 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11967 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11968 (round_str): Handle values above the maximum for IBM long double
11970 * stdlib/tst-strtod-round.c (tests): Regenerated.
11972 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11974 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11976 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11977 zarch_nohighgprs around the zarch optimized routines.
11978 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11979 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11980 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11983 2012-09-05 David S. Miller <davem@davemloft.net>
11985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11987 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11988 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11989 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11990 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11993 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11995 * malloc/arena.c: Fold copyright years.
11996 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11998 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12000 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12002 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12004 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12006 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12008 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12009 change internal state upon failure.
12011 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12013 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12014 * malloc/memusage.c (mmap): Likewise.
12015 (mmap64, mremap): Likewise. Adjust name in comment.
12017 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12019 * libio/fileops.c: Fix typos in comments.
12020 * libio/oldfileops.c: Likewise.
12021 * libio/wfileops.c: Likewise.
12023 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12026 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12027 (tst-malloc-usable-ENV): Set environment for test case.
12028 * malloc/hooks.c (malloc_check_get_size): New function to get
12030 * malloc/malloc.c (musable): Use malloc_check_get_size.
12031 * malloc/tst-malloc-usable.c: New test case.
12033 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12035 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12037 2012-09-05 Allan McRae <allan@archlinux.org>
12040 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12041 determine header location.
12042 * configure: Regenerated.
12044 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12046 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12048 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12049 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12051 (test): Regenerate.
12053 2012-09-04 David S. Miller <davem@davemloft.net>
12055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12057 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12059 2012-09-04 Florian Weimer <fweimer@redhat.com>
12061 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12064 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12066 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12069 * libio/iogetdelim.c: Include <limits.h>.
12070 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12071 + len + 1 would overflow.
12073 2012-09-03 Andreas Jaeger <aj@suse.de>
12075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12076 * sysdeps/i386/fpu/libm-test-ulps: Update.
12078 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12080 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12081 Add s_sinf-sse2, s_conf-sse2.
12083 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12084 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12085 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12086 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12088 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12089 for using routine as __sinf_ia32.
12090 Use macro for function declaration and weak_alias.
12091 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12092 for using routine as __cosf_ia32.
12093 Use macro for function declaration and weak_alias.
12095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12096 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12098 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12099 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12102 * math/libm-test.inc (cos_test): Add more test cases.
12103 (sin_test): Likewise.
12104 (sincos_test): Likewise.
12106 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12109 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12113 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12116 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12117 first element of the GOT.
12118 (elf_machine_load_address): Return the difference between
12119 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12121 2012-09-01 Allan McRae <allan@archlinux.org>
12124 * configure.in (AWK): Require gawk version 3.0 or later.
12125 * configure: Regenerated.
12127 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12129 * sysdeps/unix/sysv/linux/kernel-features.h
12130 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12132 [__NR_clock_getres]: Make code unconditional.
12133 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12134 (clock_getcpuclockid): Remove code left unreachable by removal of
12136 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12137 code unconditional.
12138 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12139 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12140 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12141 Make code unconditional.
12142 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12143 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/clock_settime.c
12145 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12147 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12148 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12150 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12153 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12154 scripts/test-installation.pl.
12156 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12157 and $ld_so_version if it is set.
12159 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12163 failure if reading from procfs failed.
12164 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12166 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12168 * sysdeps/unix/sysv/linux/kernel-features.h
12169 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12170 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12171 Remove conditional code.
12172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12173 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12174 Remove conditional code.
12175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12176 * sysdeps/unix/sysv/linux/i386/fxstat.c
12177 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12179 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12180 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12182 * sysdeps/unix/sysv/linux/i386/lxstat.c
12183 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12185 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12186 Remove conditional code.
12187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12188 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12189 Remove conditional code.
12190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12192 <kernel-features.h>.
12193 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12195 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12196 Remove conditional code.
12197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12198 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12199 Remove conditional.
12201 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12204 * NEWS: Add fixed bug number.
12206 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12209 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12210 underflowing exponent in case of negative sign.
12211 * stdlib/tst-strtod-round-data: Add more tests.
12212 * stdlib/tst-strtod-round.c (tests): Regenerated.
12215 * stdlib/strtod_l.c (NDIG): Remove.
12216 (HEXNDIG): Likewise.
12217 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12218 smallest representable value.
12219 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12220 lie within an exact representation of 1/2 ulp of the result.
12221 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12223 (TENS_P9_IDX): Define unconditionally.
12224 (TENS_P9_SIZE): Likewise.
12225 (TENS_P10_IDX): Likewise.
12226 (TENS_P10_SIZE): Likewise.
12227 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12228 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12229 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12230 entries for 10^2^13 and 10^2^14.
12231 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12232 (TENS_P13_IDX): Define.
12233 (TENS_P13_SIZE): Likewise.
12234 (TENS_P14_IDX): Likewise.
12235 (TENS_P14_SIZE): Likewise.
12236 (_fpioconst_pow10): Change array size to
12237 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12239 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12240 1024]: Add entries for 10^2^13 and 10^2^14.
12241 [LAST_POW10 > _LAST_POW10]: Remove #error.
12242 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12243 (_fpioconst_pow10): Change array size to
12244 FPIOCONST_POW10_ARRAY_SIZE.
12245 * stdlib/gen-fpioconst.c: New file.
12246 * stdlib/gen-tst-strtod-round.c: Likewise.
12247 * stdlib/tst-strtod-round-data: Likewise.
12248 * stdlib/tst-strtod-round.c: Likewise.
12249 * stdlib/Makefile (tests): Add tst-strtod-round.
12252 * stdlib/strtod_l.c: Include <stdint.h>.
12253 (NDEBUG): Do not define.
12254 (round_and_return): Change EXPONENT parameter to type intmax_t.
12255 Rearrange calculations to avoid internal overflow possibilities.
12256 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12257 Rearrange calculations to avoid internal overflow possibilities.
12258 Assert that number fits inside MPNSIZE limbs.
12259 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12260 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12261 calculations and add assertions to avoid internal overflow
12262 possibilities. Add casts to avoid signed/unsigned operations.
12263 * stdlib/tst-strtod-overflow.c: New file.
12264 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12266 2012-08-25 Marek Polacek <polacek@redhat.com>
12268 * time/time.h: Fix some typos in comments.
12270 2012-08-23 Roland McGrath <roland@hack.frob.com>
12272 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12273 * posix/tst-rfc3484-2.c: Likewise.
12274 * posix/tst-rfc3484-3.c: Likewise.
12276 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12278 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12279 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12281 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12283 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12284 #include of fxstatat64.c.
12286 2012-08-22 Roland McGrath <roland@hack.frob.com>
12288 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12289 * shadow/getspent_r.c: Likewise.
12290 * shadow/getspnam.c: Likewise.
12291 * shadow/getspnam_r.c: Likewise.
12292 * gshadow/getsgent.c: Likewise.
12293 * gshadow/getsgent_r.c: Likewise.
12294 * gshadow/getsgnam.c: Likewise.
12295 * gshadow/getsgnam_r.c: Likewise.
12296 * inet/getnetbyad.c: Likewise.
12297 * inet/getnetbyad_r.c: Likewise.
12298 * inet/getnetbynm.c: Likewise.
12299 * inet/getnetbynm_r.c: Likewise.
12300 * inet/getnetent.c: Likewise.
12301 * inet/getnetent_r.c: Likewise.
12302 * inet/getproto.c: Likewise.
12303 * inet/getproto_r.c: Likewise.
12304 * inet/getprtent.c: Likewise.
12305 * inet/getprtent_r.c: Likewise.
12306 * inet/getprtname.c: Likewise.
12307 * inet/getprtname_r.c: Likewise.
12308 * inet/getrpcbyname.c: Likewise.
12309 * inet/getrpcbyname_r.c: Likewise.
12310 * inet/getrpcbynumber.c: Likewise.
12311 * inet/getrpcbynumber_r.c: Likewise.
12312 * inet/getrpcent.c: Likewise.
12313 * inet/getrpcent_r.c: Likewise.
12314 * inet/getaliasent.c: Likewise.
12315 * inet/getaliasent_r.c: Likewise.
12316 * inet/getaliasname.c: Likewise.
12317 * inet/getaliasname_r.c: Likewise.
12318 * nscd/getgrgid_r.c: Likewise.
12319 * nscd/getgrnam_r.c: Likewise.
12320 * nscd/gethstbyad_r.c: Likewise.
12321 * nscd/gethstbynm3_r.c: Likewise.
12322 * nscd/getpwnam_r.c: Likewise.
12323 * nscd/getpwuid_r.c: Likewise.
12324 * nscd/getsrvbynm_r.c: Likewise.
12325 * nscd/getsrvbypt_r.c: Likewise.
12326 * nscd/gai.c: Likewise.
12328 * configure.in (build_nscd): New substituted variable, set
12329 by --disable-build-nscd and defaults to $use_nscd.
12330 * configure: Regenerated.
12331 * config.make.in (build-nscd): New substituted variable.
12332 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12333 Change conditional to require [$(build-nscd) = yes] as well.
12334 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12337 * configure.in (use_nscd): New substituted variable, set by
12338 --disable-nscd. If enabled, define USE_NSCD.
12339 * configure: Regenerated.
12340 * config.h.in: Add USE_NSCD.
12341 * config.make.in (use-nscd): New substituted variable.
12342 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12343 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12344 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12345 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12346 (CFLAGS-getgrnam_r.c): Likewise.
12347 (CFLAGS-initgroups.c): Likewise.
12348 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12349 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12351 * inet/getnetgrent_r.c
12352 (nscd_setnetgrent): New function, broken out of ...
12353 (setnetgrent): ... here. Call it.
12354 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12355 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12356 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12357 * nscd/Makefile (routines, aux): Move definitions after include of
12358 Makeconfig. Conditionalize on [$(use-nscd) != no].
12359 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12360 Conditionalize on [USE_NSCD].
12361 (is_nscd, nscd_init_cb): Likewise.
12362 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12363 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12364 * nss/nss_db/db-init.c: Likewise.
12365 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12367 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12368 (make_request): Use it.
12369 (cache_valid_p): New function.
12370 (__check_pf): Use it.
12371 * NEWS: Add item for --disable-nscd.
12373 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12375 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12376 to support sed >= 4.2.1-20-ga9bf076.
12377 * configure: Regenerated.
12379 2012-08-22 Roland McGrath <roland@hack.frob.com>
12381 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12382 Conditionalize whole body on [IREL].
12384 2012-08-22 Jeff Law <law@redhat.com>
12387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12388 if the family is PF_UNSPEC.
12390 2012-08-22 Mike Frysinger <vapier@gentoo.org>
12392 * Makerules (lib-version): Rename from V.
12393 (install-lib-nosubdir): Change V to lib-version.
12395 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12398 * powerpc32/power6/wcschr.c: New file.
12399 * powerpc32/power6/wcscpy.c: New file.
12400 * powerpc32/power6/wcsrchr.c: New file.
12401 * powerpc64/power6/wcschr.c: New file.
12402 * powerpc64/power6/wcscpy.c: New file.
12403 * powerpc64/power6/wcsrchr.c: New file.
12405 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12407 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12408 (two_way_short_needle): Use it.
12409 * string/strstr.c (AVAILABLE1_USES_J): Define.
12410 * string/strcasestr.c: Likewise.
12412 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12414 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12417 * NEWS: Add an entry.
12418 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12419 define their defaults.
12420 (two_way_short_needle): Detect end-of-string on-the-fly.
12421 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12422 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12423 * string/bug-strcasestr1.c: New test.
12424 * string/Makefile: Run it.
12426 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12429 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12430 the first character.
12432 2012-08-21 Roland McGrath <roland@hack.frob.com>
12434 * csu/elf-init.c (__libc_csu_irel): Function removed.
12435 * csu/libc-start.c (apply_irel): New function.
12436 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12438 2012-08-21 Joseph Myers <joseph@codesourcery.com>
12440 * sysdeps/unix/sysv/linux/kernel-features.h
12441 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12442 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12443 <kernel-features.h>.
12444 [__NR_fadvise64_64]: Make code unconditional.
12445 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12446 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12447 !__NR_fadvise64_64)]: Likewise.
12448 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12449 !__NR_fadvise64_64))]: Likewise.
12450 [__NR_fadvise64]: Make code unconditional.
12451 [!__NR_fadvise64]: Remove conditional code.
12452 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12453 <kernel-features.h>.
12454 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12456 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12459 not include <kernel-features.h>.
12460 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12462 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12464 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12465 include <kernel-features.h>.
12466 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12468 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12471 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12473 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12474 slight instruction rearrangements per scrollpipe analysis.
12475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12477 2012-08-20 Roland McGrath <roland@hack.frob.com>
12479 * manual/syslog.texi (syslog; vsyslog, closelog):
12480 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12481 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12483 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12484 DSOCAPS to match condition on defining it.
12486 2012-08-20 Joseph Myers <joseph@codesourcery.com>
12488 * sysdeps/unix/sysv/linux/kernel-features.h
12489 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12491 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12492 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12494 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12495 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12497 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12498 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12500 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12501 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12503 * sysdeps/unix/sysv/linux/kernel-features.h
12504 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12505 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12507 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12508 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12509 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12510 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12511 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12512 Make code unconditional.
12513 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12514 (__mmap64) [!__NR_mmap2]: Likewise.
12515 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12516 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12517 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12519 [__NR_mmap2]: Make code unconditional.
12520 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12521 (__mmap64) [!__NR_mmap2]: Likewise.
12523 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12525 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12527 2012-08-18 Andreas Jaeger <aj@suse.de>
12529 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12531 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12533 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12534 * include/unistd.h (__have_sock_cloexec): Likewise.
12535 (__have_pipe2): Likewise.
12536 (__have_dup3): Likewise.
12538 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12541 * include/unistd.h (__have_pipe2): Change define into an extern int.
12542 (__have_dup3): Likewise.
12543 * socket/have_sock_cloexec.c: Include fcntl.h.
12544 (__have_pipe2): New variable.
12545 (__have_dup3): Likewise.
12547 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12549 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12551 2012-08-17 Marek Polacek <polacek@redhat.com>
12553 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12554 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12556 2012-08-17 Roland McGrath <roland@hack.frob.com>
12558 * configure.in: Add AC_SUBST for sysheaders.
12559 * configure: Regenerated.
12560 * config.make.in (sysheaders): New substituted variable.
12562 * sysdeps/unix/mkfifo.c: Moved ...
12563 * sysdeps/posix/mkfifo.c: ... here.
12564 * sysdeps/unix/mkfifoat.c: Moved ...
12565 * sysdeps/posix/mkfifoat.c: ... here.
12567 * sysdeps/unix/utime.c: Moved ...
12568 * sysdeps/posix/utime.c: ... here.
12570 * sysdeps/unix/time.c: Moved ...
12571 * sysdeps/posix/time.c: ... here.
12572 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12575 * sysdeps/unix/nice.c: Moved ...
12576 * sysdeps/posix/nice.c: ... here.
12578 * sysdeps/unix/alarm.c: Moved ...
12579 * sysdeps/posix/alarm.c: ... here.
12581 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12583 2012-08-17 Jeff Law <law@redhat.com>
12585 * intl/Makefile (codeset_mo): New variable.
12586 ($(codeset_mo)): New target.
12587 (tst-codeset.out): Depend on that. Remove explicit rule.
12588 (tst-gettext3.out, tst-gettext5.out): Likewise.
12589 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12590 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12591 * intl/tst-codeset.sh: Remove.
12592 * intl/tst-gettext3.sh: Likewise.
12593 * intl/tst-gettext5.sh: Likewise.
12595 2012-08-17 Roland McGrath <roland@hack.frob.com>
12597 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12598 * sysdeps/unix/syscalls.list: ... here.
12600 * sysdeps/posix/getaddrinfo.c
12601 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12602 (gaiconf_init, gaiconf_reload): Use them.
12603 [!_STATBUF_ST_NSEC]
12604 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12605 Define using time_t rather than struct timespec.
12607 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12608 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12610 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12612 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12613 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12616 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12617 __libc_cleanup_push argument.
12619 * bits/param.h: New file.
12620 * misc/sys/param.h: New file.
12621 * include/sys/param.h: New file.
12622 * misc/Makefile (headers): Add bits/param.h.
12623 * sysdeps/generic/sys/param.h: File removed.
12624 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12625 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12626 * sysdeps/mach/hurd/bits/param.h: New file.
12627 * sysdeps/mach/hurd/sys/param.h: File removed.
12629 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12632 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12634 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12635 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12638 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12639 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12640 rather than -D_IO_MTSAFE_IO conditionally.
12641 * stdio-common/Makefile (CPPFLAGS): Likewise.
12642 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12643 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12644 Use $(libio-mtsafe).
12645 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12646 of -D_IO_MTSAFE_IO.
12647 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12648 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12649 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12650 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12651 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12652 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12653 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12654 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12655 (CFLAGS-fread_u_chk.c): Likewise.
12656 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12657 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12658 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12659 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12660 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12661 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12662 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12663 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12664 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12666 * libio/Makefile: Test [$(libc-reentrant) = yes]
12667 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12670 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12671 * sysdeps/pthread/configure: File removed.
12672 * sysdeps/pthread/Makeconfig: New file.
12673 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12674 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12676 2012-08-16 Gary Benson <gbenson@redhat.com>
12678 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12679 unmapping the first object in a namespace.
12681 2012-08-16 Roland McGrath <roland@hack.frob.com>
12683 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12684 (__internal_setnetgrent): ... this. Add internal_function to
12685 definition. Add libc_hidden_def.
12686 (setnetgrent): Update caller.
12687 (internal_endnetgrent): Renamed to ...
12688 (__internal_endnetgrent): ... this. Add internal_function to
12689 definition. Add libc_hidden_def.
12690 (endnetgrent): Update caller.
12691 (internal_getnetgrent_r): Renamed to ...
12692 (__internal_getnetgrent_r): ... this. Add internal_function to
12693 definition. Add libc_hidden_def.
12694 (__getnetgrent_r): Update caller.
12695 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12697 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12699 * stdlib/longlong.h: Update from GCC.
12701 2012-08-16 Roland McGrath <roland@hack.frob.com>
12703 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12704 on _QL, which is set by umul_ppmm but never used.
12705 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12706 variables, which are set by GMP macros but never used.
12707 * stdio-common/_itowa.c (_itowa): Likewise.
12708 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12709 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12711 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12713 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12714 struct La_sh_regs is not constant.
12715 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12716 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12717 and struct La_sparc64_regs are not constant.
12719 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12721 * sysdeps/unix/sysv/linux/kernel-features.h
12722 (__ASSUME_POSIX_TIMERS): Remove.
12723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12724 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12725 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12726 Make code unconditional.
12727 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12729 Make code unconditional.
12730 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12731 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12732 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12733 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12734 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12735 Make code unconditional.
12736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12738 (__libc_missing_posix_timers): Remove.
12740 2012-08-15 Roland McGrath <roland@hack.frob.com>
12742 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12743 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12745 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12747 * elf/dl-sym.c: Include <stdlib.h>.
12749 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12750 constants, which avoids warnings in 32-bit builds.
12752 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12753 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12755 * misc/lseek.c: File moved to ...
12756 * io/lseek.c: ... here.
12758 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12760 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12761 shifting LEN more than 31 bits at once.
12763 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12766 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12767 segmentation fault for a case of two empty input strings.
12768 * string/test-strncasecmp.c (check1): Renamed to...
12769 (bz12205): ...this.
12770 (bz14195): Add new testcase for two empty input strings and N > 0.
12771 (test_main): Call new testcase, adapt for renamed function.
12773 2012-08-15 Andreas Jaeger <aj@suse.de>
12776 * crypt/md5test2.c: New test, based on test supplied by Serge
12777 Belyshev <belyshev@depni.sinp.msu.ru>.
12778 * crypt/Makefile (xtests): Add md5test-giant..
12779 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12781 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12784 * crypt/md5.c (md5_process_block): Don't assume the buffer
12785 length is less than 2**32.
12786 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12787 length is less than 2**64.
12789 2012-08-15 Roland McGrath <roland@hack.frob.com>
12791 * string/str-two-way.h: Include <sys/param.h>.
12792 (MAX): Macro removed.
12794 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12795 Move #define and #undef of memmove to just before and after
12796 including <string.h>.
12798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12799 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12800 and after including <string.h>. Move declarations of
12801 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12802 to before #include "string/memmove.c".
12804 * include/dirent.h: Declare __getdirentries.
12806 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12807 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12809 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12811 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12812 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12813 * sysdeps/i386/configure: Regenerated.
12814 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12815 STABS_CURRENT_FILE, and STABS_FUN.
12816 (END): Remove call to STABS_FUN_END.
12817 (STABS_CURRENT_FILE1): Delete.
12818 (STABS_CURRENT_FILE): Likewise.
12819 (STABS_FUN): Likewise.
12820 (STABS_FUN_END): Likewise.
12821 (STABS_FUN2): Likewise.
12822 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12823 * sysdeps/x86_64/configure: Regenerated.
12825 2012-08-14 Roland McGrath <roland@hack.frob.com>
12827 * elf/dl-open.c: Include <atomic.h>.
12828 * elf/dl-lookup.c: Likewise.
12830 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/unix/sysv/linux/kernel-features.h
12833 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12834 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12836 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12838 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12839 condition on __ASSUME_CLONE_THREAD_FLAGS.
12841 2012-08-14 Andreas Jaeger <aj@suse.de>
12843 * sysdeps/i386/fpu/libm-test-ulps: Update.
12845 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12847 * include/atomic.h (atomic_exchange_and_add): Split into ...
12848 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12851 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12855 2012-08-13 Jeff Law <law@redhat.com>
12857 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12858 null byte in the output string.
12860 2012-08-10 Joseph Myers <joseph@codesourcery.com>
12862 * sysdeps/unix/sysv/linux/kernel-features.h
12863 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12864 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12865 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12867 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12868 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12869 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12871 2012-08-09 Jeff Law <law@redhat.com>
12874 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12875 When avoid_arena is set, don't retry in the that arena. Pick the
12876 next one, whatever it might be.
12877 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12878 (arena_lock): Pass in new parameter to arena_get2.
12879 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12881 (__libc_malloc): Unify retrying after main arena failure with
12882 __libc_memalign version.
12883 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12885 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12888 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12889 to __redirect_strstr.
12890 (__strstr_sse42): Use typeof __redirect_strstr.
12891 (__strstr_ia32): Likewise.
12892 (__libc_strstr): New prototype.
12893 (strstr): Renamed to ...
12894 (__libc_strstr): This.
12895 (strstr): New strong alias of __libc_strstr.
12896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12897 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12900 (__libc_time): New prototype.
12901 (time_ifunc): Replace time with __libc_time.
12902 (time): New strong alias and hidden definition of __libc_time.
12903 (__GI_time): Remove strong alias.
12904 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12905 Include <stddef.h>.
12906 (memmove): Redefined to __redirect_memmove.
12907 (__memmove_sse2): Use typeof __redirect_memmove.
12908 (__memmove_ssse3): Likewise.
12909 (__memmove_ssse3_back): Likewise.
12910 (__libc_memmove): New prototype.
12911 (memmove): Renamed to ...
12912 (__libc_memmove): This.
12913 (memmove): New strong alias of __libc_memmove.
12915 2012-08-08 Mark Salter <msalter@redhat.com>
12918 (R_MN10300_TLS_GD): Define.
12919 (R_MN10300_TLS_LD): Likewise.
12920 (R_MN10300_TLS_LDO): Likewise.
12921 (R_MN10300_TLS_GOTIE): Likewise.
12922 (R_MN10300_TLS_IE): Likewise.
12923 (R_MN10300_TLS_LE): Likewise.
12924 (R_MN10300_TLS_DTPMOD): Likewise.
12925 (R_MN10300_TLS_DTPOFF): Likewise.
12926 (R_MN10300_TLS_TPOFF): Likewise.
12927 (R_MN10300_SYM_DIFF): Likewise.
12928 (R_MN10300_ALIGN): Likewise.
12929 (R_MN10300_NUM): Update.
12931 2012-08-08 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12936 2012-08-08 Roland McGrath <roland@hack.frob.com>
12938 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12940 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12941 sysdeps/unix -> sysdeps/posix move.
12942 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12944 2012-08-07 Allan McRae <allan@archlinux.org>
12947 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12948 (SUNOS_CPP): Likewise.
12949 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12951 (open_input): Call CPP using execvp.
12953 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12955 * sysdeps/unix/sysv/linux/kernel-features.h
12956 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12957 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12958 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12959 (__ASSUME_WAITID_SYSCALL): Likewise.
12960 * sysdeps/unix/sysv/linux/dl-execstack.c
12961 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12962 code unconditional.
12963 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12966 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12967 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12969 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12971 [__ASSUME_WAITID_SYSCALL]: Likewise.
12972 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12974 2012-08-07 Roland McGrath <roland@hack.frob.com>
12976 * sysdeps/unix/closedir.c: Renamed to ...
12977 * sysdeps/posix/closedir.c: ... here.
12978 * sysdeps/unix/dirfd.c: Renamed to ...
12979 * sysdeps/posix/dirfd.c: ... here.
12980 * sysdeps/unix/dirstream.h: Renamed to ...
12981 * sysdeps/posix/dirstream.h: ... here.
12982 * sysdeps/unix/fdopendir.c: Renamed to ...
12983 * sysdeps/posix/fdopendir.c: ... here.
12984 * sysdeps/unix/opendir.c: Renamed to ...
12985 * sysdeps/posix/opendir.c: ... here.
12986 * sysdeps/unix/readdir.c: Renamed to ...
12987 * sysdeps/posix/readdir.c: ... here.
12988 * sysdeps/unix/readdir_r.c: Renamed to ...
12989 * sysdeps/posix/readdir_r.c: ... here.
12990 * sysdeps/unix/rewinddir.c: Renamed to ...
12991 * sysdeps/posix/rewinddir.c: ... here.
12992 * sysdeps/unix/seekdir.c: Renamed to ...
12993 * sysdeps/posix/seekdir.c: ... here.
12994 * sysdeps/unix/telldir.c: Renamed to ...
12995 * sysdeps/posix/telldir.c: ... here.
12996 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12997 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12998 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12999 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13001 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13002 * bits/fcntl.h: ... here.
13004 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13006 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13007 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13008 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13009 (struct flock): Move l_start, l_len to the beginning.
13010 Use __pid_t for l_pid.
13011 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13012 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13013 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13014 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13015 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13016 [__USE_LARGEFILE64] (struct flock64): New type.
13017 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13019 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13020 * bits/dirent.h: ... here.
13022 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13023 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13025 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13028 Change from 2.6.0 to 2.6.16.
13029 * sysdeps/unix/sysv/linux/configure: Regenerated.
13030 * sysdeps/unix/sysv/linux/kernel-features.h
13031 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13032 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13034 (__ASSUME_UTIMES): Likewise.
13035 (__ASSUME_CLONE_STOPPED): Remove.
13036 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13037 architectures, not kernel version.
13038 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13039 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13040 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13041 (__ASSUME_WAITID_SYSCALL): Likewise.
13042 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13043 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13044 * README: State 2.6.16 as minimum Linux kernel version. Do not
13045 refer to older versions.
13047 2012-08-06 Roland McGrath <roland@hack.frob.com>
13049 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13050 Define alphasort64 as an alias.
13051 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13052 Define versionsort64 as an alias.
13053 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13054 Define scandir64 as an alias.
13055 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13056 Define scandirat64 as an alias.
13057 * dirent/alphasort64.c (alphasort64):
13058 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13059 * dirent/versionsort64.c: Likewise.
13060 * dirent/scandir64.c: Likewise.
13061 * dirent/scandirat64.c: Likewise.
13062 * sysdeps/wordsize-64/alphasort.c: File removed.
13063 * sysdeps/wordsize-64/alphasort64.c: File removed.
13064 * sysdeps/wordsize-64/scandir.c: File removed.
13065 * sysdeps/wordsize-64/scandir64.c: File removed.
13066 * sysdeps/wordsize-64/scandirat.c: File removed.
13067 * sysdeps/wordsize-64/scandirat64.c: File removed.
13068 * sysdeps/wordsize-64/versionsort.c: File removed.
13069 * sysdeps/wordsize-64/versionsort64.c: File removed.
13070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13079 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13081 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13083 [defined __arch64__ || defined __sparcv9]
13084 (__INO_T_MATCHES_INO64_T): New macro.
13085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13086 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13087 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13088 * sysdeps/unix/sysv/linux/bits/dirent.h
13089 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13090 (_DIRENT_MATCHES_DIRENT64): New macro.
13092 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13093 Define lockf64 as an alias.
13094 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13095 Define fseeko64 as an alias.
13096 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13097 Define ftello64 as an alias.
13098 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13099 Define _IO_fgetpos64 and fgetpos64 as aliases.
13100 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13101 Define _IO_fsetpos64 and fsetpos64 as aliases.
13102 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13103 Conditionalize body on this.
13104 * libio/fseeko64.c: Likewise.
13105 * libio/ftello64.c: Likewise.
13106 * libio/iofgetpos64.c: Likewise.
13107 * libio/iofsetpos64.c: Likewise.
13108 * sysdeps/wordsize-64/lockf.c: File removed.
13109 * sysdeps/wordsize-64/lockf64.c: File removed.
13110 * sysdeps/wordsize-64/fseeko.c: File removed.
13111 * sysdeps/wordsize-64/fseeko64.c: File removed.
13112 * sysdeps/wordsize-64/ftello.c: File removed.
13113 * sysdeps/wordsize-64/ftello64.c: File removed.
13114 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13115 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13116 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13117 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13118 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13129 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13131 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13133 [defined __arch64__ || defined __sparcv9]
13134 (__OFF_T_MATCHES_OFF64_T): New macro.
13135 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13136 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13138 (__OFF_T_MATCHES_OFF64_T): New macro.
13140 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13142 * stdlib/secure-getenv.c (__secure_getenv): Replace
13143 GLIBC_2_16 with GLIBC_2_17.
13145 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13147 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13150 2012-08-03 David S. Miller <davem@davemloft.net>
13152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13154 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13158 (__ASSUME_CORRECT_SI_PID): Likewise.
13159 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13160 (__ASSUME_TMPFS_NAME): Likewise.
13161 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13162 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13163 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13164 (HAVE_AUX_SECURE): Make definition unconditional.
13165 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13166 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13168 2012-08-03 Roland McGrath <roland@hack.frob.com>
13170 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13171 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13172 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13173 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13174 __eloop_threshold instead of SYMLOOP_MAX.
13176 * sysdeps/generic/eloop-threshold.h: New file.
13177 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13179 * elf/chroot_canon.c (chroot_canon): Likewise.
13181 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13185 Change to 2.6.0 everywhere.
13186 * sysdeps/unix/sysv/linux/configure: Regenerated.
13187 * sysdeps/unix/sysv/linux/kernel-features.h
13188 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13189 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13191 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13192 (__ASSUME_FUTEX_REQUEUE): Remove.
13193 (__ASSUME_STATFS64): Define unconditionally.
13194 (__ASSUME_AT_SECURE): Likewise.
13195 (__ASSUME_CORRECT_SI_PID): Likewise.
13196 (__ASSUME_TGKILL): Define without depending on kernel version for
13198 (__ASSUME_UTIMES): Likewise.
13199 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13201 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13202 (__ASSUME_TMPFS_NAME): Likewise.
13203 * README: Update reference to Linux kernel versions.
13205 2012-08-02 Marek Polacek <polacek@redhat.com>
13208 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13209 libc_cv_asm_type_prefix with %.
13210 * configure: Regenerated.
13211 * include/libc-symbols.h: Remove comment about
13212 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13213 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13214 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13215 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13216 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13217 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13218 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13220 * elf/tst-unique2mod1.c: Likewise.
13221 * elf/tst-unique1mod2.c: Likewise.
13222 * elf/tst-unique1mod1.c: Likewise.
13223 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13224 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13225 Replace ASM_TYPE_DIRECTIVE with .type.
13226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13227 * sysdeps/i386/sysdep.h: Likewise.
13228 * sysdeps/x86_64/sysdep.h: Likewise.
13229 * sysdeps/sh/sysdep.h: Likewise.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13231 Do not define ASM_TYPE_DIRECTIVE.
13232 * sysdeps/powerpc/sysdep.h: Likewise.
13233 * sysdeps/powerpc/powerpc32/sysdep.h:
13234 Replace ASM_TYPE_DIRECTIVE with .type.
13235 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13236 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13237 * sysdeps/i386/fpu/e_powf.S: Likewise.
13238 * sysdeps/i386/fpu/e_expl.S: Likewise.
13239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13241 * sysdeps/i386/fpu/e_pow.S: Likewise.
13242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13246 * sysdeps/i386/fpu/e_log2.S: Likewise.
13247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13249 * sysdeps/i386/fpu/e_powl.S: Likewise.
13250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13251 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13252 * sysdeps/i386/fpu/e_logl.S: Likewise.
13253 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13254 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13255 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13258 * sysdeps/i386/fpu/e_log.S: Likewise.
13259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13260 * sysdeps/i386/fpu/e_logf.S: Likewise.
13261 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13262 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13263 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13264 * sysdeps/i386/fpu/e_log10.S: Likewise.
13265 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13266 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13267 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13268 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13271 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13272 * sysdeps/i386/i686/strtok.S: Likewise.
13273 * sysdeps/i386/i386-mcount.S: Likewise.
13274 * sysdeps/i386/strtok.S: Likewise.
13275 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13279 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13280 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13281 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13282 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13284 * sysdeps/x86_64/_mcount.S: Likewise.
13285 * sysdeps/x86_64/strtok.S: Likewise.
13286 * sysdeps/sh/_mcount.S: Likewise.
13288 2012-08-01 Roland McGrath <roland@hack.frob.com>
13290 * libio/iofopen.c: Include <fcntl.h>.
13291 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13292 (_IO_fopen64, fopen64): Define as aliases.
13293 * libio/iofopen64.c: Include <fcntl.h>.
13294 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13295 Conditionalize body on this.
13296 * sysdeps/wordsize-64/iofopen.c: File removed.
13297 * sysdeps/wordsize-64/iofopen64.c: File removed.
13299 2012-08-01 Marek Polacek <polacek@redhat.com>
13301 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13302 Use dlfcn directly instead of a variable.
13303 (binfmt-subdir): Do not define.
13306 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13309 Remove all definitions.
13310 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13311 <kernel-features.h>.
13312 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13313 (miss_F_GETOWN_EX): Remove all definitions.
13314 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13316 [!__ASSUME_FCNTL64]: Remove conditional code.
13317 [__ASSUME_FCNTL64]: Make code unconditional.
13318 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13319 <kernel-features.h>.
13320 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13321 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13322 (lockf64) [__NR_fcntl64]: Make code unconditional.
13323 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13325 * sysdeps/unix/sysv/linux/kernel-features.h
13326 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13327 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13328 Make code unconditional.
13329 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13330 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13332 [__NR_vfork]: Make code unconditional.
13333 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13334 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13336 [__NR_vfork]: Make code unconditional.
13337 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13338 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13340 2012-08-01 Roland McGrath <roland@hack.frob.com>
13342 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13343 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13345 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13346 Define mkstemp64 as an alias.
13347 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13348 Define mkstemps64 as an alias.
13349 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13350 Define mkostemp64 as an alias.
13351 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13352 Define mkostemps64 as an alias.
13353 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13354 Conditionalize body on this.
13355 * misc/mkostemp64.c: Likewise.
13356 * misc/mkostemps64.c: Likewise.
13357 * misc/mkstemps64.c: Likewise.
13358 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13359 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13360 * sysdeps/wordsize-64/mkostemp.c: File removed.
13361 * sysdeps/wordsize-64/mkstemp.c: File removed.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13363 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13365 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13368 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13369 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13370 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13371 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13373 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13374 compat_symbol macros from <shlib-compat.h> rather than the underlying
13375 default_symbol_version and symbol_version macros, so that DEFAULT
13376 lines in shlib-versions are respected.
13377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13379 2012-08-01 Florian Weimer <fweimer@redhat.com>
13381 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13382 Declare with warn_unused_result.
13383 (setgid, setregid, setegid, setresgid): Likewise.
13384 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13386 * WUR-REPORT: Remove set*id functions.
13388 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13390 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13392 2012-07-31 Roland McGrath <roland@hack.frob.com>
13395 * include/sys/socket.h (__libc_accept, __libc_accept4):
13396 Add attribute_hidden.
13397 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13399 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13401 * inet/getnetgrent_r.c (setup): Likewise.
13403 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13405 2012-07-31 David S. Miller <davem@davemloft.net>
13407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13409 2012-07-31 Joseph Myers <joseph@codesourcery.com>
13412 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13413 value between 1.0 and 2.0 and smaller part has absolute value less
13415 * math/s_clog10.c (__clog10): Likewise.
13416 * math/s_clog10f.c (__clog10f): Likewise.
13417 * math/s_clog10l.c (__clog10l): Likewise.
13418 * math/s_clogf.c (__clogf): Likewise.
13419 * math/s_clogl.c (__clogl): Likewise.
13420 * math/libm-test.inc (clog_test): Add more tests.
13421 (clog10_test): Likewise.
13422 * sysdeps/i386/fpu/libm-test-ulps: Update.
13423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13425 2012-07-31 Florian Weimer <fweimer@redhat.com>
13427 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13428 Exit with zero in case no suitable GID is found, and write a
13429 message to standard error.
13431 2012-07-30 Roland McGrath <roland@hack.frob.com>
13433 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13435 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13436 (MAXPATHLEN): Removed.
13437 (NOGROUP, NODEV): New macros.
13438 (setbit, clrbit, isset, isclr): New macros.
13439 (howmany, roundup, powerof2): New macros.
13440 (DEV_BSIZE): New macro.
13442 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13443 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13445 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13446 definition on [!__NO_LONG_DOUBLE_MATH].
13448 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13449 PTR_MANGLE and PTR_DEMANGLE.
13451 * socket/accept4.c (accept4): Rename to __libc_accept4.
13452 Define accept4 as a weak alias.
13454 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13455 on [_DIRENT_HAVE_D_TYPE].
13456 * io/ftw.c (ftw_dir): Likewise.
13458 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13460 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13462 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13463 Use the BSD numbers rather than the arbitrary ones we had.
13464 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13465 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13466 (SIGXCPU, SIGXFSZ): New macros.
13469 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13470 initializer on [_LIBC_REENTRANT].
13472 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13473 definitions inside [_POSIX_MAPPED_FILES].
13475 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13477 * dirent/opendir.c: Include <fcntl.h>.
13479 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13480 (__libc_getspecific): Likewise.
13481 (__libc_key_create): Likewise.
13483 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13484 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13485 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13486 (tmpfile64): Define as alias.
13487 * sysdeps/wordsize-64/tmpfile.c: File removed.
13488 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13489 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13492 * stdio-common/vfscanf.c: Include <stdbool.h>.
13493 * nss/makedb.c: Likewise.
13494 * stdio-common/_i18n_number.h: Likewise.
13495 * argp/argp-help.c: Likewise.
13496 * posix/wordexp.c: Likewise.
13497 * sysdeps/posix/spawni.c: Likewise.
13498 * nss/nss_files/files-initgroups.c: Likewise.
13499 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13500 * nss/nss_files/files-initgroups.c: Likewise.
13501 * nss/nss_db/db-netgrp.c: Likewise.
13502 * nss/nss_db/db-initgroups.c: Likewise.
13503 * io/fchmodat.c: Include <sys/stat.h>.
13505 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13506 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13508 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13511 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13512 Add multiple inclusion protection.
13514 2012-07-27 David S. Miller <davem@davemloft.net>
13516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13518 2012-07-27 Gary Benson <gbenson@redhat.com>
13521 * elf/rtld.c: Include <stap-probe.h>.
13522 (dl_main): Added static probes "init_start" and "init_complete".
13523 * elf/dl-load.c: Include <stap-probe.h>.
13524 (lose): Take new parameter "nsid".
13525 Added static probe "map_failed".
13526 (_dl_map_object_from_fd): Pass namespace id to lose.
13527 Added static probe "map_start".
13528 (open_verify): Pass namespace id to lose.
13529 * elf/dl-open.c: Include <stap-probe.h>.
13530 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13531 and "reloc_complete".
13532 * elf/dl-close.c: Include <stap-probe.h>.
13533 (_dl_close_worker): Added static probes "unmap_start" and
13535 * elf/rtld-debugger-interface.txt: New file documenting the above.
13537 2012-07-26 Roland McGrath <roland@hack.frob.com>
13539 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13540 rather than a string variable.
13541 * sunrpc/rpc_main.c (h_output): Likewise.
13542 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13544 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13546 * inet/check_native.c: New file.
13548 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13551 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13552 if larger part has absolute value 1.0.
13553 * math/s_clog10.c (__clog10): Likewise.
13554 * math/s_clog10f.c (__clog10f): Likewise.
13555 * math/s_clog10l.c (__clog10l): Likewise.
13556 * math/s_clogf.c (__clogf): Likewise.
13557 * math/s_clogl.c (__clogl): Likewise.
13558 * math/libm-test.inc (clog_test): Add more tests.
13559 (clog10_test): Likewise.
13560 * sysdeps/i386/fpu/libm-test-ulps: Update.
13561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13563 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13564 (pltexit): Likewise.
13565 (La_regs): Likewise.
13566 (La_retval): Likewise.
13567 (int_retval): Likewise.
13568 Update #error for removed macros to refer only to definitions in
13570 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13572 (pltexit): Likewise.
13573 (La_regs): Likewise.
13574 (La_retval): Likewise.
13575 (int_retval): Likewise.
13576 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13578 (pltexit): Likewise.
13579 (La_regs): Likewise.
13580 (La_retval): Likewise.
13581 (int_retval): Likewise.
13582 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13584 (pltexit): Likewise.
13585 (La_regs): Likewise.
13586 (La_retval): Likewise.
13587 (int_retval): Likewise.
13588 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13590 (pltexit): Likewise.
13591 (La_regs): Likewise.
13592 (La_retval): Likewise.
13593 (int_retval): Likewise.
13594 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13596 (pltexit): Likewise.
13597 (La_regs): Likewise.
13598 (La_retval): Likewise.
13599 (int_retval): Likewise.
13600 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13602 (pltexit): Likewise.
13603 (La_regs): Likewise.
13604 (La_retval): Likewise.
13605 (int_retval): Likewise.
13606 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13607 macro definitions in tst-audit.h.
13608 * sysdeps/i386/tst-audit.h: New file.
13609 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13610 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13611 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13612 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13613 * sysdeps/sh/tst-audit.h: Likewise.
13614 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13615 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13616 * sysdeps/x86_64/tst-audit.h: Likewise.
13618 2012-07-26 Andreas Jaeger <aj@suse.de>
13620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13623 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13624 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13625 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13627 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13629 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13634 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13636 (si_call_addr, si_syscall, si_arch): Define new macro.
13637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13639 (si_call_addr, si_syscall, si_arch): Define new marcro.
13640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13642 (si_call_addr, si_syscall, si_arch): Define new macro.
13643 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13645 (si_call_addr, si_syscall, si_arch): Define new macro.
13647 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13650 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13651 Change to 2.4.21 where previously 2.4.1.
13652 * sysdeps/unix/sysv/linux/configure: Regenerated.
13653 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13654 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13655 Linux kernel version.
13656 (__ASSUME_STD_AUXV): Remove.
13657 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13659 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13660 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13661 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13662 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13663 (__ASSUME_NETLINK_SUPPORT): Likewise.
13664 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13665 (__no_netlink_support): Remove conditional definition.
13666 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13668 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13669 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13670 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13671 (if_nameindex_ioctl): Remove.
13672 (if_nameindex_netlink): Do not handle __no_netlink_support.
13673 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13675 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13676 Remove conditional code.
13677 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13679 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13681 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13682 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13683 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13685 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13686 [!__ASSUME_STD_AUXV]: Remove conditional code.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13688 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13689 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13691 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13692 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13694 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13696 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13697 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13699 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13701 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13704 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13707 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13708 code unconditional.
13709 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13711 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13713 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13716 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13718 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13721 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13722 code unconditional.
13723 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13725 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13727 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13730 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13731 code unconditional.
13732 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13734 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13736 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13739 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13741 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13742 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13743 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13744 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13745 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13746 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13747 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13748 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13749 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13750 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13751 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13752 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13753 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13754 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13757 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13759 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13761 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13762 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13765 2012-07-25 Florian Weimer <fweimer@redhat.com>
13767 * Versions.def: Add GLIBC_2.17.
13768 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13769 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13770 Introduce __libc_secure_getenv.
13771 * stdlib/Versions (2.17): Add secure_getenv
13772 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13773 * stdlib/secure-getenv.c: Rename __secure_getenv to
13774 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13775 symbol __secure_getenv for GLIBC_2.0.
13776 * stdlib/tst-secure-getenv.c: New.
13777 * stdlib/Makefile (tests): Add testcase.
13778 * manual/startup.texi (Environment Access): Document
13780 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13781 __libc_secure_getenv.
13782 * inet/ruserpass.c (ruserpass): Likewise.
13783 * malloc/mtrace.c (mtrace): Likewise.
13784 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13785 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13786 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13787 * sysdeps/posix/tempname.c: Likewise. Evaluate
13788 HAVE_SECURE_GETENV.
13789 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13790 __secure_getenv to __libc_secure_getenv.
13791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13804 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13806 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13807 (struct La_i86_retval): Likewise.
13808 (struct La_x86_64_regs): Likewise.
13809 (struct La_x86_64_retval): Likewise.
13810 (struct La_x32_regs): Likewise.
13811 (struct La_x32_retval): Likewise.
13812 (struct La_ppc32_regs): Likewise.
13813 (struct La_ppc32_retval): Likewise.
13814 (struct La_ppc64_regs): Likewise.
13815 (struct La_ppc64_retval): Likewise.
13816 (struct La_sh_regs): Likewise.
13817 (struct La_sh_retval): Likewise.
13818 (struct La_s390_32_regs): Likewise.
13819 (struct La_s390_32_retval): Likewise.
13820 (struct La_s390_64_regs): Likewise.
13821 (struct La_s390_64_retval): Likewise.
13822 (struct La_sparc32_regs): Likewise.
13823 (struct La_sparc32_retval): Likewise.
13824 (struct La_sparc64_regs): Likewise.
13825 (struct La_sparc64_retval): Likewise.
13826 (struct audit_ifaces): Remove architecture-specific pltenter and
13828 * sysdeps/i386/ldsodefs.h: New file.
13829 * sysdeps/powerpc/ldsodefs.h: Likewise.
13830 * sysdeps/s390/ldsodefs.h: Likewise.
13831 * sysdeps/sh/ldsodefs.h: Likewise.
13832 * sysdeps/sparc/ldsodefs.h: Likewise.
13833 * sysdeps/x86_64/ldsodefs.h: Likewise.
13835 2012-07-25 Marek Polacek <polacek@redhat.com>
13838 * math/libm-test.inc (yn_test): Add another test.
13839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13840 to ERANGE when the result is +-Inf.
13841 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13842 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13843 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13844 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13846 2012-07-24 Joseph Myers <joseph@codesourcery.com>
13848 * conform/data/time.h-data (NULL): Use macro-constant. Require
13850 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13852 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13854 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13856 * configure.in <sysdeps resolving>: Correct printing
13858 * configure: Regenerate.
13860 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13862 * math/w_ilogb.c: Include <limits.h>.
13863 * math/w_ilogbl.c: Likewise.
13865 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13867 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13868 va_copy. Document allowing for unavailable va_copy only as
13869 pre-C99 compatibility.
13870 * manual/string.texi (Copying and Concatenation): Use va_copy
13871 instead of __va_copy in concat example.
13873 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13875 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13876 (__sendto): Use create_address_port. Initialize APORT and deallocate
13879 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13880 with O_NOLINK passed to __file_name_lookup.
13882 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13883 with O_NOLINK passed to __file_name_lookup.
13885 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13886 negative N or less than NGIDS.
13888 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13889 type to string_t. Set ERANGE as errno and return it if NAME is not big
13890 enough. Use memcpy instead of strncpy.
13892 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13894 * elf/Makefile (check-data): Remove.
13895 (localplt.data): New vpath directive.
13896 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13897 instead of $(check-data).
13898 * scripts/data/localplt-generic.data: Move to ...
13899 * sysdeps/generic/localplt.data: ... here.
13900 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13901 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13902 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13905 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13908 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13911 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13914 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13917 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13921 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13923 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13924 PPC32 and PPC64 files.
13925 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13926 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13928 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13930 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13931 __makecontext_ret to ...
13932 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13933 ... here and call exit if uc_link is NULL. New file.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13935 __makecontext_ret.S.
13936 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13937 __makecontext_ret to ...
13938 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13939 ... here and call exit if uc_link is NULL. New file.
13940 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13941 __makecontext_ret.S.
13943 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13945 * elf/elf.h (R_390_IRELATIVE): New definition.
13946 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13947 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13948 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13949 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13950 (elf_machine_lazy_rel): Likewise.
13951 * sysdeps/s390/dl-irel.h: New file.
13952 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13953 * sysdeps/s390/s390-64/memset.S: New asm code.
13954 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13955 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13957 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13958 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13959 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13960 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13961 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13962 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13963 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13964 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13965 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13966 * sysdeps/s390/s390-32/memset.S: New asm code.
13967 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13969 2012-07-17 Marek Polacek <polacek@redhat.com>
13972 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13973 * sysdeps/s390/s390-64/configure.in: Likewise.
13974 * sysdeps/sparc/configure.in: Likewise.
13975 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13976 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13977 * sysdeps/i386/configure.in: Likewise.
13978 * sysdeps/x86_64/configure.in: Likewise.
13979 * sysdeps/sh/configure.in: Likewise.
13980 * sysdeps/s390/s390-32/configure: Regenerated.
13981 * sysdeps/s390/s390-64/configure: Likewise.
13982 * sysdeps/x86_64/configure: Likewise.
13983 * sysdeps/sh/configure: Likewise.
13984 * sysdeps/powerpc/powerpc64/configure: Likewise.
13985 * sysdeps/powerpc/powerpc32/configure: Likewise.
13986 * sysdeps/sparc/configure: Likwise.
13987 * sysdeps/i386/configure: Likewise.
13989 * elf/dl-open.c: Comment fixes.
13991 2012-07-17 Joseph Myers <joseph@codesourcery.com>
13993 * Makefile [CXX] (check-data): Remove.
13994 [CXX] (c++-types.data): New vpath directive.
13995 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13996 vpath. Do not allow for C++ type data being missing.
13997 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13998 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13999 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14000 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14001 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14002 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14003 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14006 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14009 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14012 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14015 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14018 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14021 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14024 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14027 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14028 definitions to architecture-specific files.
14029 (TLS_IE): Likewise.
14030 (TLS_LD): Likewise.
14031 (TLS_GD): Likewise.
14032 * sysdeps/i386/tls-macros.h: New file.
14033 * sysdeps/powerpc/tls-macros.h: Likewise.
14034 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14035 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14036 * sysdeps/sh/tls-macros.h: Likewise.
14037 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14038 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14039 * sysdeps/x86_64/tls-macros.h: Likewise.
14041 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14044 zero value for regular exit case.
14046 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14047 (__start_context): Preserve zero value for regular exit case.
14049 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14050 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14052 * manual/setjmp.texi (setcontext): Clarify normal process
14053 termination when uc_link is the null pointer.
14054 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14057 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14059 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14060 preprocessor. Test for each exception mask separately.
14062 2012-07-16 Andreas Jaeger <aj@suse.de>
14064 * po/ru.po: Update from translation team.
14066 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14068 * conform/data/string.h-data (NULL): Use macro-constant. Require
14070 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14071 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14072 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14073 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14076 2012-07-13 Andreas Jaeger <aj@suse.de>
14078 * po/fr.po: Update from translation team.
14080 2012-07-12 Marek Polacek <polacek@redhat.com>
14083 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14084 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14087 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14091 Change to 2.4.1 where previously 2.4.0.
14092 * sysdeps/unix/sysv/linux/configure: Regenerated.
14093 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14094 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14096 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14097 (__ASSUME_AT_CLKTCK): Remove.
14098 (__ASSUME_AT_PAGESIZE): Likewise.
14099 (__ASSUME_AT_XID): Likewise.
14100 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14101 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14102 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14104 (HAVE_AUX_PAGESIZE): Likewise.
14105 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14106 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14107 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14109 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14113 the temporary buffer used to invoke __gethostbyname2_r,
14114 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14115 host_data / struct gaih_addrtuple.
14116 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14117 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14118 header file nss/nsswitch.h.
14119 * nss/nsswitch.h (global scope): Add definition of implementation
14120 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14121 resolv/nss_dns/dns-host.c).
14123 2012-07-11 Andreas Jaeger <aj@suse.de>
14125 * po/fr.po: Update from translation team.
14127 * po/sv.po: Update from translation team
14128 * po/fr.po: Another update from translation team.
14130 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14132 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14133 for subnormals or multiply small sinh result by itself.
14134 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14137 2012-07-11 David S. Miller <davem@davemloft.net>
14139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14141 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14144 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14145 (INTERNAL_MARK): Shift it here.
14147 2012-07-10 Marek Polacek <polacek@redhat.com>
14150 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14151 libc_cv_asm_global_directive with .globl.
14152 * configure: Regenerated.
14153 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14155 * sysdeps/i386/configure: Regenerated.
14156 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14158 * sysdeps/x86_64/configure: Regenerated.
14159 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14160 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14161 * elf/tst-unique2mod2.c: Likewise.
14162 * elf/tst-unique2mod1.c: Likewise.
14163 * elf/tst-unique1mod2.c: Likewise.
14164 * elf/tst-unique1mod1.c: Likewise.
14165 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14166 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14168 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14169 * sysdeps/mach/sysdep.h: Likewise.
14170 * sysdeps/i386/sysdep.h: Likewise.
14171 * sysdeps/i386/i386-mcount.S: Likewise.
14172 * sysdeps/x86_64/_mcount.S: Likewise.
14173 * sysdeps/x86_64/sysdep.h: Likewise.
14174 * sysdeps/sh/_mcount.S: Likewise.
14175 * sysdeps/sh/sysdep.h: Likewise.
14176 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14177 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14178 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14179 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14180 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14181 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14182 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14183 * locale/localeinfo.h: Likewise.
14184 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14185 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14187 2012-07-09 Roland McGrath <roland@hack.frob.com>
14190 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14192 * manual/message.texi (The Uniforum approach): Likewise.
14193 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14194 (glibc iconv Implementation): Likewise.
14196 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14199 * math/s_clog.c (__clog): Avoid scaling a value down where that
14200 could result in underflow.
14201 * math/s_clog10.c (__clog10): Likewise.
14202 * math/s_clog10f.c (__clog10f): Likewise.
14203 * math/s_clog10l.c (__clog10l): Likewise.
14204 * math/s_clogf.c (__clogf): Likewise.
14205 * math/s_clogl.c (__clogl): Likewise.
14206 * math/libm-test.inc (clog_test): Add more tests.
14207 (clog10_test): Likewise.
14208 * sysdeps/i386/fpu/libm-test-ulps: Update.
14209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14211 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14214 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14215 by 7 not 8 to examine high bit of fractional part.
14218 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14219 for call to __mcount_internal.
14220 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14221 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14222 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14224 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14227 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14228 approximation for values within 0x1p-13f of an odd multiple of
14230 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14231 exception. Add more tests.
14232 * sysdeps/i386/fpu/libm-test-ulps: Update.
14235 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14236 inputs and return -1 for them. Do not check for +Inf in case not
14237 reachable for +Inf.
14238 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14239 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14240 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14241 and return -1 for them. Do not check for +Inf in case not
14242 reachable for +Inf.
14243 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14245 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14246 and return -1 for them. Do not check for +Inf in case not
14247 reachable for +Inf.
14248 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14249 spurious underflow.
14250 * sysdeps/i386/fpu/libm-test-ulps: Update.
14251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14253 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14255 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14257 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14261 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14262 could result in spurious underflow. Scale down values above
14263 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14264 * math/s_csqrtf.c (__csqrtf): Likewise.
14265 * math/s_csqrtl.c (__csqrtl): Likewise.
14266 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14267 spurious underflow.
14268 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14271 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14273 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14275 * catgets/xopen-msg.awk: New file.
14276 * catgets/xopen-msg.sed: Removed.
14278 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14280 * intl/po2test.awk: New file.
14281 * intl/po2test.sed: Removed.
14283 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14286 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14287 or multiply small sinh result by itself.
14288 * math/s_ctanf.c (__ctanf): Likewise.
14289 * math/s_ctanh.c (__ctanh): Likewise.
14290 * math/s_ctanhf.c (__ctanhf): Likewise.
14291 * math/s_ctanhl.c (__ctanhl): Likewise.
14292 * math/s_ctanl.c (__ctanl): Likewise.
14293 * math/libm-test.inc (ctan_test_tonearest): New function.
14294 (ctan_test_towardzero): Likewise.
14295 (ctan_test_downward): Likewise.
14296 (ctan_test_upward): Likewise.
14297 (ctanh_test_tonearest): Likewise.
14298 (ctanh_test_towardzero): Likewise.
14299 (ctanh_test_downward): Likewise.
14300 (ctanh_test_upward): Likewise.
14301 (main): Call these new functions.
14302 * sysdeps/i386/fpu/libm-test-ulps: Update.
14303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14307 * .gitignore: Delete /ports entry.
14309 2012-07-03 Andreas Jaeger <aj@suse.de>
14311 * po/bg.po: Update from translation team.
14312 * po/cs.po: Likewise.
14313 * po/de.po: Likewise.
14314 * po/hr.po: Likewise.
14315 * po/nl.pl: Likewise.
14316 * po/pl.po: Likewise.
14317 * po/vi.po: Likewise.
14319 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14321 * Makeconfig [!+link] (+link-before-libc): New variable.
14322 [!+link] (+link-after-libc): Likewise.
14323 [!+link] (+link-tests): Likewise.
14324 [!+link] (+link): Define in terms of $(+link-before-libc) and
14325 $(+link-after-libc).
14326 [!+link-static] (+link-static-before-libc): New variable.
14327 [!+link-static] (+link-static-after-libc): Likewise.
14328 [!+link-static] (+link-static-tests): Likewise.
14329 [!+link-static] (+link-static): Define in terms of
14330 $(+link-static-before-libc) and $(+link-static-after-libc).
14331 [build-shared] (link-libc-before-gnulib): New variable.
14332 [build-shared] (link-libc-tests): Likewise.
14333 [build-shared] (link-libc): Define in terms of
14334 $(link-libc-before-gnulib).
14335 [!build-shared] (link-libc-tests): New variable.
14336 (link-libc-static-tests): New variable.
14337 [!gnulib] (gnulib-arch): New variable.
14338 [!gnulib] (gnulib-tests): Likewise.
14339 [!gnulib] (static-gnulib-arch): Likewise.
14340 [!gnulib] (static-gnulib-tests): Likewise.
14341 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14342 Define with "=" instead of ":=".
14343 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14344 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14345 * Rules (binaries-all-notests): New variable.
14346 (binaries-all-tests): Likewise.
14347 (binaries-static-notests): Likewise.
14348 (binaries-static-tests): Likewise.
14349 (binaries-all): Define using $(binaries-all-notests) and
14350 $(binaries-all-tests).
14351 (binaries-static): Define using $(binaries-static-notests) and
14352 $(binaries-static-tests).
14353 (binaries-shared-tests): New variable.
14354 (binaries-shared-notests): Likewise.
14355 (binaries-shared): Remove variable.
14356 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14357 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14358 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14359 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14360 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14361 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14362 * elf/Makefile (sln-modules): New variable.
14363 (extra-objs): Add $(sln-modules:=.o).
14364 (ldconfig-modules): Add static-stubs.
14365 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14366 * elf/static-stubs.c: New file.
14369 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14370 by 7 not 8 to examine high bit of fractional part. Use volatile
14371 variables when splitting into final array of floats if
14372 __FLT_EVAL_METHOD__ != 0.
14373 * math/libm-test.inc (cos_test): Add another test.
14374 (sin_test): Likewise.
14375 * sysdeps/i386/fpu/libm-test-ulps: Update.
14378 * math/libm-test.inc (cosh_test): Add more tests.
14380 * version.h (RELEASE): Set to "development".
14381 (VERSION): Set to "2.16.90".
14383 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14385 * NEWS: Update copyright. Remove last-updated date.
14386 Mention math library bug fixes and timezone data changes.
14387 * README: Mention GNU/Hurd, x32, and HPPA support status.
14389 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14391 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14393 2012-06-27 Andreas Jaeger <aj@suse.de>
14395 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14397 2012-06-25 Andreas Jaeger <aj@suse.de>
14399 * sysdeps/s390/fpu/libm-test-ulps: Update.
14401 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14402 Thomas Schwinge <thomas@codesourcery.com>
14404 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14405 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14409 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14411 * sysdeps/mach/start.c: Remove file.
14412 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14413 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14414 * sysdeps/sh/init-first.c: Likewise.
14416 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14417 registers for frame unwinding purposes, add CFI directives.
14418 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14419 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14420 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14423 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14424 __fortify_fail returning.
14425 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14427 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14428 sysdeps/sh/____longjmp_chk.S.
14429 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14430 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14431 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14432 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14434 * sysdeps/sh/abort-instr.h: New file.
14435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14436 process in case exit returns.
14438 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14439 initialize the GOT register before use.
14441 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14442 calculation of ARGC > 4.
14444 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14445 meaningful names to some local labels.
14447 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14448 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14450 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14451 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14452 (__arch_compare_and_exchange_val_16_acq): Likewise.
14453 (__arch_compare_and_exchange_val_32_acq): Likewise.
14454 (atomic_exchange_and_add): Fix gUSA sequence.
14455 (atomic_add): Likewise.
14456 (atomic_add_negative): Likewise.
14457 (atomic_add_zero): Likewise.
14458 (atomic_bit_test_set): Likewise.
14460 2012-06-22 Andreas Schwab <schwab@redhat.com>
14463 * include/link.h (struct link_map): Add l_free_initfini.
14464 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14466 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14467 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14468 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14471 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14473 * configure.in: Use AC_LANG_SOURCE.
14474 * configure: Regenerate.
14476 2012-06-22 Roland McGrath <roland@hack.frob.com>
14478 * configure.in (libc_cv_localstatedir): New substituted variable.
14479 * configure: Regenerated.
14480 * config.make.in (localstatedir): New variable, substituted from
14481 libc_cv_localstatedir.
14482 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14483 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14484 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14485 * sysdeps/gnu/configure: Regenerated.
14487 2012-06-21 Jeff Law <law@redhat.com>
14490 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14491 free. Simplify list management for _LIBC case.
14493 2012-06-21 Joseph Myers <joseph@codesourcery.com>
14496 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14497 Clear sign bit of 64-bit integer value before comparing against
14500 * sysdeps/mach/configure: Regenerated.
14502 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14505 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14507 2012-06-21 Jeff Law <law@redhat.com>
14510 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14511 uint16_t for elements in the "seen" array to avoid char overflows.
14512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14513 * elf/dl-open.c (dl_open_worker): Likewise.
14515 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14517 * scripts/list-sources.sh: Scan PORTS for translations.
14518 * po/libc.pot: Regenerated.
14520 2012-06-21 Andreas Jaeger <aj@suse.de>
14523 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14525 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14526 * bits/byteswap-16.h (__bswap_16): Likewise.
14527 * bits/byteswap.h (__bswap_constant_16): Likewise.
14529 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14532 * sysdeps/i386/fpu_control.h: Removed.
14533 * sysdeps/x86_64/fpu_control.h: Moved to ...
14534 * sysdeps/x86/fpu_control.h: Here.
14536 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14537 (_FPU_SETCW): Likewise.
14539 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14542 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14543 * sysdeps/x86/fpu/bits/mathinline.h: This.
14544 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14548 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14549 functions if __x86_64__ is defined.
14551 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14553 * string/endian.h: Add !__ASSEMBLER__ condition for including
14554 conversion interfaces.
14556 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14560 of ABS(x) in calculating zero to negative powers other than odd
14562 * math/libm-test.inc (pow_test): Add more tests.
14564 2012-06-15 Andreas Jaeger <aj@suse.de>
14566 * manual/contrib.texi (Contributors): Update entry of Liubov
14567 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14570 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14572 * string/string.h: Add __wur to GNU version of strerror_r.
14574 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14577 * string/Makefile (tests): Add tst-strtok_r.
14578 * string/tst-strtok_r.c: New file.
14579 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14580 RAX_LP/RDX_LP on SAVE_PTR.
14582 2012-06-14 Roland McGrath <roland@hack.frob.com>
14584 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14586 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14588 * libm_test.inc (csqrt_test): Allow more spurious underflow
14590 (j0_test): Likewise.
14591 (j1_test): Likewise.
14592 (y0_test): Likewise.
14593 (y1_test): Likewise.
14595 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14597 * po/Makefile (libc.pot): Use UTF-8 charset.
14599 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14602 Suppress sign-conversion warning from FD_SET.
14603 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14604 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14605 not unsigned long int.
14606 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14608 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14612 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14613 __extern_always_inline instead of __extern_inline.
14614 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14615 (__signbit): Likewise.
14616 (__signbitl): Support C++ namespace.
14617 (lrintf): New inline function.
14619 (llrintf): Likewise.
14620 (llrint): Likewise.
14630 (floorf): Likewise.
14631 (nearbyint): Likewise.
14632 (nearbyintf): Likewise.
14634 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14636 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14637 non-default versions.
14639 2012-06-11 Roland McGrath <roland@hack.frob.com>
14642 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14644 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14646 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14647 (FE_UPWARD, FE_DOWNWARD): Don't define.
14648 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14651 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14653 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14654 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14656 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14658 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14660 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14661 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14663 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14666 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14667 * sysdeps/i386/fpu/Implies: New file.
14668 * sysdeps/x86_64/fpu/Implies: Likewise.
14669 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14670 * sysdeps/x86/fpu/bits/fenv.h: This.
14672 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14675 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14678 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14679 character 0xffff that matches the last element of the
14682 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14687 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14690 values higher than 25.6283.
14692 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14695 subnormal exponent extraction and add some __builtin_expect.
14696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14697 Fix for subnormal mantissa calculation.
14699 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14701 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14702 cpu2 is -1 and errno is not ENOSYS.
14704 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14707 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14708 * sysdeps/x86/bits/string.h: This.
14709 * sysdeps/x86_64/bits/string.h: Removed.
14711 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14712 if not compiling for x86-64, but compiling for >= i486.
14714 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14715 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14717 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14718 New macro from Linux kernel 3.4.0.
14719 (FP_XSTATE_MAGIC2): Likewise.
14720 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14721 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14722 (struct _fpx_sw_bytes): New struct.
14723 (struct _xsave_hdr): Likewise.
14724 (struct _ymmh_state): Likewise.
14725 (struct _xstate): Likewise.
14727 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14728 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14730 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14731 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14732 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14734 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14735 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14736 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14737 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14738 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14739 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14741 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14744 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14745 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14746 (sysdep_headers): Include sys/platform/ppc.h.
14747 * sysdeps/powerpc/test-gettimebase.c: Test for
14748 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14749 * manual/Makefile (appendices): Include platform.texi.
14750 * manual/contrib.texi (Contributors): Update @node pointers.
14751 * manual/maint.texi (Maintenance): Likewise.
14752 (Platform): New node.
14753 * manual/platform.texi: New file. Document the new features.
14755 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14756 Jakub Jelinek <jakub@redhat.com>
14759 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14760 where __builtin_expect is unavailable.
14762 2012-06-03 David S. Miller <davem@davemloft.net>
14764 * stdlib/longlong.h: Updated from GCC.
14766 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14769 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14770 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14773 (GLIBC_2.16): Likewise.
14775 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14779 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14782 (default-abi): New variable.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14784 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14786 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14790 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14793 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14794 definition. Document in comment.
14796 2012-06-01 David S. Miller <davem@davemloft.net>
14798 * stdlib/longlong.h: Updated from GCC.
14800 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14803 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14804 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14805 sys/debugreg.h sys/io.h here.
14806 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14807 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14809 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14810 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14811 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14812 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14813 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14814 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14816 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14817 Define only if __x86_64__ is defined.
14819 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14822 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14823 Use int64_t for variable i.
14824 * math/libm-test.inc (fmod_test): Add more tests.
14826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14827 z computation is not scheduled after fetestexcept.
14828 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14829 Use math_force_eval instead of asm to ensure calculation scheduled
14830 before exception test.
14831 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14832 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14834 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14837 computation is not scheduled after fetestexcept.
14839 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14842 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14843 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14845 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14847 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14848 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14850 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14853 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14855 (__WCHAR_MIN): Support __WORDSIZE == 64.
14856 (__WCHAR_MAX): Likewise.
14858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14859 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14863 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14866 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14867 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14869 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14870 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14872 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14873 Defined to 1 if __x86_64__ isn't defined.
14874 (_STAT_VER_LINUX_OLD): New.
14875 (st_atime): Remove duplicate.
14876 (st_mtime): Likewise.
14877 (st_ctime): Likewise.
14879 2012-05-31 David S. Miller <davem@davemloft.net>
14881 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14884 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14886 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14890 * elf/dl-reloc.c: Include <_itoa.h>.
14891 (_dl_reloc_bad_type): Remove use of INTUSE.
14892 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14893 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14894 * stdio-common/psiginfo.c (psiginfo): Likewise.
14895 * stdio-common/psignal.c (psignal): Likewise.
14896 * string/strsignal.c (strsignal): Likewise.
14897 * include/signal.h (_sys_siglist): Declare hidden proto.
14898 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14899 INTVARDEF with libc_hidden_data_def.
14900 * stdio-common/itoa-udigits.c: Likewise.
14901 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14902 (_itoa_lower_digits_internal): Remove declaration.
14903 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14904 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14905 (_sys_sigabbrev_internal): Remove aliases.
14906 (_sys_siglist): Define hidden alias.
14908 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14913 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14916 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14917 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14919 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14920 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14921 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14922 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14923 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14924 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14926 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14927 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14928 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14930 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14938 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14939 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14940 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14942 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14943 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14945 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14946 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14947 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14949 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14950 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14952 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14953 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14955 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14957 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14959 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14960 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14962 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14964 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14965 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14966 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14968 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14970 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14972 2012-05-31 Joseph Myers <joseph@codesourcery.com>
14974 * math/math.h (M_El): Use two more decimal places.
14975 (M_LOG2El): Likewise.
14976 (M_LOG10El): Likewise.
14977 (M_LN2l): Likewise.
14978 (M_LN10l): Likewise.
14980 (M_PI_2l): Likewise.
14981 (M_PI_4l): Likewise.
14982 (M_1_PIl): Likewise.
14983 (M_2_PIl): Likewise.
14984 (M_2_SQRTPIl): Likewise.
14985 (M_SQRT2l): Likewise.
14986 (M_SQRT1_2l): Likewise.
14988 2012-05-31 David S. Miller <davem@davemloft.net>
14990 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14991 values between float registers.
14992 * sysdeps/sparc/sparc64/memset.S: Likewise.
14993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14995 2012-05-31 Mike Frysinger <vapier@gentoo.org>
14997 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14998 -D_FORTIFY_SOURCE=1.
14999 (CPPFLAGS-tst-longjmp_chk.c): Define.
15000 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15001 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15002 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15003 CFLAGS-tst-wchar-h.c.
15005 2012-05-31 Marek Polacek <polacek@redhat.com>
15008 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15009 __endmntent_internal): Remove declaration.
15010 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15011 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15012 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15014 2012-05-30 David S. Miller <davem@davemloft.net>
15016 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15017 (___Q_simulate_exceptions): Use real FP ops rather than writing
15019 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15022 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15025 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15026 * sysdeps/x86/bits/xtitypes.h: This.
15028 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15029 * sysdeps/x86/bits/wordsize.h: This.
15031 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15032 * sysdeps/x86/bits/huge_vall.h: This.
15034 * sysdeps/i386/bits/select.h: Removed.
15035 * sysdeps/x86_64/bits/select.h: Renamed to ...
15036 * sysdeps/x86/bits/select.h: This.
15038 * sysdeps/i386/bits/setjmp.h: Removed.
15039 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15040 * sysdeps/x86/bits/setjmp.h: This.
15042 * sysdeps/i386/bits/mathdef.h: Removed.
15043 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15044 * sysdeps/x86/bits/mathdef.h: This.
15046 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15049 * include/sys/socket.h (__connect_internal)
15050 (__libc_sa_len_internal): Remove declaration.
15051 (__connect, __libc_sa_len): Declare hidden_proto.
15052 (SA_LEN): Remove use of INTUSE.
15053 * socket/connect.c: Add libc_hidden_def.
15054 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15055 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15056 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15058 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15059 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15060 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15061 of adding _internal alias.
15063 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15066 * sysdeps/i386/bits/link.h: Removed.
15067 * sysdeps/i386/bits/linkmap.h: Likewise.
15068 * sysdeps/x86_64/bits/link.h: Renamed to ...
15069 * sysdeps/x86/bits/link.h: This.
15070 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15071 * sysdeps/x86/bits/linkmap.h: This.
15073 * sysdeps/i386/bits/endian.h: Removed.
15074 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15075 * sysdeps/x86/bits/endian.h: This.
15077 * sysdeps/i386/bits/byteswap.h: Removed.
15078 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15079 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15080 * sysdeps/x86/bits/byteswap.h: This.
15081 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15082 * sysdeps/x86/bits/byteswap-16.h: This.
15083 * sysdeps/i386/Implies: Add x86.
15084 * sysdeps/x86_64/Implies: Likewise.
15086 2012-05-30 David S. Miller <davem@davemloft.net>
15088 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15089 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15090 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15091 (FP_TRAPPING_EXCEPTIONS): Define.
15092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15093 (FP_TRAPPING_EXCEPTIONS): Define.
15094 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15095 subnormals only when inexact has been signalled or underflow
15096 exceptions are enabled.
15097 (_FP_PACK_CANONICAL): Likewise.
15099 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15102 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15103 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15105 2012-05-30 Richard Henderson <rth@twiddle.net>
15107 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15108 with #ifndef NOT_IN_libc.
15110 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15111 marked to avoid plt entry.
15113 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15116 * Makeconfig (default-abi): New macro.
15117 (abi-includes): Likewise.
15118 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15119 $(abi-$(default-abi)-lib-soname) for soname if defined.
15120 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15122 * Makefile (installed-stubs): Likewise.
15123 * include/stubs-biarch.h: Removed.
15124 * scripts/lib-names.awk: Only handle one library at a time.
15125 * scripts/soversions.awk: Remove WORDSIZE support.
15126 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15128 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15130 (syscall-list-default-condition): Likewise.
15131 (syscall-list-default-condition): Likewise.
15132 (syscall-list-includes): Likewise.
15133 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15134 syscall-list-* with abi-*. Handle undefined abi-variants.
15135 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15136 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15137 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15138 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15139 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15140 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15142 (syscall-list-32-options): Likewise.
15143 (syscall-list-32-condition): Likewise.
15144 (syscall-list-64-options): Likewise.
15145 (syscall-list-64-condition): Likewise.
15146 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15148 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15151 (abi-64-ld-soname): New macro.
15152 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15153 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15156 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15157 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15159 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15161 * sysdeps/unix/sysv/linux/kernel-features.h
15162 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15163 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15164 include <kernel-features.h>.
15165 [!__NR_ftruncate64]: Remove conditional code.
15166 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15167 [__NR_ftruncate64]: Make code unconditional.
15168 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15169 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15170 include <kernel-features.h>.
15171 [!__NR_ftruncate64]: Remove conditional code.
15172 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15173 [__NR_ftruncate64]: Make code unconditional.
15174 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15176 include <kernel-features.h>.
15177 [!__NR_ftruncate64]: Remove conditional code.
15178 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15179 [__NR_ftruncate64]: Make code unconditional.
15180 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15182 include <kernel-features.h>.
15183 [!__NR_ftruncate64]: Remove conditional code.
15184 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15185 [__NR_ftruncate64]: Make code unconditional.
15186 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15188 * configure.in (libc_cv_fpie): Weaken to a compile test using
15189 LIBC_TRY_CC_OPTION.
15190 * configure: Regenerated.
15192 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15207 2012-05-27 David S. Miller <davem@davemloft.net>
15209 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15211 (__Q_simulate_exceptions): Return void. Change to simulate
15212 exceptions by writing into the %fsr.
15213 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15214 (__Qp_handle_exceptions): Likewise.
15216 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15217 __Qp_handle_exceptions.
15218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15219 __Qp_handle_exceptions.
15220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15221 as unused and give dummy FP_RND_NEAREST initializer.
15222 (FP_INHIBIT_RESULTS): Define.
15223 (___Q_simulate_exceptions): Update declaration.
15224 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15226 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15227 as unused and give dummy FP_RND_NEAREST initializer.
15228 (__Qp_handle_exceptions): Update declaration.
15229 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15232 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15234 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15235 the temporary FPU control word.
15236 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15237 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15238 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15239 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15241 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15242 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15243 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15244 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15245 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15248 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15250 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15253 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15255 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15256 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15257 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15258 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15260 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15261 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15264 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15266 * po/h.po: Update from translation team.
15268 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15270 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15272 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15273 handling of denormals.
15274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15275 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15276 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15277 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15283 2012-05-26 Marek Polacek <polacek@redhat.com>
15286 * math/libm-test.inc (fma_test): Don't always expect underflow
15289 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15292 * elf/tst-execstack.c: Include stackinfo.h.
15293 (do_test): Adjust test case to ensure that pthread_getattr_np
15294 behaviour remains the same after marking stack executable.
15296 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15298 * sysdeps/unix/sysv/linux/kernel-features.h
15299 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15300 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15302 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15303 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15304 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15306 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15307 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15309 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15311 * configure.in: Define the default includes to being none.
15312 * configure: Regenerated.
15314 2012-05-25 Roland McGrath <roland@hack.frob.com>
15316 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15317 * sysdeps/x86_64/setjmp.S: Likewise.
15318 * sysdeps/i386/bsd-setjmp.S: Likewise.
15319 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15320 * sysdeps/i386/setjmp.S: Likewise.
15321 * sysdeps/i386/__longjmp.S: Likewise.
15322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15323 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15325 * include/stap-probe.h: New file.
15326 * configure.in: Handle --enable-systemtap.
15327 * configure: Regenerated.
15328 * config.h.in (USE_STAP_PROBE): New #undef.
15329 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15330 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15331 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15333 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15337 to 2.4.0 where earlier.
15338 * sysdeps/unix/sysv/linux/configure: Regenerated.
15339 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15340 <kernel-features.h>.
15341 [__ASSUME_32BITUIDS]: Make code unconditional.
15342 [!__ASSUME_32BITUIDS]: Remove conditional code.
15343 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15344 <kernel-features.h>.
15345 [__ASSUME_32BITUIDS]: Make code unconditional.
15346 [!__ASSUME_32BITUIDS]: Remove conditional code.
15347 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15348 [__ASSUME_32BITUIDS]: Make code unconditional.
15349 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15350 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15351 <kernel-features.h>.
15352 [__ASSUME_32BITUIDS]: Make code unconditional.
15353 [!__ASSUME_32BITUIDS]: Remove conditional code.
15354 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15355 <kernel-features.h>.
15356 [__ASSUME_32BITUIDS]: Make code unconditional.
15357 [!__ASSUME_32BITUIDS]: Remove conditional code.
15358 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15359 <kernel-features.h>.
15360 [__ASSUME_32BITUIDS]: Make code unconditional.
15361 [!__ASSUME_32BITUIDS]: Remove conditional code.
15362 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15363 <kernel-features.h>.
15364 [__ASSUME_32BITUIDS]: Make code unconditional.
15365 [!__ASSUME_32BITUIDS]: Remove conditional code.
15366 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15367 <kernel-features.h>.
15368 [__ASSUME_32BITUIDS]: Make code unconditional.
15369 [!__ASSUME_32BITUIDS]: Remove conditional code.
15370 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15371 <kernel-features.h>.
15372 [__ASSUME_32BITUIDS]: Make code unconditional.
15373 [!__ASSUME_32BITUIDS]: Remove conditional code.
15374 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15375 <kernel-features.h>.
15376 [__ASSUME_32BITUIDS]: Make code unconditional.
15377 [!__ASSUME_32BITUIDS]: Remove conditional code.
15378 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15379 <kernel-features.h>.
15380 [__ASSUME_32BITUIDS]: Make code unconditional.
15381 [!__ASSUME_32BITUIDS]: Remove conditional code.
15382 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15383 <kernel-features.h>.
15384 [__ASSUME_32BITUIDS]: Make code unconditional.
15385 [!__ASSUME_32BITUIDS]: Remove conditional code.
15386 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15387 <kernel-features.h>.
15388 [__ASSUME_32BITUIDS]: Make code unconditional.
15389 [!__ASSUME_32BITUIDS]: Remove conditional code.
15390 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15391 <kernel-features.h>.
15392 [__NR_setresgid] (__setresgid): Do not declare.
15393 [__ASSUME_32BITUIDS]: Make code unconditional.
15394 [!__ASSUME_32BITUIDS]: Remove conditional code.
15395 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15396 <kernel-features.h>.
15397 [__NR_setresuid] (__setresuid): Do not declare.
15398 [__ASSUME_32BITUIDS]: Make code unconditional.
15399 [!__ASSUME_32BITUIDS]: Remove conditional code.
15400 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15401 <kernel-features.h>.
15402 [__ASSUME_32BITUIDS]: Make code unconditional.
15403 [!__ASSUME_32BITUIDS]: Remove conditional code.
15404 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15405 <kernel-features.h>.
15406 [__ASSUME_32BITUIDS]: Make code unconditional.
15407 [!__ASSUME_32BITUIDS]: Remove conditional code.
15408 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15409 <kernel-features.h>.
15410 [__ASSUME_32BITUIDS]: Make code unconditional.
15411 [!__ASSUME_32BITUIDS]: Remove conditional code.
15412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15413 <kernel-features.h>.
15414 [__ASSUME_32BITUIDS]: Make code unconditional.
15415 [!__ASSUME_32BITUIDS]: Remove conditional code.
15416 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15417 <kernel-features.h>.
15418 [__ASSUME_32BITUIDS]: Make code unconditional.
15419 [!__ASSUME_32BITUIDS]: Remove conditional code.
15420 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15421 <kernel-features.h>.
15422 [__ASSUME_32BITUIDS]: Make code unconditional.
15423 [!__ASSUME_32BITUIDS]: Remove conditional code.
15424 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15425 <kernel-features.h>.
15426 [__ASSUME_32BITUIDS]: Make code unconditional.
15427 [!__ASSUME_32BITUIDS]: Remove conditional code.
15428 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15429 <kernel-features.h>.
15430 [__ASSUME_32BITUIDS]: Make code unconditional.
15431 [!__ASSUME_32BITUIDS]: Remove conditional code.
15432 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15433 <kernel-features.h>.
15434 [__ASSUME_32BITUIDS]: Make code unconditional.
15435 [!__ASSUME_32BITUIDS]: Remove conditional code.
15436 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15437 <kernel-features.h>.
15438 [__ASSUME_32BITUIDS]: Make code unconditional.
15439 [!__ASSUME_32BITUIDS]: Remove conditional code.
15440 * sysdeps/unix/sysv/linux/kernel-features.h
15441 (__ASSUME_SETRESUID_SYSCALL): Remove.
15442 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15443 (__ASSUME_32BITUIDS): Likewise.
15444 (__ASSUME_LDT_WORKS): Likewise.
15445 (__ASSUME_O_DIRECTORY): Likewise.
15446 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15447 architecture but not kernel version.
15448 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15449 (__ASSUME_MMAP2_SYSCALL): Likewise.
15450 (__ASSUME_STAT64_SYSCALL): Likewise.
15451 (__ASSUME_IPC64): Likewise.
15452 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15453 <kernel-features.h>.
15454 [__ASSUME_32BITUIDS]: Make code unconditional.
15455 [!__ASSUME_32BITUIDS]: Remove conditional code.
15456 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15457 <kernel-features.h>.
15458 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15459 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15460 132096]: Remove conditional code.
15461 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15462 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15463 <kernel-features.h>.
15464 [__ASSUME_32BITUIDS]: Make code unconditional.
15465 [!__ASSUME_32BITUIDS]: Remove conditional code.
15466 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15467 <kernel-features.h>.
15468 [__ASSUME_32BITUIDS]: Make code unconditional.
15469 [!__ASSUME_32BITUIDS]: Remove conditional code.
15470 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15471 <kernel-features.h>.
15472 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15474 (__setresgid): Do not declare.
15475 [__ASSUME_32BITUIDS]: Make code unconditional.
15476 [!__ASSUME_32BITUIDS]: Remove conditional code.
15477 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15478 <kernel-features.h>.
15479 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15481 (__setresuid): Do not declare.
15482 [__ASSUME_32BITUIDS]: Make code unconditional.
15483 [!__ASSUME_32BITUIDS]: Remove conditional code.
15484 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
15489 <kernel-features.h>.
15490 [__ASSUME_32BITUIDS]: Make code unconditional.
15491 [!__ASSUME_32BITUIDS]: Remove conditional code.
15493 2012-05-25 Richard Henderson <rth@twiddle.net>
15495 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15496 dl_hwcap to ifunc resolver.
15497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15499 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15500 dl_hwcap to ifunc resolver.
15501 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15503 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15506 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15507 for |x| <= 2**-26, not 2**-57.
15508 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15511 2012-05-24 Jeff Law <law@redhat.com>
15513 * stdio-common/Makefile (tests): Add bug25.
15514 * stdio-common/bug25.c: New test.
15516 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15519 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15520 multiple of MALLOC_ALIGNMENT in size.
15521 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15523 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15525 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15527 (FILENAME_MAX): Use macro-int-constant.
15528 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15529 (_IOFBF): Use macro-int-constant.
15530 (_IOLBF): Likewise.
15531 (_IONBF): Likewise.
15532 (SEEK_CUR): Likewise.
15533 (SEEK_END): Likewise.
15534 (SEEK_SET): Likewise.
15535 (TMP_MAX): Likewise.
15536 (EOF): Use macro-int-constant. Require < 0.
15537 (NULL): Use macro-constant. Require == 0.
15538 (stdin): Require type to be FILE *.
15539 (stdout): Likewise.
15540 (stderr): Likewise.
15541 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15542 macro-int-constant.
15543 (EXIT_SUCCESS): Likewise.
15544 (NULL): Use macro-constant. Require == 0.
15545 (RAND_MAX): Use macro-int-constant.
15546 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15547 [C99-based standards] (strtof): Require function.
15548 [C99-based standards] (strtold): Likewise.
15549 [C99-based standards] (strtoll): Likewise.
15550 [C99-based standards] (strtoull): Likewise.
15551 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15552 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15553 [ISO || ISO99 || ISO11] (math.h): Likewise.
15554 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15555 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15558 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15561 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15562 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15563 * intl/dgettext.c (DCGETTEXT): Likewise.
15564 * intl/gettext.c (DCGETTEXT): Likewise.
15565 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15566 * posix/regex_internal.h (gettext): Likewise.
15567 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15568 Remove declaration.
15569 * include/argz.h (__argz_count_internal)
15570 (__argz_stringify_internal): Remove declaration.
15571 (__argz_count, __argz_stringify): Declare hidden proto.
15572 * intl/dcgettext.c: Remove use of INTDEF.
15573 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15574 * string/argz-stringify.c: Likewise.
15575 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15576 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15577 Declare hidden proto.
15578 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15579 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15580 Declare hidden proto.
15581 * include/stdio.h (__asprintf_internal): Don't declare.
15582 (__asprintf): Don't define as macro. Declare hidden proto.
15583 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15584 (__fsetlocking): Declare hidden proto.
15585 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15586 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15588 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15589 (_IO_setlinebuf): Remove use of INTUSE.
15590 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15591 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15592 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15593 Remove declaration.
15594 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15595 (_IO_do_flush): Remove use of INTUSE.
15596 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15597 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15598 (_IO_adjust_column, _IO_least_wmarker)
15599 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15600 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15601 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15602 (_IO_default_doallocate, _IO_wdefault_doallocate)
15603 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15604 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15605 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15606 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15607 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15608 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15609 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15610 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15611 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15612 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15613 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15614 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15615 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15617 (_IO_flush_all_internal, _IO_adjust_column_internal)
15618 (_IO_default_uflow_internal, _IO_default_finish_internal)
15619 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15620 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15621 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15622 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15623 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15624 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15625 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15626 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15627 (_IO_file_close_internal, _IO_file_close_it_internal)
15628 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15629 (_IO_file_init_internal, _IO_file_attach_internal)
15630 (_IO_file_fopen_internal, _IO_file_read_internal)
15631 (_IO_file_sync_internal, _IO_file_seek_internal)
15632 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15633 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15634 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15635 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15636 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15637 (_IO_list_all_internal, _IO_link_in_internal)
15638 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15639 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15640 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15641 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15642 (_IO_do_write_internal, _IO_padn_internal)
15643 (_IO_getline_info_internal, _IO_getline_internal)
15644 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15645 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15646 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15647 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15648 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15649 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15650 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15651 with libc_hidden_ver, remove use of INTUSE.
15652 * libio/genops.c: Likewise.
15653 * libio/freopen.c: Likewise.
15654 * libio/freopen64.c: Likewise.
15655 * libio/iofclose.c: Likewise.
15656 * libio/iofdopen.c: Likewise.
15657 * libio/iofflush.c: Likewise.
15658 * libio/iofflush_u.c: Likewise.
15659 * libio/iofgets.c: Likewise.
15660 * libio/iofgets_u.c: Likewise.
15661 * libio/iofopen.c: Likewise.
15662 * libio/iofopncook.c: Likewise.
15663 * libio/iofread.c: Likewise.
15664 * libio/iofread_u.c: Likewise.
15665 * libio/ioftell.c: Likewise.
15666 * libio/iofwrite.c: Likewise.
15667 * libio/iogetline.c: Likewise.
15668 * libio/iogets.c: Likewise.
15669 * libio/iogetwline.c: Likewise.
15670 * libio/iopadn.c: Likewise.
15671 * libio/iopopen.c: Likewise.
15672 * libio/ioseekoff.c: Likewise.
15673 * libio/ioseekpos.c: Likewise.
15674 * libio/iosetbuffer.c: Likewise.
15675 * libio/iosetvbuf.c: Likewise.
15676 * libio/ioungetc.c: Likewise.
15677 * libio/ioungetwc.c: Likewise.
15678 * libio/iovdprintf.c: Likewise.
15679 * libio/iovsprintf.c: Likewise.
15680 * libio/iovsscanf.c: Likewise.
15681 * libio/memstream.c: Likewise.
15682 * libio/obprintf.c: Likewise.
15683 * libio/oldfileops.c: Likewise.
15684 * libio/oldiofclose.c: Likewise.
15685 * libio/oldiofdopen.c: Likewise.
15686 * libio/oldiofopen.c: Likewise.
15687 * libio/oldiopopen.c: Likewise.
15688 * libio/oldstdfiles.c: Likewise.
15689 * libio/putc.c: Likewise.
15690 * libio/setbuf.c: Likewise.
15691 * libio/setlinebuf.c: Likewise.
15692 * libio/stdfiles.c: Likewise.
15693 * libio/strops.c: Likewise.
15694 * libio/vasprintf.c: Likewise.
15695 * libio/vscanf.c: Likewise.
15696 * libio/vsnprintf.c: Likewise.
15697 * libio/vswprintf.c: Likewise.
15698 * libio/wfiledoalloc.c: Likewise.
15699 * libio/wfileops.c: Likewise.
15700 * libio/wgenops.c: Likewise.
15701 * libio/wmemstream.c: Likewise.
15702 * libio/wstrops.c: Likewise.
15703 * libio/__fpurge.c: Likewise.
15704 * libio/__fsetlocking.c: Likewise.
15705 * assert/assert.c: Likewise.
15706 * debug/fgets_chk.c: Likewise.
15707 * debug/fgets_u_chk.c: Likewise.
15708 * debug/fread_chk.c: Likewise.
15709 * debug/fread_u_chk.c: Likewise.
15710 * debug/gets_chk.c: Likewise.
15711 * debug/obprintf_chk.c: Likewise.
15712 * debug/vasprintf_chk.c: Likewise.
15713 * debug/vdprintf_chk.c: Likewise.
15714 * debug/vsnprintf_chk.c: Likewise.
15715 * debug/vsprintf_chk.c: Likewise.
15716 * malloc/mtrace.c: Likewise.
15717 * misc/error.c: Likewise.
15718 * misc/syslog.c: Likewise.
15719 * stdio-common/asprintf.c: Likewise.
15720 * stdio-common/fxprintf.c: Likewise.
15721 * stdio-common/getw.c: Likewise.
15722 * stdio-common/isoc99_fscanf.c: Likewise.
15723 * stdio-common/isoc99_scanf.c: Likewise.
15724 * stdio-common/isoc99_vfscanf.c: Likewise.
15725 * stdio-common/isoc99_vscanf.c: Likewise.
15726 * stdio-common/isoc99_vsscanf.c: Likewise.
15727 * stdio-common/printf-prs.c: Likewise.
15728 * stdio-common/printf_fp.c: Likewise.
15729 * stdio-common/printf_fphex.c: Likewise.
15730 * stdio-common/printf_size.c: Likewise.
15731 * stdio-common/putw.c: Likewise.
15732 * stdio-common/scanf.c: Likewise.
15733 * stdio-common/sprintf.c: Likewise.
15734 * stdio-common/tmpfile.c: Likewise.
15735 * stdio-common/vfprintf.c: Likewise.
15736 * stdio-common/vfscanf.c: Likewise.
15737 * stdlib/strfmon_l.c: Likewise.
15738 * sunrpc/openchild.c: Likewise.
15739 * sunrpc/xdr_stdio.c: Likewise.
15740 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15741 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15743 2012-05-24 Roland McGrath <roland@hack.frob.com>
15745 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15747 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15748 in the third column, to generate for the shared library an IFUNC
15749 that uses _dl_vdso_vsym.
15750 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15751 * Makeconfig (object-suffixes-noshared): New variable.
15753 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15754 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15755 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15756 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15759 * include/sys/time.h (__gettimeofday): Remove macro.
15760 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15761 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15763 (__gettimeofday): Add libc_hidden_def.
15764 (gettimeofday): Add libc_hidden_weak.
15765 * sysdeps/mach/gettimeofday.c: Likewise.
15766 * sysdeps/posix/gettimeofday.c: Likewise.
15767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15768 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15770 (__gettimeofday_internal): Remove strong_alias.
15771 (__gettimeofday): Add libc_hidden_def.
15772 (gettimeofday): Add libc_hidden_weak.
15773 * sysdeps/unix/syscalls.list (gettimeofday):
15774 Remove __gettimeofday_internal alias.
15776 2012-05-24 Daniel Jacobowitz <drow@false.org>
15777 H.J. Lu <hongjiu.lu@intel.com>
15780 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15781 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15782 (largebin_index_32_big): New.
15783 (largebin_index): Use it for 16-byte alignment.
15784 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15785 correction with front_misalign.
15787 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15815 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15816 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15818 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15822 * math/libm-test.inc (exp_test): Add test from bug 14036.
15823 (pow_test): Add test from bug 10846.
15825 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15827 (special_function): Do not include flags in test name.
15828 (parse_args): Likewise.
15829 * sysdeps/i386/fpu/libm-test-ulps: Update.
15830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15831 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15832 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15835 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15837 * math/libm-test.inc ("Philosophy"): Update comment about
15839 (UNDERFLOW_EXCEPTION): New macro.
15840 (UNDERFLOW_EXCEPTION_OK): Likewise.
15841 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15842 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15843 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15844 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15845 (INVALID_EXCEPTION_OK): Update value.
15846 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15847 (OVERFLOW_EXCEPTION_OK): Likewise.
15848 (IGNORE_ZERO_INF_SIGN): Likewise.
15849 (test_exceptions): Handle underflow exceptions.
15850 (acos_test): Update for underflow exception expectations.
15851 (cexp_test): Likewise.
15852 (clog_test): Likewise.
15853 (clog10_test): Likewise.
15854 (csqrt_test): Likewise.
15855 (ctan_test): Likewise.
15856 (ctanh_test): Likewise.
15857 (exp_test): Likewise.
15858 (exp10_test): Likewise.
15859 (exp2_test): Likewise.
15860 (expm1_test): Likewise.
15861 (fma_test): Likewise.
15862 (j0_test): Likewise.
15863 (jn_test): Likewise.
15864 (nexttoward_test): Likewise.
15865 (pow_test): Likewise.
15866 (scalbn_test): Likewise.
15867 (scalbln_test): Likewise.
15868 (tan_test): Likewise.
15869 (y1_test): Likewise.
15870 * sysdeps/i386/fpu/libm-test-ulps: Update.
15871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15873 2012-05-23 David S. Miller <davem@davemloft.net>
15875 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15876 (__libc_sigaction): Remove unused local variables.
15878 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15880 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15882 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15884 mktime: avoid signed integer overflow
15885 * time/mktime.c (__mktime_internal): Do not mishandle the case
15886 where diff == INT_MIN.
15888 mktime: simplify computation of average
15889 * time/mktime.c (ranged_convert): Use new time_t_avg function
15890 instead of rolling our own (probably-slower) code.
15892 mktime: do not assume signed right shift propagates sign bit
15893 * time/mktime.c (isdst_differ): New static function.
15894 (__mktime_internal): No need to normalize tm_isdst now.
15895 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15898 mktime: merge another wrapv change from gnulib
15899 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15900 from some compilers.
15902 mktime: remove incorrect attempt at unusual arithmetics
15903 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15904 The code didn't really work on such machines anyway.
15905 (TYPE_MINIMUM): Assume two's complement.
15906 (twos_complement_arithmetic): Verify that long_int and time_t
15907 are two's complement (or unsigned, in the latter case).
15909 mktime: check signed shifts on long_int and time_t, too
15910 * time/mktime.c (SHR): Check that shifts work as desired
15911 on the types long_int and time_t too, as SHR is used on
15914 mktime: do not assume 'long' is wide enough
15915 * time/mktime.c (verify): Move decl up.
15916 (long_int): New type.
15917 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15918 to remove assumption in the code that 'long' is wide enough to
15919 store year values. This assumption is not true on x32 and on
15920 some non-glibc platforms.
15922 mktime: merge wrapv change from gnulib
15923 * time/mktime.c (WRAPV): New macro.
15924 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15925 (guess_time_tm, __mktime_internal): Do not assume that signed
15926 integer overflow wraps around; modern compilers generate code
15927 where this assumption is no longer valid.
15929 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15931 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15932 Replace "jmp L(pseudo_end)" with "ret".
15933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15936 2012-05-23 Andreas Jaeger <aj@suse.de>
15938 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15939 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15941 2012-05-23 Andreas Jaeger <aj@suse.de>
15942 Maximilian Attems <max@stro.at>
15944 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15947 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15950 code so that pseudo_end is just ret and the stack pointer is
15951 correct also for static library in error case.
15953 2012-05-23 Joseph Myers <joseph@codesourcery.com>
15955 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15956 move to syscalls.list.
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15962 * manual/install.texi (Running make install): Do not mention Linux
15963 kernel version for which pt_chown is not needed.
15964 (Linux): Do not mention problems with nscd with 2.0 kernels.
15965 * INSTALL: Regenerated.
15967 2012-05-23 Andreas Jaeger <aj@suse.de>
15969 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15970 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15972 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15974 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15976 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15981 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15982 * sysdeps/unix/sysv/linux/bits/in.h
15983 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15985 2012-05-22 Roland McGrath <roland@hack.frob.com>
15987 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15988 (PREPARE_VERSION): Just use assert instead, it will be elided
15989 under [NDEBUG] anyway.
15991 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15993 * sysdeps/unix/sysv/linux/Makefile: Include
15994 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15995 (sysdep_routines): Remove sysctl.
15996 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15997 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15998 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15999 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16000 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16002 2012-05-22 Andreas Jaeger <aj@suse.de>
16004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16005 that pseudo_end is just ret and the stack pointer is correct also
16006 for static library in error case.
16008 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16011 * nss/nsswitch.c (defconfig_entries): New variable.
16012 (__nss_database_lookup): Don't leak defconfig entries.
16013 (nss_parse_service_list): Don't leak on error paths.
16014 (free_database_entries): New function.
16015 (free_defconfig): New function.
16016 (free_mem): Move common code to free_database_entries.
16018 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16020 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16022 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16024 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16025 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16028 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16029 (INTERNAL_SYSCALL_TYPES): Likewise.
16030 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16031 (LOAD_REGS_TYPES_[1-6]): Likewise.
16032 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16033 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16035 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16038 copysignl for GLIBC_2_0.
16039 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16040 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16042 logbl for GLIBC_2_0.
16043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16046 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16049 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16051 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16054 * time/mktime.c: Update copyright years.
16056 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16058 mktime: merge comment-quoting-style change from gnulib
16059 * time/mktime.c: Quote 'like this' in comments.
16060 The GNU coding standards suggest that we no longer quote `like this',
16061 as "`" and "'" are typically rendered asymmetrically nowadays.
16062 The typical gnulib style is to quote 'like this' when quoting
16063 code, and "like this" when quoting English.
16065 * time/mktime.c (compile-command): Add "-I.".
16067 mktime: merge mktime-internal.h change from gnulib
16068 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16070 mktime: merge time_r change from gnulib
16071 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16073 mktime: merge DEBUG change from gnulib
16074 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16075 case system <time.h> has a #define.
16077 mktime: merge <sys/types.h> change from gnulib
16078 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16079 since <time.t> is now guaranteed to define time_t.
16081 mktime: merge HAVE_CONFIG_H change from gnulib
16082 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16089 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16091 (struct rusage): Use anonymous union to pad each field to
16094 2012-05-21 David S. Miller <davem@davemloft.net>
16096 * Makefules (o-iterator): Remove .s cases.
16097 (compile-command.s): Delete.
16098 (COMPILE.s): Delete.
16099 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16101 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16103 * configure.in (libc_cv_predef_stack_protector): Only consider
16104 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16105 * configure: Regenerated.
16107 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16110 New macro. Use R*LP on int and pointer.
16111 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16112 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16113 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16114 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16116 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16117 [__WORDSIZE_TIME64_COMPAT32] instead of
16118 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16119 (struct utmp): Likewise.
16120 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16121 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16123 (__WORDSIZE_TIME64_COMPAT32): This.
16124 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16125 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16126 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16127 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16128 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16129 (__WORDSIZE_TIME64_COMPAT32): New macro.
16131 2012-05-21 Andreas Jaeger <aj@suse.de>
16133 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16134 only if [SHARED]. Add prototype for __wcschr_ia32.
16136 2012-05-21 Roland McGrath <roland@hack.frob.com>
16138 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16139 of %rbp unmolested in the jmp_buf while mangling the low bits.
16140 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16141 unmolested high bits of %rbp while demangling the low bits.
16142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16144 2012-05-21 Andreas Jaeger <aj@suse.de>
16146 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16147 * sunrpc/svc_simple.c: Use it for registerrpc.
16148 * sunrpc/xcrypt.c: Use it for passwd2des.
16150 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16152 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16154 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16155 Don't define if [__SYSCALL_WORDSIZE != 32].
16156 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16159 2012-05-21 Bruno Haible <bruno@clisp.org>
16160 Andreas Jaeger <aj@suse.de>
16162 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16163 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16164 inptr and inend for must_buffer_ch.
16165 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16166 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16167 * stdio-common/Makefile (tests): Remove bug15.
16168 (bug15-ENV): Remove macro.
16169 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16172 2012-05-19 Andreas Jaeger <aj@suse.de>
16173 Roland McGrath <roland@hack.frob.com>
16175 * manual/contrib.texi: Completely rewritten. It contains now an
16176 alphabetical list of contributors and their contributions.
16178 2012-05-21 Richard Henderson <rth@twiddle.net>
16180 * misc/getauxval.c (__getauxval): Use unsigned long int.
16181 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16182 (getauxval): Use unsigned long int.
16184 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16186 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16188 2012-05-21 Roland McGrath <roland@hack.frob.com>
16190 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16191 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16192 __alignof__ (long double).
16194 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16198 2012-05-20 Richard Henderson <rth@twiddle.net>
16200 * misc/getauxval.c: New file.
16201 * misc/sys/auxv.h: New file.
16202 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16203 (routines): Add getauxval.
16204 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16205 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16206 * elf/dl-sysdep.c (_dl_auxv): Remove.
16207 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16208 * elf/dl-support.c (_dl_auxv): New variable.
16209 (_dl_aux_init): Initialize it.
16210 * manual/startup.texi (Auxiliary Vector): New node.
16211 * sysdeps/generic/bits/hwcap.h: New file.
16212 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16213 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16214 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16215 * sysdeps/sparc/sysdep.h: ... here. Include it.
16216 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16223 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16229 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16233 2012-05-19 David S. Miller <davem@davemloft.net>
16235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16237 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16240 * math/s_ccosh.c: Include <float.h>
16241 (__ccosh): Avoid internal overflow calculating sinh and cosh
16242 values before multiplying by sin and cos values.
16243 * math/s_ccoshf.c: Likewise.
16244 * math/s_ccoshl.c: Likewise.
16245 * math/s_csin.c: Likewise.
16246 * math/s_csinf.c: Likewise.
16247 * math/s_csinl.c: Likewise.
16248 * math/s_csinh.c: Likewise.
16249 * math/s_csinhf.c: Likewise.
16250 * math/s_csinhl.c: Likewise.
16251 * math/libm-test.inc (ccos_test): Add more tests.
16252 (ccosh_test): Likewise.
16253 (csin_test): Likewise.
16254 (csinh_test): Likewise.
16255 * sysdeps/i386/fpu/libm-test-ulps: Update.
16256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16260 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16261 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16263 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16265 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16267 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16268 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16269 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16270 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16271 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16272 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16273 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16274 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16275 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16276 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16277 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16278 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16279 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16280 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16281 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16282 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16283 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16284 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16285 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16286 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16287 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16288 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16289 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16290 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16291 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16292 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16293 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16294 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16295 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16296 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16297 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16299 2012-05-18 Andreas Jaeger <aj@suse.de>
16301 * csu/.gitignore: Delete.
16303 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16305 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16306 (timex): Use __syscall_slong_t.
16308 2012-05-18 Andreas Jaeger <aj@suse.de>
16309 Carlos O'Donell <carlos_odonell@mentor.com>
16311 * manual/install.texi (Configuring and compiling): Update
16312 description about files modified in the source directory.
16313 * INSTALL: Regenerated.
16315 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16317 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16318 value. Use "or" to set return value to -1.
16319 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16320 negate return value.
16322 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16324 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16325 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16326 failure if the compiler has Graphite support disabled.
16327 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16329 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16330 CFLAGS-memmove.c): Likewise.
16331 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16334 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16336 * sysdeps/x86_64/x32/_itoa.h: New file.
16338 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16339 getdents system call only if kernel and user dirents have the
16340 same d_ino and d_off.
16342 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16343 LLONG_MAX != LONG_MAX.
16344 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16345 (_fitoa_word): Likewise.
16347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16350 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16353 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16354 include <bits/wordsize.h>. Check __x86_64__ instead of
16356 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16357 if __x86_64__ is defined. Use anonymous union on fpstate.
16359 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16362 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16364 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16365 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16366 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16367 Refer to _rtld_local_ro instead of _rtld_global_ro.
16368 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16370 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16372 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16374 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16375 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16376 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16378 * sysdeps/powerpc/powerpc32/dl-machine.c
16379 (__elf_machine_runtime_setup) [PROF]: Don't reference
16382 2012-05-18 Andreas Jaeger <aj@suse.de>
16384 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16385 function only available for GCCs before 3.4 since GCC 3.4
16386 introduced a builtin.
16388 (llrintf): Likewise.
16389 (llrint): Likewise.
16396 (nearbyint): Likewise.
16397 (nearbyintf): Likewise.
16401 (floorf): Likewise.
16403 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16405 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16406 on both fields and cast pointer to __syscall_ulong_t.
16408 * bits/types.h (__fsword_t): New type.
16409 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16410 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16412 (__FSWORD_T_TYPE): Likewise.
16413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16414 (__FSWORD_T_TYPE): Likewise.
16415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16416 (__FSWORD_T_TYPE): Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16418 (__FSWORD_T_TYPE): Likewise.
16419 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16420 __SWORD_TYPE with __fsword_t.
16421 (statfs64): Likewise.
16423 2012-05-17 David S. Miller <davem@davemloft.net>
16425 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16427 2012-05-17 Andreas Jaeger <aj@suse.de>
16429 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16432 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16434 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16436 2012-05-17 Andreas Jaeger <aj@suse.de>
16438 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16441 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16443 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16445 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16447 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16448 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16450 2012-05-17 Andreas Jaeger <aj@suse.de>
16451 Carlos O'Donell <carlos_odonell@mentor.com>
16454 * sysdeps/x86_64/multiarch/init-arch.h
16455 (bit_YMM_Usable): Rename to...
16456 (bit_AVX_Usable): ... this.
16457 (bit_FMA4_Usable): New macro.
16458 (bit_XMM_state): New macro.
16459 (bit_YMM_state): New macro.
16460 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16461 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16462 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16463 (CPUID_OSXSAVE): New macro.
16464 (CPUID_AVX): New macro.
16465 (CPUID_FMA4): New macro.
16466 (index_YMM_Usable): Rename to...
16467 (index_AVX_Usable): ... this.
16468 (HAS_AVX): Use HAS_ARCH_FEATURE.
16469 (HAS_FMA4): Likewise.
16470 (HAS_YMM_USABLE): Remove.
16471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16472 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16474 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16475 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16476 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16477 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16478 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16480 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16482 * math/libm-test.c: Support platforms without multiple rounding modes.
16483 * math/bug-nextafter.c: Support platforms without FP exceptions.
16484 * math/bug-nexttoward.c: Likewise.
16485 * math/test-fenv.c: Likewise.
16486 * math/test-misc.c: Likewise.
16487 * stdlib/bug-getcontext.c: Likewise.
16489 2012-05-17 Andreas Jaeger <aj@suse.de>
16491 * manual/examples/search.c (critter_cmp): Change signature to
16493 * manual/string.texi (Collation Functions): Likewise.
16495 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16497 * bits/types.h: Fold copyright years.
16498 * bits/typesizes.h: Likewise.
16499 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16503 * time/time.h: Likewise.
16505 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16508 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16509 in instead of returning them. Return void.
16510 (__libc_mallinfo): Accumulate over all arenas.
16511 (__malloc_stats): Adjust for change in int_mallinfo interface.
16513 2012-05-16 Roland McGrath <roland@hack.frob.com>
16516 * configure.in (NM): Add AC_CHECK_TOOL for it.
16517 (libc_extra_cflags): New substituted variable.
16518 Check for -fstack-protector being used implicitly.
16519 * configure: Regenerated.
16520 * config.make.in (config-extra-cflags): New variable,
16521 gets @libc_extra_cflags@.
16522 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16525 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16526 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16527 * configure: Regenerated.
16528 * config.make.in (CPPUNDEFS): New substituted variable.
16529 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16530 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16531 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16533 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16535 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16536 (mq_attr): Use __syscall_slong_t.
16538 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16540 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16541 Check __x86_64__ instead of __WORDSIZE.
16542 (_STAT_VER_LINUX): Likewise.
16543 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16544 __syscall_ulong_t and __syscall_slong_t.
16545 (stat64): Likewise.
16547 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16551 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16553 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16555 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16557 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16560 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16561 include <bits/wordsize.h>. Check __x86_64__ instead of
16563 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16565 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16568 include <bits/wordsize.h>. Check __x86_64__ instead of
16570 (user_regs_struct): Use "__extension__ unsigned long long"
16571 instead of "unsigned long" if __x86_64__ is defined.
16572 (user): Likewise. Pad after pointer field if __ILP32__ is
16575 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16577 * configure.in (makeinfo): Require version 4.5 or later. Allow
16579 * configure: Regenerated.
16580 * manual/install.texi (texinfo): Increase version requirement to
16582 * INSTALL: Regenerated.
16584 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16586 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16588 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16590 * sysdeps/x86_64/x32/ffs.c: New file.
16592 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16594 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16595 defined. Use __syscall_ulong_t.
16596 (shminfo): Use __syscall_ulong_t.
16597 (shm_info): Likewise.
16599 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16602 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16604 (msgqnum_t): Use __syscall_ulong_t.
16605 (msglen_t): Likewise.
16606 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16609 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16610 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16612 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16614 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16615 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16617 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16620 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16621 include <bits/wordsize.h>. Check __x86_64__ instead of
16624 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16625 "unsigned long long int" if __x86_64__ is defined.
16626 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16628 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16629 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16630 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16632 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16634 (GET_PC): Cast to uintptr_t first.
16635 (GET_FRAME): Likewise.
16636 (GET_STACK): Likewise.
16638 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16640 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16644 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16645 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16646 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16649 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16651 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16653 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16655 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16657 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16659 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16661 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16665 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16668 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16670 * Makerules (+depfiles): Also collect depfiles from .oS in
16672 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16673 .oS, $(libnldbl-routines)).
16675 * Makerules (native-compile-mkdep-flags): Define.
16676 * sunrpc/Makefile (extra-objs): Add $(addprefix
16677 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16678 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16679 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16680 calling $(make-target-directory).
16682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16684 * bits/types.h (__snseconds_t): Removed.
16685 * time/time.h (struct timespec): Replace __snseconds_t with
16687 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16688 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16691 (__SNSECONDS_T_TYPE): Likewise.
16692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16693 (__SNSECONDS_T_TYPE): Likewise.
16694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16695 (__SNSECONDS_T_TYPE): Likewise.
16697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16699 * sysdeps/mach/hurd/bits/typesizes.h
16700 (__SYSCALL_SLONG_TYPE): New macro.
16701 (__SYSCALL_ULONG_TYPE): Likewise.
16703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16705 * bits/types.h (__syscall_slong_t): New type.
16706 (__syscall_ulong_t): Likewise.
16708 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16709 (__SYSCALL_ULONG_TYPE): Likewise.
16710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16711 (__SYSCALL_SLONG_TYPE): Likewise.
16712 (__SYSCALL_ULONG_TYPE): Likewise.
16713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16714 (__SYSCALL_SLONG_TYPE): Likewise.
16715 (__SYSCALL_ULONG_TYPE): Likewise.
16716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16717 (__SYSCALL_SLONG_TYPE): Likewise.
16718 (__SYSCALL_ULONG_TYPE): Likewise.
16720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16722 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16723 Add sigaltstack-offsets.sym.
16724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16725 <sigaltstack-offsets.h>.
16726 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16727 longjmp_msg pointer.
16728 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16729 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16731 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16733 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16735 * elf/stackguard-macros.h: Remove file.
16736 * sysdeps/generic/stackguard-macros.h: New file.
16737 * sysdeps/i386/stackguard-macros.h: Likewise.
16738 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16739 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16740 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16741 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16742 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16743 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16744 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16745 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16746 <elf/stackguard-macros.h>.
16749 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16750 __aligned__ in attribute.
16751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16752 (gregset_t): Likewise.
16754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16756 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16757 * sysdeps/x86_64/64/Implies-after: Here. New file.
16758 * sysdeps/x86_64/x32/Implies-after: New file.
16760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16762 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16763 and access return value for _dl_profile_fixup. Use R10_LP to
16766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16768 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16772 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16773 * sysdeps/x86_64/x32/sysdep.h: New file.
16775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16777 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16778 * sysdeps/x86_64/setjmp.S: Likewise.
16780 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16784 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16785 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16786 remove unused global constant.
16788 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16790 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16791 include of <not-cancel.h>.
16793 2012-05-15 Roland McGrath <roland@hack.frob.com>
16795 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16797 2012-05-15 Jeff Law <law@redhat.com>
16798 Andreas Jaeger <aj@suse.de>
16801 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16803 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16804 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16805 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16806 code changing __hst_map_handle.map.
16808 2012-05-15 Roland McGrath <roland@hack.frob.com>
16810 * configure.in (sysnames): Look for Implies-before and Implies-after
16812 * configure: Regenerated.
16814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16816 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16817 8-byte data alignment with LP_SIZE alignment.
16819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16821 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16826 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16830 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16831 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16834 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16838 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16839 (stackinfo_sub_sp): Likewise.
16841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16843 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16858 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16862 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16863 into R11_LP and load __x86_64_shared_cache_size_half into
16866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16868 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16871 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16879 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16880 powerpc32/power7/fpu/s_logb.c via #include.
16881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16882 powerpc32/power7/fpu/s_logbf.c via #include.
16883 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16884 powerpc32/power7/fpu/s_logbl.c via #include.
16886 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16888 * README.libm: Remove file.
16890 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16892 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16893 count for x32. Use R*_LP and omit operand-size suffix.
16895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16897 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16898 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16899 * sysdeps/x86_64/x32/shlib-versions: New file.
16901 2012-05-14 Roland McGrath <roland@hack.frob.com>
16903 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16904 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16905 Use _dl_fatal_printf instead.
16907 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16909 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16910 set if not set by the user. Do not allow for being unset.
16911 * sysdeps/unix/sysv/linux/configure: Regenerated.
16913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16915 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16916 the `q' suffix from lea and replace .quad with ASM_ADDR.
16918 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16921 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16923 (PTR_DEMANGLE): Likewise.
16925 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16927 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16929 (ASM_ADDR): Likewise.
16930 (RAX_LP): Likewise.
16931 (RBP_LP): Likewise.
16932 (RBX_LP): Likewise.
16933 (RCX_LP): Likewise.
16934 (RDI_LP): Likewise.
16935 (RSI_LP): Likewise.
16936 (RSP_LP): Likewise.
16939 (R10_LP): Likewise.
16940 (R10_LP): Likewise.
16941 (R11_LP): Likewise.
16942 (R12_LP): Likewise.
16943 (R13_LP): Likewise.
16944 (R14_LP): Likewise.
16945 (R15_LP): Likewise.
16947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16949 * sysdeps/x86_64/x32/dl-machine.h: New file.
16951 2012-05-14 Andreas Jaeger <aj@suse.de>
16953 * manual/Makefile (subdir): Remove export of subdir.
16954 (all): Remove target.
16955 (.PHONY): Remove all from list.
16956 (mkinstalldirs): Remove.
16957 (.PHONY): Remove installdirs from list.
16958 ($(inst_infodir)/libc.info): Use make-target-directory.
16959 (installdirs): Remove.
16960 (subdir_%): Remove.
16961 (glibc-targets): Remove.
16964 ($(objpfx)stubs ../po/manual.pot): Remove.
16965 ($(objpfx)stamp%): Remove.
16966 (make-target-directory): Remove.
16967 (subdir_install): Remove.
16968 (routines): Remove.
16975 * manual/.gitignore: Remove, it's not needed anymore.
16976 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16978 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16980 (texis): Renamed to $(objpfx)texis.
16981 (texis-path): New, contains path to generated files.
16982 (chapters.%): Use texis-path for complete path, add extra argument
16984 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16985 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16986 (summary,texi, stamp-summary): Use complete path of
16987 files. Generate files in build dir.
16988 (dir-add.texi): Build in build dir.
16989 (libm-err.texi,stamp-libm-err): Likewise.
16990 (version.texi, stamp-version): Likewise.
16991 (.%c.texi): Likewise.
16992 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16993 (mostlyclean): Remove target.
16994 (realclean): Remove target.
16995 (generated): Add new variable with contents from mostlyclean and
16996 realclean, remove entries duplicated in common-mostlyclean, add
16997 stamp-libm-err and stamp-version.
16998 (generated-dirs): Add libc directory.
16999 ($(inst_infodir)/libc.info): Install files from build dir.
17001 * manual/install.texi (Configuring and compiling): Adjust since
17002 the info files are not part of the tar ball anymore.
17004 2012-05-14 Andreas Jaeger <aj@suse.de>
17006 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17009 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17012 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17013 to 2.2.0 where earlier.
17014 * sysdeps/unix/sysv/linux/configure: Regenerated.
17015 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17016 Remove conditional code.
17017 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17018 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17019 Remove conditional code.
17020 [!__NR_lchown]: Likewise.
17021 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17022 [__NR_lchown]: Likewise.
17023 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17024 comment referencing __ASSUME_LCHOWN_SYSCALL.
17025 * sysdeps/unix/sysv/linux/i386/sigaction.c
17026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17028 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17029 Remove conditional code.
17030 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17031 (__protocol_available): Remove #if 0 code.
17032 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17034 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17035 * sysdeps/unix/sysv/linux/kernel-features.h
17036 (__ASSUME_GETCWD_SYSCALL): Don't define.
17037 (__ASSUME_REALTIME_SIGNALS): Likewise.
17038 (__ASSUME_PREAD_SYSCALL): Likewise.
17039 (__ASSUME_PWRITE_SYSCALL): Likewise.
17040 (__ASSUME_POLL_SYSCALL): Likewise.
17041 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17042 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17044 (__ASSUME_SIOCGIFNAME): Don't define.
17045 (__ASSUME_MSG_NOSIGNAL): Likewise.
17046 (__ASSUME_SENDFILE): Define unconditionally.
17047 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17048 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17050 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17051 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17052 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17053 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17054 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17055 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17056 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17058 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17061 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17062 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17064 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17067 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17070 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17073 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17076 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17081 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17082 Remove conditional code.
17083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17084 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17085 Remove conditional code.
17086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17087 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17088 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17089 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17090 Remove conditional code.
17091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17092 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17093 Remove conditional code.
17094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17095 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17096 Remove conditional code.
17097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17098 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17099 Remove conditional code.
17100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17101 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17102 Remove conditional code.
17103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17104 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17105 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17107 * sysdeps/unix/sysv/linux/sigaction.c
17108 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17109 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17110 * sysdeps/unix/sysv/linux/sigpending.c
17111 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17112 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17113 * sysdeps/unix/sysv/linux/sigprocmask.c
17114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17116 * sysdeps/unix/sysv/linux/sigsuspend.c
17117 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17118 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17120 (__libc_missing_rt_sigs): Remove.
17121 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17122 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17123 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17124 Remove conditional code.
17125 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17126 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17128 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17129 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17131 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17133 2012-05-14 Andreas Jaeger <aj@suse.de>
17135 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17136 it's not used in glibc.
17137 (__coshm1): Likewise.
17138 (__acosh1p): Likewise.
17141 * manual/string.texi (Copying and Concatenation): Add missing
17142 variable in concat example.
17143 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17145 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17149 __builtin_clzl with __builtin_clzll.
17151 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17154 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17157 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17159 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17160 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17161 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17162 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17164 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17166 * NEWS: Update ia64 info.
17168 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17170 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17173 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17175 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17176 * sysdeps/unix/syscalls.list (dup3): Likewise.
17177 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17178 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17180 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17182 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17183 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17185 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17187 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17189 (TLS_IE): Use mov/add instead of movq/addq to load thread
17191 (TLS_GD_PREFIX): New.
17194 2012-05-11 David S. Miller <davem@davemloft.net>
17196 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17197 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17198 (_FPU_SETCW): Likewise.
17200 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17202 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17203 is 32-byte aligned.
17205 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17208 * iconvdata/gb18030.c: Update tables.
17209 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17210 characters specially.
17211 (BODY for TO_LOOP): Add encoding of missing ranges.
17213 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17216 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17217 * sysdeps/mach/hurd/dup3.c: Likewise.
17218 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17219 * sysdeps/powerpc/memmove.c:: Likewise.
17221 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17224 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17226 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17228 * elf/elf.h (R_X86_64_RELATIVE64): New.
17229 (R_X86_64_NUM): Updated.
17230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17231 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17232 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17233 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17234 tst-quad1pie tst-quad2pie
17235 (modules-names): Add tst-quadmod1 tst-quadmod2.
17236 ($(objpfx)tst-quad1): New dependency.
17237 ($(objpfx)tst-quad2): Likewise.
17238 ($(objpfx)tst-quad1pie): Likewise.
17239 ($(objpfx)tst-quad2pie): Likewise.
17240 * sysdeps/x86_64/tst-quad1.c: New file.
17241 * sysdeps/x86_64/tst-quad1pie.c: New file.
17242 * sysdeps/x86_64/tst-quad2.c: Likewise.
17243 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17244 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17245 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17246 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17247 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17249 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17251 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17252 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17253 * streams/stropts.h (t_scalar_t): Define type.
17255 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17256 (_PATH_PRESERVE): Set to "/var/lib".
17257 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17259 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17262 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17263 if __dir_mkfile succeeded.
17265 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17266 checking for _hurd_dtablesize. Unlock it right after having
17267 finished _hurd_dtable allocation.
17269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17271 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17272 * sysdeps/mach/hurd/configure: Regenerated.
17273 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17274 special-casing to...
17275 * sysdeps/gnu/configure.in: ... this new file.
17276 * sysdeps/unix/sysv/linux/configure: Regenerated.
17277 * sysdeps/gnu/configure: New generated file.
17279 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17280 for Linux: use nsec instead of usec, as well as:
17281 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17282 members of type struct timespec.
17283 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17285 (struct stat64): Likewise.
17286 (_STATBUF_ST_NSEC): New macro.
17287 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17289 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17290 __strtoul_internal rather than strtoul.
17292 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17294 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17299 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17300 which preserves existing values.
17301 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17303 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17305 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17306 TIMEOUT values. Return EINVAL for NFDS values either negative or
17307 greater than FD_SETSIZE.
17309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17311 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17312 allocated, call __vm_protect to finish enabling the existing space, and
17313 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17314 allocate the remainder.
17316 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17318 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17319 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17321 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17323 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17324 sysdeps/mach/hurd/readlink.c.
17326 * posix/tst-sysconf.c (posix_options): Only use
17327 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17328 _POSIX_SYNCHRONIZED_IO when they are defined
17329 * sysdeps/mach/hurd/bits/posix_opt.h:
17330 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17331 (_XOPEN_REALTIME): Undefine macro.
17332 (_XOPEN_REALTIME_THREADS): Undefine macro.
17333 (_XOPEN_SHM): Undefine macro.
17334 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17336 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17338 (_POSIX_ASYNC_IO): Undefine macro.
17339 (_POSIX_PRIORITIZED_IO): Undefine macro.
17340 (_POSIX_SPIN_LOCKS): Define macro to -1.
17342 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17343 SA_NODEFER, SA_RESETHAND.
17344 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17345 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17350 * elf/Makefile (pldd-modules): Define unconditionally.
17352 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17354 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17358 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17359 Return ENOENT when name is empty.
17360 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17364 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17366 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17370 Fix mlock in all cases except non-readable pages.
17371 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17372 instead of VM_PROT_ALL as parameter to __vm_wire function.
17374 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17375 (__mkdir): When path is `/', just fail with EEXIST.
17376 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17378 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17380 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17381 <sys/uio.h> (for writev).
17382 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17383 and <sys/param.h> (for MIN).
17385 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17387 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17388 REQUESTED_TIME. Properly set the remaining time and return EINTR
17391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17393 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17394 Depend on against $(link-rpcuserlibs).
17396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17398 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17399 (__libc_stack_end): Do not use attribute_relro.
17400 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17401 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17402 to libthread-provided value.
17403 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17409 * bits/libc-lock.h (__libc_once_get): New macro.
17410 * sysdeps/mach/bits/libc-lock.h: Likewise.
17411 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17412 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17413 instead of using implementation details.
17415 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17416 * libio/freopen.c: Likewise.
17417 * libio/freopen64.c: Likewise.
17418 * misc/syslog.c: Likewise.
17419 * nscd/connections.c: Likewise.
17420 * nscd/netgroupcache.c: Likewise.
17421 * sysdeps/posix/getcwd.c: Likewise.
17423 2012-05-10 Roland McGrath <roland@hack.frob.com>
17425 * math/w_ilogbf.c: Add #include <limits.h>.
17427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17429 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17430 path instead of returning without unlocking.
17432 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17433 immediate-write ioctls.
17434 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17438 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17439 __builtin_frame_address instead of making assumptions about the
17440 location of the return address relative to DATA. Force early load of
17441 the return address.
17442 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17443 __builtin_frame_address.
17446 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17447 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17448 implement dup3 and do some further code clean-ups.
17449 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17450 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17454 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17456 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17457 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17458 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17459 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17460 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17463 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17464 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17465 when handler == SIG_ERR, not when handler != SIG_ERR.
17467 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17469 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17470 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17473 accept4 for GNU Hurd.
17474 * include/sys/socket.h (__libc_accept4): New prototype.
17475 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17476 to implement __libc_accept4.
17477 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17479 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17481 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17482 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17483 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17484 signal-defines.sym.
17486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17488 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17492 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17493 assertion on O_CLOEXEC flag.
17494 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17495 * hurd/intern-fd.c: Likewise.
17496 * hurd/port2fd.c: Likewise.
17498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17501 * bits/in.h (IPV6_PKTINFO): Define new macro.
17502 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17504 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17509 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17511 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17514 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17515 * math/libm-test.inc (logb_test) : Additional logb tests.
17517 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17518 Andreas Jaeger <aj@suse.de>
17520 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17521 * configure: Regenerated.
17522 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17523 * config.make.in (link-obsolete-rpc): New substituted variable.
17524 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17525 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17526 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17527 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17528 so that libc.a contains the symbols.
17529 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17530 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17531 * sunrpc/auth_none.c: Likewise.
17532 * sunrpc/auth_unix.c: Likewise.
17533 * sunrpc/authdes_prot.c: Likewise.
17534 * sunrpc/authuxprot.c: Likewise.
17535 * sunrpc/clnt_gen.c: Likewise.
17536 * sunrpc/clnt_perr.c: Likewise.
17537 * sunrpc/clnt_raw.c: Likewise.
17538 * sunrpc/clnt_simp.c: Likewise.
17539 * sunrpc/clnt_tcp.c: Likewise.
17540 * sunrpc/clnt_udp.c: Likewise.
17541 * sunrpc/clnt_unix.c: Likewise.
17542 * sunrpc/des_crypt.c: Likewise.
17543 * sunrpc/des_soft.c: Likewise.
17544 * sunrpc/get_myaddr.c: Likewise.
17545 * sunrpc/key_call.c: Likewise.
17546 * sunrpc/key_prot.c: Likewise.
17547 * sunrpc/netname.c: Likewise.
17548 * sunrpc/pm_getmaps.c: Likewise.
17549 * sunrpc/pm_getport.c: Likewise.
17550 * sunrpc/pmap_clnt.c: Likewise.
17551 * sunrpc/pmap_prot.c: Likewise.
17552 * sunrpc/pmap_prot2.c: Likewise.
17553 * sunrpc/pmap_rmt.c: Likewise.
17554 * sunrpc/publickey.c: Likewise.
17555 * sunrpc/rpc_cmsg.c: Likewise.
17556 * sunrpc/rpc_common.c: Likewise.
17557 * sunrpc/rpc_dtable.c: Likewise.
17558 * sunrpc/rpc_prot.c: Likewise.
17559 * sunrpc/rpc_thread.c: Likewise.
17560 * sunrpc/rtime.c: Likewise.
17561 * sunrpc/svc.c: Likewise.
17562 * sunrpc/svc_auth.c: Likewise.
17563 * sunrpc/svc_raw.c: Likewise.
17564 * sunrpc/svc_run.c: Likewise.
17565 * sunrpc/svc_tcp.c: Likewise.
17566 * sunrpc/svc_udp.c: Likewise.
17567 * sunrpc/svc_unix.c: Likewise.
17568 * sunrpc/svcauth_des.c: Likewise.
17569 * sunrpc/xcrypt.c: Likewise.
17570 * sunrpc/xdr.c: Likewise.
17571 * sunrpc/xdr_array.c: Likewise.
17572 * sunrpc/xdr_float.c: Likewise.
17573 * sunrpc/xdr_intXX_t.c: Likewise.
17574 * sunrpc/xdr_mem.c: Likewise.
17575 * sunrpc/xdr_rec.c: Likewise.
17576 * sunrpc/xdr_ref.c: Likewise.
17577 * sunrpc/xdr_sizeof.c: Likewise.
17578 * sunrpc/xdr_stdio.c: Likewise.
17580 2012-05-10 Roland McGrath <roland@hack.frob.com>
17582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17583 change. Update copyright years.
17585 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17587 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17589 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17590 Joseph Myers <joseph@codesourcery.com>
17591 Paul Pluzhnikov <ppluzhnikov@google.com>
17594 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17596 [cross-compiling] (extra-libs): Likewise.
17597 [cross-compiling] (extra-libs-others): Likewise.
17598 [cross-compiling] (librpcsvc-routines): Likewise.
17599 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17600 [cross-compiling] (omit-deps): Likewise.
17601 (sunrpc-CPPFLAGS): New variable.
17602 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17603 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17604 (cross-rpcgen-objs): New variable.
17605 (extra-objs): Append $(cross-rpcgen-objs).
17606 ($(cross-rpcgen-objs)): New rule.
17607 ($(objpfx)cross-rpcgen): Likewise.
17608 (rpcgen-cmd): Define to use $(built-program-file). Expand
17610 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17611 ($(objpfx)x%.stmp): Likewise.
17612 * sunrpc/proto.h [IS_IN_build] (_): Define.
17613 [IS_IN_build] (_libc_intl_domainname): Likewise.
17615 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17618 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17619 and R_X86_64_TPOFF64.
17621 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17623 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17624 sysdeps/unix/sysv/syscalls.list.
17627 * sysdeps/unix/sysv/syscalls.list: Remove file.
17629 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17632 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17633 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17634 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17635 (__LC_IDENTIFICATION): Make these macros useful in #if
17636 expressions, as required by C99.
17638 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17640 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17641 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17644 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17646 * stdlib/longlong.h: Updated from GCC.
17648 2012-05-09 Andreas Jaeger <aj@suse.de>
17650 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17651 default is first entry.
17652 (run_mode): Set type.
17653 (main): Remove informal message about syslog.
17654 (options): Fix typo.
17657 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17660 (llrintf): Likewise.
17661 (llrint): Likewise.
17664 (nearbyint): Likewise.
17665 (nearbyintf): Likewise.
17667 2012-05-09 Andreas Jaeger <aj@suse.de>
17668 Pedro Alves <palves@redhat.com>
17670 * nscd/nscd.c (run_mode): Use enum.
17671 (main): Cleanup coding style issue.
17673 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17674 Andreas Jaeger <aj@suse.de>
17676 * nscd/nscd.c (go_background): Replaced with...
17677 (run_mode): ... this.
17678 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17679 (options): Add -F --foreground.
17680 (main): Implement it.
17681 (parse_opt): Parse it.
17683 2012-05-09 Andreas Jaeger <aj@suse.de>
17686 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17687 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17688 -Wconversion warning.
17689 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17692 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17694 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17696 (LC_ALL): Use macro-int-constant.
17697 (LC_COLLATE): Likewise.
17698 (LC_CTYPE): Likewise.
17699 (LC_MESSAGES): Likewise.
17700 (LC_MONETARY): Likewise.
17701 (LC_NUMERIC): Likewise.
17702 (LC_TIME): Likewise.
17703 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17704 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17706 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17708 [C99-based standards] (float_t): Expect type.
17709 [C99-based standards] (double_t): Expect type.
17710 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17712 [C99-based standards] (HUGE_VALL): Likewise.
17713 [C99-based standards] (INFINITY): Likewise.
17714 [C99-based standards] (NAN): Likewise.
17715 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17716 [C99-based standards] (FP_NAN): Likewise.
17717 [C99-based standards] (FP_NORMAL): Likewise.
17718 [C99-based standards] (FP_SUBNORMAL): Likewise.
17719 [C99-based standards] (FP_ZERO): Likewise.
17720 [C99-based standards] (FP_FAST_FMA): Use
17721 optional-macro-int-constant. Specify type. Require == 1.
17722 [C99-based standards] (FP_FAST_FMAF): Likewise.
17723 [C99-based standards] (FP_FAST_FMAL): Likewise.
17724 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17725 [C99-based standards] (FP_ILOGBNAN): Likewise.
17726 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17728 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17729 [C99-based standards] (math_errhandling): Specify type.
17730 [ISO99 || ISO11] (signgam): Do not allow.
17731 [non-C99-based standards] (copysignf): Do not allow.
17732 [non-C99-based standards] (exp2f): Likewise.
17733 [non-C99-based standards] (log2f): Likewise.
17734 [non-C99-based standards] (modff): Allow.
17735 [non-C99-based standards] (erff): Do not allow.
17736 [non-C99-based standards] (erfcf): Likewise.
17737 [non-C99-based standards] (gammaf): Likewise.
17738 [non-C99-based standards] (hypotf): Likewise.
17739 [non-C99-based standards] (j0f): Likewise.
17740 [non-C99-based standards] (j1f): Likewise.
17741 [non-C99-based standards] (jnf): Likewise.
17742 [non-C99-based standards] (lgammaf): Likewise.
17743 [non-C99-based standards] (tgammaf): Likewise.
17744 [non-C99-based standards] (y0f): Likewise.
17745 [non-C99-based standards] (y1f): Likewise.
17746 [non-C99-based standards] (ynf): Likewise.
17747 [non-C99-based standards] (isnanf): Likewise.
17748 [non-C99-based standards] (acoshf): Likewise.
17749 [non-C99-based standards] (asinhf): Likewise.
17750 [non-C99-based standards] (atanhf): Likewise.
17751 [non-C99-based standards] (cbrtf): Likewise.
17752 [non-C99-based standards] (expm1f): Likewise.
17753 [non-C99-based standards] (ilogbf): Likewise.
17754 [non-C99-based standards] (log1pf): Likewise.
17755 [non-C99-based standards] (logbf): Likewise.
17756 [non-C99-based standards] (nextafterf): Likewise.
17757 [non-C99-based standards] (remainderf): Likewise.
17758 [non-C99-based standards] (rintf): Likewise.
17759 [non-C99-based standards] (scalbf): Likewise.
17760 [non-C99-based standards] (copysignl): Likewise.
17761 [non-C99-based standards] (exp2l): Likewise.
17762 [non-C99-based standards] (log2l): Likewise.
17763 [non-C99-based standards] (modfl): Allow.
17764 [non-C99-based standards] (erfl): Do not allow.
17765 [non-C99-based standards] (erfcl): Likewise.
17766 [non-C99-based standards] (gammal): Likewise.
17767 [non-C99-based standards] (hypotl): Likewise.
17768 [non-C99-based standards] (j0l): Likewise.
17769 [non-C99-based standards] (j1l): Likewise.
17770 [non-C99-based standards] (jnl): Likewise.
17771 [non-C99-based standards] (lgammal): Likewise.
17772 [non-C99-based standards] (tgammal): Likewise.
17773 [non-C99-based standards] (y0l): Likewise.
17774 [non-C99-based standards] (y1l): Likewise.
17775 [non-C99-based standards] (ynl): Likewise.
17776 [non-C99-based standards] (isnanl): Likewise.
17777 [non-C99-based standards] (acoshl): Likewise.
17778 [non-C99-based standards] (asinhl): Likewise.
17779 [non-C99-based standards] (atanhl): Likewise.
17780 [non-C99-based standards] (cbrtl): Likewise.
17781 [non-C99-based standards] (expm1l): Likewise.
17782 [non-C99-based standards] (ilogbl): Likewise.
17783 [non-C99-based standards] (log1pl): Likewise.
17784 [non-C99-based standards] (logbl): Likewise.
17785 [non-C99-based standards] (nextafterl): Likewise.
17786 [non-C99-based standards] (remainderl): Likewise.
17787 [non-C99-based standards] (rintl): Likewise.
17788 [non-C99-based standards] (scalbl): Likewise.
17789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17790 [non-C99-based standards] (FP_*): Do not allow.
17791 [C99-based standards] (FP_*): Change to
17792 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17793 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17795 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17796 (SIG_ERR): Likewise.
17797 [X/Open-based standards] (SIG_HOLD): Likewise.
17798 (SIG_IGN): Likewise.
17799 (SIGABRT): Use macro-int-constant. Specify type. Require
17801 (SIGFPE): Likewise.
17802 (SIGILL): Likewise.
17803 (SIGINT): Likewise.
17804 (SIGSEGV): Likewise.
17805 (SIGTER): Likewise.
17806 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17807 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17808 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17809 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17810 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17811 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17812 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17813 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17814 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17815 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17816 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17817 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17818 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17819 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17820 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17821 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17822 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17823 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17824 [X/Open-based standards] (SIGTRAP): Likewise.
17825 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17826 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17827 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17828 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17829 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17832 2012-05-08 Ian Wienand <ianw@vmware.com>
17835 * time/tzset.c (__tzset_parse_tz): Update default rules for
17836 daylight time changes in the Energy Policy Act of 2005.
17838 2012-05-09 Andreas Jaeger <aj@suse.de>
17841 * elf/ldconfig.c (parse_conf): Change string to make clear that
17842 ldconfig only issued a warning if ld.so.conf does not exist.
17844 2012-05-08 David S. Miller <davem@davemloft.net>
17846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17847 movxtod instead of popping the value on the stack.
17849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17851 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17853 * config.h.in: Add HAVE_ARM_PCS_VFP.
17855 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
17858 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17859 checking but the checks are disabled for any reason.
17861 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17863 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17864 and ELF64_R_TYPE with ELFW(R_TYPE).
17866 2012-05-08 Joseph Myers <joseph@codesourcery.com>
17868 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17869 (ulimit): Likewise.
17871 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17872 (settimeofday): Likewise.
17874 2012-05-08 Mike Frysinger <vapier@gentoo.org>
17876 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17877 a struct th_u2 inside the union, and move tu_block/tu_code into
17878 a new th_u3 union of tu_block/tu_code inside of that. Move
17879 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17880 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17881 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17882 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17883 (th_stuff): Change to th_u1.tu_stuff.
17885 (th_msg): Change to th_u1.th_u2.tu_data.
17887 2012-05-07 David S. Miller <davem@davemloft.net>
17889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17892 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17893 (SETUP_PIC_REG): Use it.
17894 (SETUP_PIC_REG_LEAF): Use it.
17896 2012-05-07 Joseph Myers <joseph@codesourcery.com>
17900 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17902 (EXPL_FINITE): Likewise.
17903 (FLDLOG): Likewise.
17904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17905 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17909 (EXPL_FINITE): Likewise.
17910 (FLDLOG): Likewise.
17911 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17912 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17914 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17915 test of -max_value argument for long double.
17916 * sysdeps/i386/fpu/libm-test-ulps: Update.
17917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17919 2012-05-06 David S. Miller <davem@davemloft.net>
17921 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17922 quad soft-float symbols whose references which are compiler
17924 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17926 2012-05-06 Joseph Myers <joseph@codesourcery.com>
17930 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17932 (EXPL_FINITE): Likewise.
17933 (FLDLOG): Likewise.
17936 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17937 Adjust comments for base varying.
17938 (__expl_finite): Change alias to EXPL_FINITE.
17939 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17941 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17942 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17944 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17947 (EXPL_FINITE): Likewise.
17948 (FLDLOG): Likewise.
17951 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17952 Adjust comments for base varying.
17953 (__expl_finite): Change alias to EXPL_FINITE.
17954 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17959 * math/libm-test.inc (check_float_internal): Correct ulp
17960 calculation for subnormal expected results.
17962 2012-05-06 Andreas Jaeger <aj@suse.de>
17964 * Makeconfig (+math-flags): New, set to -frounding-math.
17965 (+cflags): Add +math-flags so that all of glibc gets compiled with
17968 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17970 2012-05-05 Joseph Myers <joseph@codesourcery.com>
17972 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17978 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17979 (__ieee754_expl): Allow for and saturate large arguments.
17980 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17981 (u_threshold): Likewise.
17982 (__exp): Call __ieee754_exp before checking for overflow and
17984 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17985 (u_threshold): Likewise.
17986 (__expf): Call __ieee754_expf before checking for overflow and
17988 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17989 (u_threshold): Likewise.
17990 (__expl): Call __ieee754_expl before checking for overflow and
17992 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17993 (__ieee754_expl): Allow for and saturate large arguments.
17994 * math/libm-test.inc (exp_test): Add another test. Do not allow
17995 missing overflow exception on overflow.
17996 (expm1_test): Do not allow missing overflow exception on overflow.
17998 * sysdeps/i386/fpu/e_expl.c: Move to ...
17999 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18000 rather than using inline asm.
18001 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18002 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18003 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18005 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18008 (signal): Likewise.
18012 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18014 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18015 sysdeps/unix/common/syscalls.list.
18016 (fchmod): Likewise.
18017 (fchown): Likewise.
18018 (ftruncate): Likewise.
18019 (getrusage): Likewise.
18020 (gettimeofday): Likewise.
18021 (setpgid): Likewise.
18022 (setregid): Likewise.
18023 (setreuid): Likewise.
18024 (sigaction): Likewise.
18025 (truncate): Likewise.
18026 (vhangup): Likewise.
18027 * sysdeps/unix/common/syscalls.list: Remove file.
18028 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18029 * sysdeps/unix/sysv/linux/Implies: Likewise.
18031 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18033 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18035 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18039 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18042 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18045 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18048 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18051 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18054 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18057 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18061 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18065 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18068 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18072 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18076 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18078 * sysdeps/unix/common/bits/dirent.h: Remove file.
18079 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18081 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18082 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18083 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18084 * sysdeps/unix/bsd/isatty.c: Likewise.
18085 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18086 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18087 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18089 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18093 long double comparison inaccuracies.
18094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18097 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18099 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18102 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18106 nonzero digits before rounding a hex value.
18107 * stdlib/tst-strtod.c (tests): Add another test.
18109 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18111 * sysdeps/s390/fpu/libm-test-ulps: Update.
18113 2012-05-03 Andreas Jaeger <aj@suse.de>
18115 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18116 does not get optimized out.
18117 (malloc_opt_barrier): New.
18119 2012-05-03 Andreas Jaeger <aj@suse.de>
18120 Roland McGrath <roland@hack.frob.com>
18122 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18123 intermediate file deletion.
18124 (generated): Add .symlist files.
18126 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18129 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18130 Redirect under this condition.
18131 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18132 [__USE_GNU] (__dprintf_chk): Not under this condition.
18133 [__USE_GNU] (__vdprintf_chk): Likewise.
18134 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18135 under this condition.
18136 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18137 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18138 [__USE_XOPEN2K8] (vdprintf): Likewise.
18139 [__USE_GNU] (__dprintf_chk): Not under this condition.
18140 [__USE_GNU] (__vdprintf_chk): Likewise.
18141 [__USE_GNU] (dprintf): Likewise.
18142 [__USE_GNU] (vdprintf): Likewise.
18144 2012-05-03 Roland McGrath <roland@hack.frob.com>
18146 * elf/Makefile (common-generated): Set this instead of generated for
18147 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18148 $(all-built-dso)-derived lists.
18150 2012-05-03 Andreas Jaeger <aj@suse.de>
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18155 * FAQ.in: Likewise.
18156 * scripts/gen-FAQ.pl: Likewise.
18157 * manual/install.texi (Installation): Point to online location of
18159 * Makefile (files-for-dist): Remove FAQ.
18162 2012-05-02 Allan McRae <allan@archlinux.org>
18164 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18165 (LDFLAGS-reldepmod5.so): Likewise.
18166 (LDFLAGS-reldep6mod1.so): Likewise.
18167 (LDFLAGS-reldep6mod4.so): Likewise.
18168 (LDFLAGS-reldep8mod3.so): Likewise.
18169 (LDFLAGS-unload4mod1.so): Likewise.
18170 (LDFLAGS-unload4mod2.so): Likewise.
18171 (LDFLAGS-tst-initorder): Likewise.
18172 (LDFLAGS-tst-initordera2.so): Likewise.
18173 (LDFLAGS-tst-initordera3.so): Likewise.
18174 (LDFLAGS-tst-initordera4.so): Likewise.
18175 (LDFLAGS-tst-initorderb2.so): Likewise.
18176 (LDFLAGS-noload): Likewise.
18177 (LDFLAGS-next): Likewise.
18178 (LDFLAGS-order2mod1.so): Likewise.
18179 (LDFLAGS-order2mod2.so): Likewise.
18180 (LDFLAGS-tst-initorder2): Likewise.
18181 (LDFLAGS-tst-initorder2a.so): Likewise.
18182 (LDFLAGS-tst-initorder2b.so): Likewise.
18183 (LDFLAGS-tst-initorder2c.so): Likewise.
18184 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18186 2012-05-02 David S. Miller <davem@davemloft.net>
18188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18190 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18193 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18195 2012-05-02 Andreas Jaeger <aj@suse.de>
18197 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18198 since we manipulate rounding mode.
18199 (CPPFLAGS-test-idouble.c): Likewise.
18200 (CPPFLAGS-test-ifloat.c): Likewise.
18201 (CFLAGS-test-ldouble.c): Likewise.
18202 (CFLAGS-test-double.c): Likewise.
18203 (CFLAGS-test-float.c): Likewise.
18204 (CFLAGS-test-misc.c): Likewise.
18205 (CFLAGS-test-test-fenv.c): Likewise.
18207 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18212 comparisons to determine direction to adjust input.
18214 2012-05-01 Roland McGrath <roland@hack.frob.com>
18216 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18217 output to the target.
18219 * scripts/localplt.awk: New file.
18220 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18221 (check-localplt-CFLAGS): Variable removed.
18222 ($(all-built-dso:=.jmprel)): New static pattern rule.
18223 (generated): Add those targets.
18224 (localplt-built-dso): New variable.
18225 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18227 * elf/check-localplt.c: File removed.
18229 * scripts/check-execstack.awk: New file.
18230 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18231 (check-execstack-CFLAGS): Variable removed.
18232 ($(objpfx)check-execstack.h): Target removed.
18233 ($(objpfx)execstack-default): New target.
18234 (generated): Add that instead of check-execstack.h.
18235 ($(all-built-dso:=.phdr)): New static pattern rule.
18236 (generated): Add those targets.
18237 * elf/check-execstack.c: File removed.
18239 * scripts/check-textrel.awk: New file.
18240 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18241 (check-textrel-CFLAGS): Variable removed.
18242 (all-built-dso): Use := to define.o
18243 ($(all-built-dso:=.dyn)): New static pattern rule.
18244 (generated): Add those targets.
18245 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18246 * config.make.in (READELF): New substituted variable.
18247 * elf/check-textrel.c: File removed.
18249 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18251 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18253 * conform/data/ctype.h-data [C99-based standards] (isblank):
18255 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18256 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18258 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18259 Specify type. Require positive value.
18260 (EILSEQ): Likewise.
18261 (ERANGE): Likewise.
18262 [ISO || POSIX] (EILSEQ): Do not expect.
18263 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18264 Specify type. Require positive value.
18265 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18266 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18267 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18268 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18269 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18270 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18271 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18272 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18273 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18274 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18275 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18276 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18277 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18278 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18279 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18280 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18281 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18282 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18283 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18284 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18285 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18286 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18287 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18288 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18289 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18290 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18291 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18292 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18293 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18294 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18295 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18296 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18297 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18298 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18299 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18300 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18301 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18302 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18303 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18304 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18305 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18306 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18307 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18308 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18309 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18310 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18311 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18312 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18313 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18314 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18315 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18316 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18317 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18318 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18319 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18320 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18321 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18322 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18323 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18324 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18325 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18326 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18327 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18328 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18329 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18330 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18331 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18332 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18333 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18334 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18335 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18336 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18337 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18338 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18339 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18340 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18341 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18343 (FLT_ROUNDS): Expect as macro, not constant.
18344 (FLT_MANT_DIG): Use macro-int-constant.
18345 (DBL_MANT_DIG): Likewise.
18346 (LDBL_MANT_DIG): Likewise.
18347 (FLT_DIG): Likewise.
18348 (DBL_DIG): Likewise.
18349 (LDBL_DIG): Likewise.
18350 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18351 (DBL_MIN_EXP): Likewise.
18352 (LDBL_MIN_EXP): Likewise.
18353 (FLT_MAX_EXP): Use macro-int-constant.
18354 (DBL_MAX_EXP): Likewise.
18355 (LDBL_MAX_EXP): Likewise.
18356 (FLT_MAX_10_EXP): Likewise.
18357 (DBL_MAX_10_EXP): Likewise.
18358 (LDBL_MAX_10_EXP): Likewise.
18359 (FLT_MAX): Use macro-constant.
18360 (DBL_MAX): Likewise.
18361 (LDBL_MAX): Likewise.
18362 (FLT_EPSILON): Use macro-constant. Give upper bound.
18363 (DBL_EPSILON): Likewise.
18364 (LDBL_EPSILON): Likewise.
18365 (FLT_MIN): Likewise.
18366 (DBL_MIN): Likewise.
18367 (LDBL_MIN): Likewise.
18368 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18369 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18370 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18371 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18372 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18373 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18374 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18375 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18376 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18377 [ISO11] (FLT_TRUE_MIN): Likewise.
18378 [ISO11] (LDBL_TRUE_MIN): Likewise.
18379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18380 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18381 (SCHAR_MIN): Use macro-int-constant. Specify type.
18382 (SCHAR_MAX): Likewise.
18383 (UCHAR_MAX): Likewise.
18384 (CHAR_MIN): Likewise.
18385 (CHAR_MAX): Likewise.
18386 (MB_LEN_MAX): Use macro-int-constant.
18387 (SHRT_MIN): Use macro-int-constant. Specify type.
18388 (SHRT_MAX): Likewise.
18389 (USHRT_MAX): Likewise.
18390 (INT_MAX): Likewise.
18391 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18393 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18395 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18397 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18398 bound negative. Suffix upper bound with "L".
18399 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18401 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18403 [C99-based standards] (LLONG_MAX): Likewise.
18404 [C99-based standards] (ULLONG_MAX): Likewise.
18405 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18407 [ISO11] (max_align_t): Require type.
18408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18410 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18411 from $CFLAGS, without defining away __attribute__ calls.
18412 (checknamespace): Use $CFLAGS_namespace.
18414 * conform/conformtest.pl (@keywords): Only include C99 keywords
18415 for standards based on C99 or C11.
18417 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18419 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18422 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18423 usability of symbols in #if.
18425 * conform/conformtest.pl: If macro or constant types start
18426 "promoted:", expect the symbol to be of the following type
18427 promoted by the integer promotions.
18429 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18430 in one place. Also handle "macro-constant".
18432 * conform/conformtest.pl: Only accept expected macro values with
18433 "==". Parse all "macro" lines in one place.
18434 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18436 * conform/conformtest.pl: Handle braced types on "constant" lines
18437 instead of handling "typed-constant".
18438 * conform/data/signal.h-data: Use "constant" instead of
18441 * conform/conformtest.pl: Handle "optional-" at start of lines in
18442 one place rather than duplicating several cases. Handle each
18443 format of "macro" line with initial "optional-".
18445 * conform/conformtest.pl: Only accept expected constant or
18446 optional-constant values with "==". Parse all "constant" lines in
18447 one place. Parse all "optional-constant" lines in one place.
18448 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18449 * conform/data/fmtmsg.h-data: Likewise.
18450 * conform/data/netinet/in.h-data: Likewise.
18451 * conform/data/tar.h-data: Likewise.
18452 * conform/data/limits.h-data: Use "==" form on "constant" and
18453 "optional-constant" lines.
18455 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18456 Use -std=c99 for XOPEN2K.
18457 (@knownproblems): Remove.
18458 (newtoken): Don't check %isknown.
18460 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18461 Do not expect macro.
18462 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18463 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18464 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18465 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18466 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18467 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18468 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18469 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18470 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18471 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18472 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18473 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18474 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18475 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18476 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18477 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18478 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18479 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18480 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18481 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18482 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18483 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18486 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18487 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18488 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18489 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18490 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18491 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18492 [XPG3] (acosh): Likewise.
18493 [XPG3] (asinh): Likewise.
18494 [XPG3] (atanh): Likewise.
18495 [XPG3] (cbrt): Likewise.
18496 [XPG3] (expm1): Likewise.
18497 [XPG3] (ilogb): Likewise.
18498 [XPG3] (log1p): Likewise.
18499 [XPG3] (logb): Likewise.
18500 [XPG3] (nextafter): Likewise.
18501 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18502 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18503 [XPG3] (remainder): Likewise.
18504 [XPG3] (rint): Likewise.
18505 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18506 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18507 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18508 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18509 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18510 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18511 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18512 [UNIX98 || XOPEN2K] (scalb): Expect.
18513 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18514 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18515 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18516 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18517 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18518 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18519 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18520 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18521 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18522 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18523 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18524 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18525 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18526 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18527 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18528 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18529 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18530 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18531 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18532 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18533 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18534 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18535 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18536 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18537 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18538 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18539 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18540 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18541 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18542 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18543 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18544 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18545 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18546 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18547 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18548 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18549 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18550 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18551 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18552 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18553 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18554 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18555 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18556 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18557 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18558 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18559 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18560 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18561 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18562 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18563 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18564 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18565 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18566 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18567 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18568 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18569 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18570 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18571 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18572 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18573 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18574 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18575 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18576 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18577 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18578 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18579 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18580 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18581 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18582 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18583 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18584 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18585 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18586 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18587 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18588 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18589 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18590 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18591 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18592 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18593 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18594 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18595 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18596 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18597 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18598 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18599 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18600 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18601 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18602 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18603 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18604 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18605 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18606 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18607 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18608 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18609 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18610 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18611 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18612 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18613 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18614 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18615 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18616 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18617 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18618 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18619 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18620 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18621 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18622 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18623 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18626 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18627 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18628 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18629 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18630 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18631 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18632 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18633 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18634 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18635 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18636 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18637 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18638 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18648 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18651 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18652 _XOPEN_SOURCE_EXTENDED for XPG4.
18654 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18656 * Makeconfig (localtime): Remove variable.
18657 (inst_localtime-file): Likewise.
18659 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18680 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18684 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18685 comparisons to determine direction to adjust input.
18686 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18687 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18694 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18695 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18697 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18699 * math/libm-test.inc (nexttoward_test): Add more tests.
18701 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18705 in version GLIBC_2.1, not GLIBC_2.0.
18706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18709 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18712 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18714 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18715 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18716 * math/libm-test.inc (acos_test): Add more tests.
18717 (asin_test): Likewise.
18718 * sysdeps/i386/fpu/libm-test-ulps: Update.
18719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18724 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18725 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18726 * math/libm-test.inc (acos_test_tonearest): New function.
18727 (acos_test_towardzero): Likewise.
18728 (acos_test_downward): Likewise.
18729 (acos_test_upward): Likewise.
18730 (asin_test_tonearest): Likewise.
18731 (asin_test_towardzero): Likewise.
18732 (asin_test_downward): Likewise.
18733 (asin_test_upward): Likewise.
18734 (main): Call the new functions.
18735 * sysdeps/i386/fpu/libm-test-ulps: Update.
18736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18740 * math/e_exp10.c: Include <float.h>.
18741 (__ieee754_exp10): Handle underflow here rather than multiplying
18742 large negative argument by M_LN10.
18743 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18745 * math/e_exp10l.c: Include <float.h>.
18746 (__ieee754_exp10l): Handle underflow here rather than multiplying
18747 large negative argument by M_LN10l.
18748 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18749 spurious overflow exception on underflow.
18751 2012-04-29 Marek Polacek <polacek@redhat.com>
18753 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18754 (__fortify_function): New macro.
18755 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18756 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18757 __extern_always_inline.
18758 * libio/bits/stdio2.h: Likewise.
18759 * libio/bits/stdio.h: Likewise.
18760 * string/string.h: Likewise.
18761 * string/bits/string3.h: Likewise.
18762 * include/stdio.h: Likewise.
18763 * stdlib/bits/stdlib.h: Likewise.
18764 * stdlib/stdlib.h: Likewise.
18765 * rt/bits/mqueue2.h: Likewise.
18766 * rt/mqueue.h: Likewise.
18767 * posix/bits/unistd.h: Likewise.
18768 * posix/unistd.h: Likewise.
18769 * io/bits/poll2.h: Likewise.
18770 * io/bits/fcntl2.h: Likewise.
18771 * io/fcntl.h: Likewise.
18772 * io/sys/poll.h: Likewise.
18773 * misc/bits/syslog.h: Likewise.
18774 * misc/bits/syslog-ldbl.h: Likewise.
18775 * misc/sys/syslog.h: Likewise.
18776 * socket/bits/socket2.h: Likewise.
18777 * socket/sys/socket.h: Likewise.
18778 * debug/tst-chk1.c: Likewise.
18779 * wcsmbs/bits/wchar2.h: Likewise.
18780 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18781 * wcsmbs/wchar.h: Likewise.
18783 2012-04-29 Andreas Jaeger <aj@suse.de>
18785 * Makerules (tests): Remove enable-check-abi protection.
18786 (check-abi-warn): Remove.
18787 (check-abi-%): Remove check-abi-warn usage.
18789 * configure.in: Remove check-abi configure option.
18790 * configure: Regenerated.
18791 * config.make.in (enable-check-abi): Remove.
18793 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18796 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18797 double functions to double *_finite functions.
18800 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18801 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18803 * stdio-common/Makefile (tests): Add tst-sprintf3.
18804 * stdio-common/tst-sprintf3.c: New file.
18806 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18807 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18809 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18811 * conform/conformtest.pl: Remove duplicate typed-constant
18814 2012-04-28 David S. Miller <davem@davemloft.net>
18816 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18817 (check-abi-%): Remove AWK script prerequisite and explicit
18819 (check-abi): Rewrite to just diff the symlist with the abilist.
18820 (config-tls, config-abi-config): Delete, no longer used.
18821 (update-abi-%): Remove AWK script and explicit abilist directory.
18822 (update-abi): Rewrite to simply compare and conditionally copy the
18823 symlist and the sysdep abilist file. Remove update-abi-config
18825 * abilist/ld.abilist: Remove.
18826 * abilist/libBrokenLocale.abilist: Remove.
18827 * abilist/libanl.abilist: Remove.
18828 * abilist/libcrypt.abilist: Remove.
18829 * abilist/libdl.abilist: Remove.
18830 * abilist/librt.abilist: Remove.
18831 * abilist/libthread_db.abilist: Remove.
18832 * abilist/libutil.abilist: Remove.
18833 * scripts/extract-abilist.awk: Remove.
18834 * scripts/merge-abilist.awk: Remove.
18835 * sysdeps/generic/libcidn.abilist: New file.
18836 * sysdeps/generic/libnss_compat.abilist: New file.
18837 * sysdeps/generic/libnss_db.abilist: New file.
18838 * sysdeps/generic/libnss_dns.abilist: New file.
18839 * sysdeps/generic/libnss_files.abilist: New file.
18840 * sysdeps/generic/libnss_hesiod.abilist: New file.
18841 * sysdeps/generic/libnss_nis.abilist: New file.
18842 * sysdeps/generic/libnss_nisplus.abilist: New file.
18843 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18844 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18845 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18848 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18849 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18850 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18851 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18852 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18853 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18854 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18855 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18857 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18858 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18859 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18860 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18862 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18863 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18864 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18865 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18866 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18867 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18869 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18870 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18871 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18873 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18976 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18977 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18978 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18981 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18982 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18983 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18984 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18985 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18986 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18987 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18988 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18989 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19041 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19043 * conform/conformtest.pl: Fix typo in handling typed-constant from
19046 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19048 * README: Cut down references to pre-2.6 Linux kernels and
19049 Linuxthreads. Update lists of configurations in libc and ports
19050 and sort alphabetically. Say "or newer" with Linux kernel version
19053 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19055 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19058 * math/libm-test.inc (logb_test_downward): New test to expose
19059 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19062 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19065 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19067 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19068 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19070 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19072 * sysdeps/unix/i386/brk.S: Remove file.
19073 * sysdeps/unix/i386/dl-brk.S: Likewise.
19074 * sysdeps/unix/i386/pipe.S: Likewise.
19075 * sysdeps/unix/i386/sigreturn.S: Likewise.
19076 * sysdeps/unix/i386/syscall.S: Likewise.
19077 * sysdeps/unix/i386/vfork.S: Likewise.
19078 * sysdeps/unix/i386/wait.S: Likewise.
19080 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19081 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19083 * configure.in (arm*-none*): Do not allow without
19084 --enable-hacker-mode.
19085 (netbsd*): Remove case setting base_os.
19086 (386bsd*): Likewise.
19087 (freebsd*): Likewise.
19090 (sunos*): Likewise.
19091 (ultrix*): Likewise.
19092 (newsos*): Likewise.
19093 (dynix*): Likewise.
19099 (minix*): Likewise.
19100 (irix4*): Likewise.
19101 (irix6*): Likewise.
19102 (solaris[2-9]*): Likewise.
19104 * configure: Regenerated.
19106 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19109 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19110 overflow or cancellation in calculating denominator.
19111 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19113 down expression to avoid unexpected rounding in newer GCCs.
19114 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19116 2012-04-26 David S. Miller <davem@davemloft.net>
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19119 long-double compat symbols.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19134 2012-04-25 David S. Miller <davem@davemloft.net>
19136 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19137 HWCAP_* values only after the memory barriers have been defined.
19138 (atomic_full_barrier): Define.
19139 (atomic_read_barrier): Define.
19140 (atomic_write_barrier): Define.
19142 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19144 * shlib-versions: Add libgcc_s version information.
19145 * sysdeps/generic/libgcc_s.h: Remove.
19146 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19148 * sysdeps/gnu/unwind-resume.c: Likewise.
19149 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19151 2012-04-25 David S. Miller <davem@davemloft.net>
19153 * sysdeps/unix/sparc/brk.S: Delete.
19154 * sysdeps/unix/sparc/dl-brk.S: Delete.
19155 * sysdeps/unix/sparc/pipe.S: Delete.
19156 * sysdeps/unix/sparc/sysdep.S: Delete.
19157 * sysdeps/unix/sparc/sysdep.h: Delete.
19158 * sysdeps/unix/sparc/vfork.S: Delete.
19159 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19160 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19161 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19162 ret_ERRVAL, r0, r1, MOVE): Define.
19163 (JUMPTARGET): Remove.
19164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19165 sysdeps/unix/sparc/sysdep.h
19166 (ENTRY, END): Remove.
19167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19169 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19171 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19172 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19175 * timezone/README: Update upstream location and email address for
19177 * timezone/zdump.c: Update from tzcode 2012b.
19178 * timezone/zic.c: Likewise.
19180 * configure.in (libc_cv_as_needed): Remove test.
19181 * configure: Regenerated.
19182 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19183 conditional definition.
19184 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19185 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19186 * config.make.in (have-as-needed): Remove variable.
19188 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19189 Paul Pluzhnikov <ppluzhnikov@google.com>
19191 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19194 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19196 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19197 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19198 * sysdeps/sh/strlen.S: Likewise.
19200 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/unix/fork.S: Remove file.
19203 * sysdeps/unix/i386/fork.S: Likewise.
19204 * sysdeps/unix/sparc/fork.S: Likewise.
19206 * sysdeps/unix/system.c: Remove file.
19207 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19209 * sysdeps/unix/getegid.S: Remove file.
19210 * sysdeps/unix/geteuid.S: Likewise.
19212 2012-04-24 Roland McGrath <roland@hack.frob.com>
19214 * scripts/check-localplt.awk: New file.
19215 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19217 * scripts/data/localplt-generic.data: Add a comment.
19219 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19220 NODE when __dir_mkfile failed.
19221 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19222 Reported by Ludovic Courtès <ludo@gnu.org>.
19224 2012-04-24 Andreas Jaeger <aj@suse.de>
19226 * Makerules (common-clean): Also remove gen-as-const-headers
19229 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19231 * Makerules (native-compile): Do not change working directory for
19232 build. Use $(OUTPUT_OPTION) in command.
19233 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19235 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19238 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19239 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19240 * math/libm-test.inc (floor_test): Add more tests.
19241 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19243 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19245 * sysdeps/unix/getdents.c: Remove file.
19246 * sysdeps/unix/sysv/getdents.c: Likewise.
19247 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19249 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19250 sysdeps/unix/mman/syscalls.list.
19252 (mprotect): Likewise.
19254 (munmap): Likewise.
19255 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19256 * sysdeps/unix/mman/syscalls.list: Remove.
19257 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19259 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19260 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19261 * configure: Regenerated.
19262 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19263 $(libgcc_s_suffix).
19264 * config.make.in (libgcc_s_suffix): Remove variable.
19266 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19268 * sysdeps/unix/sysv/gethostname.c: Move to ...
19269 * sysdeps/posix/gethostname.c: ... here.
19271 * sysdeps/unix/execve.S: Remove file.
19273 * sysdeps/unix/_exit.S: Remove file.
19275 2012-04-23 Andreas Jaeger <aj@suse.de>
19278 * manual/Makefile: Remove make dist support, there's no
19279 need for a stand-alone documentation tar ball.
19280 (TEXI2DVI): Define always, it's not in Makeconfig.
19283 (edition): Removed.
19284 (glibc-doc-$(edition).tar): Removed
19288 (ETAGS): Remove, it's in Makeconfig.
19289 (move-if-change): Remove, it's in Makeconfig.
19291 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19294 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19295 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19296 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19297 (strtod_l, strtof_l, strtold_l): Remove __wur.
19298 It is not necessarily an error to ignore strtol's return value.
19299 One can reliably look at the stored endptr to decide whether
19300 the number had valid syntax.
19302 2012-04-21 Andreas Jaeger <aj@suse.de>
19305 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19307 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19309 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19310 * sysdeps/unix/sysv/Versions: Remove file.
19312 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19317 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19320 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19321 version from __vm86.
19323 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19325 * sysdeps/unix/common/lxstat.c: Remove file.
19326 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19328 * sysdeps/unix/sysv/Makefile: Remove file.
19330 * sysdeps/unix/sysv/direct.h: Remove file.
19332 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19333 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19334 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19335 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19336 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19337 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19338 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19340 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19342 * sysdeps/unix/xmknod.c: Remove file.
19343 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19345 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19347 * sysdeps/unix/sysv/i386/time.S: Remove file.
19349 * sysdeps/unix/fxstat.c: Remove file.
19350 * sysdeps/unix/xstat.c: Likewise.
19351 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19353 * sysdeps/unix/sysv/sigaction.c: Remove file.
19355 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19356 (sysdep_headers): Remove variable.
19357 [termio.h not in sysdep_headers] (generated): Likewise.
19358 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19359 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19360 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19361 * sysdeps/unix/sysv/tcflow.c: Likewise.
19362 * sysdeps/unix/sysv/tcflush.c: Likewise.
19363 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19364 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19365 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19366 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19367 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19369 * sysdeps/unix/siglist.c: Remove file.
19371 * sysdeps/unix/getppid.S: Remove file.
19373 * sysdeps/unix/mkdir.c: Remove file.
19374 * sysdeps/unix/rmdir.c: Likewise.
19376 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19378 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19380 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19381 errlist-compat value.
19383 2012-04-18 David S. Miller <davem@davemloft.net>
19385 * sysdeps/generic/memcopy.h (reg_char): Delete.
19386 * debug/strcat_chk.c: Use char, not reg_char.
19387 * debug/strcpy_chk.c: Likewise.
19388 * debug/strncat_chk.c: Likewise.
19389 * debug/strncpy_chk.c: Likewise.
19390 * string/memchr.c: Likewise.
19391 * string/memrchr.c: Likewise.
19392 * string/rawmemchr.c: Likewise.
19393 * string/strcat.c: Likewise.
19394 * string/strchr.c: Likewise.
19395 * string/strchrnul.c: Likewise.
19396 * string/strcmp.c: Likewise.
19397 * string/strcpy.c: Likewise.
19398 * string/strncat.c: Likewise.
19399 * string/strncmp.c: Likewise.
19400 * string/strncpy.c: Likewise.
19402 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19404 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19405 __builtin_memcopy is called when src and dest ranges are known to not
19408 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19410 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19411 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19412 fwd_align_merge macro call.
19413 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19414 bwd_align_merge macro call.
19415 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19417 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19419 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19420 bwd_align_merge macros.
19421 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19422 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19423 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19425 2012-04-18 David S. Miller <davem@davemloft.net>
19427 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19429 2012-04-18 Andreas Jaeger <aj@suse.de>
19432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19433 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19434 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19436 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19437 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19438 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19440 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19441 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19442 Adjust for changed ldbl-128 files.
19444 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19445 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19446 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19448 2012-04-17 David S. Miller <davem@davemloft.net>
19450 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19452 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19454 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19455 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19456 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19457 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19458 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19461 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19464 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19465 * math/libm-test.inc: Add ilogb errno and exception tests.
19466 * math/w_ilogb.c: New file: ilogb wrapper.
19467 * math/w_ilogbf.c: New file: ilogbf wrapper.
19468 * math/w_ilogbl.c: New file: ilogbl wrapper.
19469 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19470 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19471 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19472 exception being thrown with 0.0 as argument.
19473 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19474 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19475 exception being thrown with 0.0 as argument.
19476 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19477 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19478 exception being thrown with 0.0 as argument.
19479 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19480 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19481 exception being thrown with 0.0 as argument.
19482 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19483 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19484 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19485 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19486 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19487 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19488 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19489 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19490 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19492 2012-04-17 Petr Baudis <pasky@ucw.cz>
19494 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19497 2012-04-16 Marek Polacek <polacek@redhat.com>
19499 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19501 2012-04-16 Marek Polacek <polacek@redhat.com>
19503 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19504 operands of fdivp instruction.
19506 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19508 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19509 * elf/tst-auditmod3b.c: Likewise.
19510 * elf/tst-auditmod4b.c: Likewise.
19511 * elf/tst-auditmod5b.c: Likewise.
19512 * elf/tst-auditmod6b.c: Likewise.
19513 * elf/tst-auditmod6c.c: Likewise.
19514 * elf/tst-auditmod7b.c: Likewise.
19515 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19516 * sysdeps/x86_64/preconfigure.in: Likewise.
19517 * sysdeps/x86_64/preconfigure: Regenerated.
19519 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19521 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19524 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19527 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19529 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19532 * locale/iso-639.def: Fix gl language name. Spotted by
19535 2012-04-12 Roland McGrath <roland@hack.frob.com>
19538 * libio/libio.h (__io_write_fn): Update comment.
19540 2012-04-12 Petr Baudis <pasky@ucw.cz>
19543 * stdio.texi (Hook Functions): The user provided writer function
19544 is not allowed to return -1.
19546 2012-04-11 David S. Miller <davem@davemloft.net>
19548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19550 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19552 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19553 Add a leading slash to rtkaio.
19555 2012-04-11 Jim Meyering <meyering@redhat.com>
19558 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19559 It is not necessarily an error to ignore fwrite's return
19560 value. One can reliably use ferror to test for errors after
19563 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19565 * bits/types.h (__snseconds_t): New type.
19566 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19568 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19570 (__SNSECONDS_T_TYPE): Likewise.
19571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19572 (__SNSECONDS_T_TYPE): Likewise.
19573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19574 (__SNSECONDS_T_TYPE): Likewise.
19576 2012-04-10 Andreas Jaeger <aj@suse.de>
19579 * manual/time.texi (Processor Time): Return type of times is
19580 elapsed real time since an arbitrary point in the past.
19581 (CPU Time): Move CLK_TCK from here...
19582 (Processor Time): ...to here. Correct description.
19583 * manual/conf.texi (Constants for Sysconf): Correct description of
19586 2012-04-10 David S. Miller <davem@davemloft.net>
19589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19590 where the is a gap between DT_REL(A) and DT_JMPREL.
19592 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19594 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19595 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19596 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19598 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19600 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19601 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19602 (dl_main): Handle --inhibit-cache.
19603 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19605 * elf/dl-load.c (_dl_map_object): Use it.
19606 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19608 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19611 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19612 (__ieee754_powl): Saturate large exponents rather than testing for
19613 overflow of y*log2(x).
19614 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19615 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19619 * math/s_ctan.c: Include <float.h>.
19620 (__ctan): Avoid internal overflow or cancellation in calculating
19622 * math/s_ctanf.c: Likewise.
19623 * math/s_ctanl.c: Likewise.
19624 * math/s_ctanh.c: Likewise.
19625 * math/s_ctanhf.c: Likewise.
19626 * math/s_ctanhl.c: Likewise.
19627 * math/libm-test.inc (ctan_test): Add more tests.
19628 (ctanh_test): Likewise.
19629 * sysdeps/i386/fpu/libm-test-ulps: Update.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19632 2012-04-09 Andreas Jaeger <aj@suse.de>
19635 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19636 is an optional BSD extension.
19639 * manual/stdio.texi (Opening Streams): Document additional fopen
19642 2012-04-09 Roland McGrath <roland@hack.frob.com>
19644 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19645 %eax without telling the compiler.
19647 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19650 * manual/install.texi: Use sourceware.org.
19652 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19655 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19656 (__ieee754_pow): Generate overflow and underflow using huge*huge
19657 and tiny*tiny rather than just returning constant infinity or zero
19658 for large exponents.
19659 * math/libm-test.inc (pow_test): Require overflow exceptions for
19660 applicable cases of large exponents.
19663 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19664 (__ieee754_pow): Use iterative multiplication algorithm only for
19665 integer exponents with absolute value below 1024. Check for odd
19666 integer exponents when using algorithm for real exponents.
19667 * math/libm-test.inc (pow_test): Add more tests.
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19670 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19673 * math/libm-test.inc (exp_test): Do not allow overflow exception
19676 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19679 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19680 instead of __kernel_standard_f.
19682 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19684 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19685 * sysdeps/x86_64/memset_chk.S: Likewise.
19687 2012-04-08 Andreas Jaeger <aj@suse.de>
19690 * manual/startup.texi (Environment Access): Describe return value
19691 for putenv and setenv.
19694 * manual/filesys.texi (Directory Entries): Add description for
19698 * manual/filesys.texi (Directory Entries): Clarify that it's file
19699 system not operating system in the description of DT_UNKNOWN.
19702 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19704 2012-04-08 Stephen Compall <s11@member.fsf.org>
19707 * manual/llio.texi (Opening and Closing Files): Add cross
19708 reference to explain mode argument.
19710 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19712 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19713 * sysdeps/x86_64/memset_chk.S: Likewise.
19715 2012-04-07 David S. Miller <davem@davemloft.net>
19717 * elf/elf.h (R_SPARC_WDISP10): Define.
19718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19721 R_SPARC_SIZE64 and R_SPARC_H34.
19723 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19726 conditions and remove no longer applicable assertion.
19728 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19730 * bits/byteswap.h: Include <features.h>.
19731 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19732 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19734 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19736 * bits/byteswap.h (__bswap_16): Removed.
19737 Include <bits/byteswap-16.h> to get __bswap_16.
19738 * sysdeps/i386/bits/byteswap.h: Likewise.
19739 * sysdeps/s390/bits/byteswap.h: Likewise.
19740 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19741 * bits/byteswap-16.h: New file.
19742 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19743 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19744 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19745 * string/Makefile (headers): Add bits/byteswap-16.h.
19747 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19750 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19752 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19753 * nss/tst-nss-static.c: New.
19755 2012-04-06 Robert Millan <rmh@gnu.org>
19758 * manual/llio.texi (File Position Primitive): lseek
19759 refers to WHENCE when it really means OFFSET.
19761 2012-04-06 Andreas Jaeger <aj@suse.de>
19763 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19764 strncmp declarations.
19766 * abilist/libc.abilist: Add __poll and __ppoll.
19768 2012-04-05 David S. Miller <davem@davemloft.net>
19770 * scripts/check-local-headers.sh: Accept a host triplet in the
19771 path matched by the exclude regexp.
19773 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19775 * sysdeps/powerpc/powerpc32/dl-machine.h
19776 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19777 * sysdeps/s390/s390-32/dl-machine.h
19778 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19779 * sysdeps/sparc/sparc32/dl-machine.h
19780 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19781 * sysdeps/sparc/sparc64/dl-machine.h
19782 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19784 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19786 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19787 undefined symbol errors.
19789 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19792 2012-04-05 Michael Matz <matz@suse.de>
19795 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19797 2012-04-05 Andreas Jaeger <aj@suse.de>
19800 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19803 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19806 which ROUND is no valid rounding mode.
19808 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19812 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19814 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19816 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19817 an exception using FPU order intentionally.
19819 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19821 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19822 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19823 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19824 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19826 2012-04-05 Simon Josefsson <simon@josefsson.org>
19829 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19830 EINVAL when BUFLEN is too smal.
19832 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19835 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19836 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19838 2012-04-03 Andreas Jaeger <aj@suse.de>
19841 * manual/setjmp.texi (System V contexts): Fix sentence.
19844 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19845 New macro for this case.
19846 [!__GNUC__] (__bswap_64): New inline function for this case.
19847 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19848 * bits/byteswap.h: Likewise.
19849 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19850 ull, guard with __GLIBC_HAVE_LONG_LONG.
19852 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19853 __GLIBC_HAVE_LONG_LONG.
19855 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19856 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19858 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19861 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19862 inptr and inend, rather than using last_ch.
19864 2012-04-02 David S. Miller <davem@davemloft.net>
19866 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19867 * stdio-common/printf-parse.h (read_int): Change return type to
19868 'int', return -1 on INT_MAX overflow.
19869 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19870 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19871 overflows INT_MAX. Check for overflow of in-format-string precision
19872 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19873 SIZE_MAX not INT_MAX for integer overflow test.
19874 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19875 skip the construct in the format string but do not record anything.
19876 * stdio-common/bug22.c: Adjust to test both width/prevision
19877 INT_MAX overflow as well as total length INT_MAX overflow. Check
19878 explicitly for proper errno values.
19880 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19882 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19884 * string/test-strcmp.c [! WIDE]: Likewise.
19885 * time/tst-mktime2.c: Likewise for INT_MAX.
19886 * string/test-string.h: #include <sys/param.h> for MIN.
19888 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19889 * sysdeps/i386/init-first.c (init): Likewise.
19890 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19891 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19892 * sysdeps/sh/init-first.c (init): Likewise.
19894 2012-04-01 Ulrich Drepper <drepper@gmail.com>
19896 * po/ru.po: Update from translation team.
19897 * po/vi.po: Likewise.
19899 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19901 * resolv/nss_dns/dns-host.c: Merge copyright years.
19903 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19906 Optimize memcpy with prefetch if
19907 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19908 src, dst pointers have unequal 16 byte alignments.
19910 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19913 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19914 from a CNAME entry and return the minimum ttl for the query.
19915 (gaih_getanswer_slice): Likewise.
19917 2012-03-30 Jeff Law <law@redhat.com>
19919 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19921 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19922 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19924 * resolv/nss_dns/dns-host.c: Update copyright year.
19926 2012-03-30 Ulrich Drepper <drepper@gmail.com>
19928 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19929 requests to save a system call. Fix check that all bytes are sent.
19931 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19932 comments for sendmmsg.
19934 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19937 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19938 with only 1 character between 0x0041 and 0x01b0.
19939 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19940 * wcsmbs/tst-mbsnrtowcs.c: New file.
19942 2012-03-29 David S. Miller <davem@davemloft.net>
19944 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19945 small copies by hand.
19947 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19950 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19951 _nss_compat_initgroups_dyn): Fall back to malloc/free
19952 for large group memberships.
19954 2012-03-28 David S. Miller <davem@davemloft.net>
19956 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19957 that branches into memcpy.
19958 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19959 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19961 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19964 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19965 implementation too.
19966 * sysdeps/sparc/mempcpy.S: New file.
19968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19969 the IFUNC routine in the libc case.
19970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19972 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19973 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19974 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19975 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19976 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19977 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19978 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19979 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19981 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19982 loop to 256 bytes instead of 64 bytes and fix test signedness.
19984 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19985 * sysdeps/sparc/sparc32/Makefile: rather than here...
19986 * sysdeps/sparc/sparc64/Makefile: and here.
19988 2012-03-28 Ulrich Drepper <drepper@gmail.com>
19990 * malloc/mallocbug.c: Avoid warnings about unused variables.
19992 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19995 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19996 in the right place. Discard and retry query if response is
19997 larger than input buffer size.
19999 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20004 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20005 x for large integer exponent.
20006 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20007 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20008 sign of result as needed afterwards.
20009 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20010 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20011 result for underflowing pow the same as for overflow.
20012 (__kernel_standard_l): Handle powl overflow and underflow here
20013 rather than calling __kernel_standard.
20014 * math/libm-test.inc (pow_test): Add more tests.
20029 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20030 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20031 (__kernel_standard_l): New function.
20032 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20034 * math/w_acosl.c (__acosl): Likewise.
20035 * math/w_asinl.c (__asinl): Likewise.
20036 * math/w_atan2l.c (__atan2l): Likewise.
20037 * math/w_atanhl.c (__atanhl): Likewise.
20038 * math/w_coshl.c (__coshl): Likewise.
20039 * math/w_exp10l.c (__exp10l): Likewise.
20040 * math/w_exp2l.c (__exp2l): Likewise.
20041 * math/w_fmodl.c (__fmodl): Likewise.
20042 * math/w_hypotl.c (__hypotl): Likewise.
20043 * math/w_j0l.c (__j0l, __y0l): Likewise.
20044 * math/w_j1l.c (__j1l, __y1l): Likewise.
20045 * math/w_jnl.c (__jnl, __ynl): Likewise.
20046 * math/w_lgammal.c (__lgammal): Likewise.
20047 * math/w_log10l.c (__log10l): Likewise.
20048 * math/w_log2l.c (__log2l): Likewise.
20049 * math/w_logl.c (__logl): Likewise.
20050 * math/w_powl.c (__powl): Likewise.
20051 * math/w_remainderl.c (__remainderl): Likewise.
20052 * math/w_scalbl.c (sysv_scalbl): Likewise.
20053 * math/w_sinhl.c (__sinhl): Likewise.
20054 * math/w_sqrtl.c (__sqrtl): Likewise.
20055 * math/w_tgammal.c (__tgammal): Likewise.
20056 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20057 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20058 * math/libm-test.inc (acos_test): Add more tests.
20059 (acosh_test): Likewise.
20060 (asin_test): Likewise.
20061 (atanh_test): Likewise.
20062 (exp_test): Likewise.
20063 (exp10_test): Likewise.
20064 (exp2_test): Likewise.
20065 (expm1_test): Likewise.
20066 (lgamma_test): Likewise.
20067 (log_test): Likewise.
20068 (log10_test): Likewise.
20069 (log1p_test): Likewise.
20070 (log2_test): Likewise.
20071 (pow_test): Do not allow some spurious overflow exceptions.
20072 (sqrt_test): Add more tests.
20073 (tgamma_test): Likewise.
20074 (y0_test): Likewise.
20075 (y1_test): Likewise.
20076 (yn_test): Likewise.
20078 2012-03-27 Anton Blanchard <anton@samba.org>
20080 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20082 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20083 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20086 2012-03-27 David S. Miller <davem@davemloft.net>
20088 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20090 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20091 have-as-vis3 check.
20093 2012-03-27 Andreas Jaeger <aj@suse.de>
20095 * sysdeps/x86_64/elf/configure.in: Moved to ...
20096 * sysdeps/x86_64/configure.in: ... here.
20097 * sysdeps/x86_64/elf/start.S: Moved to ...
20098 * sysdeps/x86_64/start.S: ... here.
20099 * sysdeps/x86_64/elf/configure: Delete.
20101 * sysdeps/x86_64/configure.in: Merge contents from
20102 sysdeps/i386/configure.in (without i686 check).
20104 * sysdeps/i386/elf/Versions: Merge into ...
20105 * sysdeps/i386/Versions: ... this.
20106 * sysdeps/i386/elf/Versions: Delete file.
20107 * sysdeps/i386/elf/start.S: Moved to ...
20108 * sysdeps/i386/start.S: ...here.
20109 * sysdeps/i386/elf/configure.in: Merge into...
20110 * sysdeps/i386/configure.in: ...here.
20111 * sysdeps/i386/elf/configure.in: Delete file.
20112 * sysdeps/i386/elf/configure: Delete file.
20114 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20115 * debug/backtracesyms.c: ... here.
20116 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20117 * debug/backtracesymsfd.c: ... here.
20118 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20119 * sysdeps/generic/ifunc-sel.h: ... here.
20121 * sysdeps/unix/i386/start.c: Delete file.
20122 * sysdeps/unix/sparc/start.c: Delete file.
20123 * sysdeps/unix/start.c: Delete file.
20125 * sysdeps/sh/elf/configure.in: Moved to ...
20126 * sysdeps/sh/configure.in: ... here.
20127 * sysdeps/sh/elf/start.S: Moved to ...
20128 * sysdeps/sh/start.S: ... here.
20129 * sysdeps/sh/elf/configure: Delete file.
20131 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20132 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20133 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20134 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20135 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20136 * sysdeps/powerpc/powerpc64/start.S: here.
20137 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20138 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20139 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20140 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20141 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20143 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20144 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20145 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20146 * sysdeps/powerpc/powerpc32/start.S: ... here.
20147 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20148 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20149 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20151 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20152 * sysdeps/powerpc/ifunc-sel.h: ... here.
20153 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20154 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20156 * sysdeps/sparc/elf/configure.in: Moved to ...
20157 * sysdeps/sparc/configure.in: ... here.
20158 * sysdeps/sparc/elf/configure: Delete file.
20159 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20160 * sysdeps/sparc/sparc32/start.S: ... here.
20161 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20162 * sysdeps/sparc/sparc64/start.S: ... here.
20163 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20164 * sysdeps/sparc/sparc32/Makefile: ... this.
20165 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20166 * sysdeps/sparc/sparc64/Makefile: ... this.
20168 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20169 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20170 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20171 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20172 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20173 * sysdeps/s390/s390-32/setjmp.S: ... here.
20174 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20175 * sysdeps/s390/s390-32/configure.in: ... here.
20176 * sysdeps/s390/s390-32/elf/configure: Delete file.
20177 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20178 * sysdeps/s390/s390-32/start.S: ... here.
20180 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20181 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20182 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20183 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20184 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20185 * sysdeps/s390/s390-64/setjmp.S: ... here.
20186 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20187 * sysdeps/s390/s390-64/configure.in: ... here
20188 * sysdeps/s390/s390-64/elf/configure: Delete file.
20189 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20190 * sysdeps/s390/s390-64/start.S: ... here.
20191 * sysdeps/s390/s390-64/elf/configure: Delete.
20193 * configure.in: Remove support for elf directories in sysdeps.
20195 * configure: Regenerated.
20196 * sysdeps/i386/configure: Regenerated.
20197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20199 * sysdeps/s390/s390-32/configure: Regenerated.
20200 * sysdeps/s390/s390-64/configure: Regenerated.
20201 * sysdeps/sh/configure: Regenerated.
20202 * sysdeps/sparc/configure: Regenerated.
20203 * sysdeps/x86_64/configure: Regenerated.
20205 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20210 denormal result into account.
20212 2012-03-25 Roland McGrath <roland@hack.frob.com>
20214 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20215 Reported by Allan McRae <allan@archlinux.org>.
20217 2012-03-23 Jeff Law <law@redhat.com>
20219 * nss/getnssent.c (__nss_getent): Fix typo.
20221 2012-03-23 David S. Miller <davem@davemloft.net>
20223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20225 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20227 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20228 to pad to uint64_t for each field.
20229 (dl_tls_index): Replace unsigned long with uint64_t.
20231 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20232 Paul Pluzhnikov <ppluzhnikov@google.com>
20235 * grp/Makefile (otherlibs): Don't set it.
20236 * inet/Makefile (otherlibs): Likewise.
20237 * login/Makefile (otherlibs): Likewise.
20238 * nscd/Makefile (otherlibs): Likewise.
20239 * posix/Makefile (otherlibs): Likewise.
20240 * pwd/Makefile (otherlibs): Likewise.
20241 * rt/Makefile (otherlibs): Likewise.
20242 * sunrpc/Makefile (otherlibs): Likewise.
20243 * nss/Makefile (otherlibs): Likewise.
20244 Add libnss_files to routines and static-only-routines.
20245 ($(objpfx)getent): Remove rule.
20246 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20247 static-only-routines.
20249 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20252 * math/s_cexp.c: Include <float.h>.
20253 (__cexp): Handle exp result overflowing not necessarily
20254 overflowing both real and imaginary parts of result.
20255 * math/s_cexpf.c: Likewise.
20256 * math/s_cexpl.c: Likewise.
20257 * math/libm-test.inc (cexp_test): Add more tests.
20258 * sysdeps/i386/fpu/libm-test-ulps: Update.
20259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20261 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20263 * include/link.h (ELFW): New macro.
20264 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20265 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20267 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20269 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20272 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20274 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20276 (struct La_x32_retval): Likewise.
20278 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20280 * sysdeps/x86_64/preconfigure.in: New file.
20281 * sysdeps/x86_64/preconfigure: New generated file.
20283 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20286 * math/e_exp2l.c: Include <float.h>.
20287 (__ieee754_exp2l): Handle overflow and underflow cases
20288 separately. Only pass fractional part of argument to
20290 * math/libm-test.inc (exp2_test): Add more tests.
20292 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20293 negating x to take absolute value.
20294 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20296 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20297 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20299 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20300 computing low part if x was negated.
20301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20303 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20305 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20306 la_x32_gnu_pltexit.
20307 (pltexit): Cast int_retval to ptrdiff_t.
20308 * elf/tst-auditmod3b.c: Likewise.
20309 * elf/tst-auditmod4b.c: Likewise.
20310 * elf/tst-auditmod5b.c: Likewise.
20311 * elf/tst-auditmod6b.c: Likewise.
20312 * elf/tst-auditmod6c.c: Likewise.
20313 * elf/tst-auditmod7b.c: Likewise.
20315 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20316 and x32_gnu_pltexit.
20318 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20319 __ELF_NATIVE_CLASS.
20320 (La_x32_regs): New macro.
20321 (La_x32_retval): Likewise.
20322 (la_x32_gnu_pltenter): New function prototype.
20323 (la_x32_gnu_pltexit): Likewise.
20325 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20327 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20332 * configure.in (libc_cv_cc_nofma): Check for option to disable
20333 generation of FMA instructions.
20334 * configure: Regenerate.
20335 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20336 * sysdeps/ieee754/dbl-64/Makefile: New file.
20337 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20338 Remove brandred-fma4.
20339 (CFLAGS-brandred-fma4.c): Remove.
20340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20341 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20343 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20346 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20348 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20349 LLONG_MAX != LONG_MAX.
20350 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20351 (_fitoa_word): Likewise.
20352 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20353 LLONG_MAX != LONG_MAX.
20354 * stdio-common/_itowa.h: Include <_itoa.h>.
20355 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20356 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20357 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20358 only if not defined.
20359 (_ITOA_WORD_TYPE): Likewise.
20360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20361 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20363 2012-03-21 David S. Miller <davem@davemloft.net>
20365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20367 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20369 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20370 of x86_64 when setting libc_cv_slibdir, libdir and
20372 * sysdeps/unix/sysv/linux/configure: Regenerated.
20374 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20376 * manual/lang.texi (Old Varargs): Remove section.
20377 (How Variadic): Update menu.
20378 (va_start): Do not mention varargs.h.
20380 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20381 Joseph Myers <joseph@codesourcery.com>
20383 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20385 * configure: Regenerated.
20387 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20389 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20390 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20393 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20396 * Makefile (files-for-dist): Remove NOTES.
20397 (NOTES): Remove rule.
20398 * README: Don't refer to NOTES.
20399 * manual/creature.texi: Don't include macros.texi.
20400 * manual/intro.texi (creature.texi): Remove comment referring to
20403 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20404 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20405 * configure: Regenerated.
20406 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20407 LIBC_TRY_CC_OPTION.
20408 (libc_cv_as_i686): Likewise.
20409 (libc_cv_cc_avx): Likewise.
20410 (libc_cv_cc_sse2avx): Likewise.
20411 (libc_cv_cc_fma4): Likewise.
20412 (libc_cv_cc_novzeroupper): Likewise.
20413 * sysdeps/i386/configure: Regenerated.
20416 * sysdeps/i386/fpu/s_cexp.S: Remove.
20417 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20418 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20419 * math/libm-test.inc (cexp_test): Add more tests.
20420 * sysdeps/i386/fpu/libm-test-ulps: Update.
20421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20423 2012-03-21 Allan McRae <allan@archlinux.org>
20425 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20427 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20430 * math/w_exp2.c: Do not include <float.h>.
20431 (o_threshold, u_threshold): Remove.
20432 (__exp2): Calculate result before checking finiteness and calling
20434 * math/w_exp2f.c: Likewise.
20435 * math/w_exp2l.c: Likewise.
20436 * math/libm-test.inc (exp2_test): Require overflow exception for
20440 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20441 range of signed 64-bit integers before using fistpll. Remove
20442 checks for whether integers fit in mantissa bits.
20443 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20444 the range of signed 32-bit integers before using fistpl. Remove
20445 checks for whether integers fit in mantissa bits.
20446 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20447 (__ieee754_powl): Test for y outside the range of signed 64-bit
20448 integers before using fistpll. Reduce 64-bit values to 63-bit
20450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20451 divide-by-zero is raised for zero to large negative powers.
20452 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20453 (__ieee754_powl): Test for y outside the range of signed 64-bit
20454 integers before using fistpll. Reduce 64-bit values to 63-bit
20456 * math/libm-test.inc (pow_test): Add more tests.
20458 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20460 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20461 <stdio-common/_itoa.h>.
20462 * debug/segfault.c: Likewise.
20463 * elf/dl-cache.c: Likewise.
20464 * elf/dl-minimal.c: Likewise.
20465 * elf/dl-misc.c: Likewise.
20466 * elf/dl-sysdep.c: Likewise.
20467 * elf/dl-version.c: Likewise.
20468 * elf/rtld.c: Likewise.
20469 * hurd/hurdsock.c: Likewise.
20470 * hurd/lookup-retry.c: Likewise.
20471 * malloc/malloc.c: Likewise.
20472 * malloc/mtrace.c: Likewise.
20473 * nscd/nscd_getgr_r.c: Likewise.
20474 * nscd/nscd_getpw_r.c: Likewise.
20475 * nscd/nscd_getserv_r.c: Likewise.
20476 * posix/getopt_init.c: Likewise.
20477 * posix/wordexp.c: Likewise.
20478 * stdio-common/_itoa.c: Likewise.
20479 * stdio-common/printf_fphex.c: Likewise.
20480 * stdio-common/vfprintf.c: Likewise.
20481 * string/_strerror.c: Likewise.
20482 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20483 * sysdeps/i386/i686/hp-timing.h: Likewise.
20484 * sysdeps/mach/_strerror.c: Likewise.
20485 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20486 * sysdeps/mach/hurd/sethostid.c: Likewise.
20487 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20488 * sysdeps/mach/xpg-strerror.c: Likewise.
20489 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20490 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20491 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20492 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20494 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20495 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20496 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20497 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20498 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20499 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20500 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20501 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20502 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20503 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20504 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20505 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20506 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20507 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20508 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20509 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20511 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20513 * stdio-common/_itoa.h: Moved to ...
20514 * sysdeps/generic/_itoa.h: Here.
20516 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20518 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20519 instead of "_itoa.h" and "_itowa.h".
20520 * stdio-common/vfprintf.: Likewise.
20522 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20524 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20526 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20527 (__signbit): Likwise.
20528 (llrintf): Likwise.
20531 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20533 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20536 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20538 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20539 OVERFLOW_EXCEPTION_OK.
20540 * math/libm-test.inc ("Philosophy"): Update comment about
20542 (OVERFLOW_EXCEPTION): Define.
20543 (OVERFLOW_EXCEPTION_OK): Likewise.
20544 (INVALID_EXCEPTION_OK): Renumber.
20545 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20546 (IGNORE_ZERO_INF_SIGN): Likewise.
20547 (test_exceptions): Handle FE_OVERFLOW.
20548 (exp10_test): Expect overflow exceptions.
20549 (exp2_test): Likewise.
20550 (expm1_test): Likewise.
20551 (nextafter_test): Likewise.
20552 (pow_test): Likewise.
20553 (scalbn_test): Likewise.
20554 (scalbln_test): Likewise.
20556 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20558 * sysdeps/x86_64/bits/atomic.h
20559 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20561 (atomic_exchange_acq): Likewise.
20562 (__arch_exchange_and_add_body): Likewise.
20563 (__arch_add_body): Likewise.
20564 (atomic_add_negative): Likewise.
20565 (atomic_add_zero): Likewise.
20567 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20569 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20570 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20572 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20574 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20575 Check __x86_64__ instead of __WORDSIZE.
20577 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20579 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20581 2012-03-19 David S. Miller <davem@davemloft.net>
20583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20585 * sysdeps/sparc/fpu/fenv_private.h: New file.
20586 * sysdeps/sparc/fpu/math_private.h: Use it.
20587 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20589 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20590 (libc_feholdexcept_setroundl): Remove.
20591 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20593 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20594 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20596 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20598 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20599 int64_t instead of long int.
20600 (INSERT_WORDS64): Likwise.
20602 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20604 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20605 _Unwind_GetCFA return to _Unwind_Ptr first.
20607 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20610 * math/s_clog.c: Include <float.h>.
20611 (__clog): Scale large or subnormal inputs.
20612 * math/s_clogf.c: Likewise.
20613 * math/s_clogl.c: Likewise.
20614 * math/s_clog10.c: Include <float.h>.
20615 (M_LOG10_2): Define.
20616 (__clog10): Scale large or subnormal inputs.
20617 * math/s_clog10f.c: Likewise.
20618 * math/s_clog10l.c: Likewise.
20619 * math/libm-test.inc (clog_test): Add more tests.
20620 (clog10_test): Likewise.
20621 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20625 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20627 * math/libm-test.inc (atan2_test): Add another test.
20629 * Makerules (common-objdir-compile): Remove.
20630 * sysdeps/unix/Makefile (config-generated): Do not add
20631 $(unix-generated) to variable.
20632 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20633 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20635 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20637 [generic bits/local_lim.h] (before-compile): Do not append to
20639 [generic bits/local_lim.h] (common-generated): Likewise.
20640 [generic sys/param.h] (before-compile): Do not append to variable.
20641 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20642 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20643 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20644 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20646 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20647 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20648 [generic sys/param.h] ($(addprefix
20649 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20650 [generic sys/param.h] (common-generated): Do not append to
20652 [generic sys/param.h] (sysdep_headers): Likewise.
20653 [generic bits/errno.h] (before-compile): Do not append to
20655 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20657 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20658 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20659 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20660 [generic bits/errno.h] (common-generated): Do not append to
20662 [generic bits/ioctls.h] (before-compile): Do not append to
20664 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20666 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20667 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20668 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20670 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20671 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20672 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20673 [generic bits/ioctls.h] (common-generated): Do not append to
20675 [generic sys/syscall.h] (syscall.h): Remove variable.
20676 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20678 [generic sys/syscall.h] (before-compile): Do not append to
20680 [generic sys/syscall.h] (common-generated): Likewise.
20681 * sysdeps/unix/errnos-tmpl.c: Remove file.
20682 * sysdeps/unix/errnos.awk: Likewise.
20683 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20684 * sysdeps/unix/ioctls.awk: Likewise.
20685 * sysdeps/unix/mk-local_lim.c: Likewise.
20686 * sysdeps/unix/snarf-ioctls: Likewise.
20688 2012-03-19 Richard Henderson <rth@twiddle.net>
20690 * sysdeps/i386/fpu/fenv_private.h: New file.
20691 * sysdeps/i386/fpu/math_private.h: Use it.
20692 (math_opt_barrier, math_force_eval): Remove.
20693 (libc_feholdexcept_setround_53bit): Remove.
20694 (libc_feupdateenv_53bit): Remove.
20695 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20696 (math_opt_barrier, math_force_eval): Remove.
20697 (libc_feholdexcept): Remove.
20698 (libc_feholdexcept_setround): Remove.
20699 (libc_fetestexcept, libc_fesetenv): Remove.
20700 (libc_feupdateenv_test): Remove.
20701 (libc_feupdateenv, libc_feholdsetround): Remove.
20702 (libc_feresetround): Remove.
20704 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20705 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20707 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20708 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20709 (libc_feupdateenv_testl): New.
20710 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20711 (libc_feupdateenv_testf): New.
20712 (libc_feupdateenv): Use libc_feupdateenv_test.
20713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20714 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20716 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20717 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20718 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20719 (libc_feresetround_noex): New.
20720 (libc_feresetround_noexf): New.
20721 (libc_feresetround_noexl): New.
20722 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20723 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20724 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20725 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20728 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20730 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20731 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20732 SET_RESTORE_ROUND_NOEX.
20733 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20734 SET_RESTORE_ROUND_NOEXF.
20735 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20736 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20737 (libc_feholdsetroundf): New.
20738 (libc_feresetround, libc_feresetroundf): New.
20740 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20741 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20742 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20744 * sysdeps/generic/math_private.h: Include <fenv.h>.
20745 (default_libc_feholdexcept): New.
20746 (default_libc_feholdexcept_setround): New.
20747 (default_libc_fesetenv, default_libc_feupdateenv): New.
20748 (libc_feholdexcept): Only define if undefined.
20749 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20750 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20751 (libc_feholdexcept_setroundl): Likewise.
20752 (libc_feholdexcept_setround_53bit): Likewise.
20753 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20754 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20755 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20756 (libc_feupdateenv_53bit): Likewise.
20757 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20758 (libc_feholdexcept): Convert from macro to inline function.
20759 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20760 (libc_fesetenv, libc_feupdateenv): Likewise.
20762 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20763 not previously defined.
20764 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20765 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20766 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20767 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20768 * sysdeps/ieee754/flt-32/math_private.h: New file.
20769 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20770 math_private.h below SET_FLOAT_WORD.
20771 (__isnan, __isinf_ns, __finite): Remove.
20772 (__isnanf, __isinf_nsf, __finitef): Remove.
20774 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20778 2012-03-17 David S. Miller <davem@davemloft.net>
20781 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20784 2012-03-16 David S. Miller <davem@davemloft.net>
20786 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20790 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20792 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20793 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20794 sysdep_routines when subdir is sysvipc.
20795 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20796 __getshmlba helper.
20798 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20800 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20802 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20805 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20807 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20808 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20809 (__lround): Renamed to ...
20810 (__llround): This. Replace long int with long long int.
20811 Define lround functions as aliases of llround functions.
20812 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20814 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20816 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20817 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20818 adresses to uintptr_t. Replace "long int" and "unsigned long
20819 int" with "greg_t" on va_arg.
20821 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20823 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20824 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20826 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20827 Move e_machine check before EI_CLASS check. Handle x32
20828 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20829 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20830 SKIP_EM_IA_64 and include
20831 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20833 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20834 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20835 (add_system_dir): New macro.
20837 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20838 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20840 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20851 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20853 * math/w_j0f.c (j0f): Likewise.
20855 * math/w_j0l.c (__j0l): Likewise.
20857 * math/w_j1.c (j1): Likewise.
20859 * math/w_j1f.c (j1f): Likewise.
20861 * math/w_j1l.c (__j1l): Likewise.
20863 * math/w_jn.c (jn): Likewise.
20865 * math/w_jnf.c (jnf): Likewise.
20867 * math/w_jnl.c (__jnl): Likewise.
20869 * math/libm-test.inc (j0_test): Add more tests.
20870 (j1_test): Likewise.
20871 (jn_test): Likewise. Add trailing semicolon to existing test.
20872 (y0_test): Likewise.
20873 (y1_test): Likewise.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20879 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20880 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20881 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20882 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20883 (__tanl): Set errno for infinite argument.
20884 * sysdeps/i386/fpu/mptan.c: Remove.
20885 * sysdeps/i386/fpu/s_tan.S: Likewise.
20886 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20887 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20888 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20889 * math/libm-test.inc (tan_test): Add more tests and enable more
20890 tests for double and long double.
20891 * sysdeps/i386/fpu/libm-test-ulps: Update.
20892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20894 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20896 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20897 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20899 2012-03-16 Roland McGrath <roland@hack.frob.com>
20901 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20902 * configure.in: Use it for both main tree and add-ons.
20903 * configure: Regenerated.
20905 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20907 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20909 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20911 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20915 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20916 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20919 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20921 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20922 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20923 != 0 for prec == 2.
20924 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20925 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20926 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20927 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20928 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20929 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20930 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20931 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20932 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20933 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20934 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20935 * math/libm-test.inc (cos_test): Add more tests and enable more
20936 tests for long double.
20937 (sin_test): Likewise.
20938 (sincos_test): Likewise.
20939 * sysdeps/i386/fpu/libm-test-ulps: Update.
20940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20942 2012-03-16 David S. Miller <davem@davemloft.net>
20944 * sysdeps/sparc/fpu/math_private.h: New file.
20946 2012-03-15 David S. Miller <davem@davemloft.net>
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20962 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20963 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20965 * sysdeps/sparc/sparc-ifunc.h: New file.
20966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21011 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21013 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21017 2012-03-15 Andreas Jaeger <aj@suse.de>
21020 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21021 ieee754/flt-32 implementation for sin, cos and sincos.
21022 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21023 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21024 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21025 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21026 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21027 ieee754/flt-32 implementation for tan.
21029 * math/libm-test.inc (cos_test): Enable some large input tests for
21031 (sin_test): Likewise.
21032 (sincos_test): Likewise.
21033 (tan_test): Add tests for large input.
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21037 2012-03-15 Andreas Jaeger <aj@suse.de>
21040 * math/libm-test.inc (cos_test): Add more test cases.
21041 (sin_test): Likewise.
21042 (sincos_test): Likewise.
21044 2012-03-15 Andreas Jaeger <aj@suse.de>
21047 * math/libm-test.inc (cos_test): Add a test case for large input
21049 (sin_test): Likewise.
21050 (sincos_test): Likewise.
21052 2012-03-15 Andreas Jaeger <aj@suse.de>,
21053 Joseph Myers <joseph@codesourcery.com>
21056 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21057 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21058 * sysdeps/i386/fpu/branred.c: Likewise.
21059 * sysdeps/i386/fpu/dosincos.c: Likewise.
21060 * sysdeps/i386/fpu/mpa.c: Likewise.
21061 * sysdeps/i386/fpu/s_cos.S: Likewise.
21062 * sysdeps/i386/fpu/s_sin.S: Likewise.
21063 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21064 * sysdeps/i386/fpu/sincos32.c: Likewise.
21066 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21068 (libc_feupdateenv_53bit): Define.
21069 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21071 (libc_feupdateenv_53bit): Define.
21073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21074 53 bit (without extend i386 double precision).
21076 * math/libm-test.inc (sincos_test): Add tests for large input.
21080 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21082 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21086 2012-03-15 David S. Miller <davem@davemloft.net>
21088 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21089 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21090 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21091 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21116 fmin/fmax sysdep routines.
21117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21119 2012-03-14 David S. Miller <davem@davemloft.net>
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21193 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21198 * sysdeps/sparc/configure.in: New file.
21199 * sysdeps/sparc/configure: Generate.
21200 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21201 * configure: Regenerate.
21202 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21203 * config.make.in (have-as-vis3): New.
21204 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21205 available use -Av9d instead of -Av9a.
21206 * sysdeps/sparc/sparc64/Makefile: Likewise.
21207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21222 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21223 fzeros/fnegs to load 0x80000000 into a float register instead of
21225 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21227 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21231 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21232 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21233 ($(inst_includedir)/bits/syscall.h): Remove rule.
21234 ($(objpfx)bits/syscall.d): Include instead of
21235 $(objpfx)syscall-list.d.
21236 (generated): Change syscall-list.h and syscall-list.d to
21237 bits/syscall.h and bits/syscall.d.
21239 2012-03-14 Roland McGrath <roland@hack.frob.com>
21242 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21244 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21247 * math/s_csqrt.c: Include <float.h>.
21248 (__csqrt): Scale large or subnormal inputs.
21249 * math/s_csqrtf.c: Likewise.
21250 * math/s_csqrtl.c: Likewise.
21251 * math/libm-test.inc (csqrt_test): Add more tests.
21252 * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21256 * math/libm-test.inc (hypot_test): Add more tests.
21258 2012-03-13 David S. Miller <davem@davemloft.net>
21261 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21262 double-precision for the calculation instead of scaling.
21264 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21266 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21267 manipulate bits before adding and subtracting TWO52[sx].
21268 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21269 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21271 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21273 2012-03-13 David S. Miller <davem@davemloft.net>
21275 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21276 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21278 rtld-global-offsets.h
21279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21281 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21284 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21286 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21287 'err' in the ifdef scope in which it is actually used.
21289 * nss/nss_db/db-init.c: Include string.h
21291 2012-03-12 David S. Miller <davem@davemloft.net>
21293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21294 masking out of the most significant byte of random value used.
21295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21296 Fix coding style in previous change.
21298 * sysdeps/unix/sysv/linux/kernel-features.h
21299 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21300 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21302 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21305 2012-03-11 David S. Miller <davem@davemloft.net>
21307 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21308 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21309 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21310 for 'resultvar' otherwise things get truncated on 64-bit.
21312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21313 Fix masking out of the most significant byte of random value used.
21315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21317 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21321 2012-03-09 David S. Miller <davem@davemloft.net>
21323 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21324 variables with appropriate CPP guards.
21325 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21326 frame pointer, not the stack pointer. Correct layout comments. Fix test
21327 on resulting framesize and the management of the outregs buffer for pltexit.
21328 Preserve floating point return values across _dl_call_pltexit call.
21329 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21330 framesize and the management of the outregs buffer for pltexit.
21331 Preserve floating point return values across _dl_call_pltexit
21333 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21334 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21335 (print_exit): Fix format string for return register value.
21337 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21339 * sunrpc/Makefile (others): Add rpcgen.
21340 ($(objpfx)rpcgen): Remove special build rule and dependency on
21342 * sunrpc/rpcgen.c: New file.
21344 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21347 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21348 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21349 * sysdeps/i386/crti.S: Likewise.
21350 * sysdeps/i386/crtn.S: Likewise.
21351 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21352 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21353 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21354 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21355 * sysdeps/sh/crti.S: Likewise.
21356 * sysdeps/sh/crtn.S: Likewise.
21357 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21360 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21362 * locale/programs/locfile-kw.gperf: Likewise.
21363 * locale/programs/charmap-kw.h: Regenerated.
21364 * locale/programs/locfile-kw.h: Likewise.
21367 * intl/plural.y: Replace FSF snail mail address with URL.
21368 * intl/plural.c: Regenerated.
21370 2012-03-09 Richard Henderson <rth@twiddle.net>
21372 * include/math_private.h: Remove file.
21373 * math/math_private.h: Move file ...
21374 * sysdeps/generic/math_private.h: ... here.
21376 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21377 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21378 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21380 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21381 and <math_private.h>.
21382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21390 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21393 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21401 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21403 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21404 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21412 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21414 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21415 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21419 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21420 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21422 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21423 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21424 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21425 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21426 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21427 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21428 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21429 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21431 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21432 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21433 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21434 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21435 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21436 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21437 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21438 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21440 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21441 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21462 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21463 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21464 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21468 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21469 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21470 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21471 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21472 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21473 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21475 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21476 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21477 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21478 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21479 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21482 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21483 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21484 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21485 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21486 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21487 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21488 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21489 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21490 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21492 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21493 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21494 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21495 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21496 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21497 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21498 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21499 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21500 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21501 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21502 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21503 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21504 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21505 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21506 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21507 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21508 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21509 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21510 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21511 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21512 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21513 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21514 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21515 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21516 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21518 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21519 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21520 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21521 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21522 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21523 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21524 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21525 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21526 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21527 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21528 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21529 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21530 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21531 * sysdeps/ieee754/k_standard.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21544 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21545 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21546 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21548 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21553 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21556 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21557 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21563 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21636 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21664 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21680 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21681 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21682 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21692 * sysdeps/ieee754/s_lib_version.c: Likewise.
21693 * sysdeps/ieee754/s_matherr.c: Likewise.
21694 * sysdeps/ieee754/s_signgam.c: Likewise.
21695 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21696 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21697 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21698 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21699 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21700 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21701 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21702 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21703 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21704 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21705 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21706 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21707 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21708 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21709 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21711 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21712 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21713 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21717 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21719 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21720 * sunrpc/rpc_main.c: Likewise.
21721 * sunrpc/rpc_svcout.c: Likewise.
21723 2012-03-09 David S. Miller <davem@davemloft.net>
21725 * include/math_private.h: New file.
21727 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21729 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21730 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21731 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21732 from <bits/socket_type.h>.
21733 (enum __socket_type): Don't define here.
21734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21736 bits/socket_type.h.
21739 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21740 checking __USE_GNU.
21742 * Makerules ($(inst_includedir)/%.h): New rule.
21743 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21744 (install-others): Remove variable setting.
21745 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21747 2012-03-08 Richard Henderson <rth@twiddle.net>
21749 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21750 from macro to inline function; merge with the
21751 !__LIBC_INTERNAL_MATH_INLINES version.
21752 (__ieee754_sqrtf): Likewise.
21754 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21755 to inline function.
21756 (__rintf, __floor, __floorf): Likewise.
21758 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21759 macro to inline function.
21760 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21762 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21763 not <math/math_private.h>.
21765 2012-03-08 David S. Miller <davem@davemloft.net>
21767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21769 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21771 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21773 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21775 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21776 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21778 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21780 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21781 be defined individually, they must be defined as a block. Define
21782 S for printing a string instead of hidint the different by using a
21783 macro for adding the 'l'.
21784 * stdio-common/tst-fphex-wide.c: Adjust.
21786 2012-03-07 Marek Polacek <polacek@redhat.com>
21788 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21790 2012-03-08 Marek Polacek <polacek@redhat.com>
21793 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21794 * stdio-common/tst-fphex.c: Define a few macros to make the
21795 test reusable. Use them.
21796 * stdio-common/tst-fphex-wide.c: New file.
21798 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21801 * manual/macros.texi (gnusystems): New macro.
21802 (nongnusystems): Likewise.
21803 (gnulinuxhurdsystems): Likewise.
21804 (gnuhurdsystems): Likewise..
21805 (gnulinuxsystems): Likewise.
21806 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21807 variants of the GNU system, not "GNU system".
21808 * manual/conf.texi: Likewise.
21809 * manual/errno.texi: Likewise. Update example of errno macro
21811 * manual/filesys.texi: Likewise.
21812 (getumask): Document as specific to GNU/Hurd.
21813 * manual/install.texi: Likewise. Reword some references to
21815 * manual/intro.texi: Likewise.
21816 * manual/io.texi: Likewise.
21817 (File Name Portability): Detail which constraints are inapplicable
21818 to all GNU systems and which are only inapplicable to GNU/Hurd.
21819 * manual/job.texi: Likewise.
21820 * manual/llio.texi: Likewise.
21821 (O_NOCTTY): Document as present on GNU/Linux.
21822 * manual/maint.texi: Likewise.
21823 * manual/memory.texi: Likewise.
21824 * manual/pattern.texi: Likewise.
21825 * manual/pipe.texi: Likewise.
21826 * manual/process.texi: Likewise.
21827 * manual/resource.texi: Likewise.
21828 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21830 * manual/setjmp.texi: Likewise.
21831 * manual/signal.texi: Likewise.
21832 * manual/startup.texi: Likewise.
21833 * manual/stdio.texi: Likewise.
21834 * manual/terminal.texi: Likewise.
21835 (ONLCR): Document as POSIX.
21836 (OXTABS): Document availability on GNU/Linux as XTABS.
21837 (ONOEOT): Document availability separately from other bits.
21838 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21839 * manual/time.texi: Likewise.
21840 * manual/users.texi: Likewise.
21841 * INSTALL: Regenerated.
21842 * sysdeps/gnu/errlist.c: Regenerated.
21844 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21845 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21846 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21848 * configure: Regenerated.
21850 2012-03-07 Joseph Myers <joseph@codesourcery.com>
21852 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21853 default includes instead of AC_HEADER_CHECK.
21854 * sysdeps/i386/configure: Regenerated.
21857 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21858 * math/s_cacoshf.c (__cacoshf): Likewise.
21859 * math/s_cacoshl.c (__cacoshl): Likewise.
21860 * math/s_casinh.c (__casinh): Set signs of result from argument.
21861 * math/s_casinhf.c (__casinhf): Likewise.
21862 * math/s_casinhl.c (__casinhl): Likewise.
21863 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21864 (casinh_test): Add more tests.
21865 * sysdeps/i386/fpu/libm-test-ulps: Update.
21866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21868 2012-03-07 Ulrich Drepper <drepper@gmail.com>
21870 * po/zh_TW.po: Update from translation team.
21872 * login/Makefile (distribute): Remove variable.
21873 * catgets/Makefile: Likewise.
21874 * mach/Makefile: Likewise.
21875 * malloc/Makefile: Likewise.
21876 * misc/Makefile: Likewise.
21877 * iconv/Makefile: Likewise.
21878 * nscd/Makefile: Likewise.
21879 * hurd/Makefile: Likewise.
21880 * manual/Makefile: Likewise.
21881 * locale/Makefile: Likewise.
21882 * intl/Makefile: Likewise.
21883 * conform/Makefile: Likewise.
21884 * nss/Makefile: Likewise.
21885 * time/Makefile: Likewise.
21886 * soft-fp/Makefile: Likewise.
21887 * dirent/Makefile: Likewise.
21888 * gmon/Makefile: Likewise.
21889 * po/Makefile: Likewise.
21890 * rt/Makefile: Likewise.
21891 * socket/Makefile: Likewise.
21892 * math/Makefile: Likewise.
21893 * signal/Makefile: Likewise.
21894 * debug/Makefile: Likewise.
21895 * elf/Makefile: Likewise.
21896 * timezone/Makefile: Likewise.
21897 * stdlib/Makefile: Likewise.
21898 * iconvdata/Makefile: Likewise.
21899 * sunrpc/Makefile: Likewise.
21900 * io/Makefile: Likewise.
21901 * argp/Makefile: Likewise.
21902 * inet/Makefile: Likewise.
21903 * hesiod/Makefile: Likewise.
21904 * grp/Makefile: Likewise.
21905 * csu/Makefile: Likewise.
21906 * wctype/Makefile: Likewise.
21907 * crypt/Makefile: Likewise.
21908 * libio/Makefile: Likewise.
21909 * string/Makefile: Likewise.
21910 * nis/Makefile: Likewise.
21911 * resolv/Makefile: Likewise.
21912 * stdio-common/Makefile: Likewise.
21913 * wcsmbs/Makefile: Likewise.
21914 * dlfcn/Makefile: Likewise.
21915 * posix/Makefile: Likewise.
21918 * timezone/Makefile: Don't install timezone files, just the programs
21921 2012-03-06 Ulrich Drepper <drepper@gmail.com>
21923 * nss/databases.def: Add missing gshadow entry.
21925 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21927 2012-03-06 Marek Polacek <polacek@redhat.com>
21930 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21931 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21932 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21933 * stdio-common/tst-long-dbl-fphex.c: New file.
21935 2012-03-06 David S. Miller <davem@davemloft.net>
21937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21938 (set_obp_int): New function.
21939 (get_obp_int): New function.
21940 (__get_clockfreq_via_dev_openprom): Likewise.
21941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21942 Avoid unused variable warnings on 'val' and use builtin_expect.
21943 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21945 (INLINE_CLONE_SYSCALL): Likewise.
21947 2012-03-05 David S. Miller <davem@davemloft.net>
21949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21951 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21956 only for |x| >= 40.
21957 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21959 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
21961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21962 Replace gettimeofday with __vdso_gettimeofday.
21964 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21965 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21966 __vdso_clock_gettime and __vdso_getcpu.
21968 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21969 time with __vdso_time.
21971 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21973 * manual/lang.texi (size_t): Note types to which size_t may be
21974 equivalent with the GNU C Library, but do not describe when
21975 differences between them are significant.
21977 2012-03-05 Andreas Jaeger <aj@suse.de>
21979 * sysdeps/i386/fpu/libm-test-ulps: Update.
21981 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21984 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21985 (__ieee754_pow): Save and restore rounding mode and use
21986 round-to-nearest for main computations.
21987 * math/libm-test.inc (pow_test_tonearest): New function.
21988 (pow_test_towardzero): Likewise.
21989 (pow_test_downward): Likewise.
21990 (pow_test_upward): Likewise.
21991 (main): Call the new functions.
21992 * sysdeps/i386/fpu/libm-test-ulps: Update.
21993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21996 * math/libm-test.inc (cosh_test_tonearest): New function.
21997 (cosh_test_towardzero): Likewise.
21998 (cosh_test_downward): Likewise.
21999 (cosh_test_upward): Likewise.
22000 (sinh_test_tonearest): Likewise.
22001 (sinh_test_towardzero): Likewise.
22002 (sinh_test_downward): Likewise.
22003 (sinh_test_upward): Likewise.
22004 (main): Call the new functions.
22005 * sysdeps/i386/fpu/libm-test-ulps: Update.
22006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22008 2012-03-05 Tom de Vries <tom@codesourcery.com>
22010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22011 default stack guard is set in last bytes.
22012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22014 2012-03-05 Kees Cook <keescook@chromium.org>
22016 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22019 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22020 possibly allocate from heap instead of stack.
22021 * stdio-common/bug-vfprintf-nargs.c: New file.
22022 * stdio-common/Makefile (tests): Add nargs overflow test.
22024 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22028 2012-03-03 Marek Polacek <polacek@redhat.com>
22030 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22031 * math/math_private.h: Likewise.
22032 * stdlib/tst-strtod.c: Likewise.
22033 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22034 * sysdeps/x86_64/bits/atomic.h: Likewise.
22036 2012-03-02 David S. Miller <davem@davemloft.net>
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22042 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22043 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22044 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22045 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22047 2012-03-02 Roland McGrath <roland@hack.frob.com>
22050 * manual/examples/README: New file, says the example source files
22051 can be used under GPL>=2.
22052 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22053 line containing just "*/".
22054 * manual/examples/add.c: Add copyright header (GPL>=2).
22055 * manual/examples/argp-ex1.c: Likewise.
22056 * manual/examples/argp-ex2.c: Likewise.
22057 * manual/examples/argp-ex3.c: Likewise.
22058 * manual/examples/argp-ex4.c: Likewise.
22059 * manual/examples/atexit.c: Likewise.
22060 * manual/examples/db.c: Likewise.
22061 * manual/examples/dir.c: Likewise.
22062 * manual/examples/dir2.c: Likewise.
22063 * manual/examples/execinfo.c: Likewise.
22064 * manual/examples/filecli.c: Likewise.
22065 * manual/examples/filesrv.c: Likewise.
22066 * manual/examples/fmtmsgexpl.c: Likewise.
22067 * manual/examples/genpass.c: Likewise.
22068 * manual/examples/inetcli.c: Likewise.
22069 * manual/examples/inetsrv.c: Likewise.
22070 * manual/examples/isockad.c: Likewise.
22071 * manual/examples/longopt.c: Likewise.
22072 * manual/examples/memopen.c: Likewise.
22073 * manual/examples/memstrm.c: Likewise.
22074 * manual/examples/mkfsock.c: Likewise.
22075 * manual/examples/mkisock.c: Likewise.
22076 * manual/examples/mygetpass.c: Likewise.
22077 * manual/examples/pipe.c: Likewise.
22078 * manual/examples/popen.c: Likewise.
22079 * manual/examples/rprintf.c: Likewise.
22080 * manual/examples/search.c: Likewise.
22081 * manual/examples/select.c: Likewise.
22082 * manual/examples/setjmp.c: Likewise.
22083 * manual/examples/sigh1.c: Likewise.
22084 * manual/examples/sigusr.c: Likewise.
22085 * manual/examples/stpcpy.c: Likewise.
22086 * manual/examples/strdupa.c: Likewise.
22087 * manual/examples/strftim.c: Likewise.
22088 * manual/examples/strncat.c: Likewise.
22089 * manual/examples/subopt.c: Likewise.
22090 * manual/examples/swapcontext.c: Likewise.
22091 * manual/examples/termios.c: Likewise.
22092 * manual/examples/testopt.c: Likewise.
22093 * manual/examples/testpass.c: Likewise.
22094 * manual/examples/timeval_subtract.c: Likewise.
22097 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22099 * manual/timeval_subtract.c.texi: ... here, new file.
22101 2012-03-02 David S. Miller <davem@davemloft.net>
22103 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22105 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22108 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22109 (__sin): Save and restore rounding mode and use round-to-nearest
22110 for all computations.
22111 (__cos): Save and restore rounding mode and use round-to-nearest
22112 for all computations.
22113 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22115 (tan): Save and restore rounding mode and use round-to-nearest for
22117 * math/libm-test.inc (cos_test_tonearest): New function.
22118 (cos_test_towardzero): Likewise.
22119 (cos_test_downward): Likewise.
22120 (cos_test_upward): Likewise.
22121 (sin_test_tonearest): Likewise.
22122 (sin_test_towardzero): Likewise.
22123 (sin_test_downward): Likewise.
22124 (sin_test_upward): Likewise.
22125 (tan_test_tonearest): Likewise.
22126 (tan_test_towardzero): Likewise.
22127 (tan_test_downward): Likewise.
22128 (tan_test_upward): Likewise.
22129 (main): Call the new functions.
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22135 small n, then large n, before computing and testing k+n.
22136 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22141 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22142 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22143 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22147 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22148 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22149 * math/libm-test.inc (scalbn_test): Add more tests.
22150 (scalbln_test): Likewise.
22152 * manual/filesys.texi (mode_t): Describe constraints on size and
22153 signedness, not exact equivalence to a particular type.
22155 (ino64_t): Likewise.
22157 (nlink_t): Likewise.
22158 (blkcnt_t): Likewise.
22159 (blkcnt64_t): Likewise.
22160 * manual/llio.texi (off_t): Likewise.
22163 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22164 (__ieee754_exp): Save and restore rounding mode and use
22165 round-to-nearest for all computations.
22166 * math/libm-test.inc (exp_test_tonearest): New function.
22167 (exp_test_towardzero): Likewise.
22168 (exp_test_downward): Likewise.
22169 (exp_test_upward): Likewise.
22170 (main): Call the new functions.
22171 * sysdeps/i386/fpu/libm-test-ulps: Update.
22172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22174 2012-03-01 Chris Demetriou <cgd@google.com>
22176 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22177 have predictable order.
22179 2012-03-01 David S. Miller <davem@davemloft.net>
22181 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22183 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22184 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22185 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22186 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22188 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22189 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22190 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22192 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22193 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22194 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22195 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22196 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22201 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22202 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22204 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22205 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22206 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22207 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22208 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22210 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22211 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22212 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22213 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22215 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22217 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22218 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22220 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22221 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22222 * sysdeps/sparc/elf/configure: Regenerated.
22224 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22226 * configure.in (AS, LD): Require binutils 2.20 or later.
22227 * configure: Regenerated.
22228 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22229 as required minimum version.
22230 * INSTALL: Regenerated.
22234 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22235 before squaring exponent.
22236 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22237 bottom long double and 27 bits of top long double before squaring
22239 * math/libm-test.inc (erfc_test): Add more tests.
22240 * sysdeps/i386/fpu/libm-test-ulps: Update.
22241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244 2012-03-01 Kai Tietz <ktietz@redhat.com>
22246 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22247 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22248 containing bit-fields.
22249 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22250 * soft-fp/single.h (_FP_UNION_S): Likewise.
22251 * soft-fp/double.h (_FP_UNION_D): Likewise.
22253 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22256 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22257 not include ../strcmp.S.
22258 [USE_AS_STRNCASECMP_L]: Likewise.
22259 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22260 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22261 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22262 (__strncasecmp_l_ia32): Define as alias to
22263 __strncasecmp_l_nonascii.
22266 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22270 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273 2012-02-29 Jeff Law <law@redhat.com>
22275 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22276 out of bounds read.
22278 2012-02-29 Marek Polacek <polacek@redhat.com>
22281 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22282 * elf/Makefile: Add rules to run tst-unused-dep.out.
22284 2012-02-28 David S. Miller <davem@davemloft.net>
22286 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22287 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22290 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22291 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22293 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22295 * math/libm-test.inc (llround_test): Move one test from
22296 lround_test. Use TEST_f_L in moved test.
22297 (lround_test): Move misplaced test to llround_test. Add testcase
22300 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22302 * sysdeps/x86_64/fpu/e_expf.S: New file.
22303 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22305 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22308 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22309 of remain_len that may cause incomplete multi-byte character and
22311 * posix/bug-regex33.c: New file.
22312 * posix/Makefile (tests): Add bug-regex33.
22314 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22316 * manual/macros.texi: New file.
22317 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22318 * manual/libc.texinfo: Include macros.texi.
22319 * manual/creatute.texi: Likewise.
22320 * manual/install.texi: Likewise.
22321 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22322 @glibcadj{} in references to the GNU C Library.
22323 * manual/charset.texi: Likewise.
22324 * manual/conf.texi: Likewise.
22325 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22326 when not using those macros.
22327 * manual/creature.texi: Likewise.
22328 * manual/crypt.texi: Likewise.
22329 * manual/errno.texi: Likewise.
22330 * manual/filesys.texi: Likewise.
22331 * manual/header.texi: Likewise.
22332 * manual/install.texi: Likewise.
22333 * manual/intro.texi: Likewise.
22334 * manual/io.texi: Likewise.
22335 * manual/job.texi: Likewise.
22336 * manual/lang.texi: Likewise.
22337 * manual/libc.texiinfo: Likewise.
22338 * manual/llio.texi: Likewise.
22339 * manual/locale.texi: Likewise.
22340 * manual/maint.texi: Likewise.
22341 * manual/math.texi: Likewise.
22342 * manual/memory.texi: Likewise.
22343 * manual/message.texi: Likewise.
22344 * manual/nss.texi: Likewise.
22345 * manual/pattern.texi: Likewise.
22346 * manual/process.texi: Likewise.
22347 * manual/resource.texi: Likewise.
22348 * manual/search.texi: Likewise.
22349 * manual/setjmp.texi: Likewise.
22350 * manual/signal.texi: Likewise.
22351 * manual/socket.texi: Likewise.
22352 * manual/startup.texi: Likewise.
22353 * manual/stdio.texi: Likewise.
22354 * manual/string.texi: Likewise.
22355 * manual/sysinfo.texi: Likewise.
22356 * manual/syslog.texi: Likewise.
22357 * manual/terminal.texi: Likewise.
22358 * manual/time.texi: Likewise.
22359 * manual/users.texi: Likewise.
22360 * INSTALL: Regenerated.
22361 * NOTES: Regenerated.
22362 * sysdeps/gnu/errlist.c: Regenerated.
22364 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22366 * include/dirent.h: Include <dirstream.h> before
22369 2012-02-28 David S. Miller <davem@davemloft.net>
22371 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22372 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22373 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22374 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22376 2012-02-27 David S. Miller <davem@davemloft.net>
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22380 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22384 frame pointer instead of stack pointer relative arg slot.
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22386 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22387 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22389 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22392 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22394 2012-02-27 David S. Miller <davem@davemloft.net>
22396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22400 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22401 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22402 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22403 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22405 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22407 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22408 later. Allow versions 5-9.
22409 * configure: Regenerated.
22410 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22411 required minimum version and 4.6 as recommended version. Do not
22412 mention bugs in GCC 2.7 and 2.8.
22413 * INSTALL: Regenerated.
22415 2012-02-27 David S. Miller <davem@davemloft.net>
22417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22421 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22422 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22423 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22427 manipulate bits before adding and subtracting TWO112[sx].
22428 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22430 2012-02-27 Roland McGrath <roland@hack.frob.com>
22433 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22434 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22435 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22436 being in POSIX, because they are in 1003.1-2008.
22438 * rt/tst-aio.c: Include <fcntl.h>.
22439 * rt/tst-aio7.c: Likewise.
22440 * rt/tst-aio64.c: Likewise.
22442 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22444 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22446 * manual/install.texi (--with-headers): Describe headers as
22447 interface headers, not private headers.
22448 (Specific advice for GNU/Linux systems): Describe use of headers
22449 from "make headers_install", not private headers from older
22451 * INSTALL: Regenerated.
22452 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22454 * sysdeps/unix/sysv/linux/configure: Regenerated.
22456 * manual/llio.texi (fclean): Remove documentation.
22458 * manual/Makefile (libc-texi-generated): New variable. Include
22460 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22461 $(libc-texi-generated), not duplicated list of files.
22462 (version.texi, stamp-version): New rules.
22463 (realclean): Remove $(libc-texi-generated), not individual files
22464 from that list. Do not remove dir-add.texinfo.
22465 * manual/libc.texinfo: Comment out uses of edition numbers and
22466 references to printed manual. Remove last-updated dates.
22467 (EDITION): Comment out.
22469 (VERSION, UPDATED): Remove.
22470 (version.texi): Include.
22472 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22474 * sysdeps/posix/spawni.c: Include <signal.h>.
22475 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22476 * sysdeps/pthread/aio_fsync.c: Likewise.
22478 2012-02-26 Ulrich Drepper <drepper@gmail.com>
22480 * conform/Makefile (tests): Run only when not cross-compiling and
22481 when fast-check is not defined.
22483 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22484 * conform/data/limits.h-data: Fixes for POSIX2008.
22485 * conform/run-conformtest.sh: Run all tests.
22486 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22488 * include/bits/dlfcn.h: Likewise.
22489 * include/langinfo.h: Likewise.
22490 * include/monetary.h: Likewise.
22491 * include/sys/poll.h: Likewise.
22493 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22495 * posix/spawn.h: Define __need_sigset_t.
22496 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22497 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22498 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22499 to get sigevent_t only.
22500 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22501 only for __USE_GNU.
22502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22503 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22504 process_vm_writev only for __USE_GNU.
22505 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22507 * conform/Makefile: For now ignore errors from run-conformtest.
22508 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22509 POSIX to avoid namespace pollution. Don't prepend headers.
22510 * conform/data/aio.h-data: Fixes for POSIX testing.
22511 * conform/data/fcntl.h-data: Likewise.
22512 * conform/data/glob.h-data: Likewise.
22513 * conform/data/grp.h-data: Likewise.
22514 * conform/data/pthread.h-data: Likewise.
22515 * conform/data/pwd.h-data: Likewise.
22516 * conform/data/signal.h-data: Likewise.
22517 * conform/data/spawn.h-data: Likewise.
22518 * conform/data/stdio.h-data: Likewise.
22519 * conform/data/stdlib.h-data: Likewise.
22520 * conform/data/stropts.h-data: Likewise.
22521 * conform/data/sys/mman.h-data: Likewise.
22522 * conform/data/sys/stat.h-data: Likewise.
22523 * conform/data/sys/types.h-data: Likewise.
22524 * conform/data/sys/wait.h-data: Likewise.
22525 * conform/data/time.h-data: Likewise.
22526 * conform/data/unistd.h-data: Likewise.
22527 * conform/data/utime.h-data: Likewise.
22529 * io/sys/stat.h: fchmod was always in POSIX.
22530 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22531 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22532 * rt/aio.h: Define __need_timespec before including <time.h>.
22533 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22534 struct. Add forward declaration of pthread_attr_t and use it in
22536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22538 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22539 always remove CLK_TCK definition.
22541 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22543 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22545 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22547 * conform/run-conformtest.sh: New file.
22548 * conform/Makefile: Run run-conformtest for tests.
22549 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22552 * conform/data/uchar.h-data: New file.
22553 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22554 * conform/data/arpa/inet.h-data: Likewise.
22555 * conform/data/assert.h-data: Likewise.
22556 * conform/data/complex.h-data: Likewise.
22557 * conform/data/cpio.h-data: Likewise.
22558 * conform/data/ctype.h-data: Likewise.
22559 * conform/data/dirent.h-data: Likewise.
22560 * conform/data/dlfcn.h-data: Likewise.
22561 * conform/data/errno.h-data: Likewise.
22562 * conform/data/fcntl.h-data: Likewise.
22563 * conform/data/float.h-data: Likewise.
22564 * conform/data/fmtmsg.h-data: Likewise.
22565 * conform/data/fnmatch.h-data: Likewise.
22566 * conform/data/ftw.h-data: Likewise.
22567 * conform/data/glob.h-data: Likewise.
22568 * conform/data/grp.h-data: Likewise.
22569 * conform/data/iconv.h-data: Likewise.
22570 * conform/data/inttypes.h-data: Likewise.
22571 * conform/data/langinfo.h-data: Likewise.
22572 * conform/data/libgen.h-data: Likewise.
22573 * conform/data/limits.h-data: Likewise.
22574 * conform/data/locale.h-data: Likewise.
22575 * conform/data/math.h-data: Likewise.
22576 * conform/data/monetary.h-data: Likewise.
22577 * conform/data/mqueue.h-data: Likewise.
22578 * conform/data/ndbm.h-data: Likewise.
22579 * conform/data/net/if.h-data: Likewise.
22580 * conform/data/netdb.h-data: Likewise.
22581 * conform/data/netinet/in.h-data: Likewise.
22582 * conform/data/nl_types.h-data: Likewise.
22583 * conform/data/poll.h-data: Likewise.
22584 * conform/data/pthread.h-data: Likewise.
22585 * conform/data/pwd.h-data: Likewise.
22586 * conform/data/regex.h-data: Likewise.
22587 * conform/data/sched.h-data: Likewise.
22588 * conform/data/search.h-data: Likewise.
22589 * conform/data/semaphore.h-data: Likewise.
22590 * conform/data/setjmp.h-data: Likewise.
22591 * conform/data/signal.h-data: Likewise.
22592 * conform/data/spawn.h-data: Likewise.
22593 * conform/data/stdarg.h-data: Likewise.
22594 * conform/data/stdio.h-data: Likewise.
22595 * conform/data/stdlib.h-data: Likewise.
22596 * conform/data/string.h-data: Likewise.
22597 * conform/data/strings.h-data: Likewise.
22598 * conform/data/stropts.h-data: Likewise.
22599 * conform/data/sys/ipc.h-data: Likewise.
22600 * conform/data/sys/mman.h-data: Likewise.
22601 * conform/data/sys/msg.h-data: Likewise.
22602 * conform/data/sys/resource.h-data: Likewise.
22603 * conform/data/sys/select.h-data: Likewise.
22604 * conform/data/sys/sem.h-data: Likewise.
22605 * conform/data/sys/shm.h-data: Likewise.
22606 * conform/data/sys/socket.h-data: Likewise.
22607 * conform/data/sys/stat.h-data: Likewise.
22608 * conform/data/sys/statvfs.h-data: Likewise.
22609 * conform/data/sys/time.h-data: Likewise.
22610 * conform/data/sys/timeb.h-data: Likewise.
22611 * conform/data/sys/times.h-data: Likewise.
22612 * conform/data/sys/types.h-data: Likewise.
22613 * conform/data/sys/uio.h-data: Likewise.
22614 * conform/data/sys/un.h-data: Likewise.
22615 * conform/data/sys/utsname.h-data: Likewise.
22616 * conform/data/sys/wait.h-data: Likewise.
22617 * conform/data/syslog.h-data: Likewise.
22618 * conform/data/tar.h-data: Likewise.
22619 * conform/data/termios.h-data: Likewise.
22620 * conform/data/utime.h-data: Likewise.
22621 * conform/data/utmpx.h-data: Likewise.
22622 * conform/data/varargs.h-data: Likewise.
22623 * conform/data/wchar.h-data: Likewise.
22624 * conform/data/wctype.h-data: Likewise.
22625 * conform/data/wordexp.h-data: Likewise.
22627 * include/stropts.h: New file.
22628 * include/uchar.h: New file.
22629 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22630 * include/assert.h: Likewise.
22631 * include/ctype.h: Likewise.
22632 * include/dirent.h: Likewise.
22633 * include/dlfcn.h: Likewise.
22634 * include/fcntl.h: Likewise.
22635 * include/fnmatch.h: Likewise.
22636 * include/glob.h: Likewise.
22637 * include/grp.h: Likewise.
22638 * include/libio.h: Likewise.
22639 * include/locale.h: Likewise.
22640 * include/math.h: Likewise.
22641 * include/net/if.h: Likewise.
22642 * include/netdb.h: Likewise.
22643 * include/netinet/in.h: Likewise.
22644 * include/pthread.h: Likewise.
22645 * include/pwd.h: Likewise.
22646 * include/regex.h: Likewise.
22647 * include/sched.h: Likewise.
22648 * include/search.h: Likewise.
22649 * include/setjmp.h: Likewise.
22650 * include/signal.h: Likewise.
22651 * include/stdio.h: Likewise.
22652 * include/stdlib.h: Likewise.
22653 * include/string.h: Likewise.
22654 * include/sys/cdefs.h: Likewise.
22655 * include/sys/mman.h: Likewise.
22656 * include/sys/msg.h: Likewise.
22657 * include/sys/resource.h: Likewise.
22658 * include/sys/select.h: Likewise.
22659 * include/sys/socket.h: Likewise.
22660 * include/sys/stat.h: Likewise.
22661 * include/sys/statvfs.h: Likewise.
22662 * include/sys/time.h: Likewise.
22663 * include/sys/times.h: Likewise.
22664 * include/sys/uio.h: Likewise.
22665 * include/sys/utsname.h: Likewise.
22666 * include/sys/wait.h: Likewise.
22667 * include/termios.h: Likewise.
22668 * include/time.h: Likewise.
22669 * include/ulimit.h: Likewise.
22670 * include/unistd.h: Likewise.
22671 * include/utime.h: Likewise.
22672 * include/wchar.h: Likewise.
22673 * include/wctype.h: Likewise.
22674 * include/wordexp.h: Likewise.
22676 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22678 * time/time.h: TIME_UTC must be a macro.
22679 Make timespec_get available for ISO C11 only as well.
22681 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22683 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22684 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22686 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22688 * configure.in: Use -o not -a in test for unsupported multi-arch.
22690 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22692 * manual/texinfo.tex: Update to version 2012-01-19.16.
22694 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22696 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22698 2012-02-24 Roland McGrath <roland@hack.frob.com>
22701 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22702 * manual/fdl-1.3.texi: New file.
22703 * manual/fdl-1.1.texi: File removed.
22706 * manual/libc.texinfo (FDL_VERSION): New @set.
22707 Use it for mention of FDL in cover text.
22708 (Documentation License): Use it in @include file name.
22710 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22711 Roland McGrath <roland@hack.frob.com>
22714 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22715 not LONG_LONG_MAX and LONG_LONG_MIN.
22716 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22717 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22719 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22721 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22725 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22726 manipulate bits before adding and subtracting TWO23[sx].
22727 * math/libm-test.inc (nearbyint_test): Add more tests.
22729 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22732 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22733 bits before adding and subtracting TWO23[sx].
22734 * math/libm-test.inc (rint_test): Add more tests.
22735 (rint_test_tonearest): Likewise.
22736 (rint_test_towardzero): Likewise.
22737 (rint_test_downward): Likewise.
22738 (rint_test_upward: Likewise.
22740 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22743 * include/stdc-predef.h: New file. Extracted from features.h.
22744 * include/features.h: Include stdc-predef.h.
22745 * Makefile (headers): Add stdc-predef.h.
22746 * CONFORMANCE (Compiler limitations): Update.
22748 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22750 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22752 2012-02-21 David S. Miller <davem@davemloft.net>
22754 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22755 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22757 2012-02-20 David S. Miller <davem@davemloft.net>
22759 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22760 using a normal save/restore sequence, rather than allocating a
22761 dummy stack frame just to store a frame pointer and restore.
22762 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22764 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22766 * manual/install.texi: Fix stray word in line-wrapped comment.
22768 2012-02-20 David S. Miller <davem@davemloft.net>
22770 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22771 both binutils and gcc support GOTDATA.
22773 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22774 "rd %pc" in the PIC register setup sequences.
22776 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22777 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22778 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22779 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22780 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22783 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22785 (SYSCALL_ERROR_HANDLER): Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22787 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22789 (SYSCALL_ERROR_HANDLER): Likewise.
22791 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22792 (HAVE_GCC_GOTDATA): New.
22793 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22794 relocation support in both binutils and gcc.
22795 * sysdeps/sparc/elf/configure: Regenerate.
22797 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22798 * sysdeps/sparc/sparc32/elf/configure: Delete.
22799 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22800 * sysdeps/sparc/sparc64/elf/configure: Delete.
22801 * sysdeps/sparc/elf/configure.in: New file.
22802 * sysdeps/sparc/elf/configure: Generate.
22804 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22805 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22806 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22807 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22808 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22810 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22812 * manual/install.texi: Do not mention specific glibc version
22814 * manual/libc.texinfo (VERSION, UPDATED): Update.
22815 (@copying): Use @copyright{} and range of years.
22817 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22820 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22821 [crti.S not in sysdirs] (generated): Do not append.
22822 [crti.S not in sysdirs] (omit-deps): Likewise.
22823 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22824 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22825 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22826 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22827 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22829 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22830 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22831 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22832 * csu/defs.awk: Remove file.
22833 * sysdeps/generic/initfini.c: Likewise.
22834 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22836 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22839 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22841 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22842 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22843 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22844 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22846 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22848 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22849 (__EPOLL_PACKED): Define to empty if not defined by
22851 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22855 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22857 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22858 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22859 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22860 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22862 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22866 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22868 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22871 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22875 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22878 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22880 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22882 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22883 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22885 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22887 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22890 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22892 * math/w_acos.c: Use non-signaling floating-point comparisons.
22893 * math/w_acosf.c: Likewise.
22894 * math/w_acosh.c: Likewise.
22895 * math/w_acoshf.c: Likewise.
22896 * math/w_acoshl.c: Likewise.
22897 * math/w_acosl.c: Likewise.
22898 * math/w_asin.c: Likewise.
22899 * math/w_asinf.c: Likewise.
22900 * math/w_asinl.c: Likewise.
22901 * math/w_atanh.c: Likewise.
22902 * math/w_atanhf.c: Likewise.
22903 * math/w_atanhl.c: Likewise.
22904 * math/w_exp2.c: Likewise.
22905 * math/w_exp2f.c: Likewise.
22906 * math/w_exp2l.c: Likewise.
22907 * math/w_j0.c: Likewise.
22908 * math/w_j0f.c: Likewise.
22909 * math/w_j0l.c: Likewise.
22910 * math/w_j1.c: Likewise.
22911 * math/w_j1f.c: Likewise.
22912 * math/w_j1l.c: Likewise.
22913 * math/w_jn.c: Likewise.
22914 * math/w_jnf.c: Likewise.
22915 * math/w_log.c: Likewise.
22916 * math/w_log10.c: Likewise.
22917 * math/w_log10f.c: Likewise.
22918 * math/w_log10l.c: Likewise.
22919 * math/w_log2.c: Likewise.
22920 * math/w_log2f.c: Likewise.
22921 * math/w_log2l.c: Likewise.
22922 * math/w_logf.c: Likewise.
22923 * math/w_logl.c: Likewise.
22924 * math/w_sqrt.c: Likewise.
22925 * math/w_sqrtf.c: Likewise.
22926 * math/w_sqrtl.c: Likewise.
22927 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22930 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22931 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22933 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22936 * manual/string.texi (strnlen): Use correct parameter name in
22937 equivalent expression.
22939 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22942 * manual/users.texi (seteuid): Consistently use neweuid for
22945 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22948 * manual/nss.texi (Services in the NSS configuration): Correct
22949 list of services in example configuration file.
22951 2012-02-19 Nick Bowler <nbowler@draconx.ca>
22954 * manual/arith.texi: Remove statements about negative zero
22955 behaving identically to zero.
22957 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22960 * manual/install.texi: Do not document upgrading from libc5.
22962 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22965 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22967 2012-02-18 David S. Miller <davem@davemloft.net>
22969 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22970 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22971 %o7 across the call.
22972 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22975 SETUP_PIC_REG_LEAF.
22976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22977 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22978 * sysdeps/sparc/crtn.S: Likewise.
22980 2012-02-17 Ulrich Drepper <drepper@gmail.com>
22982 * aout/Makefile: Remove.
22984 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22987 * manual/examples/argp-ex1.c (main): Format definition in GNU
22989 * manual/examples/argp-ex2.c (main): Likewise.
22990 * manual/examples/argp-ex3.c (main): Likewise.
22991 * manual/examples/argp-ex4.c (main): Likewise.
22992 * manual/examples/longopt.c (main): Use new-style prototype
22994 * manual/examples/strncat.c (main): Specify return type and use
22995 (void) for arguments.
22996 * manual/examples/subopt.c (main): Use char **argv argument.
22998 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23001 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23004 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23007 * manual/string.texi (strchr): Change when strchrnul is
23010 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23013 * manual/locale.texi (setlocale): Document LOCPATH.
23015 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23018 * manual/process.texi (execle): Move @dots{} before last argument.
23020 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23023 * manual/charset.texi (Generic Charset Conversion): Fix typo
23024 (LC_TYPE -> LC_CTYPE).
23026 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23029 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23030 (scalbnf): Likewise.
23031 (scalbnl): Likewise.
23032 (scalbln): Likewise.
23033 (scalblnf): Likewise.
23034 (scalblnl): Likewise.
23035 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23036 (vwarnx): Likewise.
23039 * manual/filesys.texi (telldir): Use braces around return type.
23040 * manual/llio.texi (mmap): Add space after comma.
23041 (mmap64): Likewise.
23042 * manual/math.texi (jn): Use @var{} on parameter names.
23048 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23050 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23052 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23053 (sched_get_priority_max): Likewise.
23054 * manual/signal.texi (sigvec): Add space after comma.
23055 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23057 (if_indextoname): Likewise.
23058 (if_freenameindex): Likewise.
23059 (sendto): Use ',' instead of '.' in prototype.
23060 * manual/startup.texi (syscall): Use @dots{} instead of literal
23062 * manual/stdio.texi (__fpending): Separate initial words of
23063 paragraph from @deftypefun line.
23064 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23066 (vsyslog): Use @var{} on parameter names.
23067 * manual/terminal.texi (stty): Use @var{} on parameter names.
23068 * manual/users.texi (getutmp): Use @var{} on parameter names.
23069 (getutmpx): Likewise.
23071 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23074 * manual/stdio.texi (fopen): Fix typos in description of
23077 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23080 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23081 get clock_id definition.
23083 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23086 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23087 (madvise): Cast every argument to void on its own.
23089 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23092 * manual/startup.texi (Exit Status): Fix typo.
23094 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23097 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23098 * manual/examples/argp-ex2.c: Likewise.
23099 * manual/examples/argp-ex3.c: Likewise.
23101 2012-02-16 Richard Henderson <rth@redhat.com>
23103 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23104 * sysdeps/s390/s390-32/initfini.c: Remove.
23105 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23106 * sysdeps/s390/s390-64/initfini.c: Remove.
23108 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23110 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23111 compiler output for sysdeps/generic/initfini.c.
23112 * sysdeps/sh/elf/initfini.c: Remove file.
23114 2012-02-16 David S. Miller <davem@davemloft.net>
23117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23119 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23120 * sysdeps/sparc/crti.S: New file.
23121 * sysdeps/sparc/crtn.S: New file.
23122 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23123 * sysdeps/sparc/sparc64/Makefile: Likewise.
23125 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23128 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23130 2012-02-15 Roland McGrath <roland@hack.frob.com>
23133 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23135 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23136 (write, read, close): Likewise.
23137 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23139 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23141 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23142 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23143 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23144 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23146 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23150 2012-02-14 Marek Polacek <polacek@redhat.com>
23152 * sysdeps/x86_64/crti.S: New file.
23153 * sysdeps/x86_64/crtn.S: New file.
23154 * sysdeps/x86_64/elf/initfini.c: Remove file.
23156 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23158 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23159 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23160 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23161 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23163 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23167 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23169 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23170 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23171 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23172 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23174 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23178 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23180 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23181 __feraiseexcept instead of feraiseexcept.
23183 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23184 nanosleep invocations.
23185 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23186 strings, and add error checking for a nanosleep invocations.
23188 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23190 Replace FSF snail mail address with URLs, as per GNU coding standards.
23191 Most of the snail mail addresses were wrong anyway, and omitting
23192 them makes the source code easier to maintain. Almost all of the
23193 changes are to license notices and to locale LC_IDENTIFICATION
23194 addresses, except for this one:
23195 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23196 not its snail mail address.
23198 2012-02-09 Richard Henderson <rth@twiddle.net>
23200 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23201 of kernel-features.h.
23203 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23205 2012-02-08 Marek Polacek <polacek@redhat.com>
23207 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23208 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23209 * sysdeps/gnu/_G_config.h: Likewise.
23210 * sysdeps/generic/_G_config.h: Likewise.
23212 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23214 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23218 * sysdeps/powerpc/powerpc32/crti.S: New file.
23219 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23220 * sysdeps/powerpc/powerpc64/crti.S: New file.
23221 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23223 * Makeconfig (have-initfini): Don't set.
23224 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23225 * configure.in (nopic_initfini): Don't substitute.
23226 * config.h.in (HAVE_INITFINI): Don't #undef.
23227 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23228 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23230 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23232 Support crti.S and crtn.S provided directly by architectures.
23233 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23234 [crti.S in sysdirs] (omit-deps): Likewise.
23235 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23236 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23237 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23238 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23239 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23240 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23241 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23242 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23243 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23244 compiler output for sysdeps/generic/initfini.c.
23245 * sysdeps/i386/elf/Makefile: Remove file.
23246 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23248 2012-02-07 Marek Polacek <polacek@redhat.com>
23250 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23251 * sysdeps/gnu/_G_config.h: Likewise.
23252 * sysdeps/mach/hurd/_G_config.h: Likewise.
23254 2012-02-07 Marek Polacek <polacek@redhat.com>
23256 * math/Makefile (tests): Add tst-CMPLX2.
23257 * math/tst-CMPLX2.c: New file.
23259 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23261 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23263 * math/libm-test.inc (jn_test): Add missing L suffix.
23265 2012-02-06 Marek Polacek <polacek@redhat.com>
23267 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23268 * sysdeps/i386/fpu/e_powf.S: Likewise.
23269 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23270 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23271 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23272 * sysdeps/i386/fpu/e_pow.S: Likewise.
23273 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23274 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23275 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23276 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23277 * sysdeps/i386/fpu/e_log2.S: Likewise.
23278 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23279 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23280 * sysdeps/i386/fpu/e_powl.S: Likewise.
23281 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23282 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23283 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23284 * sysdeps/i386/fpu/e_logl.S: Likewise.
23285 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23286 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23287 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23288 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23289 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23290 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23291 * sysdeps/i386/fpu/e_log.S: Likewise.
23292 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23294 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23295 * sysdeps/i386/fpu/e_logf.S: Likewise.
23296 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23297 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23298 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23299 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23300 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23301 * sysdeps/i386/fpu/e_log10.S: Likewise.
23302 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23303 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23304 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23305 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23306 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23307 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23308 * sysdeps/i386/asm-syntax.h: Likewise.
23309 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23310 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23312 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23313 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23315 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23316 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23317 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23318 * sysdeps/powerpc/sysdep.h: Likewise.
23319 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23320 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23322 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23325 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23327 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23329 * sysdeps/i386/sysdep.h: Include <features.h>.
23330 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23333 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23335 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23337 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23340 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23342 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23343 (SETUP_PIC_REG): Use GET_PC_THUNK.
23344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23347 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23349 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23350 for non-PIC compilation.
23351 (SETUP_PIC_REG): Add .p2align directive.
23352 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23353 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23354 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23355 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23356 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23357 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23358 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23359 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23360 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23361 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23362 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23363 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23364 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23365 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23366 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23367 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23368 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23369 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23370 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23371 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23373 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23374 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23375 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23376 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23378 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23379 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23381 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23384 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23389 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23390 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23394 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23396 * math/tst-CMPLX.c: Include <stdio.h>.
23398 2012-01-31 Joseph Myers <joseph@codesourcery.com>
23400 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23402 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23403 * sysdeps/sparc/bits/mathdef.h: Likewise.
23405 2012-01-31 Marek Polacek <polacek@redhat.com>
23407 * libio/libio.h: Don't define _PARAMS.
23408 * locale/programs/config.h: Don't define PARAMS.
23409 * stdlib/strtol_l.c: Likewise.
23410 (__strtol_l): Remove PARAMS from the prototype.
23412 2012-01-31 Ulrich Drepper <drepper@gmail.com>
23414 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23415 names. Just use the correct names. Remove unnecessary wrapper
23417 * malloc/arena.c: Likewise.
23418 * malloc/hooks.c: Likewise.
23420 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23421 ARENA_TEST says not to. Simplify test for creation of a new arena.
23422 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23424 2012-01-30 Ulrich Drepper <drepper@gmail.com>
23426 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23428 (update_get_addr): New function.
23429 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23430 GET_ADDR_MODULE parameter.
23432 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23434 * crypt/cert.c: Remove __STDC__ conditionals.
23435 * crypt/crypt-entry.c: Likewise.
23436 * crypt/crypt_util.c: Likewise.
23437 * libio/filedoalloc.c: Likewise.
23438 * libio/fileops.c: Likewise.
23439 * libio/genops.c: Likewise.
23440 * libio/iofclose.c: Likewise.
23441 * libio/iofdopen.c: Likewise.
23442 * libio/iofopen.c: Likewise.
23443 * libio/iofopen64.c: Likewise.
23444 * libio/iogetdelim.c: Likewise.
23445 * libio/iopopen.c: Likewise.
23446 * libio/obprintf.c: Likewise.
23447 * libio/oldfileops.c: Likewise.
23448 * libio/oldiofclose.c: Likewise.
23449 * libio/oldiofdopen.c: Likewise.
23450 * libio/oldiofopen.c: Likewise.
23451 * libio/oldiopopen.c: Likewise.
23452 * libio/wfiledoalloc.c: Likewise.
23453 * libio/wgenops.c: Likewise.
23454 * locale/programs/xmalloc.c: Likewise.
23455 * misc/syslog.c: Likewise.
23456 * stdio-common/xbug.c: Likewise.
23457 * string/memchr.c: Likewise.
23458 * string/memcmp.c: Likewise.
23459 * string/memrchr.c: Likewise.
23460 * string/rawmemchr.c: Likewise.
23461 * sysdeps/posix/getcwd.c: Likewise.
23462 * time/strftime_l.c: Likewise.
23464 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23466 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23467 * config.make.in (config-cflags-sse2avx): Define.
23468 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23471 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23473 * scripts/config.guess: Update from upstream config git repository.
23474 * scripts/config.sub: Likewise.
23476 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23478 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23480 (R_TILEPRO_*, R_TILEGX_*): New macros.
23482 * scripts/firstversions.awk: Fix bug in version range handling.
23484 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23486 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23488 * include/sys/epoll.h: New file.
23489 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23492 2012-01-28 Ulrich Drepper <drepper@gmail.com>
23494 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23495 Avoid unnecessary __WORDSIZE == 64 test.
23496 (fmaxf): Use VEX format if possible.
23501 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23502 * math/math_private.h: Remove libc_fegetround* and
23504 * sysdeps/i386/configure.in: Check for -msse2avx.
23505 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23506 also if SSE2AVX is defined.
23507 Remove libc_fegetround* and libc_fesetround*.
23508 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23509 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23510 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23513 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23514 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23515 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23516 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23518 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23520 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23522 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23526 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23529 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23531 * Makeconfig (libm): Define.
23532 * elf/Makefile: Add rules to build and run tst-relsort1.
23533 * elf/tst-relsort1.c: New file.
23534 * elf/tst-relsort1mod1.c: New file.
23535 * elf/tst-relsort1mod2.c: New file.
23537 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23539 * math/s_ldexp.c: Remove __STDC__ conditionals.
23540 * math/s_ldexpf.c: Likewise.
23541 * math/s_ldexpl.c: Likewise.
23542 * math/s_nextafter.c: Likewise.
23543 * math/s_nexttowardf.c: Likewise.
23544 * math/s_significand.c: Likewise.
23545 * math/s_significandf.c: Likewise.
23546 * math/s_significandl.c: Likewise.
23547 * math/w_jnl.c: Likewise.
23548 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23549 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23550 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23551 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23552 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23569 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23570 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23572 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23573 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23574 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23575 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23576 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23577 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23580 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23583 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23584 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23585 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23586 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23587 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23588 * sysdeps/ieee754/k_standard.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23650 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23655 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23664 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23668 * sysdeps/ieee754/s_matherr.c: Likewise.
23669 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23670 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23671 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23672 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23674 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23676 * crypt/md5.h: Remove __STDC__ conditionals.
23677 * libio/libioP.h: Likewise.
23678 * locale/programs/config.h: Likewise.
23679 * sysdeps/generic/sysdep.h: Likewise.
23680 * sysdeps/i386/asm-syntax.h: Likewise.
23681 * sysdeps/s390/asm-syntax.h: Likewise.
23682 * sysdeps/unix/sysdep.h: Likewise.
23683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23686 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23688 * libio/libio.h: Remove __STDC__ conditionals.
23689 * malloc/obstack.h: Likewise.
23690 * math/complex.h: Likewise.
23691 * math/math.h: Likewise.
23692 * sysdeps/generic/_G_config.h: Likewise.
23693 * sysdeps/gnu/_G_config.h: Likewise.
23694 * sysdeps/mach/hurd/_G_config.h: Likewise.
23695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23696 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23697 * sysdeps/sparc/bits/mathdef.h: Likewise.
23699 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23702 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23703 Clean up HAS_* macros.
23704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23705 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23710 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23715 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23717 * elf/tst-unique3.cc (gets): Remove declaration.
23718 * elf/tst-unique3lib.cc (gets): Likewise.
23719 * elf/tst-unique3lib2.cc (gets): Likewise.
23720 * elf/tst-unique4.cc (gets): Likewise.
23722 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23724 * include/stdio.h: Add C++ protection. Add gets declarations and
23726 * debug/tst-chk1.c: Don't declare gets here.
23727 * stdio-common/tst-gets.c: Likewise.
23729 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23731 * posix/glob: Remove directory.
23733 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23735 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23737 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23739 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23740 of the non-standard EPFNOSUPPORT.
23742 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23744 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23745 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23746 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23748 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23750 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23752 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23754 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23756 * nscd/grpcache.c (cache_addgr): Likewise.
23757 * nscd/hstcache.c (cache_addhst): Likewise.
23758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23759 * nscd/pwdcache.c (cache_addpw): Likewise.
23760 * nscd/servicescache.c (cache_addserv): Likewise.
23762 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23764 * malloc/malloc.c: Various cleanups.
23765 * malloc/hooks.c: Likewise.
23767 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23768 * stdlib/bug-fmtmsg1.c: New file.
23770 * stdlib/fmtmsg.c (init): Add missing unlock.
23771 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23773 2012-01-12 Marek Polacek <polacek@redhat.com>
23775 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23778 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23780 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23781 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23782 macro to ensure uniqueness of label name.
23783 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23784 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23786 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23788 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23790 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23791 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23795 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23797 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23799 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23800 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23801 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23803 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23805 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23806 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23810 * math/bits/math-finite.h: Add ldexp support.
23812 2012-01-10 Marek Polacek <polacek@redhat.com>
23814 * locale/programs/localedef.h (show_archive_content): Add noreturn
23817 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23819 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23821 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23823 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23825 * io/Makefile (headers): Add bits/poll2.h.
23827 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23830 typo #include statement.
23832 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23834 * include/sys/cdefs.h: Define __attribute_alloc_size.
23835 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23836 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23837 * elf/pldd.c: Likewise.
23838 * iconv/iconv_charmap.c: Likewise.
23839 * iconv/iconvconfig.c: Likewise.
23840 * iconv/strtab.c: Likewise.
23841 * locale/programs/locale.c: Likewise.
23842 * locale/programs/localedef.h: Likewise.
23843 * locale/programs/simple-hash.c: Likewise.
23844 * nscd/nscd.h: Likewise.
23845 * nss/makedb.c: Likewise.
23846 * sysdeps/generic/ldconfig.h: Likewise.
23847 * locale/programs/localedef.c: Remove xmalloc prototype.
23848 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23850 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23852 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23855 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23857 * math/Makefile (tests): Add tst-CMPLX.
23858 * math/tst-CMPLX.c: New file.
23860 * math/complex.h (CMPLXL): Fix typo.
23862 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23863 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23865 * debug/tst-chk1.c: Add poll and ppoll tests.
23866 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23867 * include/sys/poll.h: Add hidden proto for ppoll.
23868 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23869 * sysdeps/mach/hurd/ppoll.c: Likewise.
23870 * io/ppoll.c: Likewise.
23871 * debug/poll_chk.c: New file.
23872 * debug/ppoll_chk.c: New file.
23873 * include/bits/poll2.h: New file.
23874 * io/bits/poll2.h: New file.
23877 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23879 * configure.in: static is always set to yes. Remove.
23880 * config.make.in: Don't set build-static.
23881 * Makeconfig: Remove use of build-static.
23882 * dlfcn/Makefile: Likewise.
23883 * elf/Makefile: Likewise.
23884 * math/Makefile: Likewise.
23885 * misc/Makefile: Likewise.
23886 * nptl/Makefile: Likewise.
23887 * sysdeps/mach/hurd/Makefile: Likewise.
23889 * configure.in: PWD_P is not used anymore.
23890 * config.make.in: Remove PWD_P entry.
23892 * configure.in: Remove last remnants of RANLIB.
23893 No need to check for signed size_t anymore.
23894 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23896 Remove __builtin_expect test because we require at least gcc 3.4.
23897 * aclocal.m4: Likewise.
23899 * wcsmbs/mbrtoc16.c: Implement using towc function.
23900 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23901 * wcsmbs/wcsmbsload.c: Likewise.
23902 * iconv/gconv_simple.c: Likewise.
23903 * iconv/gconv_int.h: Likewise.
23904 * iconv/gconv_builtin.h: Likewise.
23905 * iconv/iconv_prog.c: Remove CHAR16 handling.
23907 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23909 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23911 * configure.in: Remove --with-elf and --enable-bounded options.
23912 Dont set base_machine for ia64. More non-ELF conditions removed.
23913 Remove testing and setting of leading underscore information.
23914 * config.make.in (build-bounded): Set to no.
23915 * config.h.in: Remove NO_UNDERSCORES entry.
23916 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23918 * csu/start.c: Remove !NO_UNDERSCORE code.
23919 * locale/localeinfo.h: Likewise.
23920 * sysdeps/generic/machine-gmon.h: Likewise.
23921 * sysdeps/generic/sysdep.h: Likewise.
23922 * sysdeps/i386/sysdep.h: Likewise.
23923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23924 * sysdeps/mach/sysdep.h: Likewise.
23925 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23927 * sysdeps/sh/sysdep.h: Likewise.
23928 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23929 * sysdeps/unix/i386/sysdep.S: Likewise.
23930 * sysdeps/unix/sparc/start.c: Likewise.
23931 * sysdeps/unix/sparc/sysdep.S: Likewise.
23932 * sysdeps/unix/sparc/sysdep.h: Likewise.
23933 * sysdeps/unix/start.c: Likewise.
23934 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23935 * sysdeps/x86_64/sysdep.h: Likewise.
23937 2012-01-07 Ulrich Drepper <drepper@gmail.com>
23940 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23942 * argp/argp-fmtstream.h: Use const instead __const.
23943 * argp/argp.h: Likewise.
23944 * assert/assert.h: Likewise.
23945 * bits/fenv.h: Likewise.
23946 * bits/sched.h: Likewise.
23947 * bits/sigset.h: Likewise.
23948 * bits/sigthread.h: Likewise.
23949 * catgets/nl_types.h: Likewise.
23950 * conform/data/pthread.h-data: Likewise.
23951 * crypt/crypt-private.h: Likewise.
23952 * crypt/crypt.h: Likewise.
23953 * crypt/crypt_util.c: Likewise.
23954 * ctype/ctype.h: Likewise.
23955 * debug/execinfo.h: Likewise.
23956 * debug/mbsnrtowcs_chk.c: Likewise.
23957 * debug/mbsrtowcs_chk.c: Likewise.
23958 * debug/wcsnrtombs_chk.c: Likewise.
23959 * debug/wcsrtombs_chk.c: Likewise.
23960 * debug/wcstombs_chk.c: Likewise.
23961 * dirent/dirent.h: Likewise.
23962 * dlfcn/dlfcn.h: Likewise.
23963 * elf/neededtest4.c: Likewise.
23964 * grp/grp.h: Likewise.
23965 * gshadow/gshadow.h: Likewise.
23966 * iconv/gconv.h: Likewise.
23967 * iconv/gconv_int.h: Likewise.
23968 * iconv/gconv_simple.c: Likewise.
23969 * iconv/iconv.h: Likewise.
23970 * iconv/loop.c: Likewise.
23971 * iconv/skeleton.c: Likewise.
23972 * include/aio.h: Likewise.
23973 * include/aliases.h: Likewise.
23974 * include/argz.h: Likewise.
23975 * include/arpa/inet.h: Likewise.
23976 * include/assert.h: Likewise.
23977 * include/dirent.h: Likewise.
23978 * include/dlfcn.h: Likewise.
23979 * include/execinfo.h: Likewise.
23980 * include/fcntl.h: Likewise.
23981 * include/fenv.h: Likewise.
23982 * include/glob.h: Likewise.
23983 * include/grp.h: Likewise.
23984 * include/libintl.h: Likewise.
23985 * include/mntent.h: Likewise.
23986 * include/netdb.h: Likewise.
23987 * include/pwd.h: Likewise.
23988 * include/rpc/netdb.h: Likewise.
23989 * include/sched.h: Likewise.
23990 * include/search.h: Likewise.
23991 * include/shadow.h: Likewise.
23992 * include/signal.h: Likewise.
23993 * include/stdio.h: Likewise.
23994 * include/stdlib.h: Likewise.
23995 * include/string.h: Likewise.
23996 * include/sys/socket.h: Likewise.
23997 * include/sys/stat.h: Likewise.
23998 * include/sys/statfs.h: Likewise.
23999 * include/sys/statvfs.h: Likewise.
24000 * include/sys/syslog.h: Likewise.
24001 * include/sys/time.h: Likewise.
24002 * include/sys/uio.h: Likewise.
24003 * include/time.h: Likewise.
24004 * include/unistd.h: Likewise.
24005 * include/utmp.h: Likewise.
24006 * include/wchar.h: Likewise.
24007 * include/wctype.h: Likewise.
24008 * inet/aliases.h: Likewise.
24009 * inet/arpa/inet.h: Likewise.
24010 * inet/netinet/ether.h: Likewise.
24011 * inet/netinet/in.h: Likewise.
24012 * intl/libintl.h: Likewise.
24013 * io/bits/fcntl2.h: Likewise.
24014 * io/fcntl.h: Likewise.
24015 * io/ftw.h: Likewise.
24016 * io/sys/poll.h: Likewise.
24017 * io/sys/stat.h: Likewise.
24018 * io/sys/statfs.h: Likewise.
24019 * io/sys/statvfs.h: Likewise.
24020 * io/utime.h: Likewise.
24021 * libio/bits/stdio.h: Likewise.
24022 * libio/bits/stdio2.h: Likewise.
24023 * libio/libio.h: Likewise.
24024 * libio/libioP.h: Likewise.
24025 * libio/stdio.h: Likewise.
24026 * locale/lc-ctype.c: Likewise.
24027 * locale/locale.h: Likewise.
24028 * login/utmp.h: Likewise.
24029 * malloc/arena.c: Likewise.
24030 * malloc/malloc.c: Likewise.
24031 * malloc/malloc.h: Likewise.
24032 * malloc/mcheck.c: Likewise.
24033 * malloc/mtrace.c: Likewise.
24034 * math/bits/mathcalls.h: Likewise.
24035 * math/fenv.h: Likewise.
24036 * math/math_private.h: Likewise.
24037 * misc/bits/error.h: Likewise.
24038 * misc/bits/syslog.h: Likewise.
24039 * misc/err.h: Likewise.
24040 * misc/error.h: Likewise.
24041 * misc/fstab.h: Likewise.
24042 * misc/mntent.h: Likewise.
24043 * misc/regexp.h: Likewise.
24044 * misc/search.h: Likewise.
24045 * misc/sgtty.h: Likewise.
24046 * misc/sys/mman.h: Likewise.
24047 * misc/sys/syslog.h: Likewise.
24048 * misc/sys/uio.h: Likewise.
24049 * misc/sys/xattr.h: Likewise.
24050 * misc/ttyent.h: Likewise.
24051 * nis/rpcsvc/ypclnt.h: Likewise.
24052 * nss/nss.h: Likewise.
24053 * posix/bits/unistd.h: Likewise.
24054 * posix/fnmatch.h: Likewise.
24055 * posix/glob.h: Likewise.
24056 * posix/sched.h: Likewise.
24057 * posix/spawn.h: Likewise.
24058 * posix/sys/wait.h: Likewise.
24059 * posix/unistd.h: Likewise.
24060 * posix/wordexp.h: Likewise.
24061 * pwd/pwd.h: Likewise.
24062 * resolv/netdb.h: Likewise.
24063 * resource/sys/resource.h: Likewise.
24064 * rt/aio.h: Likewise.
24065 * rt/bits/mqueue2.h: Likewise.
24066 * rt/mqueue.h: Likewise.
24067 * shadow/shadow.h: Likewise.
24068 * signal/signal.h: Likewise.
24069 * socket/send.c: Likewise.
24070 * socket/sendto.c: Likewise.
24071 * socket/sys/socket.h: Likewise.
24072 * stdio-common/printf.h: Likewise.
24073 * stdlib/bits/stdlib.h: Likewise.
24074 * stdlib/fmtmsg.h: Likewise.
24075 * stdlib/monetary.h: Likewise.
24076 * stdlib/stdlib.h: Likewise.
24077 * stdlib/ucontext.h: Likewise.
24078 * streams/stropts.h: Likewise.
24079 * string/argz.h: Likewise.
24080 * string/bits/string2.h: Likewise.
24081 * string/string.h: Likewise.
24082 * string/strings.h: Likewise.
24083 * sunrpc/rpc/auth.h: Likewise.
24084 * sunrpc/rpc/auth_des.h: Likewise.
24085 * sunrpc/rpc/clnt.h: Likewise.
24086 * sunrpc/rpc/netdb.h: Likewise.
24087 * sunrpc/rpc/pmap_clnt.h: Likewise.
24088 * sunrpc/rpc/xdr.h: Likewise.
24089 * sysdeps/generic/inttypes.h: Likewise.
24090 * sysdeps/generic/net/if.h: Likewise.
24091 * sysdeps/generic/sys/swap.h: Likewise.
24092 * sysdeps/gnu/net/if.h: Likewise.
24093 * sysdeps/gnu/utmpx.h: Likewise.
24094 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24095 * sysdeps/i386/i486/bits/string.h: Likewise.
24096 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24097 * sysdeps/s390/bits/string.h: Likewise.
24098 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24099 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24100 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24101 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24102 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24103 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24104 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24105 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24106 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24107 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24108 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24109 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24110 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24111 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24112 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24113 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24114 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24116 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24117 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24119 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24120 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24121 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24122 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24123 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24124 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24125 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24126 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24128 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24129 * sysvipc/sys/ipc.h: Likewise.
24130 * sysvipc/sys/msg.h: Likewise.
24131 * sysvipc/sys/sem.h: Likewise.
24132 * sysvipc/sys/shm.h: Likewise.
24133 * termios/termios.h: Likewise.
24134 * time/sys/time.h: Likewise.
24135 * time/time.h: Likewise.
24136 * wcsmbs/bits/wchar2.h: Likewise.
24137 * wcsmbs/uchar.h: Likewise.
24138 * wcsmbs/wchar.h: Likewise.
24139 * wctype/wctype.h: Likewise.
24142 * Makeconfig: Remove all but ELF support including AIX support.
24143 * Makerules: Likewise.
24144 * config.h.in: Likewise.
24145 * config.make.in: Likewise.
24146 * configure: Likewise.
24147 * configure.in: Likewise.
24148 * csu/Makefile: Likewise.
24149 * csu/version.c: Likewise.
24150 * debug/Makefile: Likewise.
24151 * dlfcn/Makefile: Likewise.
24152 * elf/Makefile: Likewise.
24153 * extra-lib.mk: Likewise.
24154 * iconv/Makefile: Likewise.
24155 * include/libc-symbols.h: Likewise.
24156 * include/shlib-compat.h: Likewise.
24157 * resolv/Makefile: Likewise.
24158 * resolv/res_libc.c: Likewise.
24159 * rt/Makefile: Likewise.
24160 * sysdeps/i386/asm-syntax.h: Likewise.
24161 * sysdeps/i386/sysdep.h: Likewise.
24162 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24163 * sysdeps/mach/sysdep.h: Likewise.
24164 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24165 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24166 * sysdeps/s390/asm-syntax.h: Likewise.
24167 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24169 * sysdeps/sh/sysdep.h: Likewise.
24170 * sysdeps/unix/sparc/sysdep.h: Likewise.
24171 * sysdeps/wordsize-32/divdi3.c: Likewise.
24172 * sysdeps/x86_64/sysdep.h: Likewise.
24174 * argp/Versions: Remove _argp_unlock_xxx.
24177 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24178 * abilist/libBrokenLocale.abilist: Likewise.
24179 * abilist/libanl.abilist: Likewise.
24180 * abilist/libc.abilist: Likewise.
24181 * abilist/libcrypt.abilist: Likewise.
24182 * abilist/libdl.abilist: Likewise.
24183 * abilist/libm.abilist: Likewise.
24184 * abilist/libnsl.abilist: Likewise.
24185 * abilist/libpthread.abilist: Likewise.
24186 * abilist/libresolv.abilist: Likewise.
24187 * abilist/librt.abilist: Likewise.
24188 * abilist/libthread_db.abilist: Likewise.
24189 * abilist/libutil.abilist: Likewise.
24190 * abilist/libnss_db.abilist: New file.
24192 * scripts/abilist.awk: Add support for indirect functions.
24194 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24196 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24198 * shlib-versions: Remove entries for ports architectures.
24200 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24202 * elf/stackguard-macros.h: Remove support for IA-64.
24203 * elf/tst-auditmod1.c: Likewise.
24204 * sysdeps/generic/ldsodefs.h: Likewise.
24206 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24207 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24211 * configure.in: Remove --enable-omitfp support.
24213 * config.make.in: Likewise.
24214 * Makeconfig: Likewise.
24215 * manual/install.texi: Likewise.
24217 In case anyone cares, the IA-64 architecture could move to ports.
24218 * sysdeps/ia64/*: Removed.
24219 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24220 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24223 * configure.in: Remove entries for unsupported architectures.
24226 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24227 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24229 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24230 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24231 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24232 fall back to using wcrtomb.
24233 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24234 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24236 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24237 * wcsmbs/tst-c16c32-1.c: New file.
24239 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24242 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24244 * elf/tst-unique3.cc: Add explicit declaration of gets.
24245 * elf/tst-unique3lib.cc: Likewise.
24246 * elf/tst-unique3lib2.cc: Likewise.
24247 * elf/tst-unique4.cc: Likewise.
24249 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24251 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24254 * assert/assert.h (static_assert): Don't define for C++.
24255 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24256 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24258 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24260 * iconv/loop.c (single loop): Fix assertion in storing of
24263 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24265 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24267 * posix/getconf.c: Update copyright year.
24268 * nss/getent.c: Likewise.
24269 * nss/makedb.c: Likewise.
24270 * iconv/iconvconfig.c: Likewise.
24271 * iconv/iconv_prog.c: Likewise.
24272 * elf/ldconfig.c: Likewise.
24273 * elf/pldd.c: Likewise.
24274 * elf/sotruss.ksh: Likewise.
24275 * catgets/gencat.c: Likewise.
24276 * csu/version.c: Likewise.
24277 * elf/ldd.bash.in: Likewise.
24278 * elf/sprof.c (print_version): Likewise.
24279 * locale/programs/locale.c: Likewise.
24280 * locale/programs/localedef.c: Likewise.
24281 * login/programs/pt_chown.c: Likewise.
24282 * nscd/nscd.c (print_version): Likewise.
24283 * debug/xtrace.sh: Likewise.
24284 * malloc/memusage.sh: Likewise.
24285 * malloc/mtrace.pl: Likewise.
24286 * debug/catchsegv.sh: Likewise.
24288 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24290 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24293 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24296 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24297 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24299 * iconv/gconv_int.h: Likewise.
24300 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24301 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24302 from libc for GLIBC_2.16.
24303 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24304 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24305 * wcsmbs/uchar.h: Really define mbstate_t.
24306 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24307 * wcsmbs/c16rtomb.c: New file.
24308 * wcsmbs/mbrtoc16.c: New file.
24309 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24310 for C/POSIX locale.
24311 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24312 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24314 * wcsmbs/wchar.h: Add missing __restrict.
24316 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24319 * time/Makefile (routines): Add timespec_get.
24320 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24321 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24322 timespec for ISO C11.
24323 * time/timespec_get.c: New file.
24324 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24325 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24328 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24329 * stdlib/stdlib.h: Declare aligned_alloc.
24330 * Versions.def: Add GLIBC_2.16 for libc.
24331 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24334 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24337 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24341 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24344 * assert/assert.h (static_assert): Define.
24346 * version.h: Update for 2.16 development version.
24349 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24352 * version.h (RELEASE): Bump for 2.15 release.
24353 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24355 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24356 Patch by Marek Polacek <mpolacek@redhat.com>.
24358 * bits/byteswap.h: Protect long long constants with __extension__.
24359 * sysdeps/i386/bits/byteswap.h: Likewise.
24360 * sysdeps/ia64/bits/byteswap.h: Likewise.
24361 * sysdeps/s390/bits/byteswap.h: Likewise.
24362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24364 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24367 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24368 destination buffer.
24369 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24371 2011-12-23 Marek Polacek <polacek@redhat.com>
24373 * elf/dl-addr.c (determine_info): Add inline keyword.
24374 * elf/tst-auditmod4b.c (check_avx): Likewise.
24375 * elf/tst-auditmod6b.c (check_avx): Likewise.
24376 * elf/tst-auditmod6c.c (check_avx): Likewise.
24377 * elf/tst-auditmod7b.c (check_avx): Likewise.
24379 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24381 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24384 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24387 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24388 processing for last bytes.
24390 2011-08-06 Bruno Haible <bruno@clisp.org>
24393 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24394 U+0385, not to U+1FEE.
24397 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24398 entry for U+00A5 U+0301.
24400 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24403 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24404 buffer for the output is too small.
24406 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24410 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24411 SSE flags if possible.
24413 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24417 processing for last bytes.
24419 2011-12-22 Joseph Myers <joseph@codesourcery.com>
24421 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24422 (syscall-list-default-options, syscall-list-default-condition)
24423 (syscall-list-includes): Define.
24424 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24425 list of ABIs and options and #if conditions for each ABI. Do not
24426 handle common syscalls between ABIs specially.
24427 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24429 (syscall-list-variants, syscall-list-32bit-options)
24430 (syscall-list-32bit-condition, syscall-list-64bit-options)
24431 (syscall-list-64bit-condition): Define.
24432 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24433 (syscall-list-variants, syscall-list-32bit-options)
24434 (syscall-list-32bit-condition, syscall-list-64bit-options)
24435 (syscall-list-64bit-condition): Define.
24436 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24438 (syscall-list-variants, syscall-list-32bit-options)
24439 (syscall-list-32bit-condition, syscall-list-64bit-options)
24440 (syscall-list-64bit-condition): Define.
24441 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24443 (syscall-list-variants, syscall-list-32bit-options)
24444 (syscall-list-32bit-condition, syscall-list-64bit-options)
24445 (syscall-list-64bit-condition): Define.
24447 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24449 * locale/iso-639.def: Add brx entry.
24452 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24453 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24455 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24456 __feraiseexcept_renamed.
24458 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24461 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24462 EPOLLET with unsigned values.
24463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24464 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24466 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24467 to large cancellation.
24468 * math/s_cacoshf.c: Likewise.
24469 * math/s_cacoshl.c: Likewise.
24471 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24475 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24476 * math/s_cacoshf.c: Likewise.
24477 * math/s_cacoshl.c: Likewise.
24479 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24482 * iconv/gconv.h: Define __GCONV_SWAP.
24483 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24484 * iconvdata/utf-16.c: Likewise.
24485 * iconvdata/utf-32.c: Likewise.
24487 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24491 numerator after shifting it by one limb.
24493 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24495 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24496 under [__USE_EXTERN_INLINES].
24498 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24501 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24503 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24505 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24506 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24508 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24510 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24511 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24512 for strncasecmp/strncasecmp_l compilation.
24513 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24514 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24516 2011-12-08 Marek Polacek <mpolacek@redhat.com>
24519 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24522 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24525 * time/tzfile.c (__tzfile_read): Check values from file header.
24527 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24529 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24530 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24531 * powerpc/powerpc32/dl-start.S: Likewise.
24532 * powerpc/powerpc32/elf/start.S: Likewise.
24533 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24534 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24535 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24536 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24537 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24538 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24539 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24540 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24541 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24542 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24543 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24544 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24545 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24546 * powerpc/powerpc32/memset.S: Likewise.
24547 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24548 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24549 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24550 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24551 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24552 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24553 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24554 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24555 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24556 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24557 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24558 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24559 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24561 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24563 * math/libm-test.inc: Added more nearbyint tests.
24564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24569 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24571 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24574 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24576 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24577 Add wcscpy-ssse3 wcscpy-c.
24578 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24579 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24580 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24581 * sysdeps/x86_64/wcschr.S: New file.
24582 * sysdeps/x86_64/wcsrchr.S: New file.
24583 * string/test-strcmp.c: Remove checking of wcscmp function for
24585 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24586 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24587 wcsrchr-sse2 wcsrchr-c.
24588 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24589 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24590 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24591 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24592 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24593 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24594 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24595 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24596 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24597 * wcsmbc/wcschr.c (WCSCHR): New macro.
24599 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24601 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24602 * wcsmbs/test-wcsrchr.c: New file.
24603 * string/test-strrchr.c: Add wcsrchr support.
24605 * wcsmbs/test-wcscpy.c: New file.
24606 * string/test-strcpy.c: Add wcscpy support.
24609 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24614 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24617 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24619 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24621 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24622 Minor optimizations.
24624 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24625 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24626 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24628 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24630 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24631 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24632 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24633 for gcc to avoid warnings.
24634 * inet/Makefile (tests): Add tst-checks.
24635 * inet/tst-checks.c: New file.
24637 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24640 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24643 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24644 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24646 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24648 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24650 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24653 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24655 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24657 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24658 conditional on GCC version.
24659 (__arch_compare_and_exchange_val_8_acq)
24660 (__arch_compare_and_exchange_val_16_acq)
24661 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24662 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24663 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24665 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24667 * sysdeps/sh/backtrace.c: New file.
24669 2011-12-02 Andreas Schwab <schwab@redhat.com>
24671 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24674 2011-12-01 Andreas Schwab <schwab@redhat.com>
24676 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24677 falling back to utime.
24679 2011-11-30 Andreas Schwab <schwab@redhat.com>
24681 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24682 expectations for float.
24684 2011-11-29 Andreas Schwab <schwab@redhat.com>
24686 * locale/weight.h (findidx): Add parameter len.
24687 * locale/weightwc.h (findidx): Likewise.
24688 * posix/fnmatch_loop.c (FCT): Adjust caller.
24689 * posix/regcomp.c (build_equiv_class): Likewise.
24690 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24691 * posix/regexec.c (check_node_accept_bytes): Likewise.
24692 * string/strcoll_l.c (STRCOLL): Likewise.
24693 * string/strxfrm_l.c (STRXFRM): Likewise.
24695 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24697 * Makefile.in: Remove CVSOPT handling.
24698 * configure.in: Remove use of AC_REVISION.
24699 * iconvdata/Makefile (distribute): No need to filter out CVS.
24700 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24703 2011-11-16 Andreas Schwab <schwab@redhat.com>
24705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24706 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24707 [USE_AS_STRNCASECMP_L]: Likewise.
24708 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24709 NO_TLS_DIRECT_SEG_REFS.
24710 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24711 Fix argument offsets for non-PIC.
24712 [USE_AS_STRNCASECMP_L]: Likewise.
24713 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24714 NO_TLS_DIRECT_SEG_REFS.
24716 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24718 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24720 * locale/loadlocale.c (_nl_load_locale): Likewise.
24722 2011-11-15 Andreas Schwab <schwab@redhat.com>
24724 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24725 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24726 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24727 (SYSCALL_GETTIME): Set errno on error.
24729 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24730 count references to noai6ai_cached.
24732 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24734 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24736 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24737 FD_CLOEXEC for /proc/self/maps.
24739 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24740 FD_CLOEXEC for /proc/meminfo.
24742 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24745 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24746 FD_CLOEXEC for given file.
24748 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24750 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24751 FD_CLOEXEC for /etc/hosts.
24752 (_gethtent): Likewise.
24754 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24756 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24757 cancellation and set FD_CLOEXEC for /etc/netgroup.
24759 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24760 reading /etc/publickey.
24762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24763 allow cancellation when reading /etc/group.
24765 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24767 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24769 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24770 when using data file.
24772 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24774 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24775 (write_nis_obj): Use "c" and "e" in fopen.
24777 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24779 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24781 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24783 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24785 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24788 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24790 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24792 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24794 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24795 file parsing and set FD_CLOEXEC.
24797 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24799 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24801 2011-11-14 Andreas Schwab <schwab@redhat.com>
24803 * malloc/arena.c (arena_get2): Don't call reused_arena when
24804 _int_new_arena failed.
24806 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24808 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24809 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24810 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24811 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24814 to compile strcasecmp and strncasecmp.
24815 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24816 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24820 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24822 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24823 locale-defines.sym to gen-as-const-headers.
24824 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24825 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24827 to compile strcasecmp and strncasecmp.
24828 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24829 strcasecmp_l and strncasecmp_l.
24830 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24831 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24832 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24833 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24834 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24835 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24836 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24837 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24838 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24839 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24840 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24842 2011-11-12 Ulrich Drepper <drepper@gmail.com>
24844 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24845 result of SYSDEP_GETTIME_CPU to retval.
24846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24847 parameter list to macro. Remove trailing semicolon. Adjust users.
24849 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24852 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24854 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24856 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24857 from unused variable.
24859 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24861 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24864 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24867 * sunrpc/rpc_prot.c (rejected): Fix case value.
24869 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24870 unsigned long long int to avoid warnings in shift.
24872 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24874 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24877 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24878 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24879 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24881 * nis/nis_table.c (nis_list): Use variable of correct type for
24882 result of __follow_path call.
24884 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24886 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24887 of math functions ceil, trunc, floor, round, and sqrt, when
24888 avaliable on the platform.
24889 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24891 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24892 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24893 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24895 2011-10-30 Marek Polacek <mpolacek@redhat.com>
24897 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24898 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24900 2011-11-11 Roland McGrath <roland@hack.frob.com>
24902 * include/unistd.h: Fix __readlink return type.
24903 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24905 2011-11-11 Ulrich Drepper <drepper@gmail.com>
24907 * stdlib/ucontext.h: Undo last change for makecontext.
24909 2011-11-11 Andreas Schwab <schwab@redhat.com>
24911 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24913 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24914 * setjmp/setjmp.h: Mark functions as non-leaf.
24915 * setjmp/bits/setjmp2.h: Likewise.
24916 * stdlib/ucontext.h: Likewise.
24918 2011-11-10 Andreas Schwab <schwab@redhat.com>
24920 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24921 (reused_arena): Don't check arena limit.
24922 (arena_get2): Atomically check arena limit.
24924 2011-11-08 Ulrich Drepper <drepper@gmail.com>
24926 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24927 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24932 2011-11-07 Andreas Schwab <schwab@redhat.com>
24934 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24935 handler when locking.
24937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24938 Fix size of allocated buffer.
24940 2011-11-04 Andreas Schwab <schwab@redhat.com>
24943 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24944 declarations for long double functions.
24945 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24947 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24949 2011-11-03 Andreas Schwab <schwab@redhat.com>
24951 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24954 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24957 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24959 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24961 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24963 * include/alloca.h (stackinfo_alloca_round): Define.
24964 (extend_alloca): Use it.
24965 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24966 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24969 * scripts/check-local-headers.sh: Ignore libaudit.h.
24971 * nscd/Makefile (extra-objs): Make recursively expanded.
24973 2011-11-01 Ulrich Drepper <drepper@gmail.com>
24975 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24976 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24978 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24979 * posix/tst-rfc3484-2.c: Likewise.
24980 * posix/tst-rfc3484-3.c: Likewise.
24982 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24984 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24986 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24987 process_vm_writev from libc using GLIBC_2.15 version.
24989 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24991 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24993 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24996 2011-10-31 Ulrich Drepper <drepper@gmail.com>
24999 * nss/getent.c (initgroups_keys): Show error message in case no group
25002 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25003 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25004 __bump_nl_timestamp.
25005 * nscd/connections (nscd_init): When host database is served open
25006 netlink socket and request notification about configuration changes.
25007 (main_loop_poll): Track netlink file descriptor and bump timestamp
25008 in case data becomes available.
25009 (main_loop_epoll): Likewise.
25010 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25011 (database_pers_head): Add extra_data fileds.
25012 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25013 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25014 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25017 in6ai data, call __free_in6ai.
25018 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25019 Add -DHAVE_NETLINK.
25020 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25021 interface information. Reuse previous data if netlink timestamp
25023 (__bump_nl_timestamp): New function.
25024 (__free_in6ai): New function.
25026 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25028 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25029 close_not_cancel_no_status here.
25030 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25032 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25035 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25038 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25039 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25040 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25042 2011-07-03 Andreas Jaeger <aj@suse.de>
25045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25046 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25047 * math/libm-test.inc (sin_test): Add test case.
25049 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25052 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25053 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25055 * elf/chroot_canon.c (chroot_canon): Cleanups.
25057 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25060 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25061 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25063 * string/test-strchr.c: Make usable for strchrnul testing.
25064 * string/test-strchrnul.c: New file.
25065 * string/Makefile (strop-tests): Add strchrnul.
25067 * po/it.po: Update from translation team.
25068 * po/es.po: Likewise.
25070 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25072 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25073 the three constants needed as parameters. Drop the others.
25074 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25075 __m128i_strloadu_tolower.
25076 Create and initialize variable zero and use it in all the places
25077 where _mm_setzero_si128 was used.
25079 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25080 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25081 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25082 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25085 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25086 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25087 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25088 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25089 __mpranred, __mptan.
25090 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25091 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25092 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25093 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25094 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25095 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25096 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25097 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25098 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25100 2011-10-28 Andreas Schwab <schwab@redhat.com>
25102 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25103 redefine if SHARED.
25104 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25107 wide char related routines to wcsmbs subdir.
25109 2011-10-27 Andreas Schwab <schwab@redhat.com>
25112 * misc/sys/cdefs.h (__THROWNL): Define.
25113 * posix/unistd.h: Use __THREADNL instead of __THREAD
25114 for memory synchronization functions.
25116 2011-10-26 Roland McGrath <roland@hack.frob.com>
25119 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25121 * manual/stdio.texi (Obstack Streams): Node removed.
25123 2011-10-26 Andreas Schwab <schwab@redhat.com>
25125 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25127 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25129 * math/math_private.h (math_force_eval): Allow non-addressable
25131 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25133 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25136 file is not needed.
25138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25141 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25143 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25145 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25147 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25148 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25149 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25150 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25151 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25152 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25153 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25154 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25155 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25156 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25157 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25158 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25159 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25160 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25161 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25162 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25163 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25164 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25165 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25167 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25168 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25171 place. Use VEX encoding when compiling for AVX.
25173 2011-10-25 Andreas Schwab <schwab@redhat.com>
25175 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25176 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25178 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25180 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25182 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25183 useless if() expression.
25184 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25194 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25195 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25196 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25197 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25198 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25200 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25202 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25204 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25206 2011-10-25 Andreas Schwab <schwab@redhat.com>
25208 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25210 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25212 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25214 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25215 .text section. Avoid duplicate constants.
25216 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25218 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25224 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25225 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25226 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25228 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25231 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25233 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25236 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25237 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25238 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25239 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25240 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25241 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25242 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25243 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25244 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25245 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25247 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25249 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25250 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25251 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25252 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25254 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25255 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25256 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25258 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25259 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25260 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25262 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25264 * sysdeps/x86_64/dla.h: Move to ...
25265 * sysdeps/x86_64/fpu/dla.h: ...here.
25266 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25267 situations. Use __builtin_fma only for gcc 4.6 and up.
25269 * config.make.in: Add have-mfma4 entry.
25270 * configure.in: Substitute libc_cv_cc_fma4.
25271 * math/Makefile (dbl-only-routines): Add sincostab.
25272 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25273 Use __sincostab not sincos.
25274 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25281 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25282 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25283 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25284 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25286 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25287 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25289 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25290 define aliases when function name is a macro.
25291 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25292 sysdeps/ieee754/dbl-64/sincos.tbl.
25293 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25294 fma4-enabled routines.
25295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25296 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25300 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25304 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25305 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25306 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25307 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25308 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25309 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25310 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25311 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25312 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25313 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25315 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25316 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25317 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25318 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25319 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25320 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25322 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25323 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25324 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25326 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25337 2011-10-24 Andreas Schwab <schwab@redhat.com>
25339 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25341 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25345 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25347 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25349 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25350 Remove unused variable magic_bits.
25351 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25353 * string/strnlen.c: Define and use STRNLEN macro.
25354 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25355 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25356 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25357 * wcsmbs/wcslen.c: Define and use WCSLEN.
25358 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25359 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25360 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25361 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25362 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25363 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25364 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25366 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25369 strnlen-sse2-no-bsf.
25370 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25372 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25373 Add strnlen support.
25374 (USE_AS_STRNLEN): New macro.
25375 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25376 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25377 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25378 * sysdeps/x86_64/wcslen.S: New file.
25380 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25382 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25383 XMM-moves are used for copying on small sizes.
25385 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25387 * wcsmbs/Makefile (strop-tests): Add wcschr.
25388 * wcsmbs/test-wcschr.c: New file.
25389 * string/test-strchr.c: Update.
25390 Add wcschr support.
25393 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25395 * wcsmbs/Makefile (strop-tests): Add wcslen.
25396 * wcsmbs/test-wcslen.c: New file.
25397 * string/test-strlen.c: Update.
25398 Add wcslen support.
25401 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25403 * po/it.po: Update from translation team.
25405 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25407 * sysdeps/x86_64/wcscmp.S: Update.
25408 Fix wrong comparison semantics.
25409 wcscmp shall use signed comparison not unsigned.
25410 Don't use substraction to avoid overflow bug.
25411 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25412 * wcsmbc/wcscmp.c: Likewise.
25413 * string/test-strcmp.c: Likewise.
25414 Add new tests to check cases with negative values.
25416 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25418 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25419 * sysdeps/x86_64/dla.h: ...here. New file.
25420 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25424 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25430 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25433 __ynl_finite aliases.
25435 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25439 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25441 [DLA_FMA] (EMULV): Use DLA_FMA.
25442 [DLA_FMA] (MUL12): Use EMULV.
25443 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25444 that are not needed.
25445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25453 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25455 * math/s_nan.c: Undef __nan.
25456 * math/s_nanf.c: Undef __nanf.
25457 * math/s_nanl.c: Undef __nanl.
25458 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25461 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25463 * math/s_catan.c: Add branch predictions.
25464 * math/s_catanf.c: Likewise.
25465 * math/s_catanh.c: Likewise.
25466 * math/s_catanhf.c: Likewise.
25467 * math/s_catanhl.c: Likewise.
25468 * math/s_catanl.c: Likewise.
25469 * math/s_cexp.c: Likewise.
25470 * math/s_cexpf.c: Likewise.
25471 * math/s_cexpl.c: Likewise.
25472 * math/s_clog.c: Likewise.
25473 * math/s_clog10.c: Likewise.
25474 * math/s_clog10f.c: Likewise.
25475 * math/s_clog10l.c: Likewise.
25476 * math/s_clogf.c: Likewise.
25477 * math/s_clogl.c: Likewise.
25478 * math/s_csqrt.c: Likewise.
25479 * math/s_csqrtf.c: Likewise.
25480 * math/s_csqrtl.c: Likewise.
25481 * math/s_ctanf.c: Likewise.
25482 * math/s_ctanh.c: Likewise.
25483 * math/s_ctanhf.c: Likewise.
25484 * math/s_ctanhl.c: Likewise.
25485 * math/s_ctanl.c: Likewise.
25487 * math/math_private.h: Define __nan, __nanf, __nanl.
25488 * math/s_cacosh.c: Include <math_private.h>.
25489 * math/s_cacoshl.c: Likewise.
25490 * math/s_casinh.c: Likewise.
25491 * math/s_casinhf.c: Likewise.
25492 * math/s_casinhl.c: Likewise.
25493 * math/s_ccos.c: Rely entire on ccosh.
25494 * math/s_ccosf.c: Rely entire on ccoshf.
25495 * math/s_ccosl.c: Rely entirely on ccoshl.
25496 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25497 Remove tests for FE_INVALID.
25498 * math/s_ccoshf.c: Likewise.
25499 * math/s_ccoshl.c: Likewise.
25500 * math/s_csin.c: Likewise.
25501 * math/s_csinf.c: Likewise.
25502 * math/s_csinh.c Likewise.
25503 * math/s_csinhf.c: Likewise.
25504 * math/s_csinhl.c: Likewise.
25505 * math/s_csinl.c: Likewise.
25506 * math/s_ctan.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25508 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25509 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25511 2011-10-21 Ulrich Drepper <drepper@gmail.com>
25513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25514 compilation problems.
25516 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25519 2011-10-20 Ulrich Drepper <drepper@gmail.com>
25521 * sysdeps/i386/configure.in: Test for -mfma4 option.
25522 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25523 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25524 COMMON_CPUID_INDEX_80000001.
25525 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25526 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25527 use it if FMA3 is not supported.
25528 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25530 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25531 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25533 2011-10-20 Andreas Schwab <schwab@redhat.com>
25536 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25537 it would create a cycle with a link time dependency.
25539 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25541 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25543 * string/Makefile (strop-tests): Add rawmemchr.
25544 * string/test-rawmemchr.c: New file.
25546 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25548 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25549 when compiling str{,n}casecmp and when AVX is available. Hook up
25550 new optimized code in initializers.
25552 2011-10-19 Andreas Schwab <schwab@redhat.com>
25554 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25555 __feraiseexcept instead of feraiseexcept.
25557 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25559 * math/math_private.h: Define defaults for libc_fetestexcept and
25561 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25562 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25564 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25566 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25567 libc_fetestexcept and libc_feupdateenv.
25569 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25570 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25571 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25572 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25573 libc_feholdexcept_setround.
25575 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25576 Add s_nearbyint-c and s_nearbyintf-c.
25577 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25578 nearbyintf inlines.
25579 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25580 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25581 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25582 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25584 * math/math_private.h: Define defaults for libc_fegetround,
25585 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25586 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25587 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25588 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25589 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25590 standard functions.
25591 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25592 Remove comments and hacks for old compiler versions.
25593 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25594 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25595 libc_feholdexceptl.
25597 2011-10-18 Andreas Schwab <schwab@redhat.com>
25599 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25600 (__feraiseexcept_renamed): Add __NTH.
25601 (feraiseexcept): Add __NTH. Rename local variables to fix
25602 namespace violations.
25604 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25606 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25608 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25610 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25611 recently added interfaces.
25612 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25614 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25615 about macro parameter expansion.
25617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25618 __NO_MATH_INLINES is defined. Cleanups.
25620 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25621 and __floorf is target has SSE4.1.
25622 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25623 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25624 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25625 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25627 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25629 (floorf): Likewise.
25631 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25633 2011-10-17 Andreas Schwab <schwab@redhat.com>
25635 * misc/sys/cdefs.h: Fix last change.
25637 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25640 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25642 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25644 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25650 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25651 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25652 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25653 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25654 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25655 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25656 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25657 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25658 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25659 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25660 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25661 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25662 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25663 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25664 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25665 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25667 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25668 ceil, ceilf, floor, floorf.
25670 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25671 Perform IRELATIVE relocations last.
25673 * elf/do-rel.h: Add another parameter nrelative, replacing the
25674 local variable with the same name. Change name of the function
25675 to end in Rel or Rela (uppercase).
25676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25677 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25678 elf_dynamic_do_##reloc function.
25680 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25682 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25683 is sufficient, at least on modern CPUs.
25685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25687 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25690 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25692 * math/bits/math-finite.h: Add entries for exp.
25693 * math/e_expl.c: Add __*_finite alias.
25694 * sysdeps/i386/fpu/e_exp.S: Likewise.
25695 * sysdeps/i386/fpu/e_expf.S: Likewise.
25696 * sysdeps/i386/fpu/e_expl.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25698 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25701 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25702 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25705 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25706 is sufficient, at least on modern CPUs.
25708 * ctype/ctype-info.c (__ctype_init): Define.
25709 * include/ctype.h (__ctype_init): Declare.
25710 (__ctype_b_loc): The variable is always initialized.
25711 (__ctype_toupper_loc): Likewise.
25712 (__ctype_tolower_loc): Likewise.
25713 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25714 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25716 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25718 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25720 * configure.in: Also look in $cxxmachine/include for C++ system
25723 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25725 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25726 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25727 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25728 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25730 (USE_AS_WMEMCMP): New macro.
25732 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25733 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25734 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25735 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25737 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25738 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25739 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25740 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25741 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25742 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25743 (USE_AS_WMEMCMP): New macro.
25744 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25745 * sysdeps/string/test-memcmp.c: Update.
25746 Fix simple_wmemcmp.
25748 * wcsmbs/wmemcmp.c: Update.
25749 (WMEMCMP): New macro.
25752 2011-10-12 Andreas Jaeger <aj@suse.de>
25755 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25757 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25759 * libio/iofwide.c (do_length): Avoid warning.
25761 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25763 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25765 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25767 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25768 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25769 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25770 * sysdeps/i386/i686/fpu/e_log.S: New file.
25771 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25772 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25774 * ctype/ctype.h: Add support for inlined isXXX functions when
25775 compiling C++ code.
25777 2011-10-14 Andreas Schwab <schwab@redhat.com>
25779 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25781 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25783 2011-10-13 Roland McGrath <roland@hack.frob.com>
25786 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25788 2011-10-13 Andreas Schwab <schwab@redhat.com>
25790 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25791 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25794 * sysdeps/x86_64/memrchr.S: Check for zero size.
25796 * string/stratcliff.c: Add memrchr tests.
25798 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25801 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25802 rawmemchr-sse2 rawmemchr-sse2-bsf.
25803 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25804 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25805 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25806 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25807 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25808 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25809 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25810 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25811 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25812 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25813 * string/memrchr.c (MEMRCHR): New macro.
25815 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25817 Add integration with gcc's -ffinite-math-only and optimize wrapper
25819 * Versions.def: Define GLIBC_2.15 version for libm.
25820 * math/Makefile (headers): Add bits/math-finite.h.
25821 * math/bits/math-finite.h: New file.
25822 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25823 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25824 * math/e_acoshl.c: Add __*_finite alias.
25825 * math/e_acosl.c: Likewise.
25826 * math/e_asinl.c: Likewise.
25827 * math/e_atan2l.c: Likewise.
25828 * math/e_atanhl.c: Likewise.
25829 * math/e_coshl.c: Likewise.
25830 * math/e_exp10.c: Likewise.
25831 * math/e_exp10f.c: Likewise.
25832 * math/e_exp10l.c: Likewise.
25833 * math/e_exp2l.c: Likewise.
25834 * math/e_fmodl.c: Likewise.
25835 * math/e_gammal_r.c: Likewise.
25836 * math/e_hypotl.c: Likewise.
25837 * math/e_j0l.c: Likewise.
25838 * math/e_j1l.c: Likewise.
25839 * math/e_jnl.c: Likewise.
25840 * math/e_lgammal_r.c: Likewise.
25841 * math/e_log10l.c: Likewise.
25842 * math/e_log2l.c: Likewise.
25843 * math/e_logl.c: Likewise.
25844 * math/e_powl.c: Likewise.
25845 * math/e_sinhl.c: Likewise.
25846 * math/e_sqrtl.c: Likewise.
25847 * math/e_scalb.c: Completely rewritten and optimized.
25848 * math/e_scalbf.c: Likewise.
25849 * math/e_scalbl.c: Likewise.
25850 * math/w_acos.c: Likewise.
25851 * math/w_acosf.c: Likewise.
25852 * math/w_acosl.c: Likewise.
25853 * math/w_acosh.c: Likewise.
25854 * math/w_acoshf.c: Likewise.
25855 * math/w_acoshl.c: Likewise.
25856 * math/w_asin.c: Likewise.
25857 * math/w_asinf.c: Likewise.
25858 * math/w_asinl.c: Likewise.
25859 * math/w_atan2.c: Likewise.
25860 * math/w_atan2f.c: Likewise.
25861 * math/w_atan2l.c: Likewise.
25862 * math/w_atanh.c: Likewise.
25863 * math/w_atanhf.c: Likewise.
25864 * math/w_atanhl.c: Likewise.
25865 * math/w_exp10.c: Likewise.
25866 * math/w_exp10f.c: Likewise.
25867 * math/w_exp10l.c: Likewise.
25868 * math/w_fmod.c: Likewise.
25869 * math/w_fmodf.c: Likewise.
25870 * math/w_fmodl.c: Likewise.
25871 * math/w_j0.c: Likewise.
25872 * math/w_j0f.c: Likewise.
25873 * math/w_j0l.c: Likewise.
25874 * math/w_j1.c: Likewise.
25875 * math/w_j1f.c: Likewise.
25876 * math/w_j1l.c: Likewise.
25877 * math/w_jn.c: Likewise.
25878 * math/w_jnf.c: Likewise.
25879 * math/w_log.c: Likewise.
25880 * math/w_logf.c: Likewise.
25881 * math/w_logl.c: Likewise.
25882 * math/w_log10.c: Likewise.
25883 * math/w_log10f.c: Likewise.
25884 * math/w_log10l.c: Likewise.
25885 * math/w_log2.c: Likewise.
25886 * math/w_log2f.c: Likewise.
25887 * math/w_log2l.c: Likewise.
25888 * math/w_pow.c: Likewise.
25889 * math/w_powf.c: Likewise.
25890 * math/w_powl.c: Likewise.
25891 * math/w_remainder.c: Likewise.
25892 * math/w_remainderf.c: Likewise.
25893 * math/w_remainderl.c: Likewise.
25894 * math/w_scalb.c: Likewise.
25895 * math/w_scalbf.c: Likewise.
25896 * math/w_scalbl.c: Likewise.
25897 * math/w_sqrt.c: Likewise.
25898 * math/w_sqrtf.c: Likewise.
25899 * math/w_sqrtl.c: Likewise.
25900 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25901 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25903 * math/math_private.h: Declare __kernel_standard_f.
25904 * math/w_cosh.c: Remove cruft and optimize a bit.
25905 * math/w_coshf.c: Likewise.
25906 * math/w_coshl.c: Likewise.
25907 * math/w_exp2.c: Likewise.
25908 * math/w_exp2f.c: Likewise.
25909 * math/w_exp2l.c: Likewise.
25910 * math/w_hypot.c: Likewise.
25911 * math/w_hypotf.c: Likewise.
25912 * math/w_hypotl.c: Likewise.
25913 * math/w_lgamma.c: Likewise.
25914 * math/w_lgamma_r.c: Likewise.
25915 * math/w_lgammaf.c: Likewise.
25916 * math/w_lgammaf_r.c: Likewise.
25917 * math/w_lgammal.c: Likewise.
25918 * math/w_lgammal_r.c: Likewise.
25919 * math/w_sinh.c: Likewise.
25920 * math/w_sinhf.c: Likewise.
25921 * math/w_sinhl.c: Likewise.
25922 * math/w_tgamma.c: Likewise.
25923 * math/w_tgammaf.c: Likewise.
25924 * math/w_tgammal.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25927 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25928 Minor optimizations. Pretty printing. Remove cruft.
25929 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25930 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25931 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25932 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25933 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25934 * sysdeps/i386/fpu/e_asin.S: Likewise.
25935 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25936 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25937 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25938 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25939 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25940 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25941 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25942 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25943 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25944 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25945 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25946 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25947 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25948 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25949 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25950 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25951 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25952 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25953 * sysdeps/i386/fpu/e_log.S: Likewise.
25954 * sysdeps/i386/fpu/e_log10.S: Likewise.
25955 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25956 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25957 * sysdeps/i386/fpu/e_log2.S: Likewise.
25958 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25959 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25960 * sysdeps/i386/fpu/e_logf.S: Likewise.
25961 * sysdeps/i386/fpu/e_logl.S: Likewise.
25962 * sysdeps/i386/fpu/e_pow.S: Likewise.
25963 * sysdeps/i386/fpu/e_powf.S: Likewise.
25964 * sysdeps/i386/fpu/e_powl.S: Likewise.
25965 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25966 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25967 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25968 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25969 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25971 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25972 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25973 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25978 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25979 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25991 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25994 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25995 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25996 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25997 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25998 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25999 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26000 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26001 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26002 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26003 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26004 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26005 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26006 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26007 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26008 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26009 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26010 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26011 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26012 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26013 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26014 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26015 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26020 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26021 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26028 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26029 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26030 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26031 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26032 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26034 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26043 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26045 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26053 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26054 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26057 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26059 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26060 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26061 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26062 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26063 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26067 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26069 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26070 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26071 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26072 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26073 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26074 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26075 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26076 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26077 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26078 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26079 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26081 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26082 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26083 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26084 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26085 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26086 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26087 (__isnanf): Likewise.
26088 (__isinf_ns): Likewise.
26089 (__isinf_nsf): Likewise.
26090 (__finite): Likewise.
26091 (__finitef): Likewise.
26092 (__ieee754_sqrt): Define as macro.
26093 (__ieee754_sqrtf): Define as macro.
26094 (__ieee754_sqrtl): Define as macro.
26095 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26097 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26098 __FINITE_MATH_ONLY__ consistent.
26099 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26101 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26103 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26106 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26108 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26110 * po/ja.po: Update from translation team.
26112 2011-10-08 Roland McGrath <roland@hack.frob.com>
26114 * locale/programs/locarchive.c (prepare_address_space): New function.
26115 (create_archive, enlarge_archive, open_archive): Use it.
26117 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26118 inside [SHARED], where it is used.
26120 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26122 * nss/getent.c (netgroup_keys): Remove unused variable.
26123 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26125 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26127 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26128 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26130 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26132 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26133 * math/Makefile (libm-calls): Add s_isinf_ns.
26134 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26135 * math/multc3.c: Likewise.
26136 * math/s_casin.c: Likewise.
26137 * math/s_casinf.c: Likewise.
26138 * math/s_casinl.c: Likewise.
26139 * math/s_ccos.c: Likewise.
26140 * math/s_ccosf.c: Likewise.
26141 * math/s_ccosl.c: Likewise.
26142 * math/s_ctan.c: Likewise.
26143 * math/s_ctanf.c: Likewise.
26144 * math/s_ctanh.c: Likewise.
26145 * math/s_ctanhf.c: Likewise.
26146 * math/s_ctanhl.c: Likewise.
26147 * math/s_ctanl.c: Likewise.
26148 * math/w_fmod.c: Likewise.
26149 * math/w_fmodf.c: Likewise.
26150 * math/w_fmodl.c: Likewise.
26151 * math/w_remainder.c: Likewise.
26152 * math/w_remainderf.c: Likewise.
26153 * math/w_remainderl.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26155 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26156 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26158 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26159 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26160 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26161 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26163 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26165 * stdio-common/printf_fphex.c: Likewise.
26166 * stdio-common/printf_size.c: Likewise.
26168 * math/e_exp10.c: Include math_private.h using <...> not "...".
26169 * math/e_exp10f.c: Likewise.
26170 * math/e_exp10l.c: Likewise.
26171 * math/e_exp2l.c: Likewise.
26172 * math/e_j0l.c: Likewise.
26173 * math/e_j1l.c: Likewise.
26174 * math/e_jnl.c: Likewise.
26175 * math/e_lgammal_r.c: Likewise.
26176 * math/e_rem_pio2l.c: Likewise.
26177 * math/e_scalb.c: Likewise.
26178 * math/e_scalbf.c: Likewise.
26179 * math/e_scalbl.c: Likewise.
26180 * math/k_cosl.c: Likewise.
26181 * math/k_sinl.c: Likewise.
26182 * math/k_tanl.c: Likewise.
26183 * math/s_cacoshf.c: Likewise.
26184 * math/s_catan.c: Likewise.
26185 * math/s_catanf.c: Likewise.
26186 * math/s_catanh.c: Likewise.
26187 * math/s_catanhf.c: Likewise.
26188 * math/s_catanhl.c: Likewise.
26189 * math/s_catanl.c: Likewise.
26190 * math/s_ccosh.c: Likewise.
26191 * math/s_ccoshf.c: Likewise.
26192 * math/s_ccoshl.c: Likewise.
26193 * math/s_cexp.c: Likewise.
26194 * math/s_cexpf.c: Likewise.
26195 * math/s_cexpl.c: Likewise.
26196 * math/s_clog.c: Likewise.
26197 * math/s_clog10.c: Likewise.
26198 * math/s_clog10f.c: Likewise.
26199 * math/s_clog10l.c: Likewise.
26200 * math/s_clogf.c: Likewise.
26201 * math/s_clogl.c: Likewise.
26202 * math/s_csin.c: Likewise.
26203 * math/s_csinf.c: Likewise.
26204 * math/s_csinh.c: Likewise.
26205 * math/s_csinhf.c: Likewise.
26206 * math/s_csinhl.c: Likewise.
26207 * math/s_csinl.c: Likewise.
26208 * math/s_csqrt.c: Likewise.
26209 * math/s_csqrtf.c: Likewise.
26210 * math/s_csqrtl.c: Likewise.
26211 * math/s_ctan.c: Likewise.
26212 * math/s_ctanf.c: Likewise.
26213 * math/s_ctanh.c: Likewise.
26214 * math/s_ctanhf.c: Likewise.
26215 * math/s_ctanhl.c: Likewise.
26216 * math/s_ctanl.c: Likewise.
26217 * math/s_ldexp.c: Likewise.
26218 * math/s_ldexpf.c: Likewise.
26219 * math/s_ldexpl.c: Likewise.
26220 * math/s_significand.c: Likewise.
26221 * math/s_significandf.c: Likewise.
26222 * math/s_significandl.c: Likewise.
26223 * math/w_acos.c: Likewise.
26224 * math/w_acosf.c: Likewise.
26225 * math/w_acosh.c: Likewise.
26226 * math/w_acoshf.c: Likewise.
26227 * math/w_acoshl.c: Likewise.
26228 * math/w_acosl.c: Likewise.
26229 * math/w_asin.c: Likewise.
26230 * math/w_asinf.c: Likewise.
26231 * math/w_asinl.c: Likewise.
26232 * math/w_atan2.c: Likewise.
26233 * math/w_atan2f.c: Likewise.
26234 * math/w_atan2l.c: Likewise.
26235 * math/w_atanh.c: Likewise.
26236 * math/w_atanhf.c: Likewise.
26237 * math/w_atanhl.c: Likewise.
26238 * math/w_cosh.c: Likewise.
26239 * math/w_coshf.c: Likewise.
26240 * math/w_coshl.c: Likewise.
26241 * math/w_dremf.c: Likewise.
26242 * math/w_exp10.c: Likewise.
26243 * math/w_exp10f.c: Likewise.
26244 * math/w_exp10l.c: Likewise.
26245 * math/w_exp2.c: Likewise.
26246 * math/w_exp2f.c: Likewise.
26247 * math/w_fmod.c: Likewise.
26248 * math/w_fmodf.c: Likewise.
26249 * math/w_fmodl.c: Likewise.
26250 * math/w_hypot.c: Likewise.
26251 * math/w_hypotf.c: Likewise.
26252 * math/w_hypotl.c: Likewise.
26253 * math/w_j0.c: Likewise.
26254 * math/w_j0f.c: Likewise.
26255 * math/w_j0l.c: Likewise.
26256 * math/w_j1.c: Likewise.
26257 * math/w_j1f.c: Likewise.
26258 * math/w_j1l.c: Likewise.
26259 * math/w_jn.c: Likewise.
26260 * math/w_jnf.c: Likewise.
26261 * math/w_jnl.c: Likewise.
26262 * math/w_lgamma.c: Likewise.
26263 * math/w_lgamma_r.c: Likewise.
26264 * math/w_lgammaf.c: Likewise.
26265 * math/w_lgammaf_r.c: Likewise.
26266 * math/w_lgammal.c: Likewise.
26267 * math/w_lgammal_r.c: Likewise.
26268 * math/w_log.c: Likewise.
26269 * math/w_log10.c: Likewise.
26270 * math/w_log10f.c: Likewise.
26271 * math/w_log10l.c: Likewise.
26272 * math/w_log2.c: Likewise.
26273 * math/w_log2f.c: Likewise.
26274 * math/w_log2l.c: Likewise.
26275 * math/w_logf.c: Likewise.
26276 * math/w_logl.c: Likewise.
26277 * math/w_pow.c: Likewise.
26278 * math/w_powf.c: Likewise.
26279 * math/w_powl.c: Likewise.
26280 * math/w_remainder.c: Likewise.
26281 * math/w_remainderf.c: Likewise.
26282 * math/w_remainderl.c: Likewise.
26283 * math/w_scalb.c: Likewise.
26284 * math/w_scalbf.c: Likewise.
26285 * math/w_scalbl.c: Likewise.
26286 * math/w_sinh.c: Likewise.
26287 * math/w_sinhf.c: Likewise.
26288 * math/w_sinhl.c: Likewise.
26289 * math/w_sqrt.c: Likewise.
26290 * math/w_sqrtf.c: Likewise.
26291 * math/w_sqrtl.c: Likewise.
26292 * math/w_tgamma.c: Likewise.
26293 * math/w_tgammaf.c: Likewise.
26294 * math/w_tgammal.c: Likewise.
26296 * po/ja.po: Update from translation team.
26298 2011-09-29 Andreas Jaeger <aj@suse.de>
26301 * sunrpc/netname.c (netname2host): Fix logic.
26305 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26307 * math/w_remainder.c (__remainder): Likewise.
26308 * math/w_remainderf.c (__remainderf): Likewise.
26309 * math/libm-test.inc (remainder_test): Add test cases.
26311 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26313 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26316 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26318 * string/test-memcmp.c: Avoid unncessary #defines.
26319 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26321 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26323 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26324 Use new sse2 version for core i3 - i7 as it's faster
26325 than sse42 version.
26326 (bit_Prefer_PMINUB_for_stringop): New.
26327 * sysdeps/x86_64/rawmemchr.S: Update.
26328 Replace with faster SSE2 version.
26329 * sysdeps/x86_64/memrchr.S: New file.
26330 * sysdeps/x86_64/memchr.S: Update.
26331 Replace with faster SSE2 version.
26333 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26335 * elf/dl-load.c (lose): Add cast to avoid warning.
26337 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26339 * po/ca.po: Update from translation team.
26341 * inet/getnetgrent_r.c: Hook up nscd.
26342 * nscd/Makefile (routines): Add nscd_netgroup.
26343 (nscd-modules): Add netgroupcache.
26344 (CFLAGS-netgroupcache.c): Define.
26345 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26346 (cache_search): Add const to second parameter.
26347 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26349 (dbs): Add netgrdb entry.
26350 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26351 (verify_persistent_db): Handle netgrdb.
26352 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26353 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26355 (netgroup_response_header): Define.
26356 (innetgroup_response_header): Define.
26357 (datahead): Add netgroup_response_header and innetgroup_response_header
26359 * nscd/nscd.conf: Add entries for netgroup cache.
26360 * nscd/nscd.h (dbtype): Add netgrdb.
26361 (_PATH_NSCD_NETGROUP_DB): Define.
26362 (netgroup_iov_disabled): Declare.
26363 (xmalloc, xcalloc, xrealloc): Move declarations here.
26364 (cache_search): Adjust prototype.
26365 Add netgroup-related prototypes.
26366 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26367 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26368 (__nscd_innetgr): Declare.
26369 * nscd/selinux.c (perms): Use access_vector_t as element type and
26370 add netgroup-related initializers.
26371 * nscd/netgroupcache.c: New file.
26372 * nscd/nscd_netgroup.c: New file.
26373 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26374 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26375 For four parameters use innetgr.
26376 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26377 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26378 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26379 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26381 * nscd/connections.c (register_traced_file): Don't register file
26382 for disabled databases.
26384 2011-10-06 Ulrich Drepper <drepper@gmail.com>
26386 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26388 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26389 from tree and freeing node.
26391 2011-09-25 Jiri Olsa <jolsa@redhat.com>
26393 * nss/nsswitch.c (__nss_database_lookup): Handle
26394 nss_parse_service_list out of memory case.
26396 2011-09-15 Jiri Olsa <jolsa@redhat.com>
26398 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26399 out of memory case.
26401 2011-10-04 Andreas Schwab <schwab@redhat.com>
26403 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26404 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26406 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26407 elf_machine_rela, elf_machine_lazy_rel.
26408 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26409 (ELF_DYNAMIC_DO_REL): Likewise.
26410 (ELF_DYNAMIC_DO_RELA): Likewise.
26411 (ELF_DYNAMIC_RELOCATE): Likewise.
26412 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26413 to ELF_DYNAMIC_DO_REL.
26414 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26415 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26416 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26419 skip_ifunc, don't call ifunc function if non-zero.
26420 (elf_machine_rela): Likewise.
26421 (elf_machine_lazy_rel): Likewise.
26422 (elf_machine_lazy_rela): Likewise.
26423 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26424 (elf_machine_lazy_rel): Likewise.
26425 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26427 (elf_machine_lazy_rel): Likewise.
26428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26430 (elf_machine_lazy_rel): Likewise.
26431 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26432 (elf_machine_lazy_rel): Likewise.
26433 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26434 (elf_machine_lazy_rel): Likewise.
26435 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26436 (elf_machine_lazy_rel): Likewise.
26437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26438 (elf_machine_lazy_rel): Likewise.
26439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26440 (elf_machine_lazy_rel): Likewise.
26441 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26442 (elf_machine_lazy_rel): Likewise.
26444 2011-09-28 Ulrich Drepper <drepper@gmail.com>
26446 * nss/nss_files/files-init.c (_nss_files_init): Use static
26447 initialization for all the *_traced_file variables.
26449 2011-09-28 Andreas Schwab <schwab@redhat.com>
26451 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26453 2011-09-27 Roland McGrath <roland@hack.frob.com>
26456 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26458 2011-09-27 Andreas Schwab <schwab@redhat.com>
26460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26461 Reread the line before reparsing it.
26463 2011-09-26 Andreas Schwab <schwab@redhat.com>
26465 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26467 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26468 Maxim Kuvyrkov <maxim@codesourcery.com>
26469 Joseph Myers <joseph@codesourcery.com>
26471 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26472 if needed for __stack_chk_guard.
26474 2011-09-19 Roland McGrath <roland@hack.frob.com>
26476 * sysdeps/posix/spawni.c (script_execute): Always define it.
26477 It will be optimized away if unused.
26478 (maybe_script_execute): New function.
26479 (__spawni): Call it.
26481 * Makerules: Don't include tls.make.
26482 (config-tls): Always set to thread.
26483 * tls.make.c: File removed.
26485 2011-09-19 Mike Frysinger <vapier@gentoo.org>
26487 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26488 * config.make.in (CPPFLAGS-config): New substituted variable.
26490 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26492 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26495 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26496 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26498 2011-09-15 Roland McGrath <roland@hack.frob.com>
26500 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26501 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26503 (CALL_FAIL): Likewise.
26504 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26505 (CALL_FAIL): Macro removed.
26506 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26508 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26510 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26511 for __FINITE_MATH_ONLY__ == 1.
26513 2011-09-15 Andreas Schwab <schwab@redhat.com>
26515 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26516 __ieee754_sqrt instead of sqrt.
26517 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26518 __ieee754_sqrtf instead of sqrtf.
26519 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26520 __floorf instead of floorf.
26521 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26522 __floorf, __truncf instead of floorf, truncf.
26524 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26526 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26528 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26529 __extern_always_inline.
26530 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26533 2011-09-14 Andreas Schwab <schwab@redhat.com>
26535 * elf/rtld.c (dl_main): Also relocate in dependency order when
26536 doing symbol dependency testing.
26538 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26541 Always define `refsym'.
26543 2011-09-13 Andreas Schwab <schwab@redhat.com>
26545 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26546 (__FD_ELT): Renamed from __FDELT.
26547 * misc/bits/select2.h (__FD_ELT): Likewise.
26548 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26549 __FD_MASK instead of __FDELT, __FDMASK.
26550 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26552 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26555 * elf/Makefile (gen-ldd): Fix pattern.
26557 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26558 (init_tls): Likewise.
26560 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26564 2011-09-12 Andreas Schwab <schwab@redhat.com>
26566 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26567 `struct cmsghdr *' instead of `void *'.
26568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26571 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26573 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26575 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26576 ldd_rewrite_script.
26578 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26580 * configure.in: Remove --with-tls option.
26581 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26582 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26583 out in case it is missing.
26584 * sysdeps/ia64/elf/configure.in: Likewise.
26585 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26586 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26587 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26588 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26589 * sysdeps/sh/elf/configure.in: Likewise.
26590 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26591 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26592 * sysdeps/x86_64/elf/configure.in: Likewise.
26593 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26594 * sysdeps/mach/hurd/tls.h: Likewise.
26597 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26600 * configure.in: Fix use of AC_INIT.
26602 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26604 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26606 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26608 * malloc/hooks.c: Likewise.
26611 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26612 variables statically.
26613 (narenas): Initialize.
26614 (list_lock): Initialize.
26615 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26616 initializtion of main_arena and list_lock. Small cleanups.
26617 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26618 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26619 Add initializers to main_arena and mp_.
26620 (malloc_state): Remove pagesize member. Change all users to use
26623 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26624 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26625 is always initialized.
26627 * malloc/malloc.c: Removed unused configurations and dead code.
26628 * malloc/arena.c: Likewise.
26629 * malloc/hooks.c: Likewise.
26630 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26632 * include/tls.h: Removed. USE___THREAD must always be defined.
26633 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26634 * elf/dl-libc.c: Likewise.
26635 * elf/dl-tsd.c: Likewise.
26636 * include/errno.h: Likewise.
26637 * include/netdb.h: Likewise.
26638 * include/resolv.h: Likewise.
26639 * inet/herrno-loc.c: Likewise.
26640 * inet/herrno.c: Likewise.
26641 * malloc/arena.c: Likewise.
26642 * malloc/hooks.c: Likewise.
26643 * malloc/malloc.c: Likewise.
26644 * resolv/res-state.c: Likewise.
26645 * resolv/res_libc.c: Likewise.
26646 * sysdeps/i386/dl-machine.h: Likewise.
26647 * sysdeps/ia64/dl-machine.h: Likewise.
26648 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26649 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26650 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26651 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26652 * sysdeps/sh/dl-machine.h: Likewise.
26653 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26654 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26655 * sysdeps/unix/i386/sysdep.S: Likewise.
26656 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26657 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26659 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26661 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26662 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26667 * sysdeps/x86_64/dl-machine.h: Likewise.
26668 * tls.make.c: Likewise.
26670 * configure.in: Remove --with-__thread option. Make tests for
26671 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26672 tls_model attribute fail if no support is available. Remove
26674 * Makeconfig: Adjust for dropped configure option. All features are
26676 * Makerules: Likewise.
26677 * Versions.def: Likewise.
26678 * argp/argp-fmtstream.c: Likewise.
26679 * argp/argp-fmtstream.h: Likewise.
26680 * argp/argp-help.c: Likewise.
26681 * assert/assert.c: Likewise.
26682 * config.h.in: Likewise.
26683 * config.make.in: Likewise.
26684 * configure: Likewise.
26685 * configure.in: Likewise.
26686 * csu/Versions: Likewise.
26687 * csu/init.c: Likewise.
26688 * elf/tst-audit2.c: Likewise.
26689 * elf/tst-tls10.c: Likewise.
26690 * elf/tst-tls10.h: Likewise.
26691 * elf/tst-tls11.c: Likewise.
26692 * elf/tst-tls12.c: Likewise.
26693 * elf/tst-tls14.c: Likewise.
26694 * elf/tst-tlsmod11.c: Likewise.
26695 * elf/tst-tlsmod12.c: Likewise.
26696 * elf/tst-tlsmod13.c: Likewise.
26697 * elf/tst-tlsmod13a.c: Likewise.
26698 * elf/tst-tlsmod14a.c: Likewise.
26699 * elf/tst-tlsmod15b.c: Likewise.
26700 * elf/tst-tlsmod16a.c: Likewise.
26701 * elf/tst-tlsmod16b.c: Likewise.
26702 * elf/tst-tlsmod7.c: Likewise.
26703 * elf/tst-tlsmod8.c: Likewise.
26704 * elf/tst-tlsmod9.c: Likewise.
26705 * gmon/gmon.c: Likewise.
26706 * grp/fgetgrent_r.c: Likewise.
26707 * grp/putgrent.c: Likewise.
26708 * hurd/fopenport.c: Likewise.
26709 * include/libc-symbols.h: Likewise.
26710 * include/tls.h: Likewise.
26711 * intl/gettextP.h: Likewise.
26712 * intl/loadinfo.h: Likewise.
26713 * locale/global-locale.c: Likewise.
26714 * locale/localeinfo.h: Likewise.
26715 * mach/devstream.c: Likewise.
26716 * malloc/arena.c: Likewise.
26717 * malloc/set-freeres.c: Likewise.
26718 * misc/err.c: Likewise.
26719 * misc/getttyent.c: Likewise.
26720 * misc/mntent_r.c: Likewise.
26721 * posix/getopt.c: Likewise.
26722 * posix/wordexp.c: Likewise.
26723 * pwd/fgetpwent_r.c: Likewise.
26724 * resolv/Versions: Likewise.
26725 * resolv/res_hconf.c: Likewise.
26726 * shadow/fgetspent_r.c: Likewise.
26727 * shadow/putspent.c: Likewise.
26728 * stdio-common/printf_fphex.c: Likewise.
26729 * stdio-common/tmpfile.c: Likewise.
26730 * stdlib/abort.c: Likewise.
26731 * stdlib/fmtmsg.c: Likewise.
26732 * sunrpc/auth_unix.c: Likewise.
26733 * sunrpc/clnt_perr.c: Likewise.
26734 * sunrpc/clnt_tcp.c: Likewise.
26735 * sunrpc/clnt_udp.c: Likewise.
26736 * sunrpc/clnt_unix.c: Likewise.
26737 * sunrpc/openchild.c: Likewise.
26738 * sunrpc/svc_simple.c: Likewise.
26739 * sunrpc/svc_tcp.c: Likewise.
26740 * sunrpc/svc_udp.c: Likewise.
26741 * sunrpc/svc_unix.c: Likewise.
26742 * sunrpc/xdr.c: Likewise.
26743 * sunrpc/xdr_array.c: Likewise.
26744 * sunrpc/xdr_rec.c: Likewise.
26745 * sunrpc/xdr_ref.c: Likewise.
26746 * sunrpc/xdr_stdio.c: Likewise.
26748 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26750 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26752 2011-07-03 Andreas Jaeger <aj@suse.de>
26754 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26755 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26756 regenerate with gen-libm-tests.pl.
26758 2010-05-12 Petr Baudis <pasky@suse.cz>
26761 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26762 around j0() zero points by switching to j1().
26763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26768 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26770 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26772 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26775 Patch in part by Pavel Roskin <proski@gnu.org>.
26778 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26780 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26781 Free memory block if necessary.
26784 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26785 be NULL. Don't lock in this case.
26787 2011-09-09 Roland McGrath <roland@hack.frob.com>
26789 * elf/elf.h (ELFOSABI_GNU): New macro.
26790 (ELFOSABI_LINUX): Define to that.
26792 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26794 * string/strncat.c (strncat): Undef the symbol in case it has been
26795 defined in bits/string.h.
26797 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26799 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26801 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26804 2011-08-17 Andreas Jaeger <aj@suse.de>
26806 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26808 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26809 Ian Lance Taylor <iant@google.com>
26811 * math/libm-test.inc (lround_test): New testcase.
26812 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26814 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26816 * Makefile: Remove support for automatic cvs check-ins.
26817 * Makerules: Likewise.
26818 * config.make.in: Likewise.
26819 * configure.in: Likewise.
26820 * intl/Makefile: Likewise.
26821 * locale/Makefile: Likewise.
26822 * po/Makefile: Likewise.
26823 * posix/Makefile: Likewise.
26824 * sysdeps/gnu/Makefile: Likewise.
26825 * sysdeps/mach/hurd/Makefile: Likewise.
26826 * sysdeps/sparc/sparc32/Makefile: Likewise.
26829 * posix/Makefile (bug-regex32-ENV): Define.
26830 Patch by John Stanley <jpsinthemix@verizon.net>.
26832 * misc/Makefile (headers): Add bits/select2.h.
26833 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26834 * misc/bits/select2.h: New file.
26835 * include/bits/select2.h: New file.
26836 * debug/Makefile (routines): Add fdelt_chk.
26837 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26838 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26840 * debug/fdelt_chk.c: New file.
26842 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26843 * wcsmbs/test-wmemcmp.c: Likewise.
26844 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26845 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26847 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26849 * string/Makefile (strop-tests): Add memcmp.
26850 * string/test-wmemcmp.c: New file.
26851 * string/test-memcmp.c: Add wmemcmp support.
26853 2011-09-08 Roland McGrath <roland@hack.frob.com>
26856 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26859 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26860 garbage value in a __mach_port_mod_refs call in the cases of the
26861 task-self and thread-self ports.
26863 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26865 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26867 2011-09-08 Andreas Schwab <schwab@redhat.com>
26869 * elf/dl-load.c (lose): Check for non-null L.
26871 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26873 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26875 * elf/dl-libc.c (dlerror_run): Pass back error code from
26879 * elf/dl-load.c (lose): Free l_origin if it is valid.
26881 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26883 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26884 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26886 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26887 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26888 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26890 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26892 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26893 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26894 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26895 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26896 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26897 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26898 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26899 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26900 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26901 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26903 2011-08-15 Alan Modra <amodra@gmail.com>
26906 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26907 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26908 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26909 ppc_mcount to static-only-routines.
26910 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26912 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26913 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26915 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26917 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26918 for finite and infinity parameters.
26920 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26923 and add nop instructions for throughput optimization.
26924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26926 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26928 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26929 aligned copy for power7 with vector-scalar instructions.
26930 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26932 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26937 2011-09-07 Andreas Schwab <schwab@redhat.com>
26940 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26943 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26945 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26946 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26947 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26948 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26951 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26953 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26954 Forgot to demangle the pointer.
26956 * sysdeps/i386/sysdep.h: Define atom_text_section.
26957 * sysdeps/x86_64/sysdep.h: Likewise.
26958 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26959 section with atom_text_section.
26960 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26964 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26967 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26968 already be defined. Change to take two parameters and don't assign
26969 result to variable. Adjust all users.
26970 Define INTERNAL_GETTIME if not already defined.
26971 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26974 HAVE_CLOCK_GETTIME_VSYSCALL.
26975 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26978 gettimeofday vsyscall, just use time.
26980 2011-09-06 Andreas Schwab <schwab@redhat.com>
26982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26985 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26987 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26991 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26992 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26993 syscall if possible.
26995 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26997 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26998 e_ident. Don't pass to find_mapsXX.
26999 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27001 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27004 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27005 * sysdeps/x86_64/multiarch/strchr.S: Update.
27006 Check bit_slow_BSF bit.
27007 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27011 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27014 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27016 (tryshell): Define.
27017 (__spawni): Change last parameter to be flag. Test
27018 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27019 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27020 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27021 * posix/spawni.c: Likewise.
27022 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27023 * posix/spawnp.c: Likewise. Change normal version to use
27024 SPAWN_XFLAGS_USE_PATH.
27025 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27026 SPAWN_XFLAGS_TRY_SHELL.
27029 * posix/glob.h: Remove gcc 1.x support.
27032 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27034 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27037 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27039 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27040 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27041 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27043 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27046 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27048 * sysdeps/x86_64/wcscmp.S: New file.
27050 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27051 wcscmp-c wcscmp-sse2
27052 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27053 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27054 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27055 * wcsmbs/wcscmp.c: Allow renaming.
27057 2011-09-05 David S. Miller <davem@davemloft.net>
27059 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27060 stack slot, rather than the struct return pointer slot.
27061 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27062 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27064 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27066 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27068 * po/ja.po: Update from translation team.
27071 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27072 kernel in 64-bit binaries.
27074 2011-09-01 David S. Miller <davem@davemloft.net>
27076 * elf/elf.h (HWCAP_SPARC_*): Move to..
27077 * sysdeps/sparc/sysdep.h: this new file and add new values.
27078 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27079 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27080 _DL_HWCAP_COUNT to 24.
27081 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27083 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27084 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27085 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27087 instead of magic constants.
27088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27090 2011-08-31 David S. Miller <davem@davemloft.net>
27092 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27094 Reimplement to do errno handling inline.
27095 (SYSCALL_ERROR_HANDLER): New macro.
27096 (__SYSCALL_STRING): Do not do errno handling in asm.
27097 (__CLONE_SYSCALL_STRING): Delete.
27098 (__INTERNAL_SYSCALL_STRING): Delete.
27099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27100 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27101 (PSEUDO): Reimplement to do errno handling inline.
27102 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27103 (SYSCALL_ERROR_HANDLER): New macro.
27104 (__SYSCALL_STRING): Do not do errno handling in asm.
27105 (__CLONE_SYSCALL_STRING): Delete.
27106 (__INTERNAL_SYSCALL_STRING): Delete.
27107 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27108 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27110 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27111 (inline_syscall*): Add 'err' argument.
27112 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27113 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27114 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27115 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27117 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27118 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27120 2011-08-30 Andreas Schwab <schwab@redhat.com>
27122 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27124 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27126 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27129 2011-08-24 David S. Miller <davem@davemloft.net>
27131 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27133 2011-08-24 Andreas Schwab <schwab@redhat.com>
27135 * elf/Makefile: Add rules to build and run unload8 test.
27136 * elf/unload8.c: New file.
27137 * elf/unload8mod1.c: New file.
27138 * elf/unload8mod1x.c: New file.
27139 * elf/unload8mod2.c: New file.
27140 * elf/unload8mod3.c: New file.
27142 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27145 2011-08-23 David S. Miller <davem@davemloft.net>
27147 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27148 subtract stack bias.
27149 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27150 %sp not %fp in calculations.
27151 (_JMPBUF_UNWINDS_ADJ): Likewise.
27153 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27154 (aio_suspend): Call it to force an exception region around the
27155 AIO_MISC_WAIT() invocation.
27157 2011-08-23 Andreas Schwab <schwab@redhat.com>
27159 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27162 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27164 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27166 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27167 and <dl-machine.h>.
27168 (Elf64_FuncDesc): Remove.
27170 2011-08-22 David S. Miller <davem@davemloft.net>
27172 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27173 sigaltstack check, add missing cfi directives.
27174 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27175 missing cfi directives, and sigaltstack handling.
27177 2011-08-16 Andreas Schwab <schwab@redhat.com>
27180 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27181 object is seen twice.
27182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27184 * elf/Makefile (distribute): Add tst-initorder2.c.
27185 (tests): Add tst-initorder2.
27186 (modules-names): Add tst-initorder2a tst-initorder2b
27187 tst-initorder2c tst-initorder2d. Add rules to build them.
27188 ($(objpfx)tst-initorder2.out): New rule.
27189 * elf/tst-initorder2.c: New file.
27190 * elf/tst-initorder2.exp: New file.
27192 2011-08-22 Andreas Schwab <schwab@redhat.com>
27194 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27196 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27197 dependencies back to end of function.
27199 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27200 $(elfobjdir)/ld.so.
27202 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27205 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27207 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27208 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27209 of __vdso_gettimeofday.
27210 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27211 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27213 (_libc_vdso_platform_setup): Remove initialization of
27214 __vdso_gettimeofday and __vdso_time.
27216 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27218 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27219 and fgetc_unlocked.
27220 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27223 * elf/dl-open.c (add_to_global): Report additions to the global scope
27224 for LD_DEBUG=scopes.
27225 (dl_open_worker): Also print scope of newly loaded dependencies.
27226 (_dl_show_scope): Indicate if there is no scope.
27229 * stdio-common/Makefile (tests): Add bug24.
27230 * stdio-common/bug24.c: New file.
27232 2011-08-19 Andreas Jaeger <aj@suse.de>
27235 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27236 non-existant file when using close-on-exec mode.
27238 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27241 the very first instruction.
27243 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27244 the CFI state in the end.
27245 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27246 inclusion of dl-trampoline.h.
27247 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27249 2011-08-19 Andreas Schwab <schwab@redhat.com>
27251 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27252 expectations for long double.
27254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27255 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27257 2011-08-14 David S. Miller <davem@davemloft.net>
27259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27260 artificual limit depends upon the system page size.
27262 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27264 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27265 * resolv/Makefile: Define CFLAGS-libresolv.
27267 2011-08-17 Andreas Schwab <schwab@redhat.com>
27269 * nss/makedb.c (compute_tables): Make variables used in nested
27272 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27274 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27275 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27276 if buffer was too small.
27278 * elf/pldd.c (main): Attach to all threads in the process.
27279 Rewrite /proc handling to use *at functions.
27281 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27283 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27284 specifies first scope to show.
27285 (dl_open_worker): Update callers. Move printing scope of new
27286 object to before the relocation.
27287 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27288 * sysdeps/generic/ldsodefs.h: Update declaration.
27290 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27291 string for the scope number.
27293 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27295 * nscd/servicescache.c (cache_addserv): Make sure written is always
27298 2011-08-14 Roland McGrath <roland@hack.frob.com>
27300 * sysdeps/i386/i486/bits/atomic.h
27301 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27302 statement expression, so as to suppress "set but not used" warning.
27303 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27305 * string/strncat.c (STRNCAT): Use prototype definition.
27307 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27308 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27310 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27311 (localedef-modules): Add localedef.
27312 (locale-modules): Add locale.
27314 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27315 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27316 to avoid a warning.
27318 2011-08-14 David S. Miller <davem@davemloft.net>
27320 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27321 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27323 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27325 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27326 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27327 * elf/rtld.c (dl_main): Set l_name of vDSO.
27328 Call _dl_show_scope when DL_DEBUG_SCOPES.
27329 (process_dl_debug): Recognize scopes flag and also set it for all.
27330 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27331 Declare _dl_show_scope.
27333 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27334 (do_dlopen): Pass caller_dlopen to dl_open.
27335 (__libc_dlopen_mode): Initialize caller_dlopen.
27337 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27338 of libc. Make tolower call locale-independent. Optimize a bit by
27339 using isdigit instead of isalnum.
27340 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27342 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27344 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27345 was a dependency or dynamically loaded.
27347 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27349 * intl/l10nflist.c: Allow architecture-specific pop function.
27350 * sysdeps/x86_64/l10nflist.c: New file.
27352 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27355 2011-08-10 Andreas Schwab <schwab@redhat.com>
27357 * include/dirent.h: Add libc_hidden_proto for scandirat and
27358 scandirat64. Don't declare __scandirat64.
27359 * dirent/scandirat.c: Add libc_hidden_def.
27360 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27361 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27363 2011-08-10 David S. Miller <davem@davemloft.net>
27365 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27371 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27373 * Versions.def [libc]: Add GLIBC_2.15.
27374 * dirent/Makefile (routines): Add scandirat and scandirat64.
27375 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27377 * dirent/dirent.h: Declare scandirat and scandirat64.
27378 * dirent/scandirat.c: New file.
27379 * dirent/scandirat64.c: New file.
27380 * sysdeps/wordsize-64/scandirat.c: New file.
27381 * sysdeps/wordsize-64/scandirat64.c: New file.
27382 * dirent/opendir.c: Define opendirat.
27383 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27385 * dirent/scandir64.c: Adjust for scandir.c change.
27386 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27387 __scandirat64, and __scandir_cancel_handler.
27388 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27389 additional parameter and use openat instead of open (outside of ld.so).
27390 Add new __opendir as wrapper around __opendirat.
27391 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27392 here without requiring old scandirat implementation.
27394 2011-08-08 Ulrich Drepper <drepper@gmail.com>
27396 * dirent/scandir.c (cancel_handler): Renamed to
27397 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27398 defined. Adjust users.
27399 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27400 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27402 2011-08-04 Ulrich Drepper <drepper@gmail.com>
27404 * string/test-string.h (IMPL): Use __STRING to expand name and then
27407 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27410 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27412 * string/Makefile: Update.
27413 (strop-tests): Append strncat.
27414 * string/test-wcscmp.c: New file.
27415 New comprehensive test for wcscmp.
27416 * string/test-strcmp.c: Update.
27417 (WIDE): New define.
27419 2011-07-22 Andreas Schwab <schwab@redhat.com>
27421 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27424 2011-07-26 Andreas Schwab <schwab@redhat.com>
27426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27427 encoding to ACE if AI_IDN.
27429 2011-08-01 Jakub Jelinek <jakub@redhat.com>
27431 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27432 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27434 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27437 Fix overflow bug in strncat.
27438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27440 * string/test-strncat.c: Update.
27441 Add new tests for checking overflow bugs.
27443 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27446 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27447 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27448 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27450 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27451 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27452 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27453 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27456 (USE_AS_STRCAT): Define.
27457 Add strcat and strncat support.
27458 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27460 2011-07-25 Andreas Schwab <schwab@redhat.com>
27462 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27463 __n bigger than INT_MAX+1.
27464 (__strncmp_g): Likewise.
27466 2011-07-23 Ulrich Drepper <drepper@gmail.com>
27468 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27469 * libio/stido.h: Likewise.
27471 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27476 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27477 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27479 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27483 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27488 (_dl_x86_64_save_sse): Likewise.
27490 2011-07-22 Ulrich Drepper <drepper@gmail.com>
27492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27494 (_dl_x86_64_save_sse): Likewise.
27496 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27498 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27500 2011-07-21 Andreas Schwab <schwab@redhat.com>
27502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27504 (_dl_x86_64_save_sse): Use correct AVX check.
27506 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27509 bug in strncpy/strncat.
27510 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27512 2011-07-21 Ulrich Drepper <drepper@gmail.com>
27514 * string/tester.c (test_strcat): Add tests for different alignments
27515 of source and destination.
27516 (test_strncat): Likewise.
27518 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27521 * posix/glob.c (glob): Check passed in values before using them in
27522 expressions to avoid some overflows.
27523 (glob_in_dir): Likewise.
27526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27527 check for AVX enablement so that we don't crash with old kernels and
27529 * elf/tst-audit4.c: Add same checks here.
27530 * elf/tst-audit6.c: Likewise.
27532 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27534 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27536 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27538 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27540 * po/cs.po: Update from translation team.
27541 * po/bg.po: Likewise.
27543 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27545 * misc/sys/cdefs.h: Add support for const attribute.
27546 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27547 to gnu_dev_{major,minor,makedev} functions.
27549 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27551 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27553 2011-07-20 Andreas Schwab <schwab@redhat.com>
27555 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27558 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27561 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27562 register in order to avoid conflicts with the soft frame pointer
27563 being held in r11 when necessary.
27564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27565 (INTERNAL_VSYSCALL_NCS): Likewise.
27567 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27569 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27570 * elf/dl-fini.c (_dl_fini): Adjust caller.
27571 * elf/dl-close.c (_dl_close_worker): Likewise.
27572 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27574 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27576 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27577 "aux_cache->nlibs < 0".
27579 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27580 in the reload-count case.
27582 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27585 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27586 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27587 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27588 * sysdeps/x86_64/multiarch/strcat.S: New file.
27589 * sysdeps/x86_64/multiarch/strncat.S: New file.
27590 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27591 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27592 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27593 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27595 (USE_AS_STRCAT): Define.
27596 Add strcat and strncat support.
27597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27599 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27600 * string/strncat.c: Update.
27601 (USE_AS_STRNCAT): Define.
27602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27603 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27605 * sysdeps/x86_64/multiarch/init-arch.h
27606 (bit_Prefer_PMINUB_for_stringop): New.
27607 (index_Prefer_PMINUB_for_stringop): Likewise.
27608 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27609 bit_Prefer_PMINUB_for_stringop.
27611 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27613 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27615 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27616 of casting of buffer.
27617 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27618 buffer32 and buffer64.
27619 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27620 writes instead of casting of buffer.
27621 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27623 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27626 2011-07-19 Andreas Schwab <schwab@redhat.com>
27628 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27630 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27632 * nscd/nscd.c (termination_handler): Don't do anything for a database
27633 if it has not yet been initialized.
27635 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27637 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27639 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27641 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27643 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27645 * po/nl.po: Update from translation team.
27646 * po/sv.po: Likewise.
27648 2011-07-16 Roland McGrath <roland@hack.frob.com>
27650 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27651 now disallowed by GCC.
27653 * configure.in (use-default-link): Default to yes if a test -shared
27654 link meets our qualifications.
27655 * configure: Regenerated.
27657 * config.make.in (output-format): New variable.
27658 * configure.in: Check for ld --print-output-format support.
27659 * configure: Regenerated.
27660 * Makerules ($(common-objpfx)format.lds)
27661 [$(output-format) != unknown]: Just use $(output-format),
27662 instead of the linker-script munging.
27664 2011-07-14 Roland McGrath <roland@hack.frob.com>
27666 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27667 of $(common-objpfx)shlib.lds.
27668 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27670 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27671 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27673 * configure.in (-z relro check): Adjust test code to add a large
27674 writable data section after it.
27675 * configure: Regenerated.
27677 2011-07-11 Roland McGrath <roland@hack.frob.com>
27679 * configure.in (-z relro check): Fix test code to make the variable
27681 * configure: Regenerated.
27683 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27685 * nscd/nscd.h (struct traced_file): Define.
27686 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27687 elements. Add traced_files.
27688 (inotify_fd): Declare.
27689 (register_traced_file): Declare.
27690 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27691 (inotify_fd): Export.
27692 (resolv_conf_descr): Remove.
27693 (nscd_init): Move inotify descriptor creation to main.
27694 Don't register files for notification here.
27695 (register_traced_file): New function.
27696 (invalidate_cache): Don't use reset_res to determine whether to call
27697 res_init, go through the list of registered files.
27698 (main_loop_poll): The inotify descriptors are now stored in the
27699 structures for the traced files.
27700 (main_loop_epoll): Likewise
27701 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27702 to __nss_disable_nscd.
27703 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27704 for a database anymore. Check the records for all the registered
27706 * nss/Makefile (libnss_files-routines): Add files-init.
27707 (libnss_db-routines): Add db-init.
27708 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27709 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27710 * nss/nss_db/db-init.c: New file.
27711 * nss/nss_files/files-init.c: New file.
27712 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27713 __nss_lookup_function.
27714 (__nss_lookup_function): Call nss_load_library.
27715 (nss_load_all_libraries): New function.
27716 (__nss_disable_nscd): Take parameter with callback function for files
27717 to register. Set is_nscd. Load all the DSOs for the NSS modules
27718 used for the cached services.
27719 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27720 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27721 options for features to all the files in nscd.
27723 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27725 2011-07-10 Roland McGrath <roland@hack.frob.com>
27727 * csu/elf-init.c (__libc_csu_init): Comment typo.
27729 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27731 * po/pl.po: Update from translation team.
27732 * po/ja.po: Likewise.
27733 * po/ru.po: Likewise.
27734 * po/ko.po: Likewise.
27735 * po/fr.po: Likewise.
27737 2011-07-09 Roland McGrath <roland@hack.frob.com>
27739 * configure.in (.ctors/.dtors header and trailer check):
27740 Use an empirical test on a built program.
27741 * configure: Regenerated.
27743 * configure.in (-z relro check): Use an empirical test on a built DSO.
27744 Detect, but do not require, on ia64.
27745 * configure: Regenerated.
27747 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27748 Update tests that use readelf to use $READELF instead.
27749 * configure: Regenerated.
27751 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27753 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27754 if the result is not used.
27756 2011-07-05 Andreas Jaeger <aj@suse.de>
27759 * stdlib/tst-strtod.c: Add testcase.
27761 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27763 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27764 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27765 The latter has a higher limit. Take additional parameter to pass to
27767 (__pathconf): Pass file to __statfs_link_max.
27768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27770 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27774 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27777 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27778 (__statfs_filesize_max): Likewise.
27779 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27781 2011-07-05 Andreas Jaeger <aj@suse.de>
27783 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27785 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27787 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27789 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27792 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27794 * Makefile (strop-tests): Add strncat.
27795 * string/test-strncat.c: New file.
27797 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27799 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27801 2011-06-21 Andreas Jaeger <aj@suse.de>
27803 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27804 Copy rule from iconvdata/Makefile.
27806 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27809 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27810 but no long options are defined, just return 'W'.
27812 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27815 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27817 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27819 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27821 (innetgr): Likewise.
27823 2011-07-05 Roland McGrath <roland@hack.frob.com>
27825 * config.make.in (install_root): Default to $(DESTDIR).
27827 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27829 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27831 2011-07-02 Roland McGrath <roland@hack.frob.com>
27833 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27835 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27836 containing directory rather than embedding absolute directory names.
27838 * scripts/check-local-headers.sh: Rewritten using awk.
27839 Match by word, not by line. Print error messages for matches.
27840 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27842 * Makerules [shlib-lds-flags empty]:
27843 ($(common-objpfx)libc_pic.opts): New target.
27844 ($(common-objpfx)libc_pic.os.clean): New target.
27845 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27847 * config.make.in (OBJCOPY): New variable.
27848 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27849 * configure: Regenerated.
27851 * config.make.in (use-default-link): New variable.
27852 * configure.in (use_default_link): Grok --with-default-link to set it.
27853 * configure: Regenerated.
27854 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27855 (shlib-lds, shlib-lds-flags): Define to empty.
27857 * Makerules (shlib-lds): New variable.
27858 (shlib-lds-flags): New variable.
27859 (build-shlib, build-moduile, build-module-asneeded): Use it.
27860 ($(common-objpfx)libc.so): Use $(shlib-lds).
27861 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27862 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27864 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27865 DT_FLAGS/DT_FLAGS_1 with zero flags.
27867 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27868 linker script munging.
27870 2011-07-02 Ulrich Drepper <drepper@gmail.com>
27872 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27874 * crypt/sha512.c (sha512_process_block): Perform total addition using
27875 128-bit if possible.
27876 (__sha512_finish_ctx): Likewise.
27877 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27879 * crypt/sha256.c (SWAP64): Define.
27880 (sha256_process_block): Perform total addition using 64-bit if
27882 (__sha256_finish_ctx): Likewise.
27884 2011-07-01 Ulrich Drepper <drepper@gmail.com>
27886 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27888 * nscd/hstcache.c (cache_addhst): Likewise.
27889 * nscd/grpcache.c (cache_addgr): Likewise.
27890 * nscd/aicache.c (addhstaiX): Likewise
27891 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27893 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
27895 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27897 * nscd/hstcache.c (cache_addhst): Likewise.
27898 * nscd/grpcache.c (cache_addgr): Likewise.
27899 * nscd/aicache.c (addhstaiX): Likewise
27901 2011-07-01 Andreas Schwab <schwab@redhat.com>
27903 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27904 domain only when needed.
27906 2011-06-30 Andreas Schwab <schwab@redhat.com>
27908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27909 is always restored.
27911 2011-06-29 Ulrich Drepper <drepper@gmail.com>
27913 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27914 are re-adding the entry.
27915 * nscd/servicescache.c (cache_addserv): Likewise.
27917 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27919 * sysdeps/generic/dl-irel.h: fix protection against multiple
27921 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27923 2011-06-28 Ulrich Drepper <drepper@gmail.com>
27926 * malloc/memusage.sh: Fix quoting in message.
27927 * debug/xtrace.sh: Likewise.
27929 * configure.in: Remove support for --experimental-malloc option, make
27931 * config.make.in: Likewise.
27932 * malloc/Makefile: Likewise.
27934 2011-06-27 Andreas Schwab <schwab@redhat.com>
27936 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27937 two-byte characters.
27939 2011-06-27 Roland McGrath <roland@hack.frob.com>
27941 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27942 AC_CACHE_CHECK invocation.
27943 * configure: Regenerated.
27945 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27947 2011-06-27 Ulrich Drepper <drepper@gmail.com>
27950 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27951 bit from old_res_options.
27953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27955 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27956 value type for setfct.
27958 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27961 __gettimeofday instead of gettimeofday.
27963 2011-06-26 Ulrich Drepper <drepper@gmail.com>
27965 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27967 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27969 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27971 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27974 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27977 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27978 strcpy-sse2-unaligned strncpy-sse2-unaligned
27979 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27980 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27981 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27982 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27983 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27984 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27985 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27986 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27987 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27988 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27989 (STRCPY): Support SSE2 and SSSE3 versions.
27991 2011-06-24 Ulrich Drepper <drepper@gmail.com>
27994 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27995 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27996 kernels which artificially limit size of requests.
27998 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28001 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28002 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28003 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28004 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28005 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28006 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28007 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28010 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28011 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28012 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28013 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28014 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28016 Enable unaligned load optimization for Intel Core i3, i5 and i7
28018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28020 (index_Fast_Unaligned_Load): Define.
28021 (HAS_FAST_UNALIGNED_LOAD): Define.
28023 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28025 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28027 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28031 until it is clear that the information is realy needed.
28032 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28034 2011-06-22 Andreas Schwab <schwab@redhat.com>
28036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28038 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28041 /sys/devices/system/cpu/online if it is usable.
28043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28044 reading the information from the /proc filesystem to once a second.
28046 2011-06-21 Andreas Jaeger <aj@suse.de>
28048 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28049 NULL after inclusion of kernel headers.
28051 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28053 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28054 calls to internal_setent.
28057 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28058 addresses using gethostbyname4_r ignore IPv4 addresses.
28060 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28061 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28063 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28065 2011-06-20 David S. Miller <davem@davemloft.net>
28067 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28069 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28071 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28072 (elf_irel): Use it.
28073 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28074 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28075 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28076 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28077 * sysdeps/x86_64/dl-irel.h: Likewise.
28079 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28080 * elf/dl-sym.c: Likewise.
28082 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28084 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28085 need to dereference resplen2.
28087 2011-06-14 Andreas Schwab <schwab@redhat.com>
28089 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28091 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28093 * Makeconfig: Define vardbdir and inst_vardbdir.
28094 * nss/Makefile: Add rules to install db-Makefile.
28096 * nss/nss_db/db-XXX.c: Cleanup.
28098 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28099 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28101 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28102 * nss/makedb.c: Implement -g option to specify that value strings
28103 are generated and should not be added to table iterated over for
28105 * nss/nss_db/db-initgroups.c: New file.
28107 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28110 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28111 (internal_getgrouplist): Adjust to name change.
28112 Update use_initgroups_entry if this is not the first call.
28113 * nss/databases.def: Add initgroups entry.
28115 * nss/makedb.c (compute_tables): Check result of multiple hash table
28116 sizes to minimize maximum chain length.
28118 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28120 * Versions.def: Add entry for libnss_db.
28121 * shlib-versions: Likewise.
28122 * nss/Makefile: Add rules to build libnss_db.
28123 * nss/Versions: Add libnss_db information. Organize libnss_files
28125 * nss/db-Makefile: Add gshadow support. Change rules for the new
28126 makedb progra. Some minor improvements to generate smaller files.
28127 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28129 * nss/makedb.c: ...here.
28130 Improve database format to be smaller and require less memory at
28132 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28134 * nss/nss_db/db-netgrp.c: Likewise.
28135 * nss/nss_db/db-open.c: Likewise.
28136 * nss/nss_files/flies-XXX.x: Adjust comments.
28137 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28138 * nss/nss_files/files-grp.c: Likewise.
28139 * nss/nss_files/files-hosts.c: Likewise.
28140 * nss/nss_files/files-network.c: Likewise.
28141 * nss/nss_files/files-proto.c: Likewise.
28142 * nss/nss_files/files-pwd.c: Likewise.
28143 * nss/nss_files/files-rpc.c: Likewise.
28144 * nss/nss_files/files-service.c: Likewise.
28145 * nss/nss_files/files-sgrp.c: Likewise.
28146 * nss/nss_files/files-spwd.c: Likewise.
28147 * nss/nss_db/db-alias.c: Removed.
28148 * nss/nss_db/dummy-db.h: Removed.
28150 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28152 * nss/makedb.c: Rewritten to not use database library.
28153 * nss/Makefile: Update to build new makedb program.
28155 2011-06-14 Andreas Jaeger <aj@suse.de>
28157 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28158 memset declaration.
28160 2011-06-10 Andreas Schwab <schwab@redhat.com>
28162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28165 2011-06-10 Roland McGrath <roland@hack.frob.com>
28167 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28168 * elf/Makefile ($(objpfx)ld.so): Likewise.
28170 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28171 Don't list ld.so twice in dependencies.
28173 * posix/bug-regex31.c: Include <stdlib.h>.
28175 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28177 * nis/nss_compat/compat-spwd.c
28178 (getspent_next_nss_netgr): Remove unused variable.
28179 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28181 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28182 nonmembers" output to use the right array.
28184 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28186 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28188 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28189 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28190 * catgets/gencat.c (read_input_file): Likewise.
28191 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28193 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28194 variable definition inside #if's controlling its use.
28196 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28198 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28200 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28202 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28205 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28207 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28208 * configure: Regenerated.
28210 * Makerules: Revert last change.
28211 * elf/Makefile: Likewise.
28213 2011-06-09 Roland McGrath <roland@hack.frob.com>
28215 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28216 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28217 (reloc-link): Likewise.
28219 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28221 * elf/Makefile: Add rules to build pldd.
28222 * elf/pldd.c: New file.
28223 * elf/pldd-xx.c: New file.
28225 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28227 * version.h: Update for 2.15 development version.
28229 2011-06-07 David S. Miller <davem@davemloft.net>
28231 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28234 elf_machine_lazy_rel): Likewise.
28235 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28237 elf_machine_lazy_rel): Likewise.
28238 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28239 dl_hwcap via passed in argument.
28240 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28243 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28245 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28247 2011-06-06 Roland McGrath <roland@hack.frob.com>
28250 * manual/fdl-1.1.texi: New file, verbatim from:
28251 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28252 * manual/lgpl-2.1.texi: New file, verbatim from:
28253 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28254 * manual/Makefile (licenses): New variable, list those new file names.
28256 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28258 * manual/fdl.texi: File removed.
28259 * manual/lesser.texi: File removed.
28260 * manual/libc.texinfo (Copying, Documentation License):
28261 Use new @include file names, put @appendix directive before @include.
28263 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28266 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28267 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28268 (mq_open): Add __NTH.
28270 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28273 Assume Intel Core i3/i5/i7 processor if AVX is available.
28275 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28280 2011-05-31 Andreas Schwab <schwab@redhat.com>
28282 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28283 memory. Use alloca_account. Fix memory leak when retrying.
28285 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28287 * version.h (RELEASE): Bump for 2.14 release.
28288 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28290 * config.make.in (RANLIB): Remove entry.
28292 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28294 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28295 (libc.pot): Work around missing support for .ksh extension in xgettext.
28298 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28299 if both request failed.
28300 (send_dg): In case of server errors clear resplen or *resplen2.
28303 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28304 when there are multiple maps.
28305 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28306 (_dl_fini): Remove test here.
28308 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28310 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28313 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28314 bit from old_res_options.
28315 (gaih_inet): Likewise.
28318 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28321 * resolv/res_init.c (res_setoptions): Make the code more compact.
28324 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28328 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28330 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28333 * malloc/malloc.h: Declare malloc hook variables as volatile.
28335 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28339 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28340 raise in the comment.
28341 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28343 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28345 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28348 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28349 grow the buffers more if it already has to be sufficient.
28350 (build_wcs_upper_buffer): Likewise.
28351 * posix/regexec.c (check_matching): Likewise.
28352 (clean_state_log_if_needed): Likewise.
28353 (extend_buffers): Don't enlarge buffers beyond size of the input
28355 Patches mostly by Emil Wojak <emil@wojak.eu>.
28356 * posix/bug-regex32.c: New file.
28357 * posix/Makefile (tests): Add bug-regex32.
28359 * locale/findlocale.c (_nl_find_locale): Return right away if
28360 _nl_explode_name failed.
28361 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28363 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28365 * debug/xtrace.sh: Unify messages.
28366 * malloc/memusage.sh: Likewise.
28369 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28370 time symbol from vDSO. Substitute with vsyscall if not available.
28371 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28374 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28375 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28376 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28377 Add sendmmsg and internal_sendmmsg.
28378 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28379 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28380 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28382 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28383 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28384 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28386 2011-05-27 Ulrich Drepper <drepper@gmail.com>
28389 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28390 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28392 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28396 * iconvdata/Makefile (tests): Add bug-iconv9.
28397 * iconvdata/bug-iconv9.c: New file.
28399 2011-05-27 Andreas Schwab <schwab@redhat.com>
28402 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28404 2011-05-25 Jakub Jelinek <jakub@redhat.com>
28406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28407 (struct user_regs_struct): Change intcs field back to cs.
28409 2011-05-25 Ulrich Drepper <drepper@gmail.com>
28411 * po/ja.po: Update from translation team.
28413 2011-05-23 Ulrich Drepper <drepper@gmail.com>
28416 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28417 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28419 2011-05-20 Andreas Schwab <schwab@redhat.com>
28421 * stdlib/longlong.h: Update from GCC.
28423 2011-05-23 Andreas Schwab <schwab@redhat.com>
28425 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28427 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28428 Add parameter name.
28429 (__sysconf): Pass it down.
28431 2011-05-22 Ulrich Drepper <drepper@gmail.com>
28434 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28436 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28437 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28438 add in in __libc_use_alloca calls. Adjust callers.
28439 (glob): Use malloc in some situations.
28441 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28442 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28445 2011-05-21 Ulrich Drepper <drepper@gmail.com>
28447 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28448 and CLOCK_BOOTTIME_ALARM.
28451 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28454 * string/_strerror.c (__strerror_r): Print negative errors as signed
28458 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28459 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28460 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28462 * configure.in: Fix typo in redirection and correct removal of test
28463 files in two cases.
28466 * locale/setlocale.c (new_composite_name): Fix test to check for
28467 identical name of all categories.
28470 * libio/filedoalloc.c (local_isatty): New function.
28471 (_IO_file_doallocate): Use local_isatty.
28472 * stdio-common/perror.c (perror): In case a new stream is used
28473 forward the stream error.
28474 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28477 2011-05-20 Ulrich Drepper <drepper@gmail.com>
28480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28482 * include/alloca.h (extend_alloca_account): Define.
28485 * posix/regex.h: Fix comments with documentation of user-accessible
28486 fields after compilation and describe correct free'ing of pattern
28487 after re_compile_pattern.
28488 Patch by Reuben Thomas <rrt@sc3d.org>.
28490 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28492 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28493 and -mno-altivec to prevent the compiler from using Altivec and/or
28494 VSX instructions when the corresponding registers are not available.
28496 2011-05-19 Andreas Schwab <schwab@redhat.com>
28498 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28500 2011-05-19 Ulrich Drepper <drepper@gmail.com>
28502 * libio/freopen.c (freopen): Use __dup2, not dup2.
28503 * libio/freopen64.c (freopen64): Likewise.
28505 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28508 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28509 * math/Makefile (tests): Add test-powl.
28510 (CFLAGS-test-powl.c): Define.
28511 * math/test-powl.c: New file.
28513 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28515 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28517 2011-05-17 Ulrich Drepper <drepper@gmail.com>
28520 * iconvdata/gb18030.c: Update to GB18020-2005.
28522 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28524 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28525 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28526 Patch by Aharon Robbins <arnold@skeeve.com>.
28529 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28533 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28534 through underflows.
28537 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28538 point to strings before performing equality test for error_one_per_line
28542 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28545 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28546 (struct user_fpregs_struct): Avoid __uint*_t types.
28549 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28550 symbol info. Use it instead of calling _dl_addr locally.
28551 (lock_and_info): New function.
28552 (tr_freehook): Call lock_and_info and pass symbol info as additional
28553 parameter to tr_where.
28554 (tr_mallochook): Likewise.
28555 (tr_reallochook): Likewise.
28556 (tr_memalignhook): Likewise.
28558 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28559 used and couldn't be at all thread-safe.
28561 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28563 * libio/freopen.c (freopen): Don't close old file descriptor
28564 before the new one is opened. Instead dup the new file descriptor
28565 to the old one after the new stream is created.
28566 * libio/freopen64.c (freopen64): Likewise.
28567 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28568 * libio/fileops.c (_IO_new_file_close_it): Handle new
28569 _IO_FLAGS2_NOCLOSE flag.
28570 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28571 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28572 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28573 _IO_FLAGS2_NOCLOSE flag.
28574 * include/unistd.h: Add hidden_proto for dup3.
28575 Define __have_dup3.
28576 * io/dup3.c: Define hidden symbol.
28577 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28580 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28581 when an incomplete long option is used.
28582 * posix/tst-getopt_long1.c: New file.
28583 * posix/Makefile (tests): Add tst-getopt_long1.
28586 * scripts/config.guess: Update from autoconf-2.68.
28587 * scripts/config.sub: Likewise.
28590 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28592 (has_cpuclock): ...this. New function.
28593 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28594 macro here based on has_cpuclock code.
28597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28598 First byte (not low byte) is now always NUL.
28599 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28602 Use non-cancelable interfaces.
28605 * locale/iso-639.def: Add entry for Sorani.
28608 * include/stdlib.h: Move include protection to the right place.
28609 Define abort_msg_s. Declare __abort_msg with it.
28610 * stdlib/abort.c (__abort_msg): Adjust type.
28611 * assert/assert.c (__assert_fail_base): New function. Majority
28612 of code from __assert_fail. Allocate memory for __abort_msg with
28614 (__assert_fail): Now call __assert_fail_base.
28615 * assert/assert-perr.c: Remove bulk of implementation. Use
28616 __assert_fail_base.
28617 * include/assert.hL Declare __assert_fail_base.
28618 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28620 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28622 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28626 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28627 until all modules are registered in the DTV.
28628 * elf/Makefile: Add rules to build and run tst-tls19.
28629 * elf/tst-tls19.c: New file.
28630 * elf/tst-tls19mod1.c: New file.
28631 * elf/tst-tls19mod2.c: New file.
28632 * elf/tst-tls19mod3.c: New file.
28633 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28636 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28640 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28641 two-byte sequence errors.
28642 * iconvdata/Makefile (tests): Add bug-iconv8.
28643 * iconvdata/bug-iconv8.c: New file.
28646 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28649 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28652 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28653 (dummy_getcfa): New function.
28654 (init): Get _Unwind_GetCFA address, use dummy if not found.
28655 (backtrace_helper): In recursion check, also check whether CFA changes.
28656 (__backtrace): Completely initialize arg.
28658 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28659 storing incomplete byte sequence in state object. Avoid testing for
28660 guaranteed too small input if we know there is enough data available.
28662 2011-05-11 Andreas Schwab <schwab@redhat.com>
28664 * Makeconfig (+link-pie): Indent.
28665 * Rules (binaries-pie): Define if $(have-fpie) and
28667 (binaries-shared): Also filter out $(binaries-pie).
28668 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28669 * nscd/Makefile (others-pie): Add nscd.
28670 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28671 ($(objpfx)nscd): Remove command override.
28672 * login/Makefile (others-pie): Add pt_chown.
28673 ($(objpfx)pt_chown): Remove command override.
28674 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28675 remove command overrides.
28677 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28679 * libio/tst_putwc.c: Fix error messages.
28682 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28683 currently writing and seek to current position when not.
28684 * libio/Makefile (tests): Add bug-fclose1.
28685 * libio/bug-fclose1.c: New file.
28687 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28690 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28691 don't set DF_1_NODELETE here.
28692 (do_lookup_x): When entering new entry test for copy relocation
28693 and if necessary set DF_1_NODELETE flag.
28694 * elf/tst-unique4.cc: New file.
28695 * elf/tst-unique4.h: New file.
28696 * elf/tst-unique4lib.cc: New file.
28697 * elf/Makefile: Add rules to build and run tst-unique4.
28698 Patch by Piotr Bury <pbury@goahead.com>.
28700 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28703 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28706 * misc/mntent_r.c (addmntent): Flush the stream after the output
28709 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28710 (is_trusted_path_normalize): Skip initial colon. Append slash
28711 to empty buffer. Duplicate is_trusted_path code but allow
28712 constructed patch to be prefix.
28713 (is_dst): Allow $ORIGIN followed by /.
28714 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28715 Correct testing of result of is_trusted_path_normalize
28716 (decompose_rpath): Fix warning.
28718 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28721 * grp/initgroups.c (internal_getgrouplist): When we found the service
28722 list through the initgroups entry in nsswitch.conf do not always
28723 continue on a successful lookup. Don't always use the
28724 __nss_group_database value if it is set.
28725 * nss/nsswitch.conf (initgroups): Change action for successful db
28726 lookup to continue for compatibility.
28728 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28731 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28733 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28735 * iconvdata/tst-tables.sh: Likewise.
28736 * iconvdata/cp770.c: New file.
28737 * iconvdata/cp771.c: New file.
28738 * iconvdata/cp772.c: New file.
28739 * iconvdata/cp773.c: New file.
28740 * iconvdata/cp774.c: New file.
28741 * iconvdata/testdata/CP770: New file.
28742 * iconvdata/testdata/CP770..UTF8: New file.
28743 * iconvdata/testdata/CP771: New file.
28744 * iconvdata/testdata/CP771..UTF8: New file.
28745 * iconvdata/testdata/CP772: New file.
28746 * iconvdata/testdata/CP772..UTF8: New file.
28747 * iconvdata/testdata/CP773: New file.
28748 * iconvdata/testdata/CP773..UTF8: New file.
28749 * iconvdata/testdata/CP774: New file.
28750 * iconvdata/testdata/CP774..UTF8: New file.
28752 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28754 * iconvdata/gen-8bit-gap.sh: Likewise.
28755 * iconvdata/gen-8bit.sh: Likewise.
28757 * locale/iso-639.def: Add ary entry.
28760 * locale/C-translit.h.in: Add U20A1 transliteration.
28763 * locale/iso-639.def: Add wae entry.
28764 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28767 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28771 * locale/C-translit.h.in: Add entry for U20B9.
28772 Patch by pravin.d.s@gmail.com.
28774 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28777 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28778 ENAMETOOLONG use generic getcwd.
28779 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28780 in rtld. Use *stat64.
28781 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28782 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28783 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28784 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28785 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28786 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28787 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28788 __fstatat64 macros.
28789 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28790 * dirent/rewinddir.c: Add libc_hidden_def.
28791 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28792 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28794 * include/dirent.h (__alloc_dir): Add flags parameter.
28795 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28796 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28798 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28799 from fdopendir if O_CLOEXEC is already set.
28801 2011-03-15 Alan Modra <amodra@gmail.com>
28803 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28804 l_tls_firstbyte_offset non-zero. Save padding offset in
28805 l_tls_firstbyte_offset for later use.
28806 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28807 freeing static tls block.
28809 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28811 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28812 where #ifdef was intended. The intent is to prevent ARG_MAX from
28813 being defined by the kernel headers.
28815 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28818 * resolv/resolv.h: Define RES_NOTLDQUERY.
28819 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28820 no-tld-query and set RES_NOTLDQUERY.
28821 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28822 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28823 modern BIND to search name as TLD unless forbidden.
28825 2011-05-07 Petr Baudis <pasky@suse.cz>
28826 Ulrich Drepper <drepper@gmail.com>
28829 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28830 (is_trusted_path): ...to here.
28831 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28832 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28833 using is_trusted_path_normalize() in setuid scripts.
28835 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28837 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28838 __BEGIN/__END_DECLS.
28840 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28843 NSS_STATUS_NOTFOUND if no record was found.
28845 2011-05-05 Andreas Schwab <schwab@redhat.com>
28847 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28848 (headers-not-in-tirpc): Remove rpc/netdb.h
28849 * resolv/netdb.h: Revert last change.
28851 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28853 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28854 circular dependency between libgcc.a and libc.a.
28856 2011-05-05 Andreas Schwab <schwab@redhat.com>
28858 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28859 * nis/Makefile: Don't install rpcsvc/*.
28860 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28861 instead of <rpc/types.h>.
28862 (MAXHOSTNAMELEN): Define.
28864 2011-05-03 Andreas Schwab <schwab@redhat.com>
28866 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28868 2011-04-28 Maciej Babinski <mbabinski@google.com>
28871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28872 gethostbyname4_r when IPv6 results are possible.
28874 2011-05-02 Ulrich Drepper <drepper@gmail.com>
28877 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28878 _PC_PIPE_BUF handling.
28880 2011-04-30 Bruno Haible <bruno@clisp.org>
28883 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28884 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28886 * inet/getnameinfo.c (getnameinfo): Likewise.
28888 2011-04-29 Ulrich Drepper <drepper@gmail.com>
28890 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28891 to groups setting in database lookup.
28892 * nss/nsswitch.conf: Add initgroups entry.
28894 2011-04-22 Ulrich Drepper <drepper@gmail.com>
28897 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28899 Patch by Eric Blake <eblake@redhat.com>.
28901 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28903 * sunrpc/Makefile (need-export-routines): Add svc_run.
28904 (routines): Remove svc_run.
28905 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28906 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28907 * sunrpc/svc_run.c (svc_run): Likewise.
28908 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28910 2011-04-21 Ulrich Drepper <drepper@gmail.com>
28912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28913 problem in reallocation in last patch.
28915 2011-04-20 Ulrich Drepper <drepper@gmail.com>
28917 * sunrpc/Makefile: Move inclusion of Rules.
28919 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28921 * nss/nss_files/files-initgroups.c: New file.
28922 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28923 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28924 _nss_files_initgroups_dyn.
28926 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28928 * elf/elf.h (R_ARM_IRELATIVE): Define.
28930 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28932 * po/ru.po: Update from translation team.
28934 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28936 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28939 2011-02-06 Mike Frysinger <vapier@gentoo.org>
28942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28943 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28948 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28950 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28953 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28956 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28959 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28961 * stdlib/bug-getcontext.c: New file.
28962 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28964 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28966 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28967 instructions into .machine "z9-109".
28968 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28969 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28971 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28973 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28974 between environment variables and auxiliary vector.
28976 2011-04-16 Ulrich Drepper <drepper@gmail.com>
28978 * Makefile: Add rules to build linkobj/libc.so.
28979 * include/libc-symbols.h: Define libc_hidden_nolink.
28980 * include/rpc/auth.h: Mark functions which are to be hidden.
28981 * include/rpc/auth_des.h: Likewise.
28982 * include/rpc/auth_unix.h: Likewise.
28983 * include/rpc/clnt.h: Likewise.
28984 * include/rpc/des_crypt.h: Likewise.
28985 * include/rpc/key_prot.h: Likewise.
28986 * include/rpc/pmap_clnt.h: Likewise.
28987 * include/rpc/pmap_prot.h: Likewise.
28988 * include/rpc/pmap_rmt.h: Likewise.
28989 * include/rpc/rpc_msg.h: Likewise.
28990 * include/rpc/svc.h: Likewise.
28991 * include/rpc/svc_auth.h: Likewise.
28992 * include/rpc/xdr.h: Likewise.
28993 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28994 * nss/Makefile: Likewise.
28995 * sunrpc/Makefile: Don't install headers. Build library with normal
28996 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28997 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28998 for the compat linking library. Remove use of INTDEF/INTUSE.
28999 * sunrpc/auth_none.c: Likewise.
29000 * sunrpc/auth_unix.c: Likewise.
29001 * sunrpc/authdes_prot.c: Likewise.
29002 * sunrpc/authuxprot.c: Likewise.
29003 * sunrpc/clnt_gen.c: Likewise.
29004 * sunrpc/clnt_perr.c: Likewise.
29005 * sunrpc/clnt_raw.c: Likewise.
29006 * sunrpc/clnt_simp.c: Likewise.
29007 * sunrpc/clnt_tcp.c: Likewise.
29008 * sunrpc/clnt_udp.c: Likewise.
29009 * sunrpc/clnt_unix.c: Likewise.
29010 * sunrpc/des_crypt.c: Likewise.
29011 * sunrpc/des_soft.c: Likewise.
29012 * sunrpc/get_myaddr.c: Likewise.
29013 * sunrpc/key_call.c: Likewise.
29014 * sunrpc/key_prot.c: Likewise.
29015 * sunrpc/netname.c: Likewise.
29016 * sunrpc/pm_getmaps.c: Likewise.
29017 * sunrpc/pm_getport.c: Likewise.
29018 * sunrpc/pmap_clnt.c: Likewise.
29019 * sunrpc/pmap_prot.c: Likewise.
29020 * sunrpc/pmap_prot2.c: Likewise.
29021 * sunrpc/pmap_rmt.c: Likewise.
29022 * sunrpc/publickey.c: Likewise.
29023 * sunrpc/rpc_cmsg.c: Likewise.
29024 * sunrpc/rpc_common.c: Likewise.
29025 * sunrpc/rpc_dtable.c: Likewise.
29026 * sunrpc/rpc_prot.c: Likewise.
29027 * sunrpc/rpc_thread.c: Likewise.
29028 * sunrpc/rtime.c: Likewise.
29029 * sunrpc/svc.c: Likewise.
29030 * sunrpc/svc_auth.c: Likewise.
29031 * sunrpc/svc_authux.c: Likewise.
29032 * sunrpc/svc_raw.c: Likewise.
29033 * sunrpc/svc_run.c: Likewise.
29034 * sunrpc/svc_simple.c: Likewise.
29035 * sunrpc/svc_tcp.c: Likewise.
29036 * sunrpc/svc_udp.c: Likewise.
29037 * sunrpc/svc_unix.c: Likewise.
29038 * sunrpc/svcauth_des.c: Likewise.
29039 * sunrpc/xcrypt.c: Likewise.
29040 * sunrpc/xdr.c: Likewise.
29041 * sunrpc/xdr_array.c: Likewise.
29042 * sunrpc/xdr_float.c: Likewise.
29043 * sunrpc/xdr_intXX_t.c: Likewise.
29044 * sunrpc/xdr_mem.c: Likewise.
29045 * sunrpc/xdr_rec.c: Likewise.
29046 * sunrpc/xdr_ref.c: Likewise.
29047 * sunrpc/xdr_sizeof.c: Likewise.
29048 * sunrpc/xdr_stdio.c: Likewise.
29050 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29053 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29054 * sysdeps/ia64/dl-tls.h: Likewise.
29055 * sysdeps/powerpc/dl-tls.h: Likewise.
29056 * sysdeps/s390/dl-tls.h: Likewise.
29057 * sysdeps/sh/dl-tls.h: Likewise.
29058 * sysdeps/sparc/dl-tls.h: Likewise.
29059 * sysdeps/x86_64/dl-tls.h: Likewise.
29060 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29062 2011-03-14 Andreas Schwab <schwab@redhat.com>
29064 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29065 rpath element also skip the following colon.
29066 (expand_dynamic_string_token): Add is_path parameter and pass
29067 down to DL_DST_REQUIRED and _dl_dst_substitute.
29068 (decompose_rpath): Call expand_dynamic_string_token with
29069 non-zero is_path. Ignore empty rpaths.
29070 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29073 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29078 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29081 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29082 Patch by Filipe David Manana <fdmanana@apache.org>.
29084 2011-04-07 Andreas Schwab <schwab@redhat.com>
29086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29087 Maintain aligned stack.
29088 (CHECK_RSP): Remove unused macro.
29090 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29092 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29093 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29095 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29097 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29099 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29101 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29104 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29105 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29106 * sysdeps/x86_64/memmove.c: New file.
29107 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29108 (memcpy): Renamed to ...
29109 (__new_memcpy): This.
29110 (memcpy): Provide GLIBC_2_14 memcpy.
29111 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29112 (memcpy): Provide GLIBC_2_2_5 memcpy.
29114 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29117 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29119 2011-03-30 Andreas Schwab <schwab@redhat.com>
29121 * misc/syncfs.c: New file.
29122 * misc/Makefile (routines): Add syncfs.
29123 * posix/unistd.h: Declare syncfs.
29124 * sysdeps/unix/syscalls.list: Add syncfs.
29126 2011-04-01 Andreas Schwab <schwab@redhat.com>
29128 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29131 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29133 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29135 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29138 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29148 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29149 sync_file_range.c with -fexceptions.
29150 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29151 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29152 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29153 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29154 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29155 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29157 sync_file_range as cancellation point
29158 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29159 now a wrapper around __call_sync_file_range with cancellation handling.
29160 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29161 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29162 function name to __call_sync_file_range.
29163 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29164 Add call_sync_file_range.
29166 2011-04-01 Andreas Schwab <schwab@redhat.com>
29168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29171 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29173 * iconv/iconv.h: Fix typo in comment.
29174 * io/fcntl.h: Likewise.
29175 * libio/stdio.h: Likewise.
29176 * posix/spawn.h: Likewise.
29177 * posix/unistd.h: Likewise.
29178 * stdlib/stdlib.h: Likewise.
29179 * time/time.h: Likewise.
29180 * wcsmbs/wchar.h: Likewise.
29182 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29183 open_by_handle): Add.
29184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29185 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29186 Augment a few comments.
29187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29192 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29195 * io/fcntl.h (AT_EMPTY_PATH): Define.
29197 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29199 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29200 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29201 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29203 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29204 * Versions.def: Add GLIBC_2.14.
29205 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29208 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29212 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29214 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29217 * string/test-strncmp.c (do_page_test): New function.
29218 (check2): Likewise.
29219 (test_main): Call check2.
29220 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29222 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29225 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29226 Handle cache information in CPU leaf 4.
29227 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29229 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29232 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29233 character representation.
29234 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29236 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29238 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29239 END(__isnan) to END(__isnanf) to match function entry point/label
29240 EALIGN(__isnanf,...).
29242 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29244 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29246 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29249 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29250 copy from the symbol referenced in the relocation to initialize the
29252 Patch by Piotr Bury <pbury@goahead.com>.
29253 * elf/Makefile: Add rules to build and tst-unique3.
29254 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29255 * elf/tst-unique3.cc: New file.
29256 * elf/tst-unique3.h: New file.
29257 * elf/tst-unique3lib.cc: New file.
29258 * elf/tst-unique3lib2.cc: New file.
29260 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29262 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29264 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29265 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29268 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29270 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29271 to-be-loaded object along a path to loader is ld.so.
29273 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29274 Ulrich Drepper <drepper@gmail.com>
29276 * sysdeps/x86_64/memset.S: After aligning destination, code
29277 branches to different locations depending on the value of
29278 misalignment, when multiarch is enabled. Fix this.
29280 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29282 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29283 Set _x86_64_preferred_memory_instruction for AMD processsors.
29284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29285 Set bit_Prefer_SSE_for_memop for AMD processors.
29287 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29289 * libio/fmemopen.c (fmemopen): Optimize a bit.
29291 2011-03-03 Andreas Schwab <schwab@redhat.com>
29293 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29295 2011-03-03 Roland McGrath <roland@redhat.com>
29297 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29299 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29301 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29302 __bzero_ultra1 instead of __memset_ultra1.
29304 2011-02-23 Andreas Schwab <schwab@redhat.com>
29305 Ulrich Drepper <drepper@gmail.com>
29308 * include/link.h (struct link_map): Add l_orig_initfini.
29309 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29310 returning unsuccessfully.
29311 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29312 close of a file loaded at startup, restore the original l_initfini
29314 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29315 list, store the pointer.
29316 * elf/Makefile ($(objpfx)noload-mem): New rule.
29317 (noload-ENV): Define.
29318 (tests): Add $(objpfx)noload-mem.
29319 * elf/noload.c: Include <memcheck.h>.
29320 (main): Call mtrace. Close all opened handles.
29322 2011-02-17 Andreas Schwab <schwab@redhat.com>
29325 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29326 dependencies are missing.
29328 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29330 Fix __if_freereq crash: Unlike the generic version which uses free,
29332 * sysdeps/mach/hurd/ifreq.h: New file.
29334 2011-01-27 Petr Baudis <pasky@suse.cz>
29335 Ulrich Drepper <drepper@gmail.com>
29338 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29339 to extend_alloca().
29340 * stdio-common/bug23.c: New file.
29341 * stdio-common/Makefile (tests): Add bug23.
29343 2010-09-28 Andreas Schwab <schwab@redhat.com>
29344 Ulrich Drepper <drepper@gmail.com>
29347 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29348 before performing relro protection. At old place add assertion
29349 to make sure nothing changed.
29351 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29352 Glauber de Oliveira Costa <glommer@gmail.com>
29354 * elf/elf.h: Add new ARM TLS relocs.
29356 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29359 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29361 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29363 * sysdeps/wordsize-64/tst-writev.c: New file.
29365 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29367 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29368 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29369 insns in _dl_start to prevent a TOC reference before relocs are
29372 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29375 * Makeconfig: Remove RANLIB definition.
29376 * Makerules: Don't use RANLIB.
29377 * aclocal.m4: Remove ranlib test.
29378 * configure.in: No need to check for ranlib.
29379 * elf/rtld-Rules: Don't use RANLIB.
29381 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29383 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29385 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29386 inclusion protection macro.
29388 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29389 SIGRTMIN and SIGRTMAX and print information in that case only when
29390 SIGRTMIN is defined.
29392 2011-02-11 Jakub Jelinek <jakub@redhat.com>
29394 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29395 arginfo fn returning -1.
29397 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29398 and thousands string is zero terminated.
29400 2011-02-03 Andreas Schwab <schwab@redhat.com>
29402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29403 sysdeps/unix/sysv/linux/bits/socket.h.
29405 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29407 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29408 (__CPU_COUNT): Remove old macros.
29409 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29410 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29411 (__CPU_ALLOC, __CPU_FREE): Add macros.
29412 (__sched_cpualloc, __sched_cpufree): Add declarations.
29414 2011-02-05 Ulrich Drepper <drepper@gmail.com>
29416 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29417 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29418 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29419 (readdhstai): Return value of addhstaiX call.
29420 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29421 (addgrbyX): Return value returned by cache_addgr.
29422 (readdgrbyname): Return value returned by addgrbyX.
29423 (readdgrbygid): Likewise.
29424 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29425 (addpwbyX): Return value returned by cache_addpw.
29426 (readdpwbyname): Return value returned by addhstbyX.
29427 (readdpwbyuid): Likewise.
29428 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29429 (addservbyX): Return value returned by cache_addserv.
29430 (readdservbyname): Return value returned by addservbyX:
29431 (readdservbyport): Likewise.
29432 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29433 (addhstbyX): Return value returned by cache_addhst.
29434 (readdhstbyname): Return value returned by addhstbyX.
29435 (readdhstbyaddr): Likewise.
29436 (readdhstbynamev6): Likewise.
29437 (readdhstbyaddrv6): Likewise.
29438 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29439 (readdinitgroups): Return value returned by addinitgroupsX.
29440 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29441 (prune_cache): Keep track of timeout value of re-added entries.
29442 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29443 * nscd/nscd.h: Adjust prototypes of readd* functions.
29445 2011-02-04 Roland McGrath <roland@redhat.com>
29447 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29448 (nis_stats): Likewise.
29449 * nis/nis_modify.c (nis_modify): Likewise.
29450 * nis/nis_remove.c (nis_remove): Likewise.
29451 * nis/nis_add.c (nis_add): Likewise.
29453 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29455 * posix/fnmatch_loop.c: Add some consts.
29457 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29459 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29462 * config.make.in (config-cflags-novzeroupper): Define.
29463 * configure.in: Substitute libc_cv_cc_novzeroupper.
29464 * elf/Makefile (AVX-CFLAGS): Define.
29465 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29466 (CFLAGS-tst-auditmod4a.c): Likewise.
29467 (CFLAGS-tst-auditmod4b.c): Likewise.
29468 (CFLAGS-tst-auditmod6b.c): Likewise.
29469 (CFLAGS-tst-auditmod6c.c): Likewise.
29470 (CFLAGS-tst-auditmod7b.c): Likewise.
29471 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29473 2011-02-02 Ulrich Drepper <drepper@gmail.com>
29475 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29476 function to the callback.
29477 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29479 2011-02-02 Andreas Schwab <schwab@redhat.com>
29481 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29484 2011-01-19 Ulrich Drepper <drepper@gmail.com>
29487 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29489 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29491 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29494 * elf/Makefile: Add rules to build and run new test.
29495 * elf/tst-initorder.c: New file.
29496 * elf/tst-initorder.exp: New file.
29497 * elf/tst-initordera1.c: New file.
29498 * elf/tst-initordera2.c: New file.
29499 * elf/tst-initordera3.c: New file.
29500 * elf/tst-initordera4.c: New file.
29501 * elf/tst-initorderb1.c: New file.
29502 * elf/tst-initorderb2.c: New file.
29503 * elf/tst-order-a1.c: New file.
29504 * elf/tst-order-a2.c: New file.
29505 * elf/tst-order-a3.c: New file.
29506 * elf/tst-order-a4.c: New file.
29507 * elf/tst-order-b1.c: New file.
29508 * elf/tst-order-b2.c: New file.
29509 * elf/tst-order-main.c: New file.
29510 New test case by George Gensure <werkt0@gmail.com>.
29512 2010-10-01 Andreas Schwab <schwab@redhat.com>
29514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29515 decoding ACE if AI_CANONIDN.
29517 2011-01-18 Ulrich Drepper <drepper@gmail.com>
29519 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29521 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29523 * version.h (RELEASE): Bump for 2.13 release.
29524 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29526 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29528 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29530 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29532 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29533 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29534 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29537 * posix/getconf.c: Update copyright year.
29538 * catgets/gencat.c: Likewise.
29539 * csu/version.c: Likewise.
29540 * debug/catchsegv.sh: Likewise.
29541 * debug/xtrace.sh: Likewise.
29542 * elf/ldconfig.c: Likewise.
29543 * elf/ldd.bash.in: Likewise.
29544 * elf/sprof.c (print_version): Likewise.
29545 * iconv/iconv_prog.c: Likewise.
29546 * iconv/iconvconfig.c: Likewise.
29547 * locale/programs/locale.c: Likewise.
29548 * locale/programs/localedef.c: Likewise.
29549 * malloc/memusage.sh: Likewise.
29550 * malloc/mtrace.pl: Likewise.
29551 * nscd/nscd.c (print_version): Likewise.
29552 * nss/getent.c: Likewise.
29554 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29555 PF_CAIF, and PF_ALG.
29556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29558 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29560 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29561 (modules-names): Use them.
29562 (ifunc-test-modules, ifunc-pie-tests): Define.
29563 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29564 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29565 (test-extras): Likewise.
29566 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29567 $(compile-command.c).
29568 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29569 (all-built-dso): Define.
29570 (check-textrel.out, check-execstack.out): Depend on it.
29572 * configure.in: Don't override --enable-multi-arch.
29574 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29577 * nscd/hstcache.c (tryagain): Define.
29578 (cache_addhst): Return tryagain not notfound for temporary errors.
29579 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29582 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29585 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29586 to make the syscall.
29587 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29590 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29591 and fall back to matching as normal character if the string ends before
29592 the matching ']' is found. This is what POSIX requires.
29593 * posix/testfnm.c: Adjust test result.
29594 * posix/globtest.sh: Adjust test result. Add new test.
29595 * posix/tst-fnmatch.input: Likewise.
29596 * posix/tst-fnmatch2.c: Add new test.
29598 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29600 * elf/Makefile (check-execstack): Revert last change. Depend on
29602 (check-execstack.h): New target.
29603 (generated): Add check-execstack.h.
29604 * elf/check-execstack.c: Include "check-execstack.h".
29605 (main): Revert last change.
29606 (handle_file): Return zero if GNU_STACK is absent and
29607 DEFAULT_STACK_PERMS doesn't include PF_X.
29609 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29611 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29612 in child fails because the descriptor is already closed.
29613 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29614 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29615 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29618 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29622 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29623 temporary buffer used to handle multi lookups locally.
29624 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29626 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29628 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29631 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29633 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29634 alignment for SSE2.
29636 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29639 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29640 characters. When rounding increased number of integer digits recompute
29642 * stdio-common/tst-grouping.c: New file.
29643 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29645 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29647 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29648 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29650 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29652 * bits/select.h: Likewise.
29654 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29656 * po/ja.po: Update from translation team.
29658 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29661 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29662 implementation just like for lxstat, fxstatat, et al.
29664 2010-12-27 Jim Meyering <meyering@redhat.com>
29667 * posix/regexec.c (build_trtable): Return failure indication upon
29668 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29670 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29673 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29674 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29675 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29676 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29679 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29682 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29683 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29685 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29687 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29688 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29689 script has SORT_BY_INIT_PRIORITY.
29690 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29691 NO_CTORS_DTORS_SECTIONS is defined.
29692 * elf/soinit.c: Likewise.
29693 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29694 NO_CTORS_DTORS_SECTIONS is defined.
29695 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29696 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29697 * sysdeps/sh/init-first.c: Likewise.
29698 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29700 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29702 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29703 always use the slow path.
29705 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29707 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29708 similar rule which adds the sysdep directories to the header search in
29709 order to pick up the correct platform stackinfo.h.
29710 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29711 perform test if it is, otherwise return successfully without testing.
29712 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29713 DEFAULT_STACK_PERMS define in stackinfo.h.
29714 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29715 defined in stackinfo.h.
29716 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29717 DEFAULT_STACK_PERMS defined in stackinfo.h.
29718 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29719 * sysdeps/ia64/stackinfo.h: Likewise.
29720 * sysdeps/s390/stackinfo.h: Likewise.
29721 * sysdeps/sh/stackinfo.h: Likewise.
29722 * sysdeps/sparc/stackinfo.h: Likewise.
29723 * sysdeps/x86_64/stackinfo.h: Likewise.
29724 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29725 PF_X for powerpc64. Retain PF_X for powerpc32.
29727 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29729 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29731 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29732 GETDENTS_64BIT_ALIGNED.
29734 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29736 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29738 2010-12-10 Andreas Schwab <schwab@redhat.com>
29740 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29743 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29744 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29746 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29747 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29749 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29752 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29755 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29757 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29759 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29761 * po/it.po: Update from translation team.
29763 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29768 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29770 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29772 2010-11-24 Andreas Schwab <schwab@redhat.com>
29774 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29776 (gaih_getanswer_slice): Likewise.
29778 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29782 2010-05-31 Petr Baudis <pasky@suse.cz>
29785 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29786 silently even in the chroot mode.
29788 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29790 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29791 last patch a bit. Pretty printing
29793 2010-05-31 Petr Baudis <pasky@suse.cz>
29796 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29797 initialization of skip_initgroups_dyn.
29799 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29801 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29802 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29804 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29806 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29808 2010-11-11 Andreas Schwab <schwab@redhat.com>
29810 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29811 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29812 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29813 ($(objpfx)tst-fnmatch-mem): New rule.
29814 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29815 * posix/tst-fnmatch.c (main): Call mtrace.
29817 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29820 Support Intel processor model 6 and model 0x2c.
29822 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29827 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29830 * string/test-strncasecmp.c (check_result): New function.
29831 (do_one_test): Use it.
29832 (check1): New function.
29833 (test_main): Use it.
29834 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29835 Support strcasecmp and strncasecmp.
29837 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29840 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29843 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29845 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29849 * sysdeps/x86_64/multiarch/bzero.S: New file.
29850 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29851 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29852 * sysdeps/x86_64/multiarch/memset.S: New file.
29853 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29855 Set bit_Prefer_SSE_for_memop for Intel processors.
29856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29858 (index_Prefer_SSE_for_memop): Define.
29859 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29861 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
29863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29864 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29866 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29869 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29870 (__x86_64_raw_data_cache_size_half): Likewise.
29871 (__x86_64_raw_shared_cache_size): Likewise.
29872 (__x86_64_raw_shared_cache_size_half): Likewise.
29874 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29875 (__x86_64_raw_data_cache_size_half): Likewise.
29876 (__x86_64_raw_shared_cache_size): Likewise.
29877 (__x86_64_raw_shared_cache_size_half): Likewise.
29878 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29879 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29880 and __x86_64_raw_shared_cache_size_half. Round
29881 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29882 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29883 to multiple of 256 bytes.
29885 2010-11-03 Ulrich Drepper <drepper@gmail.com>
29888 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29889 of inacessible symlinks. Verify result of symlink before returning it.
29890 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29891 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29893 2010-10-28 Erich Ritz <erichritz@gmail.com>
29895 * math/math.h (isinf): Fix typo in comment.
29897 2010-11-01 Ulrich Drepper <drepper@gmail.com>
29899 * po/da.po: Update from translation team.
29901 2010-10-26 Ulrich Drepper <drepper@gmail.com>
29903 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29904 is added to the list.
29906 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29907 Ulrich Drepper <drepper@gmail.com>
29909 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29910 the global list here. Move code to...
29911 (_dl_add_to_namespace_list): ...here. New function.
29912 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29913 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29914 * elf/dl-load.c (lose): Don't remove the element from the list.
29915 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29916 (_dl_map_object): Likewise.
29918 2010-10-25 Ulrich Drepper <drepper@gmail.com>
29921 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29922 into all bytes of SSE register.
29923 Patch by Richard Li <richardpku@gmail.com>.
29925 2010-10-24 Ulrich Drepper <drepper@gmail.com>
29928 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29931 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29933 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29934 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29935 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29941 2010-10-22 Andreas Schwab <schwab@redhat.com>
29943 * include/dlfcn.h (__RTLD_SECURE): Define.
29944 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29945 mode & __RTLD_SECURE instead.
29946 (open_path): Rename preloaded parameter to secure.
29947 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29948 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29949 * elf/dl-deps.c (openaux): Likewise.
29950 * elf/rtld.c (struct map_args): Remove is_preloaded.
29951 (map_doit): Don't use it.
29952 (dl_main): Likewise.
29953 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29954 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29956 2010-09-09 Andreas Schwab <schwab@redhat.com>
29958 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29959 (sysd-rules-targets): Remove duplicates.
29960 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29961 rtld-%.$o dependency.
29963 2010-10-18 Andreas Schwab <schwab@redhat.com>
29965 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29966 _dl_map_object do it.
29968 2010-10-19 Ulrich Drepper <drepper@gmail.com>
29970 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29971 fast fma builtins, define the macros in the C99 standard.
29972 (FP_FAST_FMAF): Likewise.
29973 (FP_FAST_FMAL): Likewise.
29974 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29976 * bits/mathdef.h: Update copyright year.
29977 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29979 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29981 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29982 builtins, define the macros in the C99 standard.
29983 (FP_FAST_FMAF): Likewise.
29984 (FP_FAST_FMAL): Likewise.
29985 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29987 (FP_FAST_FMAF): Likewise.
29989 2010-10-15 Jakub Jelinek <jakub@redhat.com>
29992 * math/libm-test.inc (fma_test): Some new testcases.
29993 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29994 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29995 y and infinite z. Do multiplication by C already in long double.
29996 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29998 y and infinite z. Do bitwise or of inexact bit into u.d.
29999 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30000 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30001 * sysdeps/i386/fpu/s_fma.S: Removed.
30002 * sysdeps/i386/fpu/s_fmal.S: Removed.
30004 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30007 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30009 computation is not scheduled after fetestexcept. Fix value
30010 of minimum denormal long double.
30012 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30015 * math/libm-test.inc (fma_test): Add some more tests.
30016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30019 2010-10-15 Andreas Schwab <schwab@redhat.com>
30021 * scripts/data/localplt-s390-linux-gnu.data: New file.
30022 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30024 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30027 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30028 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30030 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30032 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30034 if one of x and y is very large and the other is subnormal.
30035 * sysdeps/s390/fpu/s_fmaf.c: New file.
30036 * sysdeps/s390/fpu/s_fma.c: New file.
30037 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30038 * sysdeps/powerpc/fpu/s_fma.S: New file.
30039 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30040 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30041 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30043 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30046 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30049 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30050 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30051 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30052 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30053 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30056 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30059 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30060 * posix/bug-regex31.input: Add test case.
30062 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30064 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30065 * posix/bug-regex31.input: New file.
30068 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30069 (parse_sub_exp): Fix last change, use postorder.
30071 * posix/bug-regex31.c: New file.
30072 * posix/Makefile: Add rules to build and run bug-regex31.
30074 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30077 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30080 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30081 to have entries in sys_siglist.
30084 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30087 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30090 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30091 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30092 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30093 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30094 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30095 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30096 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30097 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30098 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30099 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30100 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30101 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30102 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30103 * math/ftestexcept.c (fetestexcept): Likewise.
30104 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30105 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30106 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30107 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30108 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30109 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30110 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30112 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30115 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30118 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30120 * string/bug-strstr1.c: New file.
30121 * string/Makefile: Add rules to build and run bug-strstr1.
30123 2010-10-05 Eric Blake <eblake@redhat.com>
30126 * string/str-two-way.h (two_way_long_needle): Always clear memory
30127 when skipping input due to the shift table.
30129 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30132 * malloc/mcheck.c: Handle large requests.
30135 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30136 for strncmp and strncasecmp.
30137 * string/stratcliff.c: Add tests for strcmp and strncmp.
30138 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30140 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30142 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30145 2010-09-30 Andreas Jaeger <aj@suse.de>
30147 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30148 (CGROUP_SUPER_MAGIC): Define.
30149 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30150 Handle btrfs and cgroup file systems.
30151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30154 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30156 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30157 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30159 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30162 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30163 trying to locate the ELF header.
30165 2010-09-27 Andreas Schwab <schwab@redhat.com>
30168 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30169 Mask out sign-bit copies when constructing f_fsid.
30171 2010-09-24 Petr Baudis <pasky@suse.cz>
30173 * debug/stack_chk_fail_local.c: Add missing licence exception.
30174 * debug/warning-nop.c: Likewise.
30176 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30178 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30179 implementing getdents64 using getdents syscall, set d_type if
30180 __ASSUME_GETDENTS32_D_TYPE.
30182 2010-09-16 Andreas Schwab <schwab@redhat.com>
30184 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30185 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30187 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30190 * posix/unistd.h: Undo change of feature selection for ftruncate from
30193 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30195 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30198 2010-09-20 Andreas Schwab <schwab@redhat.com>
30200 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30204 2010-09-14 Andreas Schwab <schwab@redhat.com>
30206 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30207 variables after CHECK_SP call.
30208 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30210 2010-09-13 Andreas Schwab <schwab@redhat.com>
30211 Ulrich Drepper <drepper@redhat.com>
30213 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30214 re-relocationg ld.so.
30215 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30216 _dl_init_paths call.
30217 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30220 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30222 * resolv/res_init.c (__res_vinit): Count the default server we added.
30224 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30225 Ulrich Drepper <drepper@redhat.com>
30228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30229 (____longjmp_chk): Use %ebx for saving value across system call.
30232 2010-09-06 Andreas Schwab <schwab@redhat.com>
30234 * manual/Makefile: Don't mix pattern rules with normal rules.
30236 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30238 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30240 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30241 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30242 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30243 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30247 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30250 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30251 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30253 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30255 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30256 * sysdeps/x86_64/addmul_1.S: Likewise.
30257 * sysdeps/x86_64/lshift.S: Likewise.
30258 * sysdeps/x86_64/mul_1.S: Likewise.
30259 * sysdeps/x86_64/rshift.S: Likewise.
30260 * sysdeps/x86_64/sub_n.S: Likewise.
30261 * sysdeps/x86_64/submul_1.S: Likewise.
30263 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30265 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30266 Define __sched_param instead of SCHED_* and sched_param when
30267 <bits/sched.h> is included with __need_schedparam defined.
30268 * bits/sched.h [__need_schedparam]
30269 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30270 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30271 (__defined_schedparam): Define to 1.
30272 (__sched_param): New structure, identical to sched_param.
30273 (__need_schedparam): Undefine.
30275 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30278 (epoll_create1): Declare.
30280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30282 2010-08-31 Andreas Schwab <schwab@redhat.com>
30285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30286 shifting retval into place.
30288 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30290 * nis/rpcsvc/nis.h: Update copyright notice.
30291 * nis/rpcsvc/nis.x: Likewise.
30292 * nis/rpcsvc/nis_callback.h: Likewise.
30293 * nis/rpcsvc/nis_callback.x: Likewise.
30294 * nis/rpcsvc/nis_object.x: Likewise.
30295 * nis/rpcsvc/nis_tags.h: Likewise.
30296 * nis/rpcsvc/yp.h: Likewise.
30297 * nis/rpcsvc/yp.x: Likewise.
30298 * nis/rpcsvc/ypupd.h: Likewise.
30299 * nis/yp_xdr.c: Likewise.
30300 * nis/ypupdate_xdr.c: Likewise.
30302 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30303 mainly the body of pmap_getport. Add parameters to specify timeouts.
30304 (pmap_getport): Use __libc_rpc_getport.
30305 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30306 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30307 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30309 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30314 2010-08-27 Roland McGrath <roland@redhat.com>
30316 * sysdeps/i386/i686/multiarch/Makefile
30317 (CFLAGS-varshift.c): New variable.
30319 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30321 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30322 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30326 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30328 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30330 * sysdeps/x86_64/strlen.S: Unroll the loop.
30331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30332 strlen-sse2 strlen-sse2-bsf.
30333 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30334 __strlen_no_bsf if bit_Slow_BSF is set.
30335 (__strlen_sse42): Removed.
30336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30337 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30339 2010-08-25 Roland McGrath <roland@redhat.com>
30341 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30342 * sysdeps/x86_64/multiarch/varshift.c: New file.
30343 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30344 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30345 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30346 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30348 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30351 strlen-sse2 strlen-sse2-bsf.
30352 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30353 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30354 (__strlen_sse2): Removed.
30355 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30356 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30358 bit_Slow_BSF for Atom.
30359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30360 (index_Slow_BSF): Define.
30361 (HAS_SLOW_BSF): Define.
30363 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30366 * resolv/res_init.c (__res_vinit): When no server address at all
30367 is given default to loopback.
30369 2010-08-24 Roland McGrath <roland@redhat.com>
30371 * configure.in: Remove config-name.h generation.
30372 * configure: Regenerated.
30373 * config-name.in: File removed.
30374 * scripts/config-uname.sh: New file.
30375 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30376 ($(objdir)config-name.h): New target.
30378 * sunrpc/rpc_parse.h: Avoid nested comment.
30380 2010-08-24 Richard Henderson <rth@redhat.com>
30381 Ulrich Drepper <drepper@redhat.com>
30382 H.J. Lu <hongjiu.lu@intel.com>
30384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30386 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30387 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30388 _mm_alignr_epi8 with _mm_loadu_si128.
30389 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30390 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30391 (__m128i_shift_right): Removed.
30392 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30393 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30394 * sysdeps/x86_64/multiarch/varshift.h: New file.
30395 * sysdeps/x86_64/multiarch/varshift.S: New file.
30397 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30399 * configure.in: Move assembler checks to before sysdep dir checking.
30401 2010-08-20 Petr Baudis <pasky@suse.cz>
30403 * LICENSES: Sync the sunrpc license.
30405 2010-08-19 Ulrich Drepper <drepper@redhat.com>
30407 * sunrpc/auth_des.c: Update copyright notice once again.
30408 * sunrpc/auth_none.c: Likewise.
30409 * sunrpc/auth_unix.c: Likewise.
30410 * sunrpc/authdes_prot.c: Likewise.
30411 * sunrpc/authuxprot.c: Likewise.
30412 * sunrpc/bindrsvprt.c: Likewise.
30413 * sunrpc/clnt_gen.c: Likewise.
30414 * sunrpc/clnt_perr.c: Likewise.
30415 * sunrpc/clnt_raw.c: Likewise.
30416 * sunrpc/clnt_simp.c: Likewise.
30417 * sunrpc/clnt_tcp.c: Likewise.
30418 * sunrpc/clnt_udp.c: Likewise.
30419 * sunrpc/clnt_unix.c: Likewise.
30420 * sunrpc/des_crypt.c: Likewise.
30421 * sunrpc/des_soft.c: Likewise.
30422 * sunrpc/get_myaddr.c: Likewise.
30423 * sunrpc/getrpcport.c: Likewise.
30424 * sunrpc/key_call.c: Likewise.
30425 * sunrpc/key_prot.c: Likewise.
30426 * sunrpc/openchild.c: Likewise.
30427 * sunrpc/pm_getmaps.c: Likewise.
30428 * sunrpc/pm_getport.c: Likewise.
30429 * sunrpc/pmap_clnt.c: Likewise.
30430 * sunrpc/pmap_prot.c: Likewise.
30431 * sunrpc/pmap_prot2.c: Likewise.
30432 * sunrpc/pmap_rmt.c: Likewise.
30433 * sunrpc/rpc/auth.h: Likewise.
30434 * sunrpc/rpc/auth_unix.h: Likewise.
30435 * sunrpc/rpc/clnt.h: Likewise.
30436 * sunrpc/rpc/des_crypt.h: Likewise.
30437 * sunrpc/rpc/key_prot.h: Likewise.
30438 * sunrpc/rpc/netdb.h: Likewise.
30439 * sunrpc/rpc/pmap_clnt.h: Likewise.
30440 * sunrpc/rpc/pmap_prot.h: Likewise.
30441 * sunrpc/rpc/pmap_rmt.h: Likewise.
30442 * sunrpc/rpc/rpc.h: Likewise.
30443 * sunrpc/rpc/rpc_des.h: Likewise.
30444 * sunrpc/rpc/rpc_msg.h: Likewise.
30445 * sunrpc/rpc/svc.h: Likewise.
30446 * sunrpc/rpc/svc_auth.h: Likewise.
30447 * sunrpc/rpc/types.h: Likewise.
30448 * sunrpc/rpc/xdr.h: Likewise.
30449 * sunrpc/rpc_clntout.c: Likewise.
30450 * sunrpc/rpc_cmsg.c: Likewise.
30451 * sunrpc/rpc_common.c: Likewise.
30452 * sunrpc/rpc_cout.c: Likewise.
30453 * sunrpc/rpc_dtable.c: Likewise.
30454 * sunrpc/rpc_hout.c: Likewise.
30455 * sunrpc/rpc_main.c: Likewise.
30456 * sunrpc/rpc_parse.c: Likewise.
30457 * sunrpc/rpc_parse.h: Likewise.
30458 * sunrpc/rpc_prot.c: Likewise.
30459 * sunrpc/rpc_sample.c: Likewise.
30460 * sunrpc/rpc_scan.c: Likewise.
30461 * sunrpc/rpc_scan.h: Likewise.
30462 * sunrpc/rpc_svcout.c: Likewise.
30463 * sunrpc/rpc_tblout.c: Likewise.
30464 * sunrpc/rpc_util.c: Likewise.
30465 * sunrpc/rpc_util.h: Likewise.
30466 * sunrpc/rpcinfo.c: Likewise.
30467 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30468 * sunrpc/rpcsvc/key_prot.x: Likewise.
30469 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30470 * sunrpc/rpcsvc/mount.x: Likewise.
30471 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30472 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30473 * sunrpc/rpcsvc/rex.x: Likewise.
30474 * sunrpc/rpcsvc/rstat.x: Likewise.
30475 * sunrpc/rpcsvc/rusers.x: Likewise.
30476 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30477 * sunrpc/rpcsvc/spray.x: Likewise.
30478 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30479 * sunrpc/rtime.c: Likewise.
30480 * sunrpc/svc.c: Likewise.
30481 * sunrpc/svc_auth.c: Likewise.
30482 * sunrpc/svc_authux.c: Likewise.
30483 * sunrpc/svc_raw.c: Likewise.
30484 * sunrpc/svc_run.c: Likewise.
30485 * sunrpc/svc_simple.c: Likewise.
30486 * sunrpc/svc_tcp.c: Likewise.
30487 * sunrpc/svc_udp.c: Likewise.
30488 * sunrpc/svc_unix.c: Likewise.
30489 * sunrpc/svcauth_des.c: Likewise.
30490 * sunrpc/xcrypt.c: Likewise.
30491 * sunrpc/xdr.c: Likewise.
30492 * sunrpc/xdr_array.c: Likewise.
30493 * sunrpc/xdr_float.c: Likewise.
30494 * sunrpc/xdr_mem.c: Likewise.
30495 * sunrpc/xdr_rec.c: Likewise.
30496 * sunrpc/xdr_ref.c: Likewise.
30497 * sunrpc/xdr_sizeof.c: Likewise.
30498 * sunrpc/xdr_stdio.c: Likewise.
30500 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30503 2010-08-19 Andreas Schwab <schwab@redhat.com>
30505 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30507 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
30509 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30510 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30511 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30512 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30513 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30514 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30515 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30516 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30518 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30519 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30520 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30521 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30522 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30524 2010-07-26 Anton Blanchard <anton@samba.org>
30526 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30527 * malloc/arena.c (heap_trim): Likewise.
30529 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30531 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30534 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30536 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30538 * sysdeps/i386/elf/Makefile: New file.
30540 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30542 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30543 from fanotify_init.
30544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30547 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30549 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30551 * sysdeps/multiarch/strcmp.S: Likewise.
30553 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30555 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30556 strncase_l-nonascii.
30557 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30558 Add strncase_l-ssse3.
30559 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30560 * sysdeps/x86_64/strcmp.S: Likewise.
30561 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30562 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30563 * sysdeps/x86_64/strncase.S: New file.
30564 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30565 * sysdeps/x86_64/strncase_l.S: New file.
30566 * string/Makefile (strop-tests): Add strncasecmp.
30567 * string/test-strncasecmp.c: New file.
30569 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30572 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30573 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30575 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30577 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30579 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30581 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30583 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30585 2010-05-01 Alan Modra <amodra@gmail.com>
30587 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30588 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30589 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30590 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30591 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30592 tidying. Don't tail-call __sigjmp_save for static lib.
30593 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30595 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30596 (CALL_MCOUNT): Add eh info, and nop after bl.
30597 (TAIL_CALL_SYSCALL_ERROR): New macro.
30598 (PSEUDO_RET): Use it.
30599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30600 Correct save location of integer regs and cr.
30601 (_dl_profile_resolve): Correct cr save location. Delete nops
30602 after bl when SHARED. Reduce cfi size a little by better
30603 placement of cfi directives.
30604 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30605 make a stack frame. Instead use parm save area as a temp.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30607 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30609 Don't make a stack frame for parent, use parm save area.
30610 Increase child stack frame to 112 bytes. Don't save unused reg,
30611 and adjust reg usage. Set up cfi on error recovery and
30612 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30614 (__makecontext): Add dummy nop after jump to exit.
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30616 Use correct parm save area and cr save, reduce stack frame.
30617 Correct cfi for possible PSEUDO_RET frame setup.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30619 Branch to local label emitted by PSEUDO_RET rather than
30622 2010-08-12 Andreas Schwab <schwab@redhat.com>
30625 * locale/programs/locale.c (print_assignment): New function.
30626 (show_locale_vars): Use it.
30628 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30630 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30632 (struct statfs64): Likewise.
30633 (_STATFS_F_FLAGS): Define.
30634 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30636 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30637 (ST_VALID): Define locally.
30638 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30639 __statvfs_getflags, use the provided value.
30640 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30641 __ASSUME_STATFS_F_FLAGS.
30643 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30645 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30646 Add sys/fanotify.h.
30647 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30648 fanotify_mask for GLIBC_2.13.
30649 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30650 fanotify_init and fanotify_mark.
30651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30652 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30654 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30656 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30657 prlimit64 for GLIBC_2.13.
30658 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30663 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30664 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30665 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30668 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30671 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30672 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30674 * nss/Makefile: Add rules to build and run tst-nss-test1.
30675 * shlib-versions: Add entry for libnss_test1.
30676 * nss/nss_test1.c: New file.
30677 * nss/tst-nss-test1.c: New file.
30679 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30680 (__nss_configure_lookup): Set appropriate entry in
30681 __nss_configure_lookup to true.
30682 * nss/nsswitch.h: Define enum with indeces of databases in
30683 databases and __nss_database_custom arrays. Declare
30684 __nss_database_custom.
30685 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30686 to avoid using nscd when custom rules are installed.
30687 * nss/getXXbyYY_r.c: Likewise.
30688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30690 * nss/nss_files/files-parse.c: Whitespace fixes.
30692 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30695 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30696 * posix/fnmatch_loop.c: Likewise.
30698 2010-07-17 Andi Kleen <ak@linux.intel.com>
30700 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30701 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30702 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30703 * Versions.def [GLIBC_2.13]: Add.
30705 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30707 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30708 Also fail if tpwd after pwuid call is NULL.
30710 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30712 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30713 when converting to ms.
30715 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30717 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30718 EOPNOTSUPP errors with ENOTTY.
30719 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30720 EOPNOTSUPP errors with ENOTTY.
30722 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30724 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30725 Add strcasecmp_l-ssse3.
30726 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30728 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30729 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30730 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30732 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30734 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30736 * string/Makefile (strop-tests): Add strcasecmp.
30737 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30738 strcasecmp_l-nonascii.
30739 (gen-as-const-headers): Add locale-defines.sym.
30740 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30741 * sysdeps/x86_64/strcasecmp.S: New file.
30742 * sysdeps/x86_64/strcasecmp_l.S: New file.
30743 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30744 * sysdeps/x86_64/locale-defines.sym: New file.
30745 * string/test-strcasecmp.c: New file.
30747 * string/test-strcasestr.c: Test both ends of the range of characters.
30748 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30750 2010-07-29 Roland McGrath <roland@redhat.com>
30753 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30755 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30757 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30760 2010-07-27 Andreas Schwab <schwab@redhat.com>
30762 * manual/memory.texi (Malloc Tunable Parameters): Document
30765 2010-07-26 Roland McGrath <roland@redhat.com>
30768 * configure.in (-fgnu89-inline check): Set and substitute
30769 gnu89_inline, not libc_cv_gnu89_inline.
30770 * configure: Regenerated.
30771 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30773 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30775 * string/test-strnlen.c: New file.
30776 * string/Makefile (strop-tests): Add strnlen.
30777 * string/tester.c (test_strnlen): Add a few more test cases.
30778 * string/tst-strlen.c: Better error reporting.
30780 * sysdeps/x86_64/strnlen.S: New file.
30782 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30785 lower-latency instructions.
30787 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30789 * string/test-strcasestr.c: New file.
30790 * string/test-strstr.c: New file.
30791 * string/Makefile (strop-tests): Add strstr and strcasestr.
30792 * string/str-two-way.h: Don't undefine MAX.
30793 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30795 2010-07-21 Andreas Schwab <schwab@redhat.com>
30797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30798 strcasestr-nonascii.
30799 (CFLAGS-strcasestr-nonascii.c): Define.
30800 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30801 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30802 Remove unused attribute.
30804 2010-07-20 Roland McGrath <roland@redhat.com>
30806 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30807 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30808 ld.so.cache was broken. With it, there is no way to disable dsocaps
30809 like LD_HWCAP_MASK can disable hwcaps.
30811 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30813 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30815 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30817 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30818 call in strcasestr.
30819 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30820 __strcasestr_sse42_nonascii.
30821 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30822 strcasestr-nonascii.c.
30823 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30825 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30827 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30828 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30829 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30830 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30832 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30834 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30837 2010-07-06 Andreas Schwab <schwab@redhat.com>
30840 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30843 2010-07-06 Ulrich Drepper <drepper@redhat.com>
30845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30846 _PC_PIPE_BUF using F_GETPIPE_SZ.
30848 2010-07-05 Roland McGrath <roland@redhat.com>
30850 * manual/arith.texi (Rounding Functions): Fix rint description
30851 implicit in round description.
30853 2010-07-02 Ulrich Drepper <drepper@redhat.com>
30855 * elf/Makefile: Fix linking for a few tests to make recent linker
30858 2010-06-30 Andreas Schwab <schwab@redhat.com>
30860 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30861 $(common-objpfx)libc_nonshared.a.
30863 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
30865 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30866 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30867 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30868 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30869 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30870 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30871 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30872 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30887 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30888 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30889 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30890 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30891 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30892 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30893 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30894 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30895 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30896 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30897 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30898 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30914 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30916 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30917 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30918 * string/memmove.c (memmove): Renamed to ...
30919 (MEMMOVE): ...this. Default to memmove.
30920 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30921 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30924 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30925 mempcpy-ssse3-back memmove-ssse3-back.
30926 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30929 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30930 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30931 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30932 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30933 * sysdeps/x86_64/multiarch/memmove.c: New file.
30934 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30935 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30936 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30937 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30938 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30941 (index_Fast_Copy_Backward): Define.
30942 (HAS_ARCH_FEATURE): Define.
30943 (HAS_FAST_REP_STRING): Define.
30944 (HAS_FAST_COPY_BACKWARD): Define.
30946 2010-06-21 Andreas Schwab <schwab@redhat.com>
30948 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30949 Restore proper fallback handling.
30951 2010-06-19 Ulrich Drepper <drepper@redhat.com>
30954 * posix/group_member.c (__group_member): Correct checking loop.
30956 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30957 OOM in getpwuid_r correctly. Return error number when the caller
30958 should return, otherwise -1.
30959 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30960 call returning > 0 value.
30961 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30963 2010-06-07 Andreas Schwab <schwab@redhat.com>
30965 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30966 libc_nonshared.a from targets in modules-names.
30968 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30970 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30973 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
30975 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30976 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30980 2010-06-02 Andreas Schwab <schwab@redhat.com>
30982 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30984 2010-06-14 Ulrich Drepper <drepper@redhat.com>
30986 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30993 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30995 2010-06-14 Roland McGrath <roland@redhat.com>
30997 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30999 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31001 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31002 __REDIRECT followed by __THROW.
31003 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31004 * posix/getopt.h (getopt): Likewise.
31006 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31008 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31009 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31010 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31012 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31013 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31015 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31017 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31019 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31023 Properly check family and model.
31025 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31027 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31029 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31031 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31033 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31035 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31038 2010-05-19 Andreas Schwab <schwab@redhat.com>
31040 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31043 2010-05-21 Andreas Schwab <schwab@redhat.com>
31045 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31046 and internal_recvmmsg.
31047 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31048 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31049 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31050 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31052 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31053 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31054 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31056 2010-05-20 Andreas Schwab <schwab@redhat.com>
31058 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31060 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31062 POWER7 optimizations.
31063 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31064 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31066 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31068 * version.h: Update for 2.13 development version.
31070 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31072 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31073 exceptions. Return 0.
31075 2010-05-07 Roland McGrath <roland@redhat.com>
31077 * elf/ldconfig.c (main): Add a const.
31079 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31081 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31082 (args_options): Add no-idn option.
31083 (ahosts_keys_int): Add idn_flags to ai_flags.
31084 (parse_option): Handle 'i' option to clear idn_flags.
31086 * malloc/malloc.c (_int_free): Possible race in the most recently
31087 added check. Only act on the data if no current modification
31090 See ChangeLog.17 for earlier changes.