1 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4 * malloc/malloc.c: remove checks for statistics.
6 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10 * inet/tst-network.c: Add testcase.
12 2013-10-17 Andreas Schwab <schwab@suse.de>
15 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16 to determine canonical name.
18 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
74 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79 2013-10-17 Joseph Myers <joseph@codesourcery.com>
82 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
83 make result into a quiet NaN.
85 2013-10-16 Joseph Myers <joseph@codesourcery.com>
87 * soft-fp/adddf3.c: Fix horizontal whitespace.
88 * soft-fp/addsf3.c: Likewise.
89 * soft-fp/addtf3.c: Likewise.
90 * soft-fp/divdf3.c: Likewise.
91 * soft-fp/divsf3.c: Likewise.
92 * soft-fp/divtf3.c: Likewise.
93 * soft-fp/double.h: Likewise.
94 * soft-fp/eqdf2.c: Likewise.
95 * soft-fp/eqsf2.c: Likewise.
96 * soft-fp/eqtf2.c: Likewise.
97 * soft-fp/extenddftf2.c: Likewise.
98 * soft-fp/extended.h: Likewise.
99 * soft-fp/extendsfdf2.c: Likewise.
100 * soft-fp/extendsftf2.c: Likewise.
101 * soft-fp/extendxftf2.c: Likewise.
102 * soft-fp/fixdfdi.c: Likewise.
103 * soft-fp/fixdfsi.c: Likewise.
104 * soft-fp/fixdfti.c: Likewise.
105 * soft-fp/fixsfdi.c: Likewise.
106 * soft-fp/fixsfsi.c: Likewise.
107 * soft-fp/fixsfti.c: Likewise.
108 * soft-fp/fixtfdi.c: Likewise.
109 * soft-fp/fixtfsi.c: Likewise.
110 * soft-fp/fixtfti.c: Likewise.
111 * soft-fp/fixunsdfdi.c: Likewise.
112 * soft-fp/fixunsdfsi.c: Likewise.
113 * soft-fp/fixunsdfti.c: Likewise.
114 * soft-fp/fixunssfdi.c: Likewise.
115 * soft-fp/fixunssfsi.c: Likewise.
116 * soft-fp/fixunssfti.c: Likewise.
117 * soft-fp/fixunstfdi.c: Likewise.
118 * soft-fp/fixunstfsi.c: Likewise.
119 * soft-fp/fixunstfti.c: Likewise.
120 * soft-fp/floatdidf.c: Likewise.
121 * soft-fp/floatdisf.c: Likewise.
122 * soft-fp/floatditf.c: Likewise.
123 * soft-fp/floatsidf.c: Likewise.
124 * soft-fp/floatsisf.c: Likewise.
125 * soft-fp/floatsitf.c: Likewise.
126 * soft-fp/floattidf.c: Likewise.
127 * soft-fp/floattisf.c: Likewise.
128 * soft-fp/floattitf.c: Likewise.
129 * soft-fp/floatundidf.c: Likewise.
130 * soft-fp/floatundisf.c: Likewise.
131 * soft-fp/floatunditf.c: Likewise.
132 * soft-fp/floatunsidf.c: Likewise.
133 * soft-fp/floatunsisf.c: Likewise.
134 * soft-fp/floatunsitf.c: Likewise.
135 * soft-fp/floatuntidf.c: Likewise.
136 * soft-fp/floatuntisf.c: Likewise.
137 * soft-fp/floatuntitf.c: Likewise.
138 * soft-fp/fmadf4.c: Likewise.
139 * soft-fp/fmasf4.c: Likewise.
140 * soft-fp/fmatf4.c: Likewise.
141 * soft-fp/gedf2.c: Likewise.
142 * soft-fp/gesf2.c: Likewise.
143 * soft-fp/getf2.c: Likewise.
144 * soft-fp/ledf2.c: Likewise.
145 * soft-fp/lesf2.c: Likewise.
146 * soft-fp/letf2.c: Likewise.
147 * soft-fp/muldf3.c: Likewise.
148 * soft-fp/mulsf3.c: Likewise.
149 * soft-fp/multf3.c: Likewise.
150 * soft-fp/negdf2.c: Likewise.
151 * soft-fp/negsf2.c: Likewise.
152 * soft-fp/negtf2.c: Likewise.
153 * soft-fp/op-1.h: Likewise.
154 * soft-fp/op-2.h: Likewise.
155 * soft-fp/op-4.h: Likewise.
156 * soft-fp/op-8.h: Likewise.
157 * soft-fp/op-common.h: Likewise.
158 * soft-fp/quad.h: Likewise.
159 * soft-fp/single.h: Likewise.
160 * soft-fp/soft-fp.h: Likewise.
161 * soft-fp/sqrtdf2.c: Likewise.
162 * soft-fp/sqrtsf2.c: Likewise.
163 * soft-fp/sqrttf2.c: Likewise.
164 * soft-fp/subdf3.c: Likewise.
165 * soft-fp/subsf3.c: Likewise.
166 * soft-fp/subtf3.c: Likewise.
167 * soft-fp/truncdfsf2.c: Likewise.
168 * soft-fp/trunctfdf2.c: Likewise.
169 * soft-fp/trunctfsf2.c: Likewise.
170 * soft-fp/trunctfxf2.c: Likewise.
171 * soft-fp/unorddf2.c: Likewise.
172 * soft-fp/unordsf2.c: Likewise.
173 * soft-fp/unordtf2.c: Likewise.
175 2013-10-15 Joseph Myers <joseph@codesourcery.com>
177 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
178 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
180 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
182 * elf/dl-libc.c: Clear initfini list after freeing.
184 2013-10-14 Joseph Myers <joseph@codesourcery.com>
186 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
187 * soft-fp/addsf3.c: Likewise.
188 * soft-fp/addtf3.c: Likewise.
189 * soft-fp/divdf3.c: Likewise.
190 * soft-fp/divsf3.c: Likewise.
191 * soft-fp/divtf3.c: Likewise.
192 * soft-fp/double.h: Likewise.
193 * soft-fp/eqdf2.c: Likewise.
194 * soft-fp/eqsf2.c: Likewise.
195 * soft-fp/eqtf2.c: Likewise.
196 * soft-fp/extenddftf2.c: Likewise.
197 * soft-fp/extended.h: Likewise.
198 * soft-fp/extendsfdf2.c: Likewise.
199 * soft-fp/extendsftf2.c: Likewise.
200 * soft-fp/extendxftf2.c: Likewise.
201 * soft-fp/fixdfdi.c: Likewise.
202 * soft-fp/fixdfsi.c: Likewise.
203 * soft-fp/fixdfti.c: Likewise.
204 * soft-fp/fixsfdi.c: Likewise.
205 * soft-fp/fixsfsi.c: Likewise.
206 * soft-fp/fixsfti.c: Likewise.
207 * soft-fp/fixtfdi.c: Likewise.
208 * soft-fp/fixtfsi.c: Likewise.
209 * soft-fp/fixtfti.c: Likewise.
210 * soft-fp/fixunsdfdi.c: Likewise.
211 * soft-fp/fixunsdfsi.c: Likewise.
212 * soft-fp/fixunsdfti.c: Likewise.
213 * soft-fp/fixunssfdi.c: Likewise.
214 * soft-fp/fixunssfsi.c: Likewise.
215 * soft-fp/fixunssfti.c: Likewise.
216 * soft-fp/fixunstfdi.c: Likewise.
217 * soft-fp/fixunstfsi.c: Likewise.
218 * soft-fp/fixunstfti.c: Likewise.
219 * soft-fp/floatdidf.c: Likewise.
220 * soft-fp/floatdisf.c: Likewise.
221 * soft-fp/floatditf.c: Likewise.
222 * soft-fp/floatsidf.c: Likewise.
223 * soft-fp/floatsisf.c: Likewise.
224 * soft-fp/floatsitf.c: Likewise.
225 * soft-fp/floattidf.c: Likewise.
226 * soft-fp/floattisf.c: Likewise.
227 * soft-fp/floattitf.c: Likewise.
228 * soft-fp/floatundidf.c: Likewise.
229 * soft-fp/floatundisf.c: Likewise.
230 * soft-fp/floatunsidf.c: Likewise.
231 * soft-fp/floatunsisf.c: Likewise.
232 * soft-fp/floatuntidf.c: Likewise.
233 * soft-fp/floatuntisf.c: Likewise.
234 * soft-fp/floatuntitf.c: Likewise.
235 * soft-fp/fmadf4.c: Likewise.
236 * soft-fp/fmasf4.c: Likewise.
237 * soft-fp/fmatf4.c: Likewise.
238 * soft-fp/gedf2.c: Likewise.
239 * soft-fp/gesf2.c: Likewise.
240 * soft-fp/getf2.c: Likewise.
241 * soft-fp/ledf2.c: Likewise.
242 * soft-fp/lesf2.c: Likewise.
243 * soft-fp/letf2.c: Likewise.
244 * soft-fp/muldf3.c: Likewise.
245 * soft-fp/mulsf3.c: Likewise.
246 * soft-fp/multf3.c: Likewise.
247 * soft-fp/negdf2.c: Likewise.
248 * soft-fp/negsf2.c: Likewise.
249 * soft-fp/negtf2.c: Likewise.
250 * soft-fp/op-1.h: Likewise.
251 * soft-fp/op-2.h: Likewise.
252 * soft-fp/op-4.h: Likewise.
253 * soft-fp/op-8.h: Likewise.
254 * soft-fp/op-common.h: Likewise.
255 * soft-fp/quad.h: Likewise.
256 * soft-fp/single.h: Likewise.
257 * soft-fp/soft-fp.h: Likewise.
258 * soft-fp/sqrtdf2.c: Likewise.
259 * soft-fp/sqrtsf2.c: Likewise.
260 * soft-fp/sqrttf2.c: Likewise.
261 * soft-fp/subdf3.c: Likewise.
262 * soft-fp/subsf3.c: Likewise.
263 * soft-fp/subtf3.c: Likewise.
264 * soft-fp/truncdfsf2.c: Likewise.
265 * soft-fp/trunctfdf2.c: Likewise.
266 * soft-fp/trunctfsf2.c: Likewise.
267 * soft-fp/trunctfxf2.c: Likewise.
268 * soft-fp/unorddf2.c: Likewise.
269 * soft-fp/unordsf2.c: Likewise.
270 * soft-fp/unordtf2.c: Likewise.
272 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
275 * misc/error.c (error_tail): Fix possible buffer overflow.
277 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
280 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
283 2013-10-14 P. J. McDermott <pj@pehjota.net>
286 * elf/ldd.bash.in (try_trace): New function. Delete previous code
287 testing pipefail option.
289 2013-10-12 Joseph Myers <joseph@codesourcery.com>
291 * soft-fp/double.h: Indent preprocessor directives inside #if.
292 * soft-fp/extended.h: Likewise.
293 * soft-fp/op-2.h: Likewise.
294 * soft-fp/op-4.h: Likewise.
295 * soft-fp/op-common.h: Likewise.
296 * soft-fp/quad.h: Likewise.
297 * soft-fp/single.h: Likewise.
298 * soft-fp/soft-fp.h: Likewise.
300 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
302 * iconv/iconv_prog.c: Fix typos.
303 * stdio-common/psiginfo-data.h: Likewise.
305 2013-10-12 Reuben Thomas <rrt@sc3d.org>
308 * locale/setlocale.c: Fix typo.
310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
313 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
314 signaling NaN arguments.
315 * soft-fp/unordsf2.c (__unordsf2): Likewise.
316 * soft-fp/unordtf2.c (__unordtf2): Likewise.
319 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
321 * soft-fp/gesf2.c (__gesf2): Likewise.
322 * soft-fp/getf2.c (__getf2): Likewise.
323 * soft-fp/ledf2.c (__ledf2): Likewise.
324 * soft-fp/lesf2.c (__lesf2): Likewise.
325 * soft-fp/letf2.c (__letf2): Likewise.
327 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
328 * soft-fp/eqsf2.c (__eqsf2): Likewise.
329 * soft-fp/eqtf2.c (__eqtf2): Likewise.
330 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
331 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
332 * soft-fp/fixdfti.c (__fixdfti): Likewise.
333 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
334 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
335 * soft-fp/fixsfti.c (__fixsfti): Likewise.
336 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
337 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
338 * soft-fp/fixtfti.c (__fixtfti): Likewise.
339 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
340 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
341 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
342 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
343 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
344 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
345 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
346 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
347 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
348 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
349 * soft-fp/floatdisf.c (__floatdisf): Likewise.
350 * soft-fp/floatsisf.c (__floatsisf): Likewise.
351 * soft-fp/floattidf.c (__floattidf): Likewise.
352 * soft-fp/floattisf.c (__floattisf): Likewise.
353 * soft-fp/floattitf.c (__floattitf): Likewise.
354 * soft-fp/floatundidf.c (__floatundidf): Likewise.
355 * soft-fp/floatundisf.c (__floatundisf): Likewise.
356 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
357 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
358 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
359 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
360 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
361 * soft-fp/gesf2.c (__gesf2): Likewise.
362 * soft-fp/getf2.c (__getf2): Likewise.
363 * soft-fp/ledf2.c (__ledf2): Likewise.
364 * soft-fp/lesf2.c (__lesf2): Likewise.
365 * soft-fp/letf2.c (__letf2): Likewise.
367 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
368 Undefine and redefine.
369 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
370 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
371 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
372 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
373 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
374 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
375 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
376 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
377 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
378 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
379 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
380 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
381 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
382 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
383 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
386 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
387 without decrementing exponent if mantissa >= that for the
389 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
390 denominator, not >. Decrement exponent in < case instead of
391 incrementing in >= case.
392 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
393 without decrementing exponent if mantissa >= that for the
396 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
397 computing saturated result for unsigned overflow.
399 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
400 Jeff Law <law@redhat.com>
402 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
403 (atan2Mp): Add systemtap probe marker.
404 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
405 (__ieee754_log): Add systemtap probe marker.
406 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
407 (atanMp): Add systemtap probe marker.
408 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
409 (tanMp): Add systemtap probe marker.
410 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
411 (__slowexp): Add systemtap probe marker.
412 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
413 (__slowpow): Add systemtap probe marker.
414 * manual/probes.texi: Document probes.
416 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
419 * libio/fileops.c (_IO_new_file_write): Return count of bytes
421 (_IO_new_file_xsputn): Don't return EOF if nothing has been
423 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
424 written to buffer but not flushed.
425 * libio/iofwrite_u.c: Likewise.
426 * libio/iopadn.c: Return bytes returned even if EOF was
428 * libio/iowpadn.c: Likewise.
429 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
430 if _IO_padn does not write the whole buffer.
431 [!COMPILE_WPRINTF] (PAD): Likewise.
433 2013-10-10 David S. Miller <davem@davemloft.net>
435 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
438 2013-10-10 Joseph Myers <joseph@codesourcery.com>
440 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
441 instead of FSF address.
442 * soft-fp/fixdfti.c: Likewise.
443 * soft-fp/fixsfti.c: Likewise.
444 * soft-fp/fixtfti.c: Likewise.
445 * soft-fp/fixunsdfti.c: Likewise.
446 * soft-fp/fixunssfti.c: Likewise.
447 * soft-fp/fixunstfti.c: Likewise.
448 * soft-fp/floattidf.c: Likewise.
449 * soft-fp/floattisf.c: Likewise.
450 * soft-fp/floattitf.c: Likewise.
451 * soft-fp/floatuntidf.c: Likewise.
452 * soft-fp/floatuntisf.c: Likewise.
453 * soft-fp/floatuntitf.c: Likewise.
454 * soft-fp/trunctfxf2.c: Likewise.
456 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
457 * soft-fp/fixdfti.c: Likewise.
458 * soft-fp/fixsfti.c: Likewise.
459 * soft-fp/fixtfti.c: Likewise.
460 * soft-fp/fixunsdfti.c: Likewise.
461 * soft-fp/fixunssfti.c: Likewise.
462 * soft-fp/fixunstfti.c: Likewise.
463 * soft-fp/floattidf.c: Likewise.
464 * soft-fp/floattisf.c: Likewise.
465 * soft-fp/floattitf.c: Likewise.
466 * soft-fp/floatuntidf.c: Likewise.
467 * soft-fp/floatuntisf.c: Likewise.
468 * soft-fp/floatuntitf.c: Likewise.
469 * soft-fp/trunctfxf2.c: Likewise.
471 2013-10-10 David S. Miller <davem@davemloft.net>
473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
475 2013-10-10 Joseph Myers <joseph@codsourcery.com>
477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
478 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
479 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
480 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
481 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
482 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
483 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
486 for NaNs before doing comparisons on argument.
487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
490 2013-10-10 Will Newton <will.newton@linaro.org>
492 * malloc/hooks.c (memalign_check): Ensure the value of bytes
493 passed to _int_memalign does not overflow.
495 2013-10-10 Torvald Riegel <triegel@redhat.com>
497 * scripts/bench.pl: Add include-sources directive.
498 * benchtests/README: Update documentation.
500 2013-10-10 Joseph Myers <joseph@codesourcery.com>
502 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
503 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
504 instead of FP_INIT_ROUNDMODE.
505 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
506 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
509 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
510 copy class of input value.
511 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
512 not handle exceptions.
513 * soft-fp/negsf2.c (__negsf2): Likewise.
514 * soft-fp/negtf2.c (__negtf2): Likewise.
515 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
517 2013-10-09 Joseph Myers <joseph@codesourcery.com>
519 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
520 semicolon. From Linux kernel.
522 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
524 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
526 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
529 * manual/socket.texi: Added statement about buffer
530 for gethostbyname2_r.
532 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
534 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
535 Use .p2align directive instead, throughout.
536 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
538 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
541 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
542 * sysdeps/x86_64/strchr.S: Likewise.
543 * sysdeps/x86_64/strrchr.S: Likewise.
545 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
547 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
549 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
551 * sysdeps/generic/math_private.h (__mpsin1): Remove
553 (__mpcos1): Likewise.
554 (__mpsin): New argument __range_reduce.
556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
557 (slow): Use __mpsin and __mpcos.
570 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
571 range_reduce. Merge in __mpsin1.
574 (__mpcos1): Likewise.
576 2013-10-07 Joseph Myers <joseph@codesourcery.com>
578 * locale/loadlocale.c (_nl_intern_locale_data): Use
580 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
581 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
582 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
583 obstack data is appropriately aligned.
584 (obstack_int32_grow_fast): Likewise.
585 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
586 * locale/programs/locfile.c (add_locale_uint32): Likewise.
587 (add_locale_uint32_array): Likewise.
589 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * benchtests/Makefile: Remove ARGLIST and RET variables.
592 ($(objpfx)bench-%.c): Pass only function name to the script.
593 * benchtests/README: Update documentation.
594 * benchtests/acos-inputs: Add new directives.
595 * benchtests/acosh-inputs: Likewise.
596 * benchtests/asin-inputs: Likewise.
597 * benchtests/asinh-inputs: Likewise.
598 * benchtests/atan-inputs: Likewise.
599 * benchtests/atanh-inputs: Likewise.
600 * benchtests/cos-inputs: Likewise.
601 * benchtests/cosh-inputs: Likewise.
602 * benchtests/exp-inputs: Likewise.
603 * benchtests/log-inputs: Likewise.
604 * benchtests/pow-inputs: Likewise.
605 * benchtests/rint-inputs: Likewise.
606 * benchtests/sin-inputs: Likewise.
607 * benchtests/sinh-inputs: Likewise.
608 * benchtests/tan-inputs: Likewise.
609 * benchtests/tanh-inputs: Likewise.
610 * scripts/bench.pl: Add support for new directives.
612 2013-10-07 Alan Modra <amodra@gmail.com>
614 * README: Fix careless merge.
616 2013-10-05 Alan Modra <amodra@gmail.com>
618 * NEWS: Mention powerpc64le support and bugs fixed.
619 * README: Both big-endian and little-endian powerpc64 supported.
621 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
623 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
624 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
625 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
626 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
628 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
630 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
633 2013-10-04 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
636 Move -mhard-float appending from
637 ports/sysdeps/powerpc/powerpc32/Makefile.
638 [$(with-fp) = yes] (ASFLAGS): Likewise.
639 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
640 * sysdeps/powerpc/nofpu: Move directory from
641 ports/sysdeps/powerpc/nofpu.
642 * sysdeps/powerpc/soft-fp: Move directory from
643 ports/sysdeps/powerpc/soft-fp.
644 * sysdeps/powerpc/powerpc32/405: Move directory from
645 ports/sysdeps/powerpc/powerpc32/405.
646 * sysdeps/powerpc/powerpc32/440: Move directory from
647 ports/sysdeps/powerpc/powerpc32/440.
648 * sysdeps/powerpc/powerpc32/464: Move directory from
649 ports/sysdeps/powerpc/powerpc32/464.
650 * sysdeps/powerpc/powerpc32/476: Move directory from
651 ports/sysdeps/powerpc/powerpc32/476.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
653 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
655 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
657 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
659 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
662 * README: Update for powerpc-*-linux-gnu software floating point
665 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
666 case to powerpc/powerpc32*.
667 * sysdeps/unix/sysv/linux/configure: Regenerated.
669 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
670 (_FPU_MASK_OM): Define as 0x04.
671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
679 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
682 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
685 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
688 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
690 * locale/iso-3166.def: Update iso-1366.def and related occurrences
692 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
694 * manual/threads.texi (Default Thread Attributes): Fix typo.
696 2013-10-04 Will Newton <will.newton@linaro.org>
698 * malloc/Makefile: Add tst-memalign.
699 * malloc/tst-memalign.c: New file.
701 * malloc/tst-posix_memalign.c: Add comments.
702 (do_test): Add comments and call free on all potentially
703 allocated pointers. Add space after cast.
705 * malloc/tst-pvalloc.c: Add comments.
706 (do_test): Add comments and call free on all potentially
707 allocated pointers. Remove duplicate check for NULL pointer.
708 Add space after cast.
710 * malloc/tst-valloc.c: Add comments.
711 (do_test): Add comments and call free on all potentially
712 allocated pointers. Remove duplicate check for NULL pointer.
713 Add space after cast.
715 2013-10-04 Alan Modra <amodra@gmail.com>
717 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
718 Use stdint types in rather than __attribute__((mode())).
719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
721 2013-10-04 Alan Modra <amodra@gmail.com>
723 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
724 Correct handling of unaligned relocs for little-endian.
725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
727 2013-10-04 Alan Modra <amodra@gmail.com>
729 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
730 * configure: Regenerate.
731 * nptl/shlib-versions: Powerpc*le starts at 2.18.
732 * shlib-versions: Likewise.
734 2013-10-04 Alan Modra <amodra@gmail.com>
736 * string/tester.c (test_memrchr): Increment reported test cycle.
738 2013-10-04 Alan Modra <amodra@gmail.com>
740 * string/test-memcpy.c (do_one_test): When reporting errors, print
741 string address and don't overrun end of string.
743 2013-10-04 Alan Modra <amodra@gmail.com>
745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
746 insrdi. Make better use of reg selection to speed exit slightly.
747 Schedule entry path a little better. Remove useless "are we done"
748 checks on entry to main loop. Handle wrapping around zero address.
749 Correct main loop count. Handle single left-over word from main
750 loop inline rather than by using loop_small. Remove extra word
751 case in loop_small caused by wrong loop count. Add little-endian
753 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
758 support. Avoid rlwimi.
759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
761 2013-10-04 Alan Modra <amodra@gmail.com>
763 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
765 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
767 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
768 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
770 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
772 2013-10-04 Alan Modra <amodra@gmail.com>
774 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
781 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
782 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
783 use of regs. Use power7 mtocrf. Tidy function tails.
785 2013-10-04 Alan Modra <amodra@gmail.com>
787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
788 Formatting. Consistently use rXXX register defines or rN defines.
789 Use early exit labels that avoid restoring unused non-volatile regs.
790 Make cr field use more consistent with rWORDn compares. Rename
791 regs used as shift registers for unaligned loop, using rN defines
792 for short lifetime/multiple use regs.
793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
795 addi 1,1,64 to pop stack frame. Simplify return value code.
796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
798 2013-10-04 Alan Modra <amodra@gmail.com>
800 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
801 support. Correct typos, formatting. Optimize tail. Use insrdi
803 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
804 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
805 little-endian support. Correct typos.
806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
808 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
809 in loop and entry code to keep "and." results.
810 (strchr): Add little-endian support. Comment. Move cntlzd
812 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
814 2013-10-04 Alan Modra <amodra@gmail.com>
816 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
817 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
818 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
819 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
821 2013-10-04 Alan Modra <amodra@gmail.com>
823 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
824 (rTMP): Define as r11.
825 (strcmp): Add little-endian support. Optimise tail.
826 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
834 2013-10-04 Alan Modra <amodra@gmail.com>
836 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
837 little-endian support. Remove unnecessary "are we done" tests.
838 Handle "s" wrapping around zero and extremely large "size".
839 Correct main loop count. Handle single left-over word from main
840 loop inline rather than by using small_loop. Correct comments.
841 Delete "zero" tail, use "end_max" instead.
842 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
844 2013-10-04 Alan Modra <amodra@gmail.com>
846 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
847 support. Don't branch over align.
848 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
849 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
850 support. Rearrange tmp reg use to suit. Comment.
851 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
853 2013-10-04 Alan Modra <amodra@gmail.com>
855 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
857 2013-10-04 Alan Modra <amodra@gmail.com>
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
860 conditional form of branch and link when obtaining pc.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
863 2013-10-04 Alan Modra <amodra@gmail.com>
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
870 2013-10-04 Alan Modra <amodra@gmail.com>
872 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
873 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
874 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
875 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
876 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
877 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
878 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
879 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
880 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
881 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
883 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
884 Alistair Popple <alistair@ozlabs.au.ibm.com>
885 Alan Modra <amodra@gmail.com>
888 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
890 _dl_hwcap access for little-endian.
891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
892 destroy vmx regs when saving unaligned.
893 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
894 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
895 destroy vmx regs when saving unaligned.
897 2013-10-04 Alan Modra <amodra@gmail.com>
899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
900 Don't use a union to pack hi/low value.
902 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
904 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
906 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
908 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
909 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
910 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
912 2013-10-04 Alan Modra <amodra@gmail.com>
914 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
915 constants to usual value for .cst8 section, and remove redundant
917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
918 constant for 0x1p52. Load little-endian words of double from
919 correct stack offsets.
921 2013-10-04 Alan Modra <amodra@gmail.com>
923 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
924 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
925 words of double from correct stack offsets.
926 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
927 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
933 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
934 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
939 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
941 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
942 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
944 2013-10-04 Alan Modra <amodra@gmail.com>
946 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
947 64-bit int/double union.
948 (_FPU_SETCW): Likewise.
949 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
950 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
952 2013-10-04 Alan Modra <amodra@gmail.com>
954 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
955 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
957 2013-10-04 Alan Modra <amodra@gmail.com>
959 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
960 use vector int constants.
961 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
963 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
965 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
966 array with long long.
967 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
968 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
969 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
970 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
971 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
972 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
973 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
975 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
976 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
977 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
978 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
979 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
981 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
983 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
984 (__signbit): Likewise. Correct for little-endian.
985 (__signbitl): Call __signbit.
986 (lrint): Correct for little-endian.
987 (lrintf): Call lrint.
989 2013-10-04 Alan Modra <amodra@gmail.com>
991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
992 union 32-bit int array member with 64-bit int array.
993 (t515, tm256): Double rather than long double.
994 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
996 2013-10-04 Alan Modra <amodra@gmail.com>
998 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1000 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1002 version of math_ldbl.h.
1004 2013-10-04 Alan Modra <amodra@gmail.com>
1006 [BZ #15734], [BZ #15735]
1007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1008 all uses of ieee875 long double macros and unions. Simplify test
1009 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1010 ldbl_extract_mantissa value for ix,iy exponents. Properly
1011 normalize after ldbl_extract_mantissa, and don't add hidden bit
1012 already handled. Don't treat low word of ieee854 mantissa like
1013 low word of IBM long double and mask off bit when testing for
1015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1016 all uses of ieee875 long double macros and unions. Simplify tests
1017 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1018 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1019 two1022, instead use their values. Recognise that tests for large
1020 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1022 Rewrite all uses of ieee875 long double macros and unions. Simplify
1023 test for 0.0L and nan. Correct negation.
1024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1025 ieee875 long double macros and unions. Correct output for large
1026 magnitude x. Correct absolute value calculation.
1027 (__erfcl): Likewise.
1028 * math/libm-test.inc: Add tests for errors discovered in IBM long
1029 double versions of fmodl, remainderl, erfl and erfcl.
1031 2013-10-04 Alan Modra <amodra@gmail.com>
1033 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1034 all uses of ieee854 long double macros and unions. Simplify tests
1035 for long doubles that are fully specified by the high double.
1036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1038 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1039 Remove dead code too.
1040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1041 (__ieee754_ynl): Likewise.
1042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1045 Remove dead code too.
1046 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1047 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1048 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1051 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1053 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1056 Comment on variable precision.
1057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1064 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1066 2013-10-04 Alan Modra <amodra@gmail.com>
1068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1070 all uses of ieee854 long double macros and unions.
1071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1079 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1081 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1082 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1084 Simplify sign and nan test too.
1085 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1087 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1088 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1090 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1091 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1100 2013-10-04 Alan Modra <amodra@gmail.com>
1102 * stdio-common/printf_size.c (__printf_size): Don't use
1103 union ieee854_long_double in fpnum union.
1104 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1105 signbit macro to retrieve sign from long double.
1106 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1107 retrieve sign from long double.
1108 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1109 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1112 * math/test-misc.c (main): Don't use union ieee854_long_double.
1114 2013-10-04 Alan Modra <amodra@gmail.com>
1117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1118 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1119 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1120 calculation. Remove unnecessary test for denormal exponent.
1121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1122 Correct handling of denormals. Avoid undefined shift behaviour.
1123 Correct normalisation of low mantissa when low double is denormal.
1124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1125 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1126 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1127 Correct normalisation of low mantissa. Test for overflow of high
1128 mantissa and normalise.
1129 (ldbl_nearbyint): Use more readable constant for two52.
1130 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1131 (__mpn_construct_long_double): Fix test for overflow of high
1132 mantissa and correct normalisation. Avoid undefined shift.
1134 2013-10-04 Alan Modra <amodra@gmail.com>
1136 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1137 (union ibm_extended_long_double): Define as an array of ieee754_double.
1138 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1140 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1141 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1145 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1147 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1150 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1152 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1153 page size instead of calling getpagesize.
1155 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1156 (LOCFILE_ALIGN_MASK): Likewise.
1157 (LOCFILE_ALIGN_UP): Likewise.
1158 (LOCFILE_ALIGNED_P): Likewise.
1159 * locale/programs/ld-collate.c (collate_output): Use the new
1160 macros instead of __alignof__ (int32_t).
1161 * locale/weight.h (findidx): Likewise.
1163 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1166 * manual/string.texi: Fix strncat and wcsncat.
1168 2013-10-03 Brooks Moses <bmoses@google.com>
1171 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1172 * Makerules: ...here, and adjust associated comments.
1174 2013-10-02 Will Newton <will.newton@linaro.org>
1176 * malloc/Makefile: Add tst-pvalloc.
1177 * malloc/tst-pvalloc.c: New file.
1179 2013-10-02 Will Newton <will.newton@linaro.org>
1181 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1182 improve test coverage.
1184 2013-10-02 Will Newton <will.newton@linaro.org>
1186 * malloc/Makefile: Add tst-posix_memalign.
1187 * malloc/tst-posix_memalign.c: New file.
1189 2013-10-01 Eric Blake <eblake@redhat.com>
1191 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1192 Use __THROWNL rather than __THROW on static functions.
1194 2013-09-30 Petr Machata <pmachata@redhat.com>
1196 * elf/elf.h (R_AARCH64_ABS16): New macro.
1197 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1198 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1199 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1200 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1201 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1202 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1203 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1204 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1205 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1206 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1207 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1208 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1209 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1210 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1211 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1212 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1213 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1214 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1215 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1216 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1217 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1218 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1219 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1220 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1221 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1222 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1223 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1224 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1225 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1226 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1227 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1228 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1229 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1230 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1231 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1232 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1233 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1234 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1235 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1236 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1237 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1238 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1239 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1240 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1241 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1242 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1243 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1244 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1245 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1246 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1247 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1248 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1249 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1250 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1251 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1252 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1253 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1254 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1255 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1256 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1257 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1258 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1259 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1260 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1261 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1262 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1263 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1264 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1265 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1266 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1267 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1268 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1269 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1270 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1271 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1272 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1273 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1274 (R_AARCH64_TLSDESC_LDR): Likewise.
1275 (R_AARCH64_TLSDESC_ADD): Likewise.
1276 (R_AARCH64_TLSDESC_CALL): Likewise.
1278 2013-09-30 Andreas Schwab <schwab@suse.de>
1281 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1282 the nss database lookup.
1283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1286 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1288 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1290 2013-09-28 P. J. McDermott <pj@pehjota.net>
1292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1293 ${Bash-specific parameter/pattern/string} parameter expansion.
1294 * sysdeps/unix/make-syscalls.sh: Likewise.
1296 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1298 * sysdeps/sh/stackguard-macros.h: New file.
1300 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1304 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1305 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1307 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1309 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1312 Fix thread ID register.
1314 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1316 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1317 [POSIX || UNIX98]: Require rather than permitting all symbols from
1319 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1320 element of struct sched_param.
1321 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1322 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1323 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1324 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1327 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1329 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1330 argument calculation.
1332 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1334 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1336 [POSIX] (pthread_attr_t): Do not require type.
1337 [POSIX] (pthread_cond_t): Likewise.
1338 [POSIX] (pthread_condattr_t): Likewise.
1339 [POSIX] (pthread_key_t): Likewise.
1340 [POSIX] (pthread_mutex_t): Likewise.
1341 [POSIX] (pthread_mutexattr_t): Likewise.
1342 [POSIX] (pthread_once_t): Likewise.
1343 [POSIX] (pthread_t): Likewise.
1344 [POSIX-based standards] (pthread_atfork): Expect function.
1346 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1347 Richard Sandiford <richard@codesourcery.com>
1349 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1350 (swap_endianness_p): New extern variable.
1351 (set_big_endian): New inline function.
1352 (maybe_swap_uint32): Likewise.
1353 (maybe_swap_uint32_array): Likewise.
1354 (maybe_swap_uint32_obstack): Likewise.
1355 * locale/programs/locfile.c: Include <stdbool.h>.
1356 (swap_endianness_p): New variable.
1357 (add_locale_uint32): Call maybe_swap_uint32.
1358 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1359 (write_locale_data): Call maybe_swap_uint32_array.
1360 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1362 (obstack_int32_grow_fast): Likewise.
1363 (output_weightwc): Call maybe_swap_uint32_obstack.
1364 (collate_output): Likewise.
1365 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1366 (OPT_LITTLE_ENDIAN): Likewise.
1367 (options): Add --little-endian and --big-endian options.
1368 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1369 * locale/programs/locarchive.c: Include "locfile.h".
1373 (create_archive): Use the new macros to access fields of
1374 structures directly mapped from or written to locale archives.
1375 (oldlocrecentcmp): Likewise.
1376 (enlarge_archive): Likewise.
1377 (insert_name): Likewise.
1378 (add_alias): Likewise.
1379 (add_locale): Likewise.
1380 (delete_locales_from_archive): Likewise.
1381 (show_archive_content): Likewise.
1382 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1385 2013-09-24 Roland McGrath <roland@hack.frob.com>
1387 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1388 http://www.gnu.org/doc/freemanuals.texi.
1389 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1391 2013-09-24 Will Newton <will.newton@linaro.org>
1393 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1396 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1398 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1401 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1403 * manual/threads.texi (POSIX Threads): Fix a typo.
1405 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1408 * string/tst-strcoll-overflow.c: New test case.
1409 * string/Makefile (xtests): Add tst-strcoll-overflow.
1410 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1411 cache if string sizes may cause integer overflow.
1414 * string/strcoll_l.c (coll_seq): New members rule, idx,
1415 save_idx and back_us.
1416 (get_next_seq_nocache): New function.
1417 (do_compare_nocache): New function.
1418 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1421 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1424 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1425 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1426 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1429 * elf/Makefile (tests): Add tst-ptrguard1.
1430 (tests-static): Add tst-ptrguard1-static.
1431 (tst-ptrguard1-ARGS): Define.
1432 (tst-ptrguard1-static-ARGS): Define.
1433 * elf/tst-ptrguard1.c: New file.
1434 * elf/tst-ptrguard1-static.c: New file.
1435 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1436 * sysdeps/i386/stackguard-macros.h: Likewise.
1437 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1438 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1439 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1440 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1441 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1442 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1444 2013-09-23 Hector Marco <hecmargi@upv.es>
1445 Ismael Ripoll <iripoll@disca.upv.es>
1446 Carlos O'Donell <carlos@redhat.com>
1449 * sysdeps/generic/stackguard-macros.h: Define
1450 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1451 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1452 Define __pointer_chk_guard_local.
1453 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1454 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1456 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1459 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1461 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1463 * include/string.h (__ffs): Declare as hidden.
1464 * string/ffs.c (__ffs): Define as hidden.
1465 * sysdeps/i386/ffs.c (__ffs): Likewise.
1466 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1467 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1468 * sysdeps/s390/ffs.c (__ffs): Likewise.
1469 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1471 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1473 * NEWS: Mention malloc probes.
1475 * malloc/arena.c (new_heap): New memory_heap_new probe.
1476 (grow_heap): New memory_heap_more probe.
1477 (shrink_heap): New memory_heap_less probe.
1478 (heap_trim): New memory_heap_free probe.
1479 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1480 (systrim): New memory_sbrk_less probe.
1481 * manual/probes.texi: Document them.
1483 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1484 * manual/probes.texi: Document it.
1486 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1487 (__libc_realloc): Add memory_realloc_retry probe.
1488 (__libc_memalign): Add memory_memalign_retry probe.
1489 (__libc_valloc): Add memory_valloc_retry probe.
1490 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1491 (__libc_calloc): Add memory_calloc_retry probe.
1492 * manual/probes.texi: Document them.
1494 * malloc/arena.c (get_free_list): Add probe
1495 memory_arena_reuse_free_list.
1496 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1497 and memory_arena_reuse.
1498 (arena_get2) [!PER_THREAD]: Likewise.
1499 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1500 memory_arena_reuse_realloc.
1501 * manual/probes.texi: Document them.
1503 * malloc/malloc.c (__libc_free): Add
1504 memory_mallopt_free_dyn_thresholds probe.
1505 (__libc_mallopt): Add multiple memory_mallopt probes.
1506 * manual/probes.texi: Document them.
1508 * malloc/malloc.c: Include stap-probe.h.
1509 (__libc_mallopt): Add memory_mallopt probe.
1510 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1511 * manual/probes.texi: New.
1512 * manual/Makefile (chapters): Add probes.
1513 * manual/threads.texi: Set next node.
1515 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1518 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1519 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1520 Add `Chinese' to `nan' entry name.
1522 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1524 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1525 (POLYNOMIAL): Likewise.
1526 (TAYLOR_SINCOS): Likewise.
1527 (TAYLOR_SLOW): Likewise.
1528 (__sin): Use TAYLOR_SINCOS.
1530 (slow): Use TAYLOR_SLOW.
1535 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1537 * stdlib/strtod_l.c: Fix buffer overrun.
1539 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1541 * benchtests/Makefile (bench): Add sincos.
1542 * benchtests/bench-sincos.c: New file.
1544 * math/libm-test.inc (cos_test_data): New test inputs.
1545 (sin_test_data): Likewise.
1547 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1555 (bsloww1): Likewise.
1556 (bsloww2): Likewise.
1558 (csloww1): Likewise.
1559 (csloww2): Likewise.
1561 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1570 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1572 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1573 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1574 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1575 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1576 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1577 * elf/cache.c (print_entry): Handle the new cache flags.
1579 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1580 Aldy Hernandez <aldyh@redhat.com>
1582 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1583 Change condition to [_SOFT_FLOAT].
1584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1596 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1599 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1602 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1604 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1605 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1606 (__longjmp): Use LOAD_GP to load saved GPRs.
1607 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1608 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1609 (__sigsetjmp): Use SAVE_GP to save GPRs.
1611 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1612 Do not append -msoft-float.
1613 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1615 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1617 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1619 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1622 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1623 (_FPU_GETCW): Use initial "__" on variable and field names but not
1624 on macro parameter name.
1625 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1626 parentheses around reference to macro parameter.
1628 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1630 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1632 (ctype_startup): Use uint32_t in cast and sizeof for
1635 2013-09-11 Jia Liu <proljc@gmail.com>
1637 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1639 [__FreeBSD__]: Likewise.
1641 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1644 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1645 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1646 (strchr): Remove __strchr_sse42 ifunc selection.
1647 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1648 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1650 2013-09-11 Will Newton <will.newton@linaro.org>
1652 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1653 parameter to RES. Remove hardcoded 1000 value.
1654 * benchtests/bench-skeleton.c (main): Pass RES parameter
1655 to TIMING_INIT and multiply result by 1000.
1657 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1661 2013-09-11 Andreas Schwab <schwab@suse.de>
1663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1665 (O_TMPFILE) [__USE_GNU]: Define.
1666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1669 2013-09-11 Will Newton <will.newton@linaro.org>
1672 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1675 2013-09-11 Will Newton <will.newton@linaro.org>
1678 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1681 2013-09-11 Will Newton <will.newton@linaro.org>
1684 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1687 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1689 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1695 2013-09-10 Allan McRae <allan@archlinux.org>
1698 * manual/arith.texi (Parsing of Floats): Clarify
1702 * manual/install.texi (Running make install): Mention
1704 * INSTALL: Regenerated.
1706 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1708 * csu/init-first.c (_init): Remove the !SHARED condition around
1709 FPU control word initialization.
1710 * elf/dl-support.c (_dl_fpu_control): New variable.
1711 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1712 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1713 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1714 * math/test-fpucw-static.c: New file.
1715 * math/test-fpucw-ieee.c: New file.
1716 * math/test-fpucw-ieee-static.c: New file.
1717 * math/Makefile (tests): Add `test-fpucw-ieee' and
1719 (tests-static): New variable.
1720 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1722 [($(build-shared),yes)]
1723 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1725 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1728 2013-09-09 Allan McRae <allan@archlinux.org>
1731 * manual/string.texi (Collation Functions): Fix typo in
1733 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1736 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1739 * libio/memstream.c (open_memstream): Fix memory leak.
1740 * libio/wmemstream.c (open_wmemstream): Likewise.
1743 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1745 2013-09-09 Will Newton <will.newton@linaro.org>
1747 * malloc/Makefile: Add tst-realloc to tests.
1748 * malloc/tst-realloc.c: New file.
1750 2013-09-09 Allan McRae <allan@archlinux.org>
1753 * COPYING: Update from GNU website to fix FSF address.
1754 * COPYING.LIB: Likewise.
1756 2013-09-06 David S. Miller <davem@davemloft.net>
1758 * po/zh_TW.po: Update Chinese (traditional) translation from
1759 translation project.
1761 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1762 Joseph Myers <joseph@codesourcery.com>
1764 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1766 (obstack_chunk_alloc): New macro.
1767 (obstack_chunk_free): Likewise.
1768 (record_offset): New function.
1769 (init_locale_data): Likewise.
1770 (align_locale_data): Likewise.
1771 (add_locale_empty): Likewise.
1772 (add_locale_raw_data): Likewise.
1773 (add_locale_raw_obstack): Likewise.
1774 (add_locale_string): Likewise.
1775 (add_locale_wstring): Likewise.
1776 (add_locale_uint32): Likewise.
1777 (add_locale_uint32_array): Likewise.
1778 (add_locale_char): Likewise.
1779 (start_locale_structure): Likewise.
1780 (end_locale_structure): Likewise.
1781 (start_locale_prelude): Likewise.
1782 (end_locale_prelude): Likewise.
1783 (write_locale_data): Take locale_file structure rather than an
1785 * locale/programs/locfile.h: Include "obstack.h".
1786 (struct locale_file): Change to store locale file contents instead
1788 (init_locale_data): New prototype.
1789 (align_locale_data): Likewise.
1790 (add_locale_empty): Likewise.
1791 (add_locale_raw_data): Likewise.
1792 (add_locale_raw_obstack): Likewise.
1793 (add_locale_string): Likewise.
1794 (add_locale_wstring): Likewise.
1795 (add_locale_uint32): Likewise.
1796 (add_locale_uint32_array): Likewise.
1797 (add_locale_char): Likewise.
1798 (start_locale_structure): Likewise.
1799 (end_locale_structure): Likewise.
1800 (start_locale_prelude): Likewise.
1801 (end_locale_prelude): Likewise.
1802 (write_locale_data): Update prototype.
1803 * locale/programs/3level.h (struct TABLE): Remove result field.
1804 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1805 Use new locale_file interface.
1806 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1807 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1808 * locale/programs/ld-address.c (address_output): Use new
1809 locale_file interface.
1810 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1812 (collate_finish): Don't call collseq_table_finalize.
1813 (collate_output): Use new locale_file interface.
1814 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1816 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1817 (TABLE): Move defines earlier in file.
1818 (ELEMENT): Likewise.
1819 (DEFAULT): Likewise.
1820 (wctrans_table_add): Move macro and inline function earlier in
1822 (struct wctype_table): Move type earlier in file.
1823 (add_locale_wctype_table): New static prototype.
1824 (struct locale_ctype_t): Use logical types instead of struct iovec
1825 pointers for members.
1826 (ctype_output): Use new locale_file interface.
1827 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1828 new locale_file interface.
1829 (allocate_arrays): Update for use of new locale_file interface.
1830 * locale/programs/ld-identification.c (identification_output): Use
1831 new locale_file interface.
1832 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1833 * locale/programs/ld-messages.c (messages_output): Likewise.
1834 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1835 * locale/programs/ld-name.c (name_output): Likewise.
1836 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1837 * locale/programs/ld-paper.c (paper_output): Likewise.
1838 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1839 * locale/programs/ld-time.c (time_output): Likewise.
1841 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1843 * benchtests/Makefile: Add memrchr benchmark.
1844 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1845 benchmark as memrchr.
1846 * benchtests/bench-memrchr-ifunc.c: New file.
1847 * benchtests/bench-memrchr.c: New file.
1849 2013-09-06 Will Newton <will.newton@linaro.org>
1851 * benchtests/Makefile (string-bench): Add memcpy.
1853 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1854 Cong Wang <amwang@redhat.com>
1856 * sysdeps/unix/sysv/linux/bits/in.h
1857 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1858 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1859 before __USE_KERNEL_IPV6_DEFS uses.
1860 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1862 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1863 sockaddr_in6, or ipv6_mreq.
1865 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1868 memory access for final bytes in some large inputs.
1869 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1871 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1873 * string/test-memrchr.c: New file.
1874 * string/test-memrchr-ifunc.c: New file.
1875 * string/Makefile: Add new memrchr testcase.
1877 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1879 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1880 fanotify_init returns EPERM.
1882 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1884 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1886 (top level): Treat second token from macro or constant entries for
1887 allowed headers as allowed.
1888 * include/complex.h: Condition internal declarations on
1890 * include/fenv.h: Condition include of <stdbool.h> and internal
1891 declarations on [!_ISOMAC].
1893 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1896 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1898 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1900 * configure.in (--enable-versioning): Remove configure option.
1901 (libc_cv_asm_symver_directive): Remove configure test.
1902 (libc_cv_ld_version_script_option): Likewise.
1903 (VERSIONING): Remove variable and AC_SUBST.
1904 (DO_VERSIONING): Remove AC_DEFINE.
1905 * configure: Regenerated.
1906 * config.h.in (DO_VERSIONING): Remove macro.
1907 * Makerules [$(versioning) = yes]: Change conditionals to
1908 [$(build-shared) = yes].
1909 * config.make.in (versioning): Remove variable.
1910 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1911 [$(build-shared) = yes].
1912 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1913 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1914 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1915 [$(build-shared) = yes].
1916 * extra-lib.mk [$(versioning) = yes]: Likewise.
1917 * hurd/Makefile [$(versioning) = yes]: Likewise.
1918 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1920 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1922 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1923 [SHARED && !NO_HIDDEN].
1924 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1926 [SHARED && DO_VERSIONING]: Likewise..
1927 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1928 [$(build-shared) = yes].
1929 * manual/install.texi (--disable-versioning): Remove
1931 * INSTALL: Regenerated.
1932 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1934 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1935 [$(build-shared) = yes].
1936 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1937 * sysdeps/i386/i686/multiarch/strstr-c.c
1938 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1939 [SHARED && !NO_HIDDEN].
1940 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1941 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1942 * sysdeps/powerpc/powerpc32/dl-machine.c
1943 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1944 * sysdeps/powerpc/powerpc32/sysdep.h
1945 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1946 to [SHARED && PIC && !NO_HIDDEN].
1947 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1948 conditional to [SHARED].
1950 2013-09-04 Will Newton <will.newton@linaro.org>
1952 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1953 * benchtests/bench-string.h: Include bench-timing.h instead
1954 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1955 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1956 call to HP_TIMING_DIFF_INIT.
1957 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1958 instead of hp-timing.h macros.
1959 * benchtests/bench-memchr.c: Likewise.
1960 * benchtests/bench-memcmp.c: Likewise.
1961 * benchtests/bench-memcpy.c: Likewise.
1962 * benchtests/bench-memmem.c: Likewise.
1963 * benchtests/bench-memmove.c: Likewise.
1964 * benchtests/bench-memset.c: Likewise.
1965 * benchtests/bench-rawmemchr.c: Likewise.
1966 * benchtests/bench-strcasecmp.c: Likewise.
1967 * benchtests/bench-strcasestr.c: Likewise.
1968 * benchtests/bench-strcat.c: Likewise.
1969 * benchtests/bench-strchr.c: Likewise.
1970 * benchtests/bench-strcmp.c: Likewise.
1971 * benchtests/bench-strcpy.c: Likewise.
1972 * benchtests/bench-strcpy_chk.c: Likewise.
1973 * benchtests/bench-strlen.c: Likewise.
1974 * benchtests/bench-strncasecmp.c: Likewise.
1975 * benchtests/bench-strncat.c: Likewise.
1976 * benchtests/bench-strncmp.c: Likewise.
1977 * benchtests/bench-strncpy.c: Likewise.
1978 * benchtests/bench-strnlen.c: Likewise.
1979 * benchtests/bench-strpbrk.c: Likewise.
1980 * benchtests/bench-strrchr.c: Likewise.
1981 * benchtests/bench-strspn.c: Likewise.
1982 * benchtests/bench-strstr.c: Likewise.
1984 2013-09-04 Will Newton <will.newton@linaro.org>
1986 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1988 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1992 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1993 * math/libm-test.inc (lgamma_test_data): Add more tests.
1994 * sysdeps/i386/fpu/libm-test-ulps: Update.
1995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1997 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1999 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2003 Add strcmp-sse2-unaligned
2004 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2006 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2008 * Versions.def (libc): Add GLIBC_2.19.
2010 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2012 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2013 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2015 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2018 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2019 intermediate calculations in recurrence.
2020 (__ieee754_ynf): Likewise.
2021 * math/libm-test.inc (jn_test_data): Do not allow spurious
2022 underflow exception. Add more tests.
2023 (yn_test_data): Add more tests.
2024 * sysdeps/i386/fpu/libm-test-ulps: Update.
2025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2027 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2031 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2033 * csu/init-first.c: Fix then/than typos.
2034 * locale/programs/ld-collate.c: Likewise.
2035 * locale/programs/linereader.h: Likewise.
2036 * manual/charset.texi: Likewise.
2037 * manual/filesys.texi: Likewise.
2038 * manual/stdio.texi: Likewise.
2039 * manual/string.texi: Likewise.
2040 * stdlib/fmtmsg.c: Likewise.
2041 * sysdeps/i386/stpncpy.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2047 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2049 * elf/dl-open.c: Fix typos.
2050 * iconvdata/gbbig5.c: Likewise.
2051 * iconvdata/iso-2022-jp.c: Likewise.
2052 * iconv/gconv_int.h: Likewise.
2053 * iconv/loop.c: Likewise.
2054 * nis/rpcsvc/nis.h: Likewise.
2055 * resolv/ns_name.c: Likewise.
2056 * stdio-common/vfscanf.c: Likewise.
2057 * streams/stropts.h: Likewise.
2058 * sunrpc/rpc_thread.c: Likewise.
2059 * sysdeps/i386/strpbrk.S: Likewise.
2060 * sysdeps/ieee754/k_standard.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2063 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2064 * sysdeps/mach/hurd/profil.c: Likewise.
2065 * sysdeps/s390/dl-procinfo.h: Likewise.
2066 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2069 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2072 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2074 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2077 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2079 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2081 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2083 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2084 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2090 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2091 Roland McGrath <roland@hack.frob.com>
2093 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2094 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2096 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2098 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2099 __executable_start symbol instead of _start.
2101 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2103 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2104 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2106 * sysdeps/gnu/ldsodefs.h: ... this new file.
2108 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2109 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2110 instead of ELFOSABI_LINUX.
2112 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2113 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2114 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2115 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2117 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2118 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2121 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2122 (ibm_extended_long_double): Add ieee_nan member.
2123 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2124 (do_test): New function.
2126 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2128 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2129 functions, renamed from truncdfsf_test, trunctfsf_test,
2131 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2133 (do_test): Run all these.
2135 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2137 * argp/argp-help.c: Fix typos.
2138 * argp/argp-parse.c: Likewise.
2139 * debug/backtracesyms.c: Likewise.
2140 * elf/elf.h: Likewise.
2141 * malloc/malloc.c: Likewise.
2142 * nis/nis_print.c: Likewise.
2143 * resolv/res_comp.c: Likewise.
2144 * stdlib/stdlib.h: Likewise.
2145 * sunrpc/clnt_tcp.c: Likewise.
2146 * sunrpc/clnt_udp.c: Likewise.
2147 * sunrpc/clnt_unix.c: Likewise.
2148 * sysdeps/unix/bsd/ptsname.c: Likewise.
2149 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2157 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2159 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2161 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2164 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2167 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2168 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2169 ($(objpfx)bug-dl-leaf): New rule.
2170 ($(objpfx)bug-dl-leaf.so): Likewise.
2171 ($(objpfx)bug-dl-leaf.out): Likewise.
2172 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2173 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2174 * dlfcn/bug-dl-leaf.c: New test.
2175 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2176 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2177 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2178 (dlclose): Likewise.
2179 (dlmopen): Likewise.
2181 2013-08-27 Roland McGrath <roland@hack.frob.com>
2183 * include/netdb.h [!_ISOMAC]:
2184 Don't include <tls.h>.
2185 (h_errno, __libc_h_errno): Move declaration and macros out of
2188 * include/resolv.h [_RESOLV_H_]:
2189 Don't include <tls.h>.
2190 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2191 * resolv/res_libc.c: Don't include <tls.h>.
2192 (_res): Use __attribute__ ((nocommon)) in place of
2193 __attribute__ ((section (".bss"))).
2195 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2196 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2198 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2200 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2201 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2203 * resolv/res_mkquery.c: Include <sys/time.h>.
2205 * inet/ifreq.c: Moved to ...
2206 * sysdeps/unix/ifreq.c: ... here.
2207 * inet/ifreq.c: New file, true stub version.
2209 * socket/sa_len.c: New file.
2210 * socket/Makefile (aux): Add it.
2211 * sysdeps/unix/sysv/linux/Makefile
2212 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2213 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2214 and #include <socket/sa_len.c>.
2215 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2216 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2218 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2219 * bits/socket.h: ... here.
2221 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2222 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2223 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2225 2013-08-27 Andreas Schwab <schwab@suse.de>
2228 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2229 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2230 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2231 * string/test-strcasecmp.c (test_main): Run tests in several
2233 * string/test-strncasecmp.c (test_main): Likewise.
2235 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2236 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2237 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2239 (__strncasecmp_ssse3) [PIC]: Likewise.
2241 2013-08-26 Roland McGrath <roland@hack.frob.com>
2243 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2245 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2246 instead of explicitly declaring xdecrypt.
2247 * nis/nss_nis/nis-publickey.c: Likewise.
2249 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2252 * nscd/aicache.c: Include res_hconf.h.
2253 (addhstaiX): Initialize res_hconf.
2255 2013-08-26 Andreas Schwab <schwab@suse.de>
2257 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2258 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2260 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2262 * nscd/aicache.c (addhstaiX): Fix indentation.
2264 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2266 * configure.ac: Quote $build_pt_chown test.
2267 * configure: Regenerated.
2269 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2272 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2273 * math/s_cexpf.c (__cexpf): Likewise.
2274 * math/s_cexpl.c (__cexpl): Likewise.
2275 * math/libm-test.inc (cexp_test_data): Correct expected return
2276 value for NaN + i0. Add another test.
2278 2013-08-22 David S. Miller <davem@davemloft.net>
2280 * po/ca.po: Update Catalan translation from translation project.
2281 * po/uk.po: Add Ukrainian translations from translation project.
2283 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2286 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2287 is infinite, not alongside NaN test.
2288 * math/s_fdimf.c (__fdimf): Likewise.
2289 * math/s_fdiml.c (__fdiml): Likewise.
2290 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2293 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2295 * argp/argp-help.c: Fix typos.
2296 * crypt/speeds.c: Likewise.
2297 * csu/check_fds.c: Likewise.
2298 * elf/dl-load.c: Likewise.
2299 * elf/dl-open.c: Likewise.
2300 * elf/reldep3.c: Likewise.
2301 * elf/reldep.c: Likewise.
2302 * elf/sprof.c: Likewise.
2303 * iconv/iconv_charmap.c: Likewise.
2304 * iconv/skeleton.c: Likewise.
2305 * iconv/strtab.c: Likewise.
2306 * io/lockf64.c: Likewise.
2307 * libio/libioP.h: Likewise.
2308 * resolv/gai_notify.c: Likewise.
2309 * resolv/ns_name.c: Likewise.
2310 * resolv/ns_samedomain.c: Likewise.
2311 * resolv/res_send.c: Likewise.
2312 * stdlib/random.c: Likewise.
2313 * sunrpc/rpc/xdr.h: Likewise.
2314 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2322 * sysdeps/mach/hurd/check_fds.c: Likewise.
2323 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2324 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2326 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2327 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2329 * sysdeps/pthread/aio_notify.c: Likewise.
2330 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2331 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2332 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2333 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2334 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2336 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2338 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2339 version if bit_Slow_SSE4_2 is set.
2340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2343 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2347 trampoline stack frame information.
2348 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2350 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2351 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2352 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2353 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2354 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2355 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2357 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2358 interrupting a syscall and set with option SA_SIGINFO.
2360 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2363 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2364 argument is infinite.
2365 * math/s_cprojf.c (__cprojf): Likewise.
2366 * math/s_cprojl.c (__cprojl): Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2368 * math/libm-test.inc (cproj_test_data): Add more tests.
2370 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2372 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2373 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2374 size. Use __ffs to determine corresponding shift.
2376 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2377 Roland McGrath <roland@hack.frob.com>
2379 * Makefile (INSTALL): Remove trailing blank lines from output of
2382 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2384 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2385 Align 32 bit compat elf_greg to 8 bytes.
2387 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2389 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2391 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2393 * string/strcoll_l.c (coll_seq): New structure.
2394 (get_next_seq_cached): New function.
2395 (get_next_seq): New function.
2396 (do_compare): New function.
2397 (STRCOLL): Use GNU style definition. Simplify implementation
2398 by using get_next_seq, get_next_seq_cached and do_compare.
2400 2013-08-16 Florian Weimer <fweimer@redhat.com>
2404 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2406 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2408 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2409 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2410 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2412 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2413 GETDENTS_64BIT_ALIGNED.
2414 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2415 * manual/filesys.texi (Reading/Closing Directory): Document
2416 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2418 * manual/conf.texi (Limits for Files): Add portability note to
2420 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2422 2013-08-13 Andreas Schwab <schwab@suse.de>
2425 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2427 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2428 LDBL_MAX_EXP >= 16384]: Add tests for it.
2430 2013-08-12 David S. Miller <davem@davemloft.net>
2432 * version.h (RELEASE): Set to "development".
2433 (VERSION): Set to "2.18.90".
2434 * NEWS: Add 2.19 section.
2436 2013-08-03 David S. Miller <davem@davemloft.net>
2438 * po/ko.po: Update Korean translation from translation project.
2440 2013-08-01 David S. Miller <davem@davemloft.net>
2442 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2443 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2446 2013-07-30 David S. Miller <davem@davemloft.net>
2448 * po/fr.po: Update French translation from translation project.
2450 2013-07-28 David S. Miller <davem@davemloft.net>
2452 * po/cs.po: Update Czech translation from translation project.
2454 * po/sv.po: Update Swedish translation from translation project.
2456 2013-07-27 David S. Miller <davem@davemloft.net>
2458 * po/eo.po: Update Esperanto translation from translation project.
2460 * po/vi.po: Update Vietnamese translation from translation project.
2462 * po/de.po: Update German translation from translation project.
2464 2013-07-26 David S. Miller <davem@davemloft.net>
2466 * po/bg.po: Update Bulgarian translation from translation project.
2468 * po/nl.po: Update Dutch translation from translation project.
2469 * po/pl.po: Update Polish translation from translation project.
2470 * po/ru.po: Update Russian translation from translation project.
2472 2013-07-24 David S. Miller <davem@davemloft.net>
2474 * po/libc.pot: Update.
2476 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2478 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2480 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2481 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2482 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2484 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2486 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2488 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2489 Andreas Schwab <schwab@suse.de>
2490 Roland McGrath <roland@hack.frob.com>
2491 Joseph Myers <joseph@codesourcery.com>
2492 Carlos O'Donell <carlos@redhat.com>
2495 * config.h.in: Define HAVE_PT_CHOWN.
2496 * config.make.in (build-pt-chown): New variable.
2497 * configure.in (--enable-pt_chown): New configure option.
2498 * configure: Regenerate.
2499 * login/Makefile: Include Makeconfig. Build pt_chown only if
2500 build-pt-chown is enabled.
2501 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2502 pt_chown to fix pty ownership.
2503 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2505 * manual/install.texi (Configuring and compiling): Mention
2506 --enable-pt_chown. Add @findex for grantpt.
2507 * INSTALL: Regenerate.
2509 2013-07-20 David S. Miller <davem@davemloft.net>
2511 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2512 difference between 32-bit and 64-bit.
2514 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2517 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2518 Avoid system header dependency with -ffreestanding.
2519 ($(objpfx)bits/syscall%d): Likewise.
2521 2013-07-13 David S. Miller <davem@davemloft.net>
2523 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2524 underflows from atanl/atan2l due to bug 15319.
2525 (casinh_test_data): Likewise.
2527 2013-07-07 David S. Miller <davem@davemloft.net>
2529 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2531 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2533 * sysdeps/i386/fpu/libm-test-ulps: Update.
2534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2536 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2538 * configure.in (--enable-lock-elision): Fix message text.
2539 * INSTALL: Regenerate.
2540 * configure: Regenerate.
2542 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2546 2013-07-03 Andreas Jaeger <aj@suse.de>
2548 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2550 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2551 (ptrace_peeksiginfo_args): Add.
2552 (__ptrace_peeksiginfo_flags): Add.
2553 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2554 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2557 2013-07-03 Allan McRae <allan@archlinux.org>
2559 * sysdeps/i386/fpu/libm-test-ulps: Update.
2561 2013-07-02 David S. Miller <davem@davemloft.net>
2563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2565 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2569 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2571 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2574 2013-07-02 Andi Kleen <ak@linux.intel.com>
2576 * config.h.in (ENABLE_LOCK_ELISION): Add.
2577 * configure.in (--enable-lock-elision): Add option.
2578 * manual/install.texi: Document --enable lock elision.
2579 * configure: Regenerate
2580 * INSTALL: Regenerate.
2582 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2585 SSE4.2 strcasecmp for libc.a.
2586 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2588 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2591 * soft-fp/op-common.h (_FP_FMA): New macro.
2592 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2593 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2594 (_FP_MUL_MEAT_1_imm): ... here.
2595 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2596 (_FP_MUL_MEAT_1_wide): ... here.
2597 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2598 (_FP_MUL_MEAT_1_hard): ... here.
2599 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2600 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2601 (_FP_MUL_MEAT_2_wide): ... here.
2602 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2603 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2604 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2605 (_FP_MUL_MEAT_2_gmp): ... here.
2606 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2607 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2608 (_FP_MUL_MEAT_4_wide): ... here.
2609 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2610 (_FP_MUL_MEAT_4_gmp): ... here.
2611 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2612 (_FP_WFRACBITS_DW_S): Likewise.
2613 (_FP_WFRACXBITS_DW_S): Likewise.
2614 (_FP_HIGHBIT_DW_S): Likewise.
2615 (FP_FMA_S): Likewise.
2616 (_FP_FRAC_HIGH_DW_S): Likewise.
2617 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2618 (_FP_WFRACBITS_DW_D): Likewise.
2619 (_FP_WFRACXBITS_DW_D): Likewise.
2620 (_FP_HIGHBIT_DW_D): Likewise.
2621 (FP_FMA_D): Likewise.
2622 (_FP_FRAC_HIGH_DW_D): Likewise.
2623 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2624 (_FP_WFRACBITS_DW_E): Likewise.
2625 (_FP_WFRACXBITS_DW_E): Likewise.
2626 (_FP_HIGHBIT_DW_E): Likewise.
2627 (FP_FMA_E): Likewise.
2628 (_FP_FRAC_HIGH_DW_E): Likewise.
2629 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2630 (_FP_WFRACBITS_DW_Q): Likewise.
2631 (_FP_WFRACXBITS_DW_Q): Likewise.
2632 (_FP_HIGHBIT_DW_Q): Likewise.
2633 (FP_FMA_Q): Likewise.
2634 (_FP_FRAC_HIGH_DW_Q): Likewise.
2635 * soft-fp/fmasf4.c: New file.
2636 * soft-fp/fmadf4.c: Likewise.
2637 * soft-fp/fmatf4.c: Likewise.
2639 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2642 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2646 (index_Slow_SSE4_2): Likewise.
2647 (index_Prefer_PMINUB_for_stringop): Likewise.
2648 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2649 bit_Slow_SSE4_2 is set.
2650 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2651 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2653 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2655 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2656 rtld_global._dl_hwcap2.
2657 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2659 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2660 POWER8 feature descriptions defined in _dl_hwcap2.
2661 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2662 string handling for POWER8 feature bits.
2663 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2664 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2665 _dl_powerpc_cap_flags.
2666 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2667 * sysdeps/powerpc/rtld-global-offsets.sym
2668 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2669 _dl_hwcap2 in the rtld_global_ro structure.
2671 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2673 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2674 hardware capabilities in support of AT_HWCAP2.
2675 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2676 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2678 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2679 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2680 explicitly the unknown a_type display mechanism is used.
2681 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2682 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2684 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2685 to macro prototype for AT_HWCAP2 support.
2686 * sysdeps/i386/dl-procinfo.h: Likewise.
2687 * sysdeps/s390/dl-procinfo.h: Likewise.
2688 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2689 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2690 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2691 return -1 for unknown a_type display fallback.
2692 * sysdeps/sparc/dl-procinfo.h: Likewise.
2693 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2694 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2696 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2698 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2699 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2701 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2704 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2705 mprotect making __stack_prot writable.
2707 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2708 Joseph Myers <joseph@codesourcery.com>
2710 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2711 as being properly aligned.
2713 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2715 * dlfcn/modstatic5.c: New file.
2716 * dlfcn/tststatic5.c: New file.
2717 * dlfcn/Makefile (tests): Add tststatic5.
2718 (tests-static): Likewise.
2719 (modules-names): Add modstatic5.
2720 (tststatic5-ENV): New variable.
2721 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2724 * elf/dl-support.c (_dl_main_map): New variable.
2725 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2726 (_dl_nns, _dl_load_adds): Set to 1.
2727 (_dl_initial_searchlist): Refer to _dl_main_map.
2728 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2729 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2730 call to _dl_get_origin.
2731 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2733 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2734 * dlfcn/modstatic3.c: New file.
2735 * dlfcn/tststatic3.c: New file.
2736 * dlfcn/tststatic4.c: New file.
2737 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2738 (tests-static): Likewise.
2739 (modules-names): Add modstatic3.
2740 (tststatic3-ENV, tststatic4-ENV): New variables.
2741 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2742 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2744 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2746 * configure.in (CC): Require GCC version 4.4 or later.
2747 * configure: Regenerated.
2748 * manual/install.texi (Tools for Compilation): Update GCC version
2750 * INSTALL: Regenerated.
2752 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2755 * string/test-memcmp.c (check2): New.
2756 (main): Call check2.
2758 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2760 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2763 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2765 (dl_open_worker) [!SHARED]: ... here.
2767 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2769 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2771 2013-06-25 Richard Henderson <rth@redhat.com>
2773 * locale/programs/locarchive.c: Include <libc-internal.h>
2775 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2777 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2778 trailing whitespace removed.
2780 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2783 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2784 * locale/programs/locarchive.c: Include libc-mmap.h.
2785 (prepare_address_space): Take two new outputs (the mmap base and len).
2786 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2788 (create_archive): Declare new mmap base and len values for
2789 prepare_address_space, and store the result in ah.
2790 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2791 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2792 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2793 Declare new mmap base and len values for
2794 prepare_address_space, and store the result in new_ah.
2795 (open_archive): Declare new mmap base and len values for
2796 prepare_address_space, and store the result in ah.
2797 (close_archive): If ah->mmap_base is not NULL, use that and
2798 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2799 * sysdeps/generic/libc-mmap.h: New file.
2801 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2803 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2804 (ALIGN_UP): Likewise.
2805 (PTR_ALIGN_DOWN): Likewise.
2806 (PTR_ALIGN_UP): Likewise.
2808 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2810 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2811 entry mapped to PPC_PLATFORM_POWER8.
2812 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2814 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2815 (_dl_string_platform): Add case for exporting platform position for
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2818 search path to sysdeps/powerpc/powerpc32/power8 directory.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2820 search path to sysdeps/powerpc/powerpc64/power8 directory.
2821 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2823 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2826 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2828 * INSTALL: Regenerate.
2830 * nscd/connections.c (nscd_init): Fix comment.
2832 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2834 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2837 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2838 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2840 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2842 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2844 (DL_DST_REQ_STATIC): Remove macro.
2846 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2849 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2850 with a shift of 0 bits.
2852 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2854 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2857 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2860 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2862 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2864 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2865 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2866 accepts -fno-tree-loop-distribute-patterns.
2867 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2868 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2870 * string/memset.c (memset): Likewise.
2871 * string/test-memmove.c (simple_memmove): Disable loop transformation
2873 * string/test-memset.c (simple_memset): Likewise.
2874 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2875 * benchtests/bench-memset.c (simple_memset): Likewise.
2876 * configure: Regenerated.
2878 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2880 * math/test-misc.c (main): Ignore fesetround failure when failures
2881 of subsequent rounding tests would be ignored.
2884 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2885 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2886 * math/fegetenv.c (__fegetenv): Return 0.
2887 * math/fegetexcept.c (fegetexcept): Return 0.
2888 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2890 * math/feholdexcpt.c (feholdexcept): Return 0.
2891 * math/fesetenv.c (__fesetenv): Return 0.
2892 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2893 argument FE_TONEAREST.
2894 * math/feupdateenv.c (__feupdateenv): Return 0.
2895 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2897 2013-06-18 Roland McGrath <roland@hack.frob.com>
2899 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2900 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2901 ($(objpfx)rtld-%.os rules): Use them.
2903 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2908 2013-06-17 Roland McGrath <roland@hack.frob.com>
2910 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2911 length of target pattern, then descending length of dependency pattern.
2912 * configure.in (AWK): Require gawk 3.1.2 or newer.
2913 * manual/install.texi (Tools for Compilation): Say that we do.
2914 * configure: Regenerated.
2916 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2917 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2918 * scripts/sysd-rules.awk: ... this new script.
2919 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2920 than a glob-style pattern.
2922 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2924 * math/test-misc.c (main): Do not treat incorrectly rounded
2925 conversions as failure unless ROUNDING_TESTS passes.
2927 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2930 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2931 restore exception state around main square root computation, then
2932 check for inexactness explicitly.
2934 * math/libm-test.inc (fma_test_data): Add another test.
2936 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2938 * manual/threads.texi (Non-POSIX Extensions): New document
2939 node. Document pthread_getattr_default_np and
2940 pthread_setattr_default_np.
2942 * Versions.def (libpthread): Add GLIBC_2.18.
2943 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2952 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2963 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2966 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2968 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2969 H.J. Lu <hjl.tools@gmail.com>
2972 * sysdeps/x86_64/rtld-memset.c: Remove file.
2973 * sysdeps/x86_64/rtld-memset.S: New file.
2975 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2977 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2978 (test_in_one_mode): Take arguments for whether the rounding mode
2979 is supported for each floating-point type.
2980 (do_test): Pass new arguments to test_in_one_mode using
2983 2013-06-13 Roland McGrath <roland@hack.frob.com>
2985 * posix/tst-waitid.c (do_test): Distinguish different instances of
2986 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2987 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2988 before entering the kernel for waitpid.
2990 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2992 * NEWS: Fix note on clock function precision. Text by Roland
2995 2013-06-13 Roland McGrath <roland@hack.frob.com>
2997 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2998 it into place only when and if the sanity check passes.
3000 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3002 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3003 output for whether conversion result is exact. Take argument
3004 indicating whether type is IBM long double.
3005 (round_for_all): Change need_exact field to ibm_ld.
3006 * stdlib/tst-strtod-round.c (struct exactness): New type.
3007 (struct test): Change bool ld_ok field to struct exactness exact.
3008 (TEST): Update all definitions for change to field.
3009 (tests): Regenerate array contents.
3010 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3011 field value. Check for IBM long double here.
3012 (do_test): Update calls to test_in_one_mode.
3014 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3017 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3018 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3020 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3024 generated by the compiler on loop optimizations.
3025 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3026 general definitions.
3028 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3030 * math/bug-nextafter.c: Include <math-tests.h>.
3031 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3033 * math/bug-nexttoward.c: Include <math-tests.h>.
3034 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3036 * math/test-misc.c: Include <math-tests.h>.
3037 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3040 2013-06-12 Andreas Jaeger <aj@suse.de>
3042 * po/ia.po: Update Interlingua translation from translation
3045 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3047 * include/fenv.h: Include stdbool.h.
3048 (struct rm_ctx): New structure.
3049 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3051 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3052 (SET_RESTORE_ROUNDF): Likewise.
3053 (SET_RESTORE_ROUNDL): Likewise.
3054 (SET_RESTORE_ROUND_NOEX): Likewise.
3055 (SET_RESTORE_ROUND_NOEXF): Likewise.
3056 (SET_RESTORE_ROUND_NOEXL): Likewise.
3057 (SET_RESTORE_ROUND_53BIT): Likewise.
3058 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3059 (libc_feresetround_noexf_ctx): Likewise.
3060 (libc_feresetround_noexl_ctx): Likewise.
3061 (libc_feholdsetround_53bit_ctx): Likewise.
3062 (libc_feresetround_53bit_ctx): Likewise.
3063 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3064 (libc_feholdexcept_setround_sse_ctx): New function.
3065 (libc_fesetenv_sse_ctx): Likewise.
3066 (libc_feupdateenv_sse_ctx): Likewise.
3067 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3068 (libc_feholdexcept_setround_387_ctx): Likewise.
3069 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3070 (libc_feholdsetround_387_prec_ctx): Likewise.
3071 (libc_feholdsetround_387_ctx): Likewise.
3072 (libc_feholdsetround_387_53bit_ctx): Likewise.
3073 (libc_feholdsetround_sse_ctx): Likewise.
3074 (libc_feresetround_sse_ctx): Likewise.
3075 (libc_feresetround_387_ctx): Likewise.
3076 (libc_feupdateenv_387_ctx): Likewise.
3077 (libc_feholdexcept_setroundf_ctx): Define macro.
3078 (libc_fesetenvf_ctx): Likewise.
3079 (libc_feupdateenvf_ctx): Likewise.
3080 (libc_feholdsetroundf_ctx): Likewise.
3081 (libc_feresetroundf_ctx): Likewise.
3082 (libc_feholdexcept_setround_ctx): Likewise.
3083 (libc_fesetenv_ctx): Likewise.
3084 (libc_feupdateenv_ctx): Likewise.
3085 (libc_feholdsetround_ctx): Likewise.
3086 (libc_feresetround_ctx): Likewise.
3087 (libc_feholdexcept_setroundl_ctx): Likewise.
3088 (libc_feupdateenvl_ctx): Likewise.
3089 (libc_feholdsetroundl_ctx): Likewise.
3090 (libc_feresetroundl_ctx): Likewise.
3091 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3092 (libc_feresetround_53bit_ctx): Likewise.
3094 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3096 * locale/iso-639.def: Convert to UTF-8.
3098 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3100 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3101 (EXCEPTION_TESTS_double): Likewise.
3102 (EXCEPTION_TESTS_long_double): Likewise.
3103 (EXCEPTION_TESTS): Likewise.
3104 * math/libm-test.inc (test_exceptions): Only test exceptions if
3105 EXCEPTION_TESTS (FLOAT).
3107 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3109 * benchtests/Makefile (string-bench): Add strcpy_chk and
3111 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3112 * benchtests/bench-stpcpy_chk.c: New file.
3113 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3114 * benchtests/bench-strcpy_chk.c: New file.
3115 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3117 (do_test): Likewise.
3119 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3121 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3122 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3123 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3124 with tabs where appropriate.
3125 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3127 [PPC_PLATFORM_PPC440]: Likewise.
3128 [PPC_PLATFORM_PPC464]: Likewise.
3129 [PPC_PLATFORM_PPC476]: Likewise.
3130 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3131 ppc464, and ppc476 platform strings merging from ports/
3134 2013-06-11 Andreas Schwab <schwab@suse.de>
3137 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3138 (from_ucs4_idx): Regenerate.
3139 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3140 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3141 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3142 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3143 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3144 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3145 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3146 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3147 from FROM_LOOP and TO_LOOP specific macros.
3148 (BODY): Handle combining characters.
3149 * iconvdata/BIG5HKSCS.irreversible: Update.
3150 * iconvdata/BIG5HKSCS.precomposed: New file.
3151 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3153 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3155 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3157 * include/sys/time.h: Fix indentation and add copyright header.
3159 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3160 (do_test): Likewise.
3161 * string/test-memchr.c (do_one_test): Likewise.
3162 (do_test): Likewise.
3163 * string/test-memcmp.c (do_one_test): Likewise.
3164 (do_test): Likewise.
3165 * string/test-memcpy.c (do_one_test): Likewise.
3166 (do_test): Likewise.
3167 * string/test-memmem.c (do_one_test): Likewise.
3168 (do_test): Likewise.
3169 (do_random_tests): Likewise.
3170 * string/test-memmove.c (do_one_test): Likewise.
3171 (do_test): Likewise.
3172 * string/test-memset.c (do_one_test): Likewise.
3173 (do_test): Likewise.
3174 * string/test-rawmemchr.c (do_one_test): Likewise.
3175 (do_test): Likewise.
3176 * string/test-strcasecmp.c (do_one_test): Likewise.
3177 (do_test): Likewise.
3178 * string/test-strcasestr.c (do_one_test): Likewise.
3179 (do_test): Likewise.
3180 * string/test-strcat.c (do_one_test): Likewise.
3181 (do_test): Likewise.
3182 * string/test-strchr.c (do_one_test): Likewise.
3183 (do_test): Likewise.
3184 * string/test-strcmp.c (do_one_test): Likewise.
3185 (do_test): Likewise.
3186 * string/test-strcpy.c (do_one_test): Likewise.
3187 (do_test): Likewise.
3188 * string/test-string.h: Likewise.
3189 (test_init): Likewise.
3190 * string/test-strlen.c (do_one_test): Likewise.
3191 (do_test): Likewise.
3192 * string/test-strncasecmp.c (do_one_test): Likewise.
3193 (do_test): Likewise.
3194 * string/test-strncat.c (do_one_test): Likewise.
3195 (do_test): Likewise.
3196 * string/test-strncmp.c (do_one_test): Likewise.
3197 (do_test_limit): Likewise.
3198 (do_test): Likewise.
3199 * string/test-strncpy.c (do_one_test): Likewise.
3200 (do_test): Likewise.
3201 * string/test-strnlen.c (do_one_test): Likewise.
3202 (do_test): Likewise.
3203 * string/test-strpbrk.c (do_one_test): Likewise.
3204 (do_test): Likewise.
3205 * string/test-strrchr.c (do_one_test): Likewise.
3206 (do_test): Likewise.
3207 * string/test-strspn.c (do_one_test): Likewise.
3208 (do_test): Likewise.
3209 * string/test-strstr.c (do_one_test): Likewise.
3210 (do_test): Likewise.
3212 * benchtests/Makefile (string-bench): Add string benchmarks.
3213 * benchtests/bench-bcopy-ifunc.c: New file.
3214 * benchtests/bench-bcopy.c: New file.
3215 * benchtests/bench-bzero-ifunc.c: New file.
3216 * benchtests/bench-bzero.c: New file.
3217 * benchtests/bench-memccpy-ifunc.c: New file.
3218 * benchtests/bench-memccpy.c: New file.
3219 * benchtests/bench-memchr-ifunc.c: New file.
3220 * benchtests/bench-memchr.c: New file.
3221 * benchtests/bench-memcmp-ifunc.c: New file.
3222 * benchtests/bench-memcmp.c: New file.
3223 * benchtests/bench-memmem-ifunc.c: New file.
3224 * benchtests/bench-memmem.c: New file.
3225 * benchtests/bench-memmove-ifunc.c: New file.
3226 * benchtests/bench-memmove.c: New file.
3227 * benchtests/bench-mempcpy-ifunc.c: New file.
3228 * benchtests/bench-mempcpy.c: New file.
3229 * benchtests/bench-memset-ifunc.c: New file.
3230 * benchtests/bench-memset.c: New file.
3231 * benchtests/bench-rawmemchr-ifunc.c: New file.
3232 * benchtests/bench-rawmemchr.c: New file.
3233 * benchtests/bench-stpcpy-ifunc.c: New file.
3234 * benchtests/bench-stpcpy.c: New file.
3235 * benchtests/bench-stpncpy-ifunc.c: New file.
3236 * benchtests/bench-stpncpy.c: New file.
3237 * benchtests/bench-strcasecmp-ifunc.c: New file.
3238 * benchtests/bench-strcasecmp.c: New file.
3239 * benchtests/bench-strcasestr-ifunc.c: New file.
3240 * benchtests/bench-strcasestr.c: New file.
3241 * benchtests/bench-strcat-ifunc.c: New file.
3242 * benchtests/bench-strcat.c: New file.
3243 * benchtests/bench-strchr-ifunc.c: New file.
3244 * benchtests/bench-strchr.c: New file.
3245 * benchtests/bench-strchrnul-ifunc.c: New file.
3246 * benchtests/bench-strchrnul.c: New file.
3247 * benchtests/bench-strcmp-ifunc.c: New file.
3248 * benchtests/bench-strcmp.c: New file.
3249 * benchtests/bench-strcpy-ifunc.c: New file.
3250 * benchtests/bench-strcpy.c: New file.
3251 * benchtests/bench-strcspn-ifunc.c: New file.
3252 * benchtests/bench-strcspn.c: New file.
3253 * benchtests/bench-strlen-ifunc.c: New file.
3254 * benchtests/bench-strlen.c: New file.
3255 * benchtests/bench-strncasecmp-ifunc.c: New file.
3256 * benchtests/bench-strncasecmp.c: New file.
3257 * benchtests/bench-strncat-ifunc.c: New file.
3258 * benchtests/bench-strncat.c: New file.
3259 * benchtests/bench-strncmp-ifunc.c: New file.
3260 * benchtests/bench-strncmp.c: New file.
3261 * benchtests/bench-strncpy-ifunc.c: New file.
3262 * benchtests/bench-strncpy.c: New file.
3263 * benchtests/bench-strnlen-ifunc.c: New file.
3264 * benchtests/bench-strnlen.c: New file.
3265 * benchtests/bench-strpbrk-ifunc.c: New file.
3266 * benchtests/bench-strpbrk.c: New file.
3267 * benchtests/bench-strrchr-ifunc.c: New file.
3268 * benchtests/bench-strrchr.c: New file.
3269 * benchtests/bench-strspn-ifunc.c: New file.
3270 * benchtests/bench-strspn.c: New file.
3271 * benchtests/bench-strstr-ifunc.c: New file.
3272 * benchtests/bench-strstr.c: New file.
3274 * benchtests/Makefile: Disable parallel execution of targets.
3275 (string-bench): Add memcpy.
3276 (benchset): New variable to store a list of benchmark sets.
3277 (bench-func): Renamed from bench.
3278 (bench-set): New target.
3279 (bench): Depend on bench-func and bench-set.
3280 * benchtests/README: Add section on benchmark sets.
3281 * benchtests/bench-memcpy-ifunc.c: New file.
3282 * benchtests/bench-memcpy.c: New file.
3283 * benchtests/bench-string.h: New file.
3285 2013-06-11 Andreas Schwab <schwab@suse.de>
3288 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3289 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3290 values in the triple.
3291 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3292 terminator in the group key.
3294 2013-06-11 Andreas Jaeger <aj@suse.de>
3296 * po/zh_TW.po: Update Chinese (traditional) translation from
3297 translation project.
3299 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3301 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3302 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3303 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3305 (clock_getcpuclockid): Likewise.
3306 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3307 Add weak_alias and libc_hidden_def.
3308 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3309 * rt/clock_gettime.c (clock_gettime): Rename to
3310 __clock_gettime. Add weak_alias and libc_hidden_def.
3311 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3312 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3313 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3314 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3315 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3317 * rt/clock_settime.c (clock_settime): Rename to
3318 __clock_settime. Add weak_alias and libc_hidden_def.
3319 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3321 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3323 * mach/err_boot.sub: Remove trailing whitespace.
3324 * mach/err_ipc.sub: Likewise.
3325 * mach/err_mach.sub: Likewise.
3327 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3328 (ROUNDING_TESTS_double): Likewise.
3329 (ROUNDING_TESTS_long_double): Likewise.
3330 (ROUNDING_TESTS): Likewise.
3331 * math/libm-test.inc: Include <math-tests.h>.
3332 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3333 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3334 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3335 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3337 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3339 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3342 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3344 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3345 otherwise empty TRANS lines.
3346 * sysdeps/gnu/errlist.c: Regenerated.
3348 * catgets/gencat.c (error_print): Use (void) in function
3350 * crypt/crypt_util.c (__init_des): Likewise.
3351 * crypt/speeds.c (Stop): Likewise.
3353 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3354 * inet/ruserpass.c (token): Likewise.
3355 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3356 * intl/localealias.c (extend_alias_table): Likewise.
3357 * intl/plural-exp.c (init_germanic_plural): Likewise.
3358 * libio/fcloseall.c (__fcloseall): Likewise.
3359 * libio/genops.c (_IO_flush_all): Likewise.
3360 (_IO_flush_all_linebuffered): Likewise.
3361 (_IO_cleanup): Likewise.
3362 (_IO_iter_begin): Likewise.
3363 (_IO_iter_end): Likewise.
3364 (_IO_list_lock): Likewise.
3365 (_IO_list_unlock): Likewise.
3366 (_IO_list_resetlock): Likewise.
3367 * libio/getchar.c (getchar): Likewise.
3368 * libio/getchar_u.c (getchar_unlocked): Likewise.
3369 * libio/getwchar.c (getwchar): Likewise.
3370 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3371 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3372 * login/getpt.c (__getpt): Likewise.
3373 * login/tst-utmp.c (main): Likewise.
3374 * malloc/hooks.c (__malloc_check_init): Likewise.
3375 * malloc/malloc.c (__malloc_stats): Likewise.
3376 * malloc/mtrace.c (tr_break): Likewise.
3378 (muntrace): Likewise.
3379 * misc/fstab.c (endfsent): Likewise.
3380 * misc/getclktck.c (__getclktck): Likewise.
3381 * misc/getdtsz.c (__getdtablesize): Likewise.
3382 * misc/gethostid.c (gethostid): Likewise.
3383 * misc/getpagesize.c (__getpagesize): Likewise.
3384 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3385 (__get_nprocs): Likewise.
3386 (__get_phys_pages): Likewise.
3387 (__get_avphys_pages): Likewise.
3388 * misc/getttyent.c (getttyent): Likewise.
3389 (setttyent): Likewise.
3390 (endttyent): Likewise.
3391 * misc/getusershell.c (getusershell): Likewise.
3392 (endusershell): Likewise.
3393 (setusershell): Likewise.
3394 (initshells): Likewise.
3395 * misc/hsearch.c (__hdestroy): Likewise.
3396 * misc/sync.c (sync): Likewise.
3397 * misc/syslog.c (closelog_internal): Likewise.
3398 (closelog): Likewise.
3399 * misc/ttyslot.c (ttyslot): Likewise.
3400 * misc/vhangup.c (vhangup): Likewise.
3401 * posix/fork.c (__fork): Likewise.
3402 * posix/getegid.c (__getegid): Likewise.
3403 * posix/geteuid.c (__geteuid): Likewise.
3404 * posix/getgid.c (__getgid): Likewise.
3405 * posix/getpid.c (__getpid): Likewise.
3406 * posix/getppid.c (__getppid): Likewise.
3407 * posix/getuid.c (__getuid): Likewise.
3408 * posix/pause.c (pause): Likewise.
3409 * posix/setpgrp.c (setpgrp): Likewise.
3410 * posix/setsid.c (__setsid): Likewise.
3411 * posix/test-vfork.c (noop): Likewise.
3412 * resolv/gethnamaddr.c (_endhtent): Likewise.
3413 (_gethtent): Likewise.
3414 (ht_endhostent): Likewise.
3415 (gethostent): Likewise.
3416 (dns_service): Likewise.
3417 * stdlib/drand48.c (drand48): Likewise.
3418 * stdlib/lrand48.c (lrand48): Likewise.
3419 * stdlib/mrand48.c (mrand48): Likewise.
3420 * stdlib/rand.c (rand): Likewise.
3421 * stdlib/random.c (__random): Likewise.
3422 * stdlib/setenv.c (clearenv): Likewise.
3423 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3424 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3425 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3426 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3427 (__get_nprocs): Likewise.
3428 (__get_phys_pages): Likewise.
3429 (__get_avphys_pages): Likewise.
3430 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3431 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3432 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3433 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3434 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3435 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3436 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3437 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3438 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3439 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3440 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3441 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3442 * sysdeps/posix/clock.c (clock): Likewise.
3443 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3444 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3445 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3446 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3447 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3449 (__get_nprocs_conf): Likewise.
3450 (__get_phys_pages): Likewise.
3451 (__get_avphys_pages): Likewise.
3452 * time/clock.c (clock): Likewise.
3453 * time/tzset.c (__tzname_max): Likewise.
3455 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3457 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3458 (__bswap_32): Do not use "register".
3459 * crypt/crypt.c (_ufc_doit_r): Likewise.
3460 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3461 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3462 * gmon/gmon.c (__monstartup): Likewise.
3463 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3464 * hurd/hurdmalloc.c (more_memory): Likewise.
3467 (realloc): Likewise.
3468 (malloc_fork_prepare): Likewise.
3469 (malloc_fork_parent): Likewise.
3470 (malloc_fork_child): Likewise.
3471 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3472 (_svcauth_des): Likewise.
3473 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3474 * inet/inet_net.c (inet_network): Likewise.
3475 * inet/inet_netof.c (inet_netof): Likewise.
3476 * inet/rcmd.c (__validuser2_sa): Likewise.
3477 * io/fts.c (fts_open): Likewise.
3478 (fts_load): Likewise.
3479 (fts_close): Likewise.
3480 (fts_read): Likewise.
3481 (fts_children): Likewise.
3482 (fts_build): Likewise.
3483 (fts_stat): Likewise.
3484 (fts_sort): Likewise.
3485 (fts_alloc): Likewise.
3486 (fts_lfree): Likewise.
3487 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3488 (_IO_file_xsgetn): Likewise.
3489 (_IO_file_xsgetn_mmap): Likewise.
3490 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3491 (_IO_cookie_write): Likewise.
3492 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3493 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3494 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3495 * malloc/obstack.c (_obstack_begin): Likewise.
3496 (_obstack_begin_1): Likewise.
3497 (_obstack_newchunk): Likewise.
3498 (_obstack_allocated_p): Likewise.
3499 (obstack_free): Likewise.
3500 (_obstack_memory_used): Likewise.
3501 * misc/getttyent.c (getttynam): Likewise.
3502 (getttyent): Likewise.
3505 * misc/getusershell.c (initshells): Likewise.
3506 * misc/syslog.c (__vsyslog_chk): Likewise.
3507 * misc/ttyslot.c (ttyslot): Likewise.
3508 * nis/nis_hash.c (__nis_hash): Likewise.
3509 * posix/fnmatch_loop.c (FCT): Likewise.
3510 * posix/getconf.c (print_all): Likewise.
3512 * posix/getopt.c (exchange): Likewise.
3513 * posix/glob.c (globfree): Likewise.
3514 (prefix_array): Likewise.
3515 (__glob_pattern_type): Likewise.
3516 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3517 (NS_GET32): Likewise.
3518 (NS_PUT16): Likewise.
3519 (NS_PUT32): Likewise.
3520 * resolv/gethnamaddr.c (getanswer): Likewise.
3521 (gethostbyname2): Likewise.
3522 (gethostbyaddr): Likewise.
3523 (_gethtent): Likewise.
3524 (_gethtbyname2): Likewise.
3525 (_gethtbyaddr): Likewise.
3526 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3527 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3528 * resolv/res_init.c (__res_vinit): Likewise.
3529 (net_mask): Likewise.
3530 * resolv/res_mkquery.c (outchar): Likewise.
3532 * stdio-common/printf_fp.c (outchar): Likewise.
3534 * stdio-common/printf_fphex.c (outchar): Likewise.
3536 * stdio-common/printf_size.c (outchar): Likewise.
3538 * stdio-common/test_rdwr.c (main): Likewise.
3539 * stdio-common/tfformat.c (matches): Likewise.
3540 * stdio-common/vfprintf.c (outchar): Likewise.
3541 (printf_unknown): Likewise.
3542 (buffered_vfprintf): Likewise.
3543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3544 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3545 (ReadFile): Likewise.
3546 * stdlib/qsort.c (SWAP): Likewise.
3547 (_quicksort): Likewise.
3548 * stdlib/setenv.c (__add_to_environ): Likewise.
3549 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3550 * stdlib/strtol_l.c (__strtol_l): Likewise.
3551 * stdlib/tst-strtod.c (main): Likewise.
3552 * stdlib/tst-strtol.c (main): Likewise.
3553 * stdlib/tst-strtoll.c (main): Likewise.
3554 * string/bits/string2.h (__strcmp_cc): Likewise.
3555 (__strcmp_cg): Likewise.
3556 (__strcspn_c1): Likewise.
3557 (__strcspn_c2): Likewise.
3558 (__strcspn_c3): Likewise.
3559 (__strspn_c1): Likewise.
3560 (__strspn_c2): Likewise.
3561 (__strspn_c3): Likewise.
3562 (__strsep_1c): Likewise.
3563 (__strsep_2c): Likewise.
3564 (__strsep_3c): Likewise.
3565 * string/memccpy.c (__memccpy): Likewise.
3566 * string/stpcpy.c (__stpcpy): Likewise.
3567 * string/strcmp.c (strcmp): Likewise.
3568 * string/strrchr.c (strrchr): Likewise.
3569 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3571 * sysdeps/mach/hurd/getcwd.c
3572 (_hurd_canonicalize_directory_name_internal): Likewise.
3573 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3574 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3575 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3576 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3577 Likewise, in both definitions.
3578 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3580 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3581 64] (__bswap_64): Likewise.
3582 * time/test_time.c (main): Likewise.
3583 * time/tzfile.c (__tzfile_read): Likewise.
3584 (__tzfile_compute): Likewise.
3585 * time/tzset.c (__tzset_parse_tz): Likewise.
3586 (tzset_internal): Likewise.
3587 (compute_change): Likewise.
3588 * wcsmbs/wcscat.c (__wcscat): Likewise.
3589 * wcsmbs/wcschr.c (wcschr): Likewise.
3590 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3591 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3592 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3593 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3594 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3595 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3596 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3597 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3598 * wcsmbs/wmemset.c (wmemset): Likewise.
3600 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3602 * scripts/config.guess: Update to version 2013-05-16.
3603 * scripts/config.sub: Update to version 2013-04-24.
3604 * scripts/install-sh: Update to version 2011-11-20.07.
3605 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3606 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3608 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3610 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3611 * elf/sln.c: Likewise.
3612 * hurd/hurd/ioctl.h: Likewise.
3613 * hurd/hurdmalloc.c: Likewise.
3614 * hurd/xattr.c: Likewise.
3615 * include/shlib-compat.h: Likewise.
3616 * inet/ruserpass.c: Likewise.
3617 * libio/iofgets_u.c: Likewise.
3618 * libio/iofgetws_u.c: Likewise.
3619 * locale/programs/ld-identification.c: Likewise.
3620 * locale/programs/ld-time.c: Likewise.
3621 * mach/msg-destroy.c: Likewise.
3622 * nss/nss_files/files-netgrp.c: Likewise.
3623 * resolv/res_data.c: Likewise.
3624 * soft-fp/op-1.h: Likewise.
3625 * soft-fp/op-2.h: Likewise.
3626 * soft-fp/op-4.h: Likewise.
3627 * soft-fp/op-common.h: Likewise.
3628 * stdio-common/printf_fphex.c: Likewise.
3629 * stdlib/strtod_l.c: Likewise.
3630 * sunrpc/rpc/clnt.h: Likewise.
3631 * sysdeps/generic/framestate.c: Likewise.
3632 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3633 * sysdeps/i386/bsd-setjmp.S: Likewise.
3634 * sysdeps/i386/__longjmp.S: Likewise.
3635 * sysdeps/i386/setjmp.S: Likewise.
3636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3638 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3654 * sysdeps/ieee754/support.c: Likewise.
3655 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3656 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3657 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3658 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3659 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3660 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3661 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3662 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3663 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3664 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3665 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3666 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3667 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3670 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3671 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3674 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3676 * posix/transbug.c: Remove executable mode.
3678 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3680 * crypt/speeds.c: Remove trailing whitespace.
3681 * dlfcn/default.c: Likewise.
3682 * elf/ifuncdep2.c: Likewise.
3683 * elf/ifuncmain1.c: Likewise.
3684 * elf/ifuncmain1vis.c: Likewise.
3685 * elf/testobj.h: Likewise.
3686 * elf/tst-stackguard1.c: Likewise.
3687 * gmon/sys/gmon.h: Likewise.
3688 * hurd/hurdmsg.c: Likewise.
3689 * hurd/new-fd.c: Likewise.
3690 * hurd/ports-get.c: Likewise.
3691 * iconvdata/ibm1008_420.c: Likewise.
3692 * inet/tst-getni1.c: Likewise.
3693 * inet/tst-getni2.c: Likewise.
3694 * libio/ioungetc.c: Likewise.
3695 * libio/wfiledoalloc.c: Likewise.
3696 * manual/libm-err-tab.pl: Likewise.
3697 * math/w_dremf.c: Likewise.
3698 * misc/ftruncate.c: Likewise.
3699 * posix/bug-glob2.c: Likewise.
3700 * posix/tst-pcre.c: Likewise.
3701 * posix/wait4.c: Likewise.
3702 * resolv/README: Likewise.
3703 * resolv/res_debug.h: Likewise.
3704 * resolv/tst-inet_ntop.c: Likewise.
3705 * setjmp/bug269-setjmp.c: Likewise.
3706 * soft-fp/extended.h: Likewise.
3707 * soft-fp/op-1.h: Likewise.
3708 * soft-fp/op-2.h: Likewise.
3709 * soft-fp/op-4.h: Likewise.
3710 * soft-fp/op-8.h: Likewise.
3711 * soft-fp/testit.c: Likewise.
3712 * stdio-common/bug16.c: Likewise.
3713 * stdlib/random.c: Likewise.
3714 * sunrpc/rpcsvc/rquota.x: Likewise.
3715 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3716 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3718 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3719 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3720 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3722 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3723 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3724 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3744 * sysdeps/ieee754/s_lib_version.c: Likewise.
3745 * sysdeps/mach/hurd/check_fds.c: Likewise.
3746 * sysdeps/mach/hurd/getsockname.c: Likewise.
3747 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3748 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3749 * sysdeps/powerpc/bits/link.h: Likewise.
3750 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3751 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3752 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3753 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3754 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3755 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3756 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3757 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3758 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3759 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3760 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3761 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3765 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3771 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3773 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3774 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3775 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3778 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3783 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3784 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3785 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3789 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3790 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3791 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3792 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3793 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3794 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3795 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3796 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3797 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3798 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3799 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3803 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3804 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3805 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3806 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3809 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3814 * sysdeps/powerpc/sysdep.h: Likewise.
3815 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3816 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3817 * sysdeps/sh/dl-trampoline.S: Likewise.
3818 * sysdeps/sh/memset.S: Likewise.
3819 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3820 * sysdeps/sh/strlen.S: Likewise.
3821 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3822 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3823 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3824 * sysdeps/sparc/sparc32/rem.S: Likewise.
3825 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3826 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3827 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3828 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3829 * sysdeps/sparc/sparc32/urem.S: Likewise.
3830 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3831 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3832 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3833 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3835 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3836 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3837 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3838 * sysdeps/unix/bsd/times.c: Likewise.
3839 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3840 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3844 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3845 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3846 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3847 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3849 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3850 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3851 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3852 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3853 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3854 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3855 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3856 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3857 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3858 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3859 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3860 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3861 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3862 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3863 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3864 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3865 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3867 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3868 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3869 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3870 * sysdeps/x86_64/strcspn.S: Likewise.
3872 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3874 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3875 generated file. Regenerate properly from gen-translit.pl.
3876 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3877 locale/C-translit.h.
3879 2013-06-05 Andreas Schwab <schwab@suse.de>
3882 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3883 week as 6 instead of -1.
3884 * time/tst-strptime.c (day_tests): Add test case.
3886 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3888 * sysdeps/generic/math_private.h
3889 (libc_feholdexcept_setround_53bit): Replace with
3890 libc_feholdsetround_53bit.
3891 (libc_feupdateenv_53bit): Replace with
3892 libc_feresetround_53bit.
3893 (SET_RESTORE_ROUND_53BIT): Adjust.
3895 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3897 * string/test-strchrnul.c: Add copyright header.
3899 * posix/tst-getaddrinfo4.c: Increase test timeout.
3901 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3904 * math/libm-test.inc (MAX_EXP): Remove
3906 (ulp): Use MIN_EXP - MANT_DIG.
3907 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3909 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3911 * po/be.po: Revert last change.
3912 * po/zh_CN.po: Likewise.
3913 * po/header.pot: Likewise.
3915 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3917 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3918 link-libc-deps to empty as target-specific variable.
3919 * Makerules (link-libc-args): New variable.
3920 (libc-for-link): Likewise.
3921 (link-libc-deps): Likewise.
3922 (lib%.so): Depend on $(link-libc-deps). Link with
3924 (build-module): Link with $(link-libc-args).
3925 (build-module-asneeded): Likewise.
3926 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3928 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3929 target-specific variable.
3930 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3931 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3932 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3934 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3936 ($(objpfx)libpcprofile.so): Likewise.
3937 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3939 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3940 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3941 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3943 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3944 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3945 * login/Makefile ($(objpfx)libutil.so): Likewise.
3946 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3947 * math/Makefile ($(objpfx)libm.so): Likewise.
3948 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3949 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3950 variable instead of depending directly on libc.
3951 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3952 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3954 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3956 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3957 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3958 ($(objpfx)libanl.so): Likewise.
3959 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3961 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3963 * sysdeps/i386/fpu/Makefile: Remove file.
3964 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3965 ($(objpfx)libm.so): Remove dependency on ld.so.
3967 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3970 * nis/yp_xdr.c (XDRMAXNAME): Define.
3971 (XDRMAXRECORD): Define.
3972 (xdr_domainname): Use XDRMAXNAME.
3973 (xdr_mapname): Likewise.
3974 (xdr_peername): Likewise.
3975 (xdr_keydat): Use XDRMAXRECORD.
3976 (xdr_valdat): Likewise.
3978 2013-05-30 Jeff Law <law@redhat.com>
3981 * manual/errno.texi (ESTALE): Update to account for more than
3982 just NFS file systems.
3983 * sysdeps/gnu/errlist.c: Regenerated.
3985 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3988 * elf/Makefile (tests): Add tst-null-argv.
3989 (modules-names): Add tst-null-argv-lib.
3990 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3991 (tst-null-argv-ENV): Set environment for tst-null-argv.
3992 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3993 (RTLD_PROGNAME): New macro.
3994 * elf/tst-null-argv.c: New test case.
3995 * elf/tst-null-argv-lib.c: Library for test case.
3996 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3997 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3998 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3999 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4000 * elf/dl-init.c (call_init): Likewise.
4001 (_dl_init): Likewise.
4002 * elf/dl-load.c (print_search_path): Likewise.
4003 (_dl_map_object): Likewise.
4004 * elf/dl-lookup.c (do_lookup_x): Likewise.
4005 (add_dependency): Likewise.
4006 (_dl_lookup_symbol_x): Likewise.
4007 (_dl_debug_bindings): Likewise.
4008 * elf/dl-open.c (_dl_show_scope): Likewise.
4009 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4010 * elf/dl-version.c (match_symbol): Likewise.
4011 (_dl_check_map_versions): Likewise.
4012 * elf/rtld.c (dl_main): Likewise.
4013 (print_unresolved): Use RTLD_PROGNAME.
4014 (print_missing_version): Likewise.
4015 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4016 (elf_machine_rela): Likewise.
4017 * sysdeps/powerpc/powerpc32/dl-machine.c
4018 (__process_machine_rela): Likewise.
4019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4023 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4025 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4032 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4034 * po/be.po: Add descriptive title.
4035 * po/zh_CN.po: Likewise.
4036 * po/header.pot: Likewise.
4038 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4040 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4042 (enlarge_archive): Likewise.
4044 2013-05-28 Ben North <ben@redfrontdoor.org>
4046 * manual/arith.texi (frexp): It is the magnitude of the return
4047 value which lies in [0.5, 1), not the return value itself.
4049 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4053 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4055 * stdio-common/bug26.c (main): Correct fscanf template.
4057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4058 declare _dl_skip_args.
4060 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4063 * manual/platform.texi: Add missing @end deftypefun.
4065 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4068 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4069 bit of mantissa of 2^16382.
4070 * math/libm-test.inc (hypot_test_data): Add more tests.
4072 * math/libm-test.inc: Add drem and pow10 to list of tested
4074 (pow10_test): New function.
4075 (drem_test): Likewise.
4076 (drem_test_tonearest): Likewise.
4077 (drem_test_towardzero): Likewise.
4078 (drem_test_downward): Likewise.
4079 (drem_test_upward): Likewise.
4080 (main): Call the new functions.
4082 * math/libm-test.inc (finite_test_data): Remove.
4083 (finite_test): Run tests from isfinite_test_data.
4084 (gamma_test_data): Remove.
4085 (gamma_test): Run tests from lgamma_test_data.
4086 * sysdeps/i386/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4091 * manual/platform.texi: Add PowerPC PPR function set documentation.
4092 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4095 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4097 * math/libm-test.inc (MAX_EXP): Define.
4099 (ulp): New function.
4100 (check_float_internal): Use ULPDIFF.
4101 (cpow_test): Disable failing test.
4102 (check_ulp): Test ulp() implemetnation.
4103 (main): Call check_ulp before starting tests.
4105 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4107 * math/gen-libm-test.pl (generate_testfile): Do not handle
4108 START_DATA and END_DATA.
4109 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4111 (acos_tonearest_test_data): Likewise.
4112 (acos_towardzero_test_data): Likewise.
4113 (acos_downward_test_data): Likewise.
4114 (acos_upward_test_data): Likewise.
4115 (acosh_test_data): Likewise.
4116 (asin_test_data): Likewise.
4117 (asin_tonearest_test_data): Likewise.
4118 (asin_towardzero_test_data): Likewise.
4119 (asin_downward_test_data): Likewise.
4120 (asin_upward_test_data): Likewise.
4121 (asinh_test_data): Likewise.
4122 (atan_test_data): Likewise.
4123 (atanh_test_data): Likewise.
4124 (atan2_test_data): Likewise.
4125 (cabs_test_data): Likewise.
4126 (cacos_test_data): Likewise.
4127 (cacosh_test_data): Likewise.
4128 (carg_test_data): Likewise.
4129 (casin_test_data): Likewise.
4130 (casinh_test_data): Likewise.
4131 (catan_test_data): Likewise.
4132 (catanh_test_data): Likewise.
4133 (cbrt_test_data): Likewise.
4134 (ccos_test_data): Likewise.
4135 (ccosh_test_data): Likewise.
4136 (ceil_test_data): Likewise.
4137 (cexp_test_data): Likewise.
4138 (cimag_test_data): Likewise.
4139 (clog_test_data): Likewise.
4140 (clog10_test_data): Likewise.
4141 (conj_test_data): Likewise.
4142 (copysign_test_data): Likewise.
4143 (cos_test_data): Likewise.
4144 (cos_tonearest_test_data): Likewise.
4145 (cos_towardzero_test_data): Likewise.
4146 (cos_downward_test_data): Likewise.
4147 (cos_upward_test_data): Likewise.
4148 (cosh_test_data): Likewise.
4149 (cosh_tonearest_test_data): Likewise.
4150 (cosh_towardzero_test_data): Likewise.
4151 (cosh_downward_test_data): Likewise.
4152 (cosh_upward_test_data): Likewise.
4153 (cpow_test_data): Likewise.
4154 (cproj_test_data): Likewise.
4155 (creal_test_data): Likewise.
4156 (csin_test_data): Likewise.
4157 (csinh_test_data): Likewise.
4158 (csqrt_test_data): Likewise.
4159 (ctan_test_data): Likewise.
4160 (ctan_tonearest_test_data): Likewise.
4161 (ctan_towardzero_test_data): Likewise.
4162 (ctan_downward_test_data): Likewise.
4163 (ctan_upward_test_data): Likewise.
4164 (ctanh_test_data): Likewise.
4165 (ctanh_tonearest_test_data): Likewise.
4166 (ctanh_towardzero_test_data): Likewise.
4167 (ctanh_downward_test_data): Likewise.
4168 (ctanh_upward_test_data): Likewise.
4169 (erf_test_data): Likewise.
4170 (erfc_test_data): Likewise.
4171 (exp_test_data): Likewise.
4172 (exp_tonearest_test_data): Likewise.
4173 (exp_towardzero_test_data): Likewise.
4174 (exp_downward_test_data): Likewise.
4175 (exp_upward_test_data): Likewise.
4176 (exp10_test_data): Likewise.
4177 (exp2_test_data): Likewise.
4178 (expm1_test_data): Likewise.
4179 (fabs_test_data): Likewise.
4180 (fdim_test_data): Likewise.
4181 (finite_test_data): Likewise.
4182 (floor_test_data): Likewise.
4183 (fma_test_data): Likewise.
4184 (fma_towardzero_test_data): Likewise.
4185 (fma_downward_test_data): Likewise.
4186 (fma_upward_test_data): Likewise.
4187 (fmax_test_data): Likewise.
4188 (fmin_test_data): Likewise.
4189 (fmod_test_data): Likewise.
4190 (fpclassify_test_data): Likewise.
4191 (frexp_test_data): Likewise.
4192 (gamma_test_data): Likewise.
4193 (hypot_test_data): Likewise.
4194 (ilogb_test_data): Likewise.
4195 (isfinite_test_data): Likewise.
4196 (isgreater_test_data): Likewise.
4197 (isgreaterequal_test_data): Likewise.
4198 (isinf_test_data): Likewise.
4199 (isless_test_data): Likewise.
4200 (islessequal_test_data): Likewise.
4201 (islessgreater_test_data): Likewise.
4202 (isnan_test_data): Likewise.
4203 (isnormal_test_data): Likewise.
4204 (issignaling_test_data): Likewise.
4205 (isunordered_test_data): Likewise.
4206 (j0_test_data): Likewise.
4207 (j1_test_data): Likewise.
4208 (jn_test_data): Likewise.
4209 (ldexp_test_data): Likewise.
4210 (lgamma_test_data): Likewise.
4211 (lrint_test_data): Likewise.
4212 (lrint_tonearest_test_data): Likewise.
4213 (lrint_towardzero_test_data): Likewise.
4214 (lrint_downward_test_data): Likewise.
4215 (lrint_upward_test_data): Likewise.
4216 (llrint_test_data): Likewise.
4217 (llrint_tonearest_test_data): Likewise.
4218 (llrint_towardzero_test_data): Likewise.
4219 (llrint_downward_test_data): Likewise.
4220 (llrint_upward_test_data): Likewise.
4221 (log_test_data): Likewise.
4222 (log10_test_data): Likewise.
4223 (log1p_test_data): Likewise.
4224 (log2_test_data): Likewise.
4225 (logb_test_data): Likewise.
4226 (logb_downward_test_data): Likewise.
4227 (lround_test_data): Likewise.
4228 (llround_test_data): Likewise.
4229 (modf_test_data): Likewise.
4230 (nearbyint_test_data): Likewise.
4231 (nextafter_test_data): Likewise.
4232 (nexttoward_test_data): Likewise.
4233 (pow_test_data): Likewise.
4234 (pow_tonearest_test_data): Likewise.
4235 (pow_towardzero_test_data): Likewise.
4236 (pow_downward_test_data): Likewise.
4237 (pow_upward_test_data): Likewise.
4238 (remainder_test_data): Likewise.
4239 (remainder_tonearest_test_data): Likewise.
4240 (remainder_towardzero_test_data): Likewise.
4241 (remainder_downward_test_data): Likewise.
4242 (remainder_upward_test_data): Likewise.
4243 (remquo_test_data): Likewise.
4244 (rint_test_data): Likewise.
4245 (rint_tonearest_test_data): Likewise.
4246 (rint_towardzero_test_data): Likewise.
4247 (rint_downward_test_data): Likewise.
4248 (rint_upward_test_data): Likewise.
4249 (round_test_data): Likewise.
4250 (scalb_test_data): Likewise.
4251 (scalbn_test_data): Likewise.
4252 (scalbln_test_data): Likewise.
4253 (signbit_test_data): Likewise.
4254 (sin_test_data): Likewise.
4255 (sin_tonearest_test_data): Likewise.
4256 (sin_towardzero_test_data): Likewise.
4257 (sin_downward_test_data): Likewise.
4258 (sin_upward_test_data): Likewise.
4259 (sincos_test_data): Likewise.
4260 (sinh_test_data): Likewise.
4261 (sinh_tonearest_test_data): Likewise.
4262 (sinh_towardzero_test_data): Likewise.
4263 (sinh_downward_test_data): Likewise.
4264 (sinh_upward_test_data): Likewise.
4265 (sqrt_test_data): Likewise.
4266 (tan_test_data): Likewise.
4267 (tan_tonearest_test_data): Likewise.
4268 (tan_towardzero_test_data): Likewise.
4269 (tan_downward_test_data): Likewise.
4270 (tan_upward_test_data): Likewise.
4271 (tanh_test_data): Likewise.
4272 (tgamma_test_data): Likewise.
4273 (trunc_test_data): Likewise.
4274 (y0_test_data): Likewise.
4275 (y1_test_data): Likewise.
4276 (yn_test_data): Likewise.
4277 (significand_test_data): Likewise.
4279 * math/gen-libm-test.pl (@functions): Remove variable.
4280 (generate_testfile): Don't handle START and END lines.
4281 * math/libm-test.inc (START): New macro.
4283 (END_COMPLEX): Likewise.
4284 (acos_test): Use END macro without arguments.
4285 (acos_test_tonearest): Likewise.
4286 (acos_test_towardzero): Likewise.
4287 (acos_test_downward): Likewise.
4288 (acos_test_upward): Likewise.
4289 (acosh_test): Likewise.
4290 (asin_test): Likewise.
4291 (asin_test_tonearest): Likewise.
4292 (asin_test_towardzero): Likewise.
4293 (asin_test_downward): Likewise.
4294 (asin_test_upward): Likewise.
4295 (asinh_test): Likewise.
4296 (atan_test): Likewise.
4297 (atanh_test): Likewise.
4298 (atan2_test): Likewise.
4299 (cabs_test): Likewise.
4300 (cacos_test): Use END_COMPLEX macro without arguments.
4301 (cacosh_test): Likewise.
4302 (carg_test): Use END macro without arguments.
4303 (casin_test): Use END_COMPLEX macro without arguments.
4304 (casinh_test): Likewise.
4305 (catan_test): Likewise.
4306 (catanh_test): Likewise.
4307 (cbrt_test): Use END macro without arguments.
4308 (ccos_test): Use END_COMPLEX macro without arguments.
4309 (ccosh_test): Likewise.
4310 (ceil_test): Use END macro without arguments.
4311 (cexp_test): Use END_COMPLEX macro without arguments.
4312 (cimag_test): Use END macro without arguments.
4313 (clog_test): Use END_COMPLEX macro without arguments.
4314 (clog10_test): Likewise.
4315 (conj_test): Likewise.
4316 (copysign_test): Use END macro without arguments.
4317 (cos_test): Likewise.
4318 (cos_test_tonearest): Likewise.
4319 (cos_test_towardzero): Likewise.
4320 (cos_test_downward): Likewise.
4321 (cos_test_upward): Likewise.
4322 (cosh_test): Likewise.
4323 (cosh_test_tonearest): Likewise.
4324 (cosh_test_towardzero): Likewise.
4325 (cosh_test_downward): Likewise.
4326 (cosh_test_upward): Likewise.
4327 (cpow_test): Use END_COMPLEX macro without arguments.
4328 (cproj_test): Likewise.
4329 (creal_test): Use END macro without arguments.
4330 (csin_test): Use END_COMPLEX macro without arguments.
4331 (csinh_test): Likewise.
4332 (csqrt_test): Likewise.
4333 (ctan_test): Likewise.
4334 (ctan_test_tonearest): Likewise.
4335 (ctan_test_towardzero): Likewise.
4336 (ctan_test_downward): Likewise.
4337 (ctan_test_upward): Likewise.
4338 (ctanh_test): Likewise.
4339 (ctanh_test_tonearest): Likewise.
4340 (ctanh_test_towardzero): Likewise.
4341 (ctanh_test_downward): Likewise.
4342 (ctanh_test_upward): Likewise.
4343 (erf_test): Use END macro without arguments.
4344 (erfc_test): Likewise.
4345 (exp_test): Likewise.
4346 (exp_test_tonearest): Likewise.
4347 (exp_test_towardzero): Likewise.
4348 (exp_test_downward): Likewise.
4349 (exp_test_upward): Likewise.
4350 (exp10_test): Likewise.
4351 (exp2_test): Likewise.
4352 (expm1_test): Likewise.
4353 (fabs_test): Likewise.
4354 (fdim_test): Likewise.
4355 (finite_test): Likewise.
4356 (floor_test): Likewise.
4357 (fma_test): Likewise.
4358 (fma_test_towardzero): Likewise.
4359 (fma_test_downward): Likewise.
4360 (fma_test_upward): Likewise.
4361 (fmax_test): Likewise.
4362 (fmin_test): Likewise.
4363 (fmod_test): Likewise.
4364 (fpclassify_test): Likewise.
4365 (frexp_test): Likewise.
4366 (gamma_test): Likewise.
4367 (hypot_test): Likewise.
4368 (ilogb_test): Likewise.
4369 (isfinite_test): Likewise.
4370 (isgreater_test): Likewise.
4371 (isgreaterequal_test): Likewise.
4372 (isinf_test): Likewise.
4373 (isless_test): Likewise.
4374 (islessequal_test): Likewise.
4375 (islessgreater_test): Likewise.
4376 (isnan_test): Likewise.
4377 (isnormal_test): Likewise.
4378 (issignaling_test): Likewise.
4379 (isunordered_test): Likewise.
4380 (j0_test): Likewise.
4381 (j1_test): Likewise.
4382 (jn_test): Likewise.
4383 (ldexp_test): Likewise.
4384 (lgamma_test): Likewise.
4385 (lrint_test): Likewise.
4386 (lrint_test_tonearest): Likewise.
4387 (lrint_test_towardzero): Likewise.
4388 (lrint_test_downward): Likewise.
4389 (lrint_test_upward): Likewise.
4390 (llrint_test): Likewise.
4391 (llrint_test_tonearest): Likewise.
4392 (llrint_test_towardzero): Likewise.
4393 (llrint_test_downward): Likewise.
4394 (llrint_test_upward): Likewise.
4395 (log_test): Likewise.
4396 (log10_test): Likewise.
4397 (log1p_test): Likewise.
4398 (log2_test): Likewise.
4399 (logb_test): Likewise.
4400 (logb_test_downward): Likewise.
4401 (lround_test): Likewise.
4402 (llround_test): Likewise.
4403 (modf_test): Likewise.
4404 (nearbyint_test): Likewise.
4405 (nextafter_test): Likewise.
4406 (nexttoward_test): Likewise.
4407 (pow_test): Likewise.
4408 (pow_test_tonearest): Likewise.
4409 (pow_test_towardzero): Likewise.
4410 (pow_test_downward): Likewise.
4411 (pow_test_upward): Likewise.
4412 (remainder_test): Likewise.
4413 (remainder_test_tonearest): Likewise.
4414 (remainder_test_towardzero): Likewise.
4415 (remainder_test_downward): Likewise.
4416 (remainder_test_upward): Likewise.
4417 (remquo_test): Likewise.
4418 (rint_test): Likewise.
4419 (rint_test_tonearest): Likewise.
4420 (rint_test_towardzero): Likewise.
4421 (rint_test_downward): Likewise.
4422 (rint_test_upward): Likewise.
4423 (round_test): Likewise.
4424 (scalb_test): Likewise.
4425 (scalbn_test): Likewise.
4426 (scalbln_test): Likewise.
4427 (signbit_test): Likewise.
4428 (sin_test): Likewise.
4429 (sin_test_tonearest): Likewise.
4430 (sin_test_towardzero): Likewise.
4431 (sin_test_downward): Likewise.
4432 (sin_test_upward): Likewise.
4433 (sincos_test): Likewise.
4434 (sinh_test): Likewise.
4435 (sinh_test_tonearest): Likewise.
4436 (sinh_test_towardzero): Likewise.
4437 (sinh_test_downward): Likewise.
4438 (sinh_test_upward): Likewise.
4439 (sqrt_test): Likewise.
4440 (tan_test): Likewise.
4441 (tan_test_tonearest): Likewise.
4442 (tan_test_towardzero): Likewise.
4443 (tan_test_downward): Likewise.
4444 (tan_test_upward): Likewise.
4445 (tanh_test): Likewise.
4446 (tgamma_test): Likewise.
4447 (trunc_test): Likewise.
4448 (y0_test): Likewise.
4449 (y1_test): Likewise.
4450 (yn_test): Likewise.
4451 (significand_test): Likewise.
4453 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4456 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4458 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4461 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4462 __ppc_mdoio and __ppc_mdoom.
4463 * manual/platform.texi: Document new functions __ppc_yield,
4464 __ppc_mdoio and __ppc_mdoom.
4466 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4468 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4469 (main): Mention "tls" pseudo-hwcap is legacy.
4470 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4472 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4474 * math/gen-libm-test.pl (parse_args): Output only string of
4475 arguments as text for test name, not full call or descriptions of
4476 tests for extra outputs.
4477 (generate_testfile): Do not pass function name to parse_args.
4478 Generate this_func variable from START.
4479 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4481 (struct test_ff_f_data): Likewise.
4482 (test_ff_f_data_nexttoward): Likewise.
4483 (struct test_fi_f_data): Likewise.
4484 (struct test_fl_f_data): Likewise.
4485 (struct test_if_f_data): Likewise.
4486 (struct test_fff_f_data): Likewise.
4487 (struct test_c_f_data): Likewise.
4488 (struct test_f_f1_data): Likewise. Remove field extra_name.
4489 (struct test_fF_f1_data): Likewise.
4490 (struct test_ffI_f1_data): Likewise.
4491 (struct test_c_c_data): Rename test_name field to arg_str.
4492 (struct test_cc_c_data): Likewise.
4493 (struct test_f_i_data): Likewise.
4494 (struct test_ff_i_data): Likewise.
4495 (struct test_f_l_data): Likewise.
4496 (struct test_f_L_data): Likewise.
4497 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4499 (COMMON_TEST_SETUP): New macro.
4500 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4501 (COMMON_TEST_CLEANUP): Likewise.
4502 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4503 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4505 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4506 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4508 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4509 (RUN_TEST_fff_f): Take argument string. Call new setup and
4511 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4512 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4514 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4515 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4517 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4518 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4520 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4521 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4523 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4524 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4526 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4527 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4529 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4530 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4532 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4533 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4535 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4536 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4538 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4539 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4541 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4542 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4544 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4545 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4547 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4548 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4550 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4551 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4553 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4554 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4556 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4558 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4560 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4561 to _sifields.sigfault.
4562 (si_addr_lsb): Define new macro.
4563 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4564 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4565 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4567 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4570 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4572 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4574 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4577 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4579 * math/gen-libm-test.pl (parse_args): Do not include expected
4580 result in test name.
4581 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4583 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4584 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4585 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4588 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4590 * benchtests/Makefile: Sort function entries.
4592 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4593 tanh, asinh, acosh, atanh.
4594 * benchtests/acos-inputs: New file.
4595 * benchtests/acosh-inputs: New file.
4596 * benchtests/asin-inputs: New file.
4597 * benchtests/asinh-inputs: New file.
4598 * benchtests/atanh-inputs: New file.
4599 * benchtests/cosh-inputs: New file.
4600 * benchtests/log-inputs: New file.
4601 * benchtests/sinh-inputs: New file.
4602 * benchtests/tanh-inputs: New file.
4604 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4607 * posix/tst-getaddrinfo4.c: New test.
4608 * posix/Makefile (tests): Add it.
4610 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4613 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4614 when no services were used.
4615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4616 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4618 2013-05-21 Andreas Schwab <schwab@suse.de>
4621 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4622 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4624 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4625 redundant variable declarations and reallocation of buffer when
4626 parsing as IPv6 address. Always set NSS status when called from
4627 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4628 buffer too small. Correct computation of needed size.
4629 * nss/Makefile (tests): Add test-digits-dots.
4630 * nss/test-digits-dots.c: New test.
4632 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4634 * benchtests/Makefile: Remove instructions for adding
4636 * benchtests/README: New file to explain how to execute and
4637 enhance the benchmark tests.
4639 2013-05-21 Andreas Schwab <schwab@suse.de>
4642 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4643 * setjmp/tst-sigsetjmp.c: New test.
4645 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4647 * sysdeps/x86_64/memset.S (memset): New implementation.
4648 (__bzero): Likewise.
4649 (__memset_tail): New function.
4651 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4653 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4654 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4655 __memcpy_sse2_unaligned ifunc selection.
4656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4657 Add memcpy-sse2-unaligned.S.
4658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4659 Add: __memcpy_sse2_unaligned.
4661 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4664 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4665 math_force_eval before restoring floating-point envrionment.
4666 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4669 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4671 (__nearbyintl): Use math_force_eval before restoring
4672 floating-point environment.
4673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4675 * math/gen-libm-test.pl (special_functions): Remove.
4676 (parse_args): Don't handle TEST_extra. Handle functions with no
4678 * math/libm-test.inc (struct test_sincos_data): Replace with
4679 struct test_fFF_11_data.
4680 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4681 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4682 (sincos_test_data): Change element type to struct
4683 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4684 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4685 RUN_TEST_LOOP_sincos.
4686 * math/README.libm-test: Don't mention special handling of
4687 individual functions.
4688 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4690 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4691 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695 * math/gen-libm-test.pl (get_variable): Remove function.
4696 (parse_args): Don't show pointer parameters to call in test
4697 names. Use "extra output N" in test names for extra outputs
4698 rather than naming variables.
4700 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4703 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4704 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4705 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4707 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4709 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4712 * math/gen-libm-test.pl (@tests): Remove variable.
4714 (new_test): Remove function.
4715 (show_exceptions): New function.
4716 (special_functions): Use show_exceptions instead of new_test.
4717 (parse_args): Likewise.
4718 (generate_testfile): Pass only function name in generated call to
4719 print_max_error or print_complex_max_error.
4720 (get_ulps): Do not handle complex tests specially.
4721 (output_test): Rename to ...
4722 (get_all_ulps_for_test): ... this. Return a string rather than
4723 printing to a file. Require ulps to be present.
4724 (output_ulps): Generate arrays rather than #defines.
4725 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4726 (struct ulp_data): New type.
4727 (BUILD_COMPLEX_ULP): Remove macro.
4728 (compare_ulp_data): New function.
4729 (find_ulps): Likewise.
4730 (find_test_ulps): Likewise.
4731 (find_function_ulps): Likewise.
4732 (find_complex_function_ulps): Likewise.
4733 (print_max_error): Determine allowed ulps using
4735 (print_complex_max_error): Determine allowed ulps using
4736 find_complex_function_ulps.
4737 (check_float_internal): Determine max ulps using find_test_ulps.
4738 (check_float): Do not take max_ulp parameter. Update call to
4739 check_float_internal.
4740 (check_complex): Likewise.
4741 (check_int): Do not take max_ulp parameter.
4742 (check_long): Likewise.
4743 (check_bool): Likewise.
4744 (check_longlong): Likewise.
4745 (struct test_f_f_data): Remove max_ulp field.
4746 (struct test_ff_f_data): Likewise.
4747 (struct test_ff_f_data_nexttoward): Likewise.
4748 (struct test_fi_f_data): Likewise.
4749 (struct test_fl_f_data): Likewise.
4750 (struct test_if_f_data): Likewise.
4751 (struct test_fff_f_data): Likewise.
4752 (struct test_c_f_data): Likewise.
4753 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4754 (struct test_fF_f1_data): Likewise.
4755 (struct test_ffI_f1_data): Likewise.
4756 (struct test_c_c_data): Remove max_ulp field.
4757 (struct test_cc_c_data): Likewise.
4758 (struct test_f_i_data): Likewise.
4759 (struct test_ff_i_data): Likewise.
4760 (struct test_f_l_data): Likewise.
4761 (struct test_f_L_data): Likewise.
4762 (struct test_sincos_data): Likewise.
4763 (RUN_TEST_f_f): Do not handle ulps.
4764 (RUN_TEST_LOOP_f_f): Likewise.
4765 (RUN_TEST_2_f): Likewise.
4766 (RUN_TEST_LOOP_2_f): Likewise.
4767 (RUN_TEST_fff_f): Likewise.
4768 (RUN_TEST_LOOP_fff_f): Likewise.
4769 (RUN_TEST_c_f): Likewise.
4770 (RUN_TEST_LOOP_c_f): Likewise.
4771 (RUN_TEST_f_f1): Likewise.
4772 (RUN_TEST_LOOP_f_f1): Likewise.
4773 (RUN_TEST_fF_f1): Likewise.
4774 (RUN_TEST_LOOP_fF_f1): Likewise.
4775 (RUN_TEST_fI_f1): Likewise.
4776 (RUN_TEST_LOOP_fI_f1): Likewise.
4777 (RUN_TEST_ffI_f1): Likewise.
4778 (RUN_TEST_LOOP_ffI_f1): Likewise.
4779 (RUN_TEST_c_c): Likewise.
4780 (RUN_TEST_LOOP_c_c): Likewise.
4781 (RUN_TEST_cc_c): Likewise.
4782 (RUN_TEST_LOOP_cc_c): Likewise.
4783 (RUN_TEST_f_i): Likewise.
4784 (RUN_TEST_LOOP_f_i): Likewise.
4785 (RUN_TEST_f_i_tg): Likewise.
4786 (RUN_TEST_LOOP_f_i_tg): Likewise.
4787 (RUN_TEST_ff_i_tg): Likewise.
4788 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4789 (RUN_TEST_f_b): Likewise.
4790 (RUN_TEST_LOOP_f_b): Likewise.
4791 (RUN_TEST_f_b_tg): Likewise.
4792 (RUN_TEST_LOOP_f_b_tg): Likewise.
4793 (RUN_TEST_f_l): Likewise.
4794 (RUN_TEST_LOOP_f_l): Likewise.
4795 (RUN_TEST_f_L): Likewise.
4796 (RUN_TEST_LOOP_f_L): Likewise.
4797 (RUN_TEST_sincos): Likewise.
4798 (RUN_TEST_LOOP_sincos): Likewise.
4800 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4804 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4805 main case of finite arguments, set rounding mode to FE_TONEAREST
4806 and discard exceptions.
4807 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4809 (remainder_tonearest_test_data): New variable.
4810 (remainder_test_tonearest): New function.
4811 (remainder_towardzero_test_data): New variable.
4812 (remainder_test_towardzero): New function.
4813 (remainder_downward_test_data): New variable.
4814 (remainder_test_downward): New function.
4815 (remainder_upward_test_data): New variable.
4816 (remainder_test_upward): New function.
4817 (main): Call the new test functions.
4819 * math/libm-test.inc (struct test_f_f1_data): Remove field
4821 (struct test_fF_f1_data): Likewise.
4822 (struct test_ffI_f1_data): Likewise.
4823 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4824 based on value of EXTRA_EXPECTED.
4825 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4826 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4827 EXTRA_VAR based on value of EXTRA_EXPECTED.
4828 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4829 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4830 EXTRA_VAR based on value of EXTRA_EXPECTED.
4831 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4832 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4833 EXTRA_VAR based on value of EXTRA_EXPECTED.
4834 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4835 * math/gen-libm-test.pl (parse_args): Don't output initializers
4836 for extra output values.
4838 * math/libm-test.inc (check_int): Expect result to be exactly
4839 equal to expected value and do not handle ulps.
4840 (check_long): Likewise.
4841 (check_longlong): Likewise.
4843 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4845 (cimag_test_data): Likewise.
4846 (conj_test_data): Likewise.
4847 (copysign_test_data): Likewise.
4848 (cproj_test_data): Likewise.
4849 (creal_test_data): Likewise.
4850 (fabs_test_data): Likewise.
4851 (fdim_test_data): Likewise.
4852 (finite_test_data): Likewise.
4853 (floor_test_data): Likewise.
4854 (fmax_test_data): Likewise.
4855 (fmin_test_data): Likewise.
4856 (fmod_test_data): Likewise.
4857 (fpclassify_test_data): Likewise.
4858 (frexp_test_data): Likewise.
4859 (ilogb_test_data): Likewise.
4860 (isfinite_test_data): Likewise.
4861 (isgreater_test_data): Likewise.
4862 (isgreaterequal_test_data): Likewise.
4863 (isinf_test_data): Likewise.
4864 (isless_test_data): Likewise.
4865 (islessequal_test_data): Likewise.
4866 (islessgreater_test_data): Likewise.
4867 (isnan_test_data): Likewise.
4868 (isnormal_test_data): Likewise.
4869 (issignaling_test_data): Likewise.
4870 (isunordered_test_data): Likewise.
4871 (ldexp_test_data): Likewise.
4872 (lrint_test_data): Likewise.
4873 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4874 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4875 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4876 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4877 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4878 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4880 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4881 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4882 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4883 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4885 (lrint_downward_test_data): Test for "inexact" exceptions.
4886 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4887 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4888 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4890 (lrint_upward_test_data): Test for "inexact" exceptions.
4891 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4893 (llrint_test_data): Test for "inexact" exceptions.
4894 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4895 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4896 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4897 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4898 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4899 (llrint_downward_test_data): Test for "inexact" exceptions.
4900 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4901 (llrint_upward_test_data): Test for "inexact" exceptions.
4902 (logb_test_data): Likewise.
4903 (logb_downward_test_data): Likewise.
4904 (nextafter_test_data): Likewise.
4905 (nexttoward_test_data): Likewise.
4906 (remainder_test_data): Likewise.
4907 (remquo_test_data): Likewise.
4908 (scalbn_test_data): Likewise.
4909 (scalbln_test_data): Likewise.
4910 (signbit_test_data): Likewise.
4911 (sqrt_test_data): Likewise.
4912 (significand_test_data): Likewise.
4914 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4917 * benchtests/bench-modf.c (struct args): Mark arg0 as
4919 * scripts/bench.pl: Mark members of struct args as volatile.
4921 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4925 negative infinity on POWER6 or lower.
4926 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4928 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4931 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4932 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4933 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4934 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4935 (_FP_SETQNAN): New macro.
4936 (_FP_SETQNAN_SEMIRAW): Likewise.
4937 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4938 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4939 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4940 (FP_EXTEND): Use _FP_FRAC_SNANP.
4941 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4942 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4944 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4946 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4949 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4951 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4952 with DIVIDE_BY_ZERO_EXCEPTION.
4953 (gamma_test_data): Likewise.
4954 (lgamma_test_data): Likewise.
4955 (log_test_data): Likewise.
4956 (log10_test_data): Likewise.
4957 (log2_test_data): Likewise.
4958 (tgamma_test_data): Likewise.
4960 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4961 (acos_test_tonearest): Likewise.
4962 (acos_test_towardzero): Likewise.
4963 (acos_test_downward): Likewise.
4964 (acos_test_upward): Likewise.
4965 (acosh_test): Likewise.
4966 (asin_test): Likewise.
4967 (asin_test_tonearest): Likewise.
4968 (asin_test_towardzero): Likewise.
4969 (asin_test_downward): Likewise.
4970 (asin_test_upward): Likewise.
4971 (asinh_test): Likewise.
4972 (atan_test): Likewise.
4973 (atanh_test): Likewise.
4974 (atan2_test): Likewise.
4975 (cabs_test): Likewise.
4976 (cacos_test): Likewise.
4977 (cacosh_test): Likewise.
4978 (casin_test): Likewise.
4979 (casinh_test): Likewise.
4980 (catan_test): Likewise.
4981 (catanh_test): Likewise.
4982 (cbrt_test): Likewise.
4983 (ccos_test): Likewise.
4984 (ccosh_test): Likewise.
4985 (cexp_test): Likewise.
4986 (clog_test): Likewise.
4987 (clog10_test): Likewise.
4988 (cos_test): Likewise.
4989 (cos_test_tonearest): Likewise.
4990 (cos_test_towardzero): Likewise.
4991 (cos_test_downward): Likewise.
4992 (cos_test_upward): Likewise.
4993 (cosh_test): Likewise.
4994 (cosh_test_tonearest): Likewise.
4995 (cosh_test_towardzero): Likewise.
4996 (cosh_test_downward): Likewise.
4997 (cosh_test_upward): Likewise.
4998 (cpow_test): Likewise.
4999 (csin_test): Likewise.
5000 (csinh_test): Likewise.
5001 (csqrt_test): Likewise.
5002 (ctan_test): Likewise.
5003 (ctan_test_tonearest): Likewise.
5004 (ctan_test_towardzero): Likewise.
5005 (ctan_test_downward): Likewise.
5006 (ctan_test_upward): Likewise.
5007 (ctanh_test): Likewise.
5008 (ctanh_test_tonearest): Likewise.
5009 (ctanh_test_towardzero): Likewise.
5010 (ctanh_test_downward): Likewise.
5011 (ctanh_test_upward): Likewise.
5012 (erf_test): Likewise.
5013 (erfc_test): Likewise.
5014 (exp_test): Likewise.
5015 (exp_test_tonearest): Likewise.
5016 (exp_test_towardzero): Likewise.
5017 (exp_test_downward): Likewise.
5018 (exp_test_upward): Likewise.
5019 (exp10_test): Likewise.
5020 (exp2_test): Likewise.
5021 (expm1_test): Likewise.
5022 (fmod_test): Likewise.
5023 (gamma_test): Likewise.
5024 (hypot_test): Likewise.
5025 (j0_test): Likewise.
5026 (j1_test): Likewise.
5027 (jn_test): Likewise.
5028 (lgamma_test): Likewise.
5029 (log_test): Likewise.
5030 (log10_test): Likewise.
5031 (log1p_test): Likewise.
5032 (log2_test): Likewise.
5033 (logb_test_downward): Likewise.
5034 (pow_test): Likewise.
5035 (pow_test_tonearest): Likewise.
5036 (pow_test_towardzero): Likewise.
5037 (pow_test_downward): Likewise.
5038 (pow_test_upward): Likewise.
5039 (remainder_test): Likewise.
5040 (remquo_test): Likewise.
5041 (sin_test): Likewise.
5042 (sin_test_tonearest): Likewise.
5043 (sin_test_towardzero): Likewise.
5044 (sin_test_downward): Likewise.
5045 (sin_test_upward): Likewise.
5046 (sincos_test): Likewise.
5047 (sinh_test): Likewise.
5048 (sinh_test_tonearest): Likewise.
5049 (sinh_test_towardzero): Likewise.
5050 (sinh_test_downward): Likewise.
5051 (sinh_test_upward): Likewise.
5052 (sqrt_test): Likewise.
5053 (tan_test): Likewise.
5054 (tan_test_tonearest): Likewise.
5055 (tan_test_towardzero): Likewise.
5056 (tan_test_downward): Likewise.
5057 (tan_test_upward): Likewise.
5058 (tanh_test): Likewise.
5059 (tgamma_test): Likewise.
5060 (y0_test): Likewise.
5061 (y1_test): Likewise.
5062 (yn_test): Likewise.
5064 * math/gen-libm-test.pl (adjust_arg): Remove function.
5065 (special_function): Remove argument $in_func. Only handle
5066 generating output for tables of tests, not inside functions.
5067 (parse_args): Likewise.
5068 (generate_testfile): Remove variable $in_func. Update call to
5070 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5071 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5072 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5073 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5074 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5075 (MAX_VALUE_INIT): Rename macro to max_value.
5076 (MIN_VALUE_INIT): Rename macro to min_value.
5077 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5078 (plus_zero): Remove variable.
5079 (minus_zero): Likewise.
5080 (plus_infty): Likewise.
5081 (minus_infty): Likewise.
5082 (qnan_value): Likewise.
5083 (max_value): Likewise.
5084 (min_value): Likewise.
5085 (min_subnorm_value): Likewise.
5087 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5089 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5090 uint64_t or uint32_t usage.
5091 * crypt/sha256-block.c: Likewise.
5092 * crypt/sha256-crypt.c: Likewise.
5093 * crypt/sha256.c: Likewise.
5094 * crypt/sha512-block.c: Likewise.
5095 * crypt/sha512-crypt.c: Likewise.
5096 * crypt/sha512.c: Likewise.
5097 * debug/backtrace-tst.c: Likewise.
5098 * debug/pcprofiledump.c: Likewise.
5099 * elf/cache.c: Likewise.
5100 * elf/dl-cache.c: Likewise.
5101 * elf/dl-misc.c: Likewise.
5102 * elf/dl-profile.c: Likewise.
5103 * elf/dl-support.c: Likewise.
5104 * elf/ldconfig.c: Likewise.
5105 * elf/sprof.c: Likewise.
5106 * iconv/dummy-repertoire.c: Likewise.
5107 * iconv/iconv_charmap.c: Likewise.
5108 * iconv/skeleton.c: Likewise.
5109 * iconvdata/8bit-generic.c: Likewise.
5110 * iconvdata/cp737.h: Likewise.
5111 * iconvdata/cp775.h: Likewise.
5112 * iconvdata/ibm1008.h: Likewise.
5113 * iconvdata/ibm1025.h: Likewise.
5114 * iconvdata/ibm1046.h: Likewise.
5115 * iconvdata/ibm1097.h: Likewise.
5116 * iconvdata/ibm1112.h: Likewise.
5117 * iconvdata/ibm1122.h: Likewise.
5118 * iconvdata/ibm1123.h: Likewise.
5119 * iconvdata/ibm1124.h: Likewise.
5120 * iconvdata/ibm1129.h: Likewise.
5121 * iconvdata/ibm1130.h: Likewise.
5122 * iconvdata/ibm1132.h: Likewise.
5123 * iconvdata/ibm1133.h: Likewise.
5124 * iconvdata/ibm1137.h: Likewise.
5125 * iconvdata/ibm1140.h: Likewise.
5126 * iconvdata/ibm1141.h: Likewise.
5127 * iconvdata/ibm1142.h: Likewise.
5128 * iconvdata/ibm1143.h: Likewise.
5129 * iconvdata/ibm1144.h: Likewise.
5130 * iconvdata/ibm1145.h: Likewise.
5131 * iconvdata/ibm1146.h: Likewise.
5132 * iconvdata/ibm1147.h: Likewise.
5133 * iconvdata/ibm1148.h: Likewise.
5134 * iconvdata/ibm1149.h: Likewise.
5135 * iconvdata/ibm1153.h: Likewise.
5136 * iconvdata/ibm1154.h: Likewise.
5137 * iconvdata/ibm1155.h: Likewise.
5138 * iconvdata/ibm1156.h: Likewise.
5139 * iconvdata/ibm1157.h: Likewise.
5140 * iconvdata/ibm1158.h: Likewise.
5141 * iconvdata/ibm1160.h: Likewise.
5142 * iconvdata/ibm1161.h: Likewise.
5143 * iconvdata/ibm1162.h: Likewise.
5144 * iconvdata/ibm1163.h: Likewise.
5145 * iconvdata/ibm1164.h: Likewise.
5146 * iconvdata/ibm1166.h: Likewise.
5147 * iconvdata/ibm1167.h: Likewise.
5148 * iconvdata/ibm12712.h: Likewise.
5149 * iconvdata/ibm1390.h: Likewise.
5150 * iconvdata/ibm1399.h: Likewise.
5151 * iconvdata/ibm16804.h: Likewise.
5152 * iconvdata/ibm4517.h: Likewise.
5153 * iconvdata/ibm4899.h: Likewise.
5154 * iconvdata/ibm4909.h: Likewise.
5155 * iconvdata/ibm4971.h: Likewise.
5156 * iconvdata/ibm5347.h: Likewise.
5157 * iconvdata/ibm803.h: Likewise.
5158 * iconvdata/ibm856.h: Likewise.
5159 * iconvdata/ibm901.h: Likewise.
5160 * iconvdata/ibm902.h: Likewise.
5161 * iconvdata/ibm9030.h: Likewise.
5162 * iconvdata/ibm9066.h: Likewise.
5163 * iconvdata/ibm921.h: Likewise.
5164 * iconvdata/ibm922.h: Likewise.
5165 * iconvdata/ibm9448.h: Likewise.
5166 * iconvdata/isiri-3342.h: Likewise.
5167 * iconvdata/jis0201.h: Likewise.
5168 * include/link.h: Likewise.
5169 * include/netdb.h: Likewise.
5170 * inet/check_native.c: Likewise.
5171 * inet/check_pf.c: Likewise.
5172 * inet/getipv4sourcefilter.c: Likewise.
5173 * inet/getnameinfo.c: Likewise.
5174 * inet/getsourcefilter.c: Likewise.
5175 * inet/htonl.c: Likewise.
5176 * inet/setipv4sourcefilter.c: Likewise.
5177 * inet/setsourcefilter.c: Likewise.
5178 * inet/test-inet6_opt.c: Likewise.
5179 * inet/tst-network.c: Likewise.
5180 * locale/C-collate.c: Likewise.
5181 * locale/C-ctype.c: Likewise.
5182 * locale/C-time.c: Likewise.
5183 * locale/C-translit.h: Likewise.
5184 * locale/loadarchive.c: Likewise.
5185 * locale/programs/3level.h: Likewise.
5186 * locale/programs/charmap.c: Likewise.
5187 * locale/programs/charmap.h: Likewise.
5188 * locale/programs/ld-address.c: Likewise.
5189 * locale/programs/ld-collate.c: Likewise.
5190 * locale/programs/ld-ctype.c: Likewise.
5191 * locale/programs/ld-identification.c: Likewise.
5192 * locale/programs/ld-measurement.c: Likewise.
5193 * locale/programs/ld-messages.c: Likewise.
5194 * locale/programs/ld-monetary.c: Likewise.
5195 * locale/programs/ld-name.c: Likewise.
5196 * locale/programs/ld-numeric.c: Likewise.
5197 * locale/programs/ld-paper.c: Likewise.
5198 * locale/programs/ld-telephone.c: Likewise.
5199 * locale/programs/ld-time.c: Likewise.
5200 * locale/programs/linereader.c: Likewise.
5201 * locale/programs/locale.c: Likewise.
5202 * locale/programs/locarchive.c: Likewise.
5203 * locale/programs/locfile.h: Likewise.
5204 * locale/programs/repertoire.c: Likewise.
5205 * locale/programs/simple-hash.c: Likewise.
5206 * locale/programs/simple-hash.h: Likewise.
5207 * malloc/memusage.c: Likewise.
5208 * malloc/memusagestat.c: Likewise.
5209 * nis/nis_defaults.c: Likewise.
5210 * nis/nis_hash.c: Likewise.
5211 * nis/nis_print.c: Likewise.
5212 * nis/nis_xdr.c: Likewise.
5213 * nscd/connections.c: Likewise.
5214 * nscd/hstcache.c: Likewise.
5215 * nscd/nscd_gethst_r.c: Likewise.
5216 * nscd/nscd_getserv_r.c: Likewise.
5217 * nscd/nscd_helper.c: Likewise.
5218 * nscd/servicescache.c: Likewise.
5219 * nss/makedb.c: Likewise.
5220 * nss/nss_db/db-XXX.c: Likewise.
5221 * nss/nss_db/db-initgroups.c: Likewise.
5222 * nss/nss_db/db-netgrp.c: Likewise.
5223 * nss/nss_files/files-network.c: Likewise.
5224 * nss/nss_files/files-parse.c: Likewise.
5225 * posix/bug-regex5.c: Likewise.
5226 * posix/fnmatch_loop.c: Likewise.
5227 * posix/regcomp.c: Likewise.
5228 * posix/regexec.c: Likewise.
5229 * posix/tst-rfc3484-2.c: Likewise.
5230 * posix/tst-rfc3484-3.c: Likewise.
5231 * posix/tst-rfc3484.c: Likewise.
5232 * resolv/nss_dns/dns-canon.c: Likewise.
5233 * resolv/nss_dns/dns-network.c: Likewise.
5234 * resolv/res_init.c: Likewise.
5235 * resolv/res_mkquery.c: Likewise.
5236 * resolv/tst-aton.c: Likewise.
5237 * stdlib/cxa_atexit.c: Likewise.
5238 * stdlib/cxa_finalize.c: Likewise.
5239 * stdlib/gen-fpioconst.c: Likewise.
5240 * stdlib/strtol_l.c: Likewise.
5241 * string/tst-endian.c: Likewise.
5242 * sunrpc/auth_des.c: Likewise.
5243 * sunrpc/clnt_udp.c: Likewise.
5244 * sunrpc/rtime.c: Likewise.
5245 * sunrpc/svcauth_des.c: Likewise.
5246 * sunrpc/xdr.c: Likewise.
5247 * sunrpc/xdr_intXX_t.c: Likewise.
5248 * sunrpc/xdr_rec.c: Likewise.
5249 * sysdeps/generic/ldconfig.h: Likewise.
5250 * sysdeps/generic/ldsodefs.h: Likewise.
5251 * sysdeps/generic/memusage.h: Likewise.
5252 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5255 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5262 * sysdeps/posix/getaddrinfo.c: Likewise.
5263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5265 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5267 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5268 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5269 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5270 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5271 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5273 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5274 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5275 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5276 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5278 * sysdeps/x86_64/dl-tls.h: Likewise.
5279 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5280 * time/alt_digit.c: Likewise.
5281 * time/era.c: Likewise.
5282 * wcsmbs/tst-c16c32-1.c: Likewise.
5284 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5286 * math/libm-test.inc (struct test_sincos_data): New type.
5287 (RUN_TEST_LOOP_sincos): New macro.
5288 (sincos_test_data): New variable.
5289 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5291 2013-05-16 Richard Henderson <rth@redhat.com>
5293 * math/atest-exp2.c (LIMB64): New macro.
5294 (CONSTSZ): New macro.
5295 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5297 (print_mpn_fp): ... to function scope.
5298 (read_mpn_hex): Remove.
5300 (exp2_mpn): Use mp_log2.
5301 (main): Use mp_exp1.
5303 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5305 * math/libm-test.inc: Remove comment about not testing "inexact"
5307 (INEXACT_EXCEPTION): New macro.
5308 (NO_INEXACT_EXCEPTION): Likewise.
5309 (INVALID_EXCEPTION_OK): Update value.
5310 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5311 (OVERFLOW_EXCEPTION_OK): Likewise.
5312 (UNDERFLOW_EXCEPTION_OK): Likewise.
5313 (IGNORE_ZERO_INF_SIGN): Likewise.
5314 (ERRNO_UNCHANGED): Likewise.
5315 (ERRNO_EDOM): Likewise.
5316 (ERRNO_ERANGE): Likewise.
5317 (test_exceptions): Handle testing "inexact" exceptions.
5318 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5319 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5320 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5321 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5323 (rint_towardzero_test_data): Likewise.
5324 (rint_downward_test_data): Likewise.
5325 (rint_upward_test_data): Likewise.
5327 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5328 with OVERFLOW_EXCEPTION.
5329 (exp10_test_data): Likewise.
5330 (exp2_test_data): Likewise.
5331 (expm1_test_data): Likewise.
5332 (lgamma_test_data): Likewise.
5333 (pow_test_data): Likewise.
5334 (tgamma_test_data): Likewise.
5335 (yn_test_data): Remove duplicate test of overflow.
5337 * math/libm-test.inc (struct test_cc_c_data): New type.
5338 (RUN_TEST_LOOP_cc_c): New macro.
5339 (cpow_test_data): New variable.
5340 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5342 * math/libm-test.inc (struct test_f_L_data): New type.
5343 (RUN_TEST_LOOP_f_L): New macro.
5344 (llrint_test_data): New variable.
5345 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5346 (llrint_tonearest_test_data): New variable.
5347 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5348 (llrint_towardzero_test_data): New variable.
5349 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5350 (llrint_downward_test_data): New variable.
5351 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5352 (llrint_upward_test_data): New variable.
5353 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5354 (llround_test_data): New variable.
5355 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5357 2013-05-13 Peter Collingbourne <pcc@google.com>
5359 * math/atest-exp2.c (get_log2): Remove const attribute.
5361 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5363 * math/libm-test.inc (struct test_f_l_data): New type.
5364 (RUN_TEST_LOOP_f_l): New macro.
5365 (lrint_test_data): New variable.
5366 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5367 (lrint_tonearest_test_data): New variable.
5368 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5369 (lrint_towardzero_test_data): New variable.
5370 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5371 (lrint_downward_test_data): New variable.
5372 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5373 (lrint_upward_test_data): New variable.
5374 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5375 (lround_test_data): New variable.
5376 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5378 2013-05-15 Peter Collingbourne <pcc@google.com>
5380 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5381 (EXTRACT_WORDS64) Use where appropriate.
5382 (INSERT_WORDS64) Likewise.
5384 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5385 constraints with x constraints.
5386 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5388 * malloc/obstack.c (_obstack_compat): Add initializer.
5390 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5392 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5393 si_trapno and add si_addr_lsb to _sifields.sigfault.
5394 (si_trapno): Remove macro.
5395 (si_addr_lsb): Define new macro.
5396 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5398 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5400 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5401 instead of TEST_f_l.
5402 (llrint_test_tonearest): Likewise.
5403 (llrint_test_towardzero): Likewise.
5404 (llrint_test_downward): Likewise.
5405 (llrint_test_upward): Likewise.
5406 (llround_test): Likewise.
5408 * math/libm-test.inc (struct test_f_i_data): Add comment.
5409 (RUN_TEST_LOOP_f_b): New macro.
5410 (RUN_TEST_LOOP_f_b_tg): Likewise.
5411 (finite_test_data): New variable.
5412 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5413 (isfinite_test_data): New variable.
5414 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5415 (isinf_test_data): New variable.
5416 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5417 (isnan_test_data): New variable.
5418 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5419 (isnormal_test_data): New variable.
5420 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5421 (issignaling_test_data): New variable.
5422 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5423 (signbit_test_data): New variable.
5424 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5426 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5427 with INVALID_EXCEPTION.
5428 (acosh_test_data): Likewise.
5429 (asin_test_data): Likewise.
5430 (atanh_test_data): Likewise.
5431 (fmod_test_data): Likewise.
5432 (log_test_data): Likewise.
5433 (log10_test_data): Likewise.
5434 (log2_test_data): Likewise.
5435 (pow_test_data): Likewise.
5436 (sqrt_test_data): Likewise.
5437 (y0_test_data): Likewise.
5438 (y1_test_data): Likewise.
5439 (yn_test_data): Likewise.
5441 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5444 * math/libm-test.inc (struct test_ff_i_data): New type.
5445 (RUN_TEST_LOOP_ff_i_tg): New macro.
5446 (isgreater_test_data): New variable.
5447 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5448 (isgreaterequal_test_data): New variable.
5449 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5450 (isless_test_data): New variable.
5451 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5452 (islessequal_test_data): New variable.
5453 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5454 (islessgreater_test_data): New variable.
5455 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5456 (isunordered_test_data): New variable.
5457 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5459 2013-05-14 David S. Miller <davem@davemloft.net>
5461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5463 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5465 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5467 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5469 (struct test_f_i_data): Change type of max_ulp to int.
5471 * math/libm-test.inc (test_ffI_f1_data): New type.
5472 (RUN_TEST_LOOP_ffI_f1): New macro.
5473 (remquo_test_data): New variable.
5474 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5476 * setjmp/tst-setjmp-fp.c: New file.
5477 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5478 (link-libm): New variable.
5479 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5481 * math/libm-test.inc (struct test_f_i_data): New type.
5482 (RUN_TEST_LOOP_f_i): New macro.
5483 (RUN_TEST_LOOP_f_i_tg): Likewise.
5484 (fpclassify_test_data): New variable.
5485 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5486 (ilogb_test_data): New variable.
5487 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5489 * math/libm-test.inc (scalbln_test): Correct function name in END
5492 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5493 (RUN_TEST_LOOP_fI_f1): New macro.
5494 (frexp_test_data): New variable.
5495 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5497 * math/libm-test.inc (struct test_fF_f1_data): New type.
5498 (RUN_TEST_LOOP_fF_f1): New macro.
5499 (modf_test_data): New variable.
5500 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5502 * math/libm-test.inc (struct test_f_f1_data): New type.
5503 (RUN_TEST_LOOP_f_f1): New macro.
5504 (gamma_test_data): New variable.
5505 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5506 (lgamma_test_data): New variable.
5507 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5509 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5511 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5512 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5513 (main): Comment "tls" pseudo-hwcap.
5515 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5517 * math/libm-test.inc (struct test_fl_f_data): New type.
5518 (RUN_TEST_LOOP_fl_f): New variable.
5519 (scalbln_test_data): New variable.
5520 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5522 * math/libm-test.inc (struct test_fi_f_data): New type.
5523 (RUN_TEST_LOOP_fi_f): New macro.
5524 (ldexp_test_data): New variable.
5525 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5526 (scalbn_test_data): New variable.
5527 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5529 * math/libm-test.inc (struct test_c_f_data): New type.
5530 (RUN_TEST_LOOP_c_f): New macro.
5531 (cabs_test_data): New variable.
5532 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5533 (carg_test_data): New variable.
5534 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5535 (cimag_test_data): New variable.
5536 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5537 (creal_test_data): New variable.
5538 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5540 * math/libm-test.inc (struct test_if_f_data): New type.
5541 (RUN_TEST_LOOP_if_f): New macro.
5542 (jn_test_data): New variable.
5543 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5544 (yn_test_data): New variable.
5545 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5547 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5549 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5552 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5554 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5556 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5557 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5558 (bench-deps): Add bench-timing.h.
5559 * benchtests-bench-skeleton.c: Include bench-timing.h.
5560 (main): Use TIMING_* macros instead of clock_gettime.
5561 * benchtests/bench-timing.h: New file.
5564 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5565 Renamed from _LIB_VERSION.
5566 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5568 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5570 * math/libm-test.inc (struct test_fff_f_data): New type.
5571 (RUN_TEST_LOOP_fff_f): New macro.
5572 (fma_test_data): New variable.
5573 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5574 (fma_towardzero_test_data): New variable.
5575 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5576 (fma_downward_test_data): New variable.
5577 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5578 (fma_upward_test_data): New variable.
5579 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5581 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5582 (struct test_c_c_data): New type.
5583 (RUN_TEST_LOOP_c_c): New macro.
5584 (cacos_test_data): New variable.
5585 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5586 (cacosh_test_data): New variable.
5587 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5588 (casin_test_data): New variable.
5589 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5590 (casinh_test_data): New variable.
5591 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5592 (catan_test_data): New variable.
5593 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5594 (catanh_test_data): New variable.
5595 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5596 (ccos_test_data): New variable.
5597 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5598 (ccosh_test_data): New variable.
5599 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5600 (cexp_test_data): New variable.
5601 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5602 (clog_test_data): New variable.
5603 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5604 (clog10_test_data): New variable.
5605 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5606 (conj_test_data): New variable.
5607 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5608 (cproj_test_data): New variable.
5609 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5610 (csin_test_data): New variable.
5611 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5612 (csinh_test_data): New variable.
5613 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5614 (csqrt_test_data): New variable.
5615 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5616 (ctan_test_data): New variable.
5617 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5618 (ctan_tonearest_test_data): New variable.
5619 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5620 (ctan_towardzero_test_data): New variable.
5621 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5622 (ctan_downward_test_data): New variable.
5623 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5624 (ctan_upward_test_data): New variable.
5625 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5626 (ctanh_test_data): New variable.
5627 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5628 (ctanh_tonearest_test_data): New variable.
5629 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5630 (ctanh_towardzero_test_data): New variable.
5631 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5632 (ctanh_downward_test_data): New variable.
5633 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5634 (ctanh_upward_test_data): New variable.
5635 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5636 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5639 * math/libm-test.inc (struct test_ff_f_data): New type.
5640 (struct test_ff_f_data_nexttoward): Likewise.
5641 (RUN_TEST_LOOP_2_f): New macro.
5642 (RUN_TEST_LOOP_ff_f): Likewise.
5643 (atan2_test_data): New variable.
5644 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5645 (copysign_test_data): New variable.
5646 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5647 (fdim_test_data): New variable.
5648 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5649 (fmax_test_data): New variable.
5650 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5651 (fmin_test_data): New variable.
5652 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5653 (fmod_test_data): New variable.
5654 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5655 (hypot_test_data): New variable.
5656 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5657 (nextafter_test_data): New variable.
5658 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5659 (nexttoward_test_data): New variable.
5660 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5661 (pow_test_data): New variable.
5662 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5663 (pow_tonearest_test_data): New variable.
5664 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5665 (pow_towardzero_test_data): New variable.
5666 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5667 (pow_downward_test_data): New variable.
5668 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5669 (pow_upward_test_data): New variable.
5670 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5671 (remainder_test_data): New variable.
5672 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5673 (scalb_test_data): New variable.
5674 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5675 * sysdeps/i386/fpu/libm-test-ulps: Update.
5677 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5679 * math/libm-test.inc (fma_test): Use max_value instead of local
5681 (nextafter_test): Likewise.
5683 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5684 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5685 (acos_downward_test_data): New variable.
5686 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5687 (acos_upward_test_data): New variable.
5688 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5689 (acosh_test_data): New variable.
5690 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5691 (asin_test_data): New variable.
5692 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5693 (asin_tonearest_test_data): New variable.
5694 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5695 (asin_towardzero_test_data): New variable.
5696 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5697 (asin_downward_test_data): New variable.
5698 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5699 (asin_upward_test_data): New variable.
5700 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5701 (asinh_test_data): New variable.
5702 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5703 (atan_test_data): New variable.
5704 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5705 (atanh_test_data): New variable.
5706 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5707 (cbrt_test_data): New variable.
5708 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5709 (ceil_test_data): New variable.
5710 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5711 (cos_test_data): New variable.
5712 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5713 (cos_tonearest_test_data): New variable.
5714 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5715 (cos_towardzero_test_data): New variable.
5716 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5717 (cos_downward_test_data): New variable.
5718 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5719 (cos_upward_test_data): New variable.
5720 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5721 (cosh_test_data): New variable.
5722 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5723 (cosh_tonearest_test_data): New variable.
5724 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5725 (cosh_towardzero_test_data): New variable.
5726 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5727 (cosh_downward_test_data): New variable.
5728 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5729 (cosh_upward_test_data): New variable.
5730 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5731 (erf_test_data): New variable.
5732 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5733 (erfc_test_data): New variable.
5734 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5735 (exp_test_data): New variable.
5736 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5737 (exp_tonearest_test_data): New variable.
5738 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5739 (exp_towardzero_test_data): New variable.
5740 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5741 (exp_downward_test_data): New variable.
5742 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5743 (exp_upward_test_data): New variable.
5744 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5745 (exp10_test_data): New variable.
5746 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5747 (exp2_test_data): New variable.
5748 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5749 (expm1_test_data): New variable.
5750 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5751 (fabs_test_data): New variable.
5752 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5753 (floor_test_data): New variable.
5754 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5755 (j0_test_data): New variable.
5756 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5757 (j1_test_data): New variable.
5758 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5759 (log_test_data): New variable.
5760 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5761 (log10_test_data): New variable.
5762 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5763 (log1p_test_data): New variable.
5764 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5765 (log2_test_data): New variable.
5766 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5767 (logb_test_data): New variable.
5768 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5769 (logb_downward_test_data): New variable.
5770 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5771 (nearbyint_test_data): New variable.
5772 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5773 (rint_test_data): New variable.
5774 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5775 (rint_tonearest_test_data): New variable.
5776 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5777 (rint_towardzero_test_data): New variable.
5778 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5779 (rint_downward_test_data): New variable.
5780 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5781 (rint_upward_test_data): New variable.
5782 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5783 (round_test_data): New variable.
5784 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5785 (sin_test_data): New variable.
5786 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5787 (sin_tonearest_test_data): New variable.
5788 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5789 (sin_towardzero_test_data): New variable.
5790 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5791 (sin_downward_test_data): New variable.
5792 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5793 (sin_upward_test_data): New variable.
5794 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5795 (sinh_test_data): New variable.
5796 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5797 (sinh_tonearest_test_data): New variable.
5798 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5799 (sinh_towardzero_test_data): New variable.
5800 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5801 (sinh_downward_test_data): New variable.
5802 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5803 (sinh_upward_test_data): New variable.
5804 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5805 (sqrt_test_data): New variable.
5806 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5807 (tan_test_data): New variable.
5808 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5809 (tan_tonearest_test_data): New variable.
5810 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5811 (tan_towardzero_test_data): New variable.
5812 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5813 (tan_downward_test_data): New variable.
5814 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5815 (tan_upward_test_data): New variable.
5816 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5817 (tanh_test_data): New variable.
5818 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5819 (tgamma_test_data): New variable.
5820 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5821 (trunc_test_data): New variable.
5822 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5823 (y0_test_data): New variable.
5824 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5825 (y1_test_data): New variable.
5826 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5827 (significand_test_data): New variable.
5828 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5830 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5833 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5835 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5837 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5839 2013-05-10 Andreas Jaeger <aj@suse.de>
5842 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5843 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5845 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5847 * math/gen-libm-test.pl (adjust_arg): New function.
5848 (special_functions): Handle generating output in both functions
5850 (parse_args): Likewise.
5851 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5852 $in_func argument to parse_args.
5853 * math/libm-test.inc (struct test_f_f_data): New type.
5854 (IF_ROUND_INIT_): New macro.
5855 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5856 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5857 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5858 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5859 (ROUND_RESTORE_): Likewise.
5860 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5861 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5862 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5863 (ROUND_RESTORE_FE_UPWARD): Likewise.
5864 (RUN_TEST_LOOP_f_f): New macro.
5865 (acos_test_data): New variable.
5866 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5867 (acos_tonearest_test_data): New variable.
5868 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5870 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5872 * benchtests/bench-skeleton.c (startup): Fix coding style.
5874 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5877 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5878 negative infinity argument.
5879 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5880 negative infinity argument.
5881 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5882 negative infinity argument.
5883 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5886 2013-05-10 Florian Weimer <fweimer@redhat.com>
5888 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5889 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5890 * iconv/iconv_prog.c (main): Likewise.
5891 * locale/programs/charmap-dir.c (charmap_readdir)
5892 (fopen_uncompressed): Likewise.
5893 * locale/programs/locfile.c (siblings_uncached)
5894 (write_locale_data): Use lstat64 instead of lstat.
5895 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5898 2013-05-10 Andreas Jaeger <aj@suse.de>
5901 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5905 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5907 * elf/dl-close.c (_dl_close_worker): Add comments.
5909 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5912 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5914 (__ieee754_rem_pio2l): Update comments.
5917 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5919 (__ieee754_rem_pio2l): Update comments.
5921 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5922 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5924 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5927 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5928 (M_PI_34_LOG10El): Likewise.
5929 (M_PI2_LOG10El): Likewise.
5930 (M_PI4_LOG10El): Likewise.
5931 (M_PI_LOG10El): Likewise.
5933 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5937 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5939 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5940 (MINUS_ZERO_INIT): Likewise.
5941 (PLUS_INFTY_INIT): Likewise.
5942 (MINUS_INFTY_INIT): Likewise.
5943 (QNAN_VALUE_INIT): Likewise.
5944 (MAX_VALUE_INIT): Likewise.
5945 (MIN_VALUE_INIT): Likewise.
5946 (MIN_SUBNORM_VALUE_INIT): Likewise.
5947 (plus_zero): Initialize with PLUS_ZERO_INIT.
5948 (minus_zero): Initialize with MINUS_ZERO_INIT.
5949 (plus_infty): Initialize with PLUS_INFTY_INIT.
5950 (minus_infty): Initialize with MINUS_INFTY_INIT.
5951 (qnan_value): Initialize with QNAN_VALUE_INIT.
5952 (max_value): Initialize with MAX_VALUE_INIT.
5953 (min_value): Initialize with MIN_VALUE_INIT.
5954 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5956 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5957 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5958 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5959 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5961 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5962 (RUN_TEST_2_f): Likewise.
5963 (RUN_TEST_ff_f): Likewise.
5964 (RUN_TEST_fi_f): Likewise.
5965 (RUN_TEST_fl_f): Likewise.
5966 (RUN_TEST_fff_f): Likewise.
5967 (RUN_TEST_c_f): Likewise.
5968 (RUN_TEST_f_f1): Likewise.
5969 (RUN_TEST_fF_f1): Likewise.
5970 (RUN_TEST_fI_f1): Likewise.
5971 (RUN_TEST_ffI_f1): Likewise.
5972 (RUN_TEST_c_c): Likewise.
5973 (RUN_TEST_cc_c): Likewise.
5974 (RUN_TEST_f_i): Likewise.
5975 (RUN_TEST_f_i_tg): Likewise.
5976 (RUN_TEST_ff_i_tg): Likewise.
5977 (RUN_TEST_f_b): Likewise.
5978 (RUN_TEST_f_b_tg): Likewise.
5979 (RUN_TEST_f_l): Likewise.
5980 (RUN_TEST_f_L): Likewise.
5981 (RUN_TEST_sincos): Likewise.
5982 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5983 whether to show exceptions. Do not include ");\n" in return
5985 (special_functions): Output call to RUN_TEST_sincos instead of
5986 check_float calls. Update calls to new_test.
5987 (parse_args): Output call to single RUN_TEST_* macro instead of
5988 check_* calls and other assignments. Update calls to new_test.
5994 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5995 input to result for tgamma overflow.
5996 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5997 (gamma_coeff): New variable.
5998 (NCOEFF): New macro.
5999 (gamma_positive): New function.
6000 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6001 underflow here. Use gamma_positive instead of exp (lgamma) for
6003 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6004 (gamma_coeff): New variable.
6005 (NCOEFF): New macro.
6006 (gammaf_positive): New function.
6007 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6008 underflow here. Use gamma_positive instead of exp (lgamma) for
6010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6011 (gamma_coeff): New variable.
6012 (NCOEFF): New macro.
6013 (gammal_positive): New function.
6014 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6015 underflow here. Use gamma_positive instead of exp (lgamma) for
6017 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6018 (gamma_coeff): New variable.
6019 (NCOEFF): New macro.
6020 (gammal_positive): New function.
6021 (__ieee754_gammal_r): Handle positive infinity, overflow and
6022 underflow here. Handle NaN the same as positive infinity. Remove
6023 check x < 0xffffffff for negative integers. Use gamma_positive
6024 instead of exp (lgamma) for other arguments.
6025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6026 (gamma_coeff): New variable.
6027 (NCOEFF): New macro.
6028 (gammal_positive): New function.
6029 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6030 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6034 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6035 * sysdeps/generic/math_private.h (__gamma_productf): New
6037 (__gamma_product): Likewise.
6038 (__gamma_productl): Likewise.
6039 * math/Makefile (libm-calls): Add gamma_product.
6040 * math/libm-test.inc (tgamma_test): Add more tests.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6046 * benchtests/bench-skeleton.c (main): Preheat CPU.
6048 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6050 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6052 2013-05-07 Roland McGrath <roland@hack.frob.com>
6054 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6055 and _dl_skip_args_internal.
6057 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6059 * manual/message.texi (Message Translation): Talk about users.
6060 Message to key mapping impacts design.
6062 2013-05-06 Roland McGrath <roland@hack.frob.com>
6064 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6066 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6068 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6069 * sysdeps/wordsize-64/glob64.c: ... here.
6071 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6072 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6075 * debug/getlogin_r_chk.c: Moved to ...
6076 * login/getlogin_r_chk.c: ... here.
6077 * debug/Makefile (routines): Move getlogin_r_chk to ...
6078 * login/Makefile (routines): ... here.
6079 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6080 * login/Versions (libc: GLIBC_2.4): ... here.
6082 * io/poll.c (__poll): Renamed from poll.
6083 Add libc_hidden_def.
6084 (poll): Define as weak alias.
6086 * debug/ptsname_r_chk.c: Moved to ...
6087 * login/ptsname_r_chk.c: ... here.
6088 * debug/Makefile (routines): Move ptsname_r_chk to ...
6089 * login/Makefile (routines): ... here.
6090 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6091 * login/Versions (libc: GLIBC_2.4): ... here.
6093 * posix/getlogin.c: Moved to ...
6094 * login/getlogin.c: ... here.
6095 * posix/getlogin_r.c: Moved to ...
6096 * login/getlogin_r.c: ... here.
6097 * posix/getlogin_r.c: Moved to ...
6098 * login/getlogin_r.c: ... here.
6099 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6100 * login/Makefile (routines): ... here.
6101 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6102 * login/Versions (libc: GLIBC_2.0): ... here.
6104 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6105 (setrlimit): Define as weak alias.
6107 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6108 Call __ names for open, ftruncate, and close.
6109 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6110 (truncate): Define as weak alias.
6112 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6114 * math/gen-libm-test.pl (parse_args): Initialize x before each
6115 test of frexp, modf and remquo.
6117 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6120 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6124 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6126 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6128 2013-05-06 Roland McGrath <roland@hack.frob.com>
6130 * elf/dl-writev.h: New file.
6131 * elf/dl-misc.c: Include it.
6132 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6133 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6135 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6137 * math/libm-test.inc (noXFails): Remove variable.
6138 (noXPasses): Likewise.
6139 (BUILD_COMPLEX_INT): Remove macro.
6140 (print_screen): Remove xfail argument.
6141 (print_screen_max_error): Likewise.
6142 (update_stats): Likewise.
6143 (print_max_error): Likewise. Update calls to other affected
6145 (print_complex_max_error): Likewise.
6146 (test_single_exception): Update calls to print_screen.
6147 (test_single_errno): Likewise.
6148 (check_float_internal): Remove xfail argument. Update calls to
6149 other affected functions.
6150 (check_float): Likewise.
6151 (check_complex): Likewise.
6152 (check_int): Likewise.
6153 (check_long): Likewise.
6154 (check_bool): Likewise.
6155 (check_longlong): Likewise.
6156 (main): Don't print noXFails and noXPasses.
6157 * math/gen-libm-test.pl (top level): Don't mention expected
6158 failure handling in comment.
6159 (new_test): Don't handle expected failures.
6160 (parse_args): Don't mention expected failure handling in comment.
6161 (generate_testfile): Don't handle expected failures.
6162 (parse_ulps): Likewise.
6163 (print_ulps_file): Likewise.
6164 (get_failure): Remove function.
6165 (output_test): Don't handle expected failures.
6166 * make/README.libm-test: Don't mention expected failure handling.
6168 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6169 (minus_zero): Likewise.
6170 (plus_infty): Likewise.
6171 (minus_infty): Likewise.
6172 (qnan_value): Likewise.
6173 (max_value): Likewise.
6174 (min_value): Likewise.
6175 (min_subnorm_value): Likewise.
6176 (initialize): Do not initialize those variables dynamically.
6178 2013-05-03 Roland McGrath <roland@hack.frob.com>
6180 * io/open.c (__open_2): Moved to ...
6181 * io/open_2.c: ... this new file.
6182 * io/open64.c (__open64_2): Moved to ...
6183 * io/open64_2.c: ... this new file.
6184 * io/openat.c (__openat_2): Moved to ...
6185 * io/openat_2.c: ... this new file.
6186 * io/openat64.c (__openat64_2): Moved to ...
6187 * io/openat64_2.c: ... this new file.
6188 * io/Makefile (routines): Add them.
6189 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6190 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6191 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6192 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6193 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6194 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6195 (__openat64): Add hidden_ver.
6196 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6197 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6199 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6200 Separately conditionalize setting of GLRO(dl_sysinfo) so
6201 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6202 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6204 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6206 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6207 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6209 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6210 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6211 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6212 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6213 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6215 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6217 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6220 * math/libm-test.inc (hypot_test): Do not use
6221 IGNORE_ZERO_INF_SIGN.
6223 2013-05-03 Andreas Jaeger <aj@suse.de>
6225 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6227 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6228 (PF_MAX): Adjust for VSOCK change.
6230 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6234 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6237 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6238 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6239 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6241 2013-05-02 David S. Miller <davem@davemloft.net>
6243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6245 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6247 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6249 2013-05-01 Roland McGrath <roland@hack.frob.com>
6251 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6253 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6256 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6257 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6258 Use __attribute__ ((__gnu_inline__)).
6259 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6260 Don't use __attribute__ ((__gnu_inline__)).
6262 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6265 * math/s_catan.c (__catan): Handle small real or imaginary part of
6266 input specially to avoid spurious underflow.
6267 * math/s_catanf.c (__catanf): Likewise.
6268 * math/s_catanh.c (__catanh): Likewise.
6269 * math/s_catanhf.c (__catanhf): Likewise.
6270 * math/s_catanhl.c (__catanhl): Likewise.
6271 * math/s_catanl.c (__catanl): Likewise.
6272 * math/libm-test.inc (catan_test): Add more tests.
6273 (catanh_test): Likewise.
6274 * sysdeps/i386/fpu/libm-test-ulps: Update.
6275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6281 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6284 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6285 accurately for denominator in atan2.
6286 * math/s_catanf.c (__catanf): Likewise.
6287 * math/s_catanh.c (__catanh): Likewise.
6288 * math/s_catanhf.c (__catanhf): Likewise.
6289 * math/s_catanhl.c (__catanhl): Likewise.
6290 * math/s_catanl.c (__catanl): Likewise.
6291 * math/libm-test.inc (catan_test): Add more tests.
6292 (catanh_test): Likewise.
6293 * sysdeps/i386/fpu/libm-test-ulps: Update.
6294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6296 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6298 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6300 * benchtests/Makefile (bench): Remove slow benchmarks.
6301 * benchtests/atan-inputs: Add slow benchmark inputs.
6302 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6303 (BENCH_FUNC): Accept variant offset.
6305 * benchtests/bench-skeleton.c (main): Run benchmark for each
6307 * benchtests/cos-inputs: Add slow benchmark inputs.
6308 * benchtests/exp-inputs: Likewise.
6309 * benchtests/pow-inputs: Likewise.
6310 * benchtests/sin-inputs: Likewise.
6311 * benchtests/slowatan-inputs: Remove.
6312 * benchtests/slowatan.c: Remove.
6313 * benchtests/slowcos-inputs: Remove.
6314 * benchtests/slowcos.c: Remove.
6315 * benchtests/slowexp-inputs: Remove.
6316 * benchtests/slowexp.c: Remove.
6317 * benchtests/slowpow-inputs: Remove.
6318 * benchtests/slowpow.c: Remove.
6319 * benchtests/slowsin-inputs: Remove.
6320 * benchtests/slowsin.c: Remove.
6321 * benchtests/slowtan-inputs: Remove.
6322 * benchtests/slowtan.c: Remove.
6323 * benchtests/tan-inputs: Add slow benchmark inputs.
6324 * scripts/bench.pl: Parse comments and directives.
6326 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6328 ($(objpfx)bench-%.c): Remove *-ITER.
6329 * benchtests/bench-modf.c: Remove definition of ITER.
6330 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6331 (main): Loop for DURATION seconds instead of fixed number of
6333 * scripts/bench.pl: Don't expect iterations in parameters.
6335 2013-04-29 Roland McGrath <roland@hack.frob.com>
6337 * io/fchdir.c (__fchdir): Renamed from fchdir.
6338 (fchdir): Define as weak alias.
6340 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6342 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6343 (ERRNO_EDOM): Likewise.
6344 (ERRNO_ERANGE): Likewise.
6345 (noErrnoTests): New variable.
6346 (init_max_error): Set errno to 0.
6347 (test_single_errno): New function.
6348 (test_errno): Likewise.
6349 (check_float_internal): Call test_errno. Set errno to 0.
6350 (check_complex): Refer to errno tests in comment.
6351 (check_int): Call test_errno. Set errno to 0.
6352 (check_long): Likewise.
6353 (check_bool): Likewise.
6354 (check_longlong): Likewise.
6355 (cos_test): Use ERRNO_* flags for errno tests instead of
6357 (expm1_test): Likewise.
6358 (fmod_test): Likewise.
6359 (ilogb_test): Likewise.
6360 (lgamma_test): Likewise.
6361 (pow_test): Likewise.
6362 (remainder_test): Likewise.
6363 (sin_test): Likewise.
6364 (tan_test): Likewise.
6365 (yn_test): Likewise.
6366 (initialize): Set errno to 0.
6367 (main): Print number of errno tests.
6368 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6370 2013-04-29 Andreas Jaeger <aj@suse.de>
6373 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6377 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6378 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6382 * stdlib/random.c (__initstate): Return NULL if
6386 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6387 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6390 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6394 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6396 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6397 of individual tests.
6398 (casin_test): Likewise.
6399 (casinh_test): Likewise.
6401 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6404 * math/s_catan.c (__catan): Handle arguments with large real or
6405 imaginary part separately without squaring.
6406 * math/s_catanf.c (__catanf): Likewise.
6407 * math/s_catanh.c (__catanh): Likewise.
6408 * math/s_catanhf.c (__catanhf): Likewise.
6409 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6411 (__catanhl): Handle arguments with large real or imaginary part
6412 separately without squaring.
6413 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6415 (__catanl): Handle arguments with large real or imaginary part
6416 separately without squaring.
6417 * math/libm-test.inc (catan_test): Add more tests.
6418 (catanh_test): Likewise.
6419 * sysdeps/i386/fpu/libm-test-ulps: Update.
6420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422 2013-04-27 Andreas Jaeger <aj@suse.de>
6425 * stdlib/stdlib.h: Update guards for qecvt.
6426 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6429 2013-04-27 Allan McRae <allan@archlinux.org>
6431 * sysdeps/i386/fpu/libm-test-ulps: Update.
6433 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6436 * math/s_catan.c: Include <float.h>.
6437 (__catan): Ensure underflow exception occurs for underflowed
6439 * math/s_catanf.c: Include <float.h>.
6440 (__catanf): Ensure underflow exception occurs for underflowed
6442 * math/s_catanh.c: Include <float.h>.
6443 (__catanh): Ensure underflow exception occurs for underflowed
6445 * math/s_catanhf.c: Include <float.h>.
6446 (__catanhf): Ensure underflow exception occurs for underflowed
6448 * math/s_catanhl.c: Include <float.h>.
6449 (__catanhl): Ensure underflow exception occurs for underflowed
6451 * math/s_catanl.c: Include <float.h>.
6452 (__catanl): Ensure underflow exception occurs for underflowed
6454 * math/libm-test.inc (catan_test): Add more tests.
6455 (catanh_test): Likewise.
6458 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6460 * math/s_ccoshf.c (__ccoshf): Likewise.
6461 * math/s_ccoshl.c (__ccoshl): Likewise.
6462 * math/s_csin.c (__csin): Likewise.
6463 * math/s_csinf.c (__csinf): Likewise.
6464 * math/s_csinh.c (__csinh): Likewise.
6465 * math/s_csinhf.c (__csinhf): Likewise.
6466 * math/s_csinhl.c (__csinhl): Likewise.
6467 * math/s_csinl.c (__csinl): Likewise.
6468 * math/libm-test.inc (ccos_test): Add more tests.
6469 (ccosh_test): Likewise.
6470 (csin_test): Likewise.
6471 (csinh_test): Likewise.
6473 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6475 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6476 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6477 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6478 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6479 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6480 powerpc/power5+/fpu folders.
6481 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6484 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6488 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6490 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6491 additions to variable.
6492 [$(config-machine) = x86_64] (modules-names): Likewise.
6493 ($(objpfx)tst-audit3): Remove dependency.
6494 ($(objpfx)tst-audit3.out): Likewise.
6495 ($(objpfx)tst-audit4): Likewise.
6496 ($(objpfx)tst-audit4.out): Likewise.
6497 ($(objpfx)tst-audit5): Likewise.
6498 ($(objpfx)tst-audit5.out): Likewise.
6499 ($(objpfx)tst-audit6): Likewise.
6500 ($(objpfx)tst-audit6.out): Likewise.
6501 ($(objpfx)tst-audit7): Likewise.
6502 ($(objpfx)tst-audit7.out): Likewise.
6503 (tst-audit3-ENV): Remove variable.
6504 (tst-audit4-ENV): Likewise.
6505 (tst-audit5-ENV): Likewise.
6506 (tst-audit6-ENV): Likewise.
6507 (tst-audit7-ENV): Likewise.
6508 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6509 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6510 addition to variable.
6511 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6516 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6517 tst-audit3, tst-audit4 and tst-audit5.
6518 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6519 tst-audit6 and tst-audit7.
6520 [$(subdir) = elf] (modules-names): Add audit modules for those
6522 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6523 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6524 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6525 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6526 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6527 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6528 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6529 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6530 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6531 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6532 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6533 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6534 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6535 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6536 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6537 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6539 [$(subdir) = elf && $(config-cflags-avx) = yes]
6540 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6541 [$(subdir) = elf && $(config-cflags-avx) = yes]
6542 (CFLAGS-tst-auditmod4a.c): Likewise.
6543 [$(subdir) = elf && $(config-cflags-avx) = yes]
6544 (CFLAGS-tst-auditmod4b.c): Likewise.
6545 [$(subdir) = elf && $(config-cflags-avx) = yes]
6546 (CFLAGS-tst-auditmod6b.c): Likewise.
6547 [$(subdir) = elf && $(config-cflags-avx) = yes]
6548 (CFLAGS-tst-auditmod6c.c): Likewise.
6549 [$(subdir) = elf && $(config-cflags-avx) = yes]
6550 (CFLAGS-tst-auditmod7b.c): Likewise.
6551 * elf/tst-audit3.c: Move to ...
6552 * sysdeps/x86_64/tst-audit3.c: ... here.
6553 * elf/tst-audit4.c: Move to ...
6554 * sysdeps/x86_64/tst-audit4.c: ... here.
6555 * elf/tst-audit5.c: Move to ...
6556 * sysdeps/x86_64/tst-audit5.c: ... here.
6557 * elf/tst-audit6.c: Move to ...
6558 * sysdeps/x86_64/tst-audit6.c: ... here.
6559 * elf/tst-audit7.c: Move to ...
6560 * sysdeps/x86_64/tst-audit7.c: ... here.
6561 * elf/tst-auditmod3a.c: Move to ...
6562 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6563 * elf/tst-auditmod3b.c: Move to ...
6564 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6565 * elf/tst-auditmod4a.c: Move to ...
6566 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6567 * elf/tst-auditmod4b.c: Move to ...
6568 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6569 * elf/tst-auditmod5a.c: Move to ...
6570 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6571 * elf/tst-auditmod5b.c: Move to ...
6572 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6573 * elf/tst-auditmod6a.c: Move to ...
6574 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6575 * elf/tst-auditmod6b.c: Move to ...
6576 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6577 * elf/tst-auditmod6c.c: Move to ...
6578 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6579 * elf/tst-auditmod7a.c: Move to ...
6580 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6581 * elf/tst-auditmod7b.c: Move to ...
6582 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6584 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6587 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6588 define unconditionally.
6589 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6590 define unconditionally.
6591 (INT8_C, INT16_C, etc.): Likewise.
6593 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6595 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6596 __ehdr_start with hidden visibility.
6598 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6600 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6602 * math/libm-test.inc (cos_test): Use accurate hex constants.
6603 (sincost_test): Likewise.
6605 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6607 * math/libm-test.inc (catan_test): Add more tests.
6608 (catanh_test): Likewise.
6610 * math/s_catanf.c (__catanf): Use suffixed floating-point
6612 * math/s_catanhf.c (__catanhf): Likewise.
6613 * math/s_catanhl.c (__catanhl): Likewise.
6614 * math/s_catanl.c (__catanl): Likewise.
6617 * math/s_catan.c (__catan): Calculate imaginary part of result
6618 with log1p not log unless computing log of number close to 0.
6619 * math/s_catanf.c (__catanf): Likewise.
6620 * math/s_catanl.c (__catanl): Likewise.
6621 * math/s_catanh.c (__catanh): Calculate real part of result with
6622 log1p not log unless computing log of number close to 0.
6623 * math/s_catanhf.c (__catanhf): Likewise.
6624 * math/s_catanhl.c (__catanhl): Likewise.
6625 * math/libm-test.inc (catan_test): Add more tests.
6626 (catanh_test): Likewise.
6627 * sysdeps/i386/fpu/libm-test-ulps: Update.
6628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6632 * benchtests/Makefile: Mention files in which fast and slow
6633 paths of math functions are implemented.
6635 2013-04-23 Roland McGrath <roland@hack.frob.com>
6637 * sysdeps/posix/timespec_get.c: New file.
6639 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6643 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6645 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6646 powerpc/power5/fpu folders.
6647 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6648 * benchtests/Makefile: Add modf testcase.
6649 * benchtests/bench-modf.c: New file: Benchmark test for mo
6651 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6654 * time/Makefile (tests): Add tst-strptime-whitespace.
6655 * time/strptime_l.c (get_number): Use ISSPACE.
6656 (__strptime_internal): Likewise.
6657 * time/tst-strptime-whitespace.c: New test case.
6659 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6661 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6663 (_nss_files_init): Set it here.
6665 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6667 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6668 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6671 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6673 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6675 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6680 2013-04-21 David S. Miller <davem@davemloft.net>
6682 * po/ru.po: Update Russion translation from translation project.
6684 2013-04-17 Adam Conrad <adconrad@0c3.net>
6686 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6689 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6691 * configure.in: Remove i386 configure warning. Remove i386 case.
6692 * configure: Regenerate.
6693 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6694 Add example to error message.
6695 * sysdeps/i386/configure: Regenerate.
6697 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6699 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6701 * benchtests/cos-inputs: New file.
6702 * benchtests/slowcos-inputs: New file.
6703 * benchtests/slowcos.c: New file.
6704 * benchtests/slowtan-inputs: New file.
6705 * benchtests/slowtan.c: New file.
6706 * benchtests/tan-inputs: New file.
6708 2013-04-16 Roland McGrath <roland@hack.frob.com>
6710 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6713 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6715 * benchtests/Makefile: Include cppflags-iterator.mk to add
6716 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6718 * Makefile.in (bench-clean): New target.
6719 * benchtests/Makefile (bench-clean): Likewise.
6721 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6723 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6725 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6727 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6729 2013-04-15 Andreas Schwab <schwab@suse.de>
6731 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6733 * nscd/pwdcache.c (cache_addpw): Likewise.
6734 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6737 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6739 * benchtests/Makefile (bench): Write all output to
6740 bench-out.tmp together.
6742 2013-04-15 Andreas Schwab <schwab@suse.de>
6744 * nscd/nscd.c (main): Don't fork again after closing files.
6746 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6748 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6750 * benchtests/Rules (bench-deps): Collect dependencies into a
6751 single variable. Add Makefile to dependencies.
6752 ($(objpfx)bench-%.c): Depend on bench-deps.
6754 2013-04-12 Roland McGrath <roland@hack.frob.com>
6755 Xavier Roche <roche+kml2@exalead.com>
6758 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6759 just that it's a file descriptor.
6760 * manual/llio.texi (Synchronizing AIO Operations): Update description
6761 for EBADF error from aio_fsync.
6763 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6765 * Rules (bench): Move target definition...
6766 * benchtests/Makefile: ... here.
6768 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6770 * math/libm-test.inc (cos_test): Fix PI/2 test.
6771 (sincos_test): Likewise.
6772 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6773 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6775 2013-04-11 Andreas Schwab <schwab@suse.de>
6778 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6779 accept exponent character only when digits were seen.
6780 * stdio-common/Makefile (tests): Add bug26.
6781 * stdio-common/bug26.c: New file.
6784 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6787 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6789 * Makeconfig (rtld-prefix): Define built linker prefix.
6790 * Rules (run-bench): Use it.
6791 * math/Makefile (run-regen-ulps): Likewise.
6793 * Rules (bench): Remove eval.
6795 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6796 Roland McGrath <roland@hack.frob.com>
6797 Ondrej Bilka <neleai@seznam.cz>
6800 * time/getdate.c: Include ctype.h and alloca.h.
6801 (__getdate_r): Trim leading and trailing spaces of input.
6802 * time/tst-getdate.c (tests): Add tests with leading and
6805 2013-04-08 Roland McGrath <roland@hack.frob.com>
6808 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6809 when computing value.
6811 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6813 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6814 Use testrun.sh to run libm tests.
6817 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6819 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6822 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6824 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6826 * Makefile.in (regen-ulps): New target.
6827 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6828 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6829 [ifneq (no,$(PERL)] (regen-ulps): New target.
6830 [ifeq (no,$(PERL)] (regen-ulps): New target.
6831 * math/libm-test.inc (ulps_file_name): Define.
6832 (output_dir): New variable.
6833 (options): Add "output-dir" option.
6834 (parse_opt): Handle 'o' case.
6835 (main): If output_dir is non-NULL use it as a prefix
6837 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6839 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6842 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6843 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6844 fail configure if __sync_val_compare_and_swap is not inlined.
6845 * sysdeps/i386/configure: Regenerate.
6846 * configure.in: Build for i686 when configured for i386.
6847 * configure: Regenerate.
6848 * README: Remove i386 reference.
6850 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6852 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6855 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6857 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6858 (lmsnanval): New variables.
6859 (F): Add conversion tests.
6860 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6861 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6863 * stdio-common/tstdiomisc.c (F): Properly collect individual
6867 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6868 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6869 Instead, use input NaN values or generate a qNaN by arithmetic
6870 operation. Also fix bugs to comply with the standard.
6871 * math/libm-test.inc (remainder_test): Add more tests.
6874 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6876 input NaN values or generate a qNaN by arithmetic operation.
6878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6881 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6884 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6887 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6889 * math/s_cexpf.c (__cexpf): Likewise.
6890 * math/s_cexpl.c (__cexpl): Likewise.
6891 * math/libm-test.inc (cexp_test): Add more tests.
6893 2013-04-03 Andreas Schwab <schwab@suse.de>
6896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6897 order arrays from heap if bigger than alloca cutoff.
6899 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6901 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6902 (SNAN_TESTS_double): Refer to GCC PR56831.
6903 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6906 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6908 * Rules (bench): Move bench.out after the run is complete.
6910 * Rules (bench): Echo currently running benchmark.
6912 * benchtests/Makefile (bench): Add atan and slowatan.
6913 * benchtests/atan-inputs: New file.
6914 * benchtests/slowatan-inputs: New file.
6915 * benchtests/slowatan.c: New file.
6917 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6922 * sysdeps/unix/sysv/linux/kernel-features.h
6923 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6924 __ASSUME_XFS_RESTRICTED_CHOWN.
6925 * sysdeps/unix/sysv/linux/pathconf.c
6926 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6927 Save and restore errno.
6929 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6932 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6933 arguments using __kernel_casinh.
6934 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6935 arguments using __kernel_casinhf.
6936 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6937 arguments using __kernel_casinhl.
6938 * math/libm-test.inc (cacosh_test): Add more tests.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update.
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6942 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6944 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6947 * bench/Makefile (bench): Add sin and slowsin.
6948 * benchtests/sin-inputs: New file.
6949 * benchtests/slowsin-inputs: New file.
6950 * benchtests/slowsin.c: New file.
6952 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6953 (bench): Add slowexp and slowpow.
6954 (exp-ITER): Increase iterations.
6955 (pow-ITER): Likewise.
6956 * benchtests/exp-inputs: Change input.
6957 * benchtests/pow-inputs: Likewise.
6958 * benchtests/slowexp-inputs: New file.
6959 * benchtests/slowexp.c: New file.
6960 * benchtests/slowpow-inputs: New file.
6961 * benchtests/slowpow.c: New file.
6963 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6965 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6967 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6968 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6969 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6970 * benchtests/Makefile: Add rint benchtest.
6971 * benchtests/rint-inputs: Input for rint benchtest.
6973 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6975 * Versions.def (libm): Add GLIBC_2.18.
6976 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6977 hidden libm prototypes.
6978 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6979 * math/Makefile (libm-calls): Add s_issignaling.
6980 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6981 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6982 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6984 * math/math.h [__USE_GNU] (issignaling): New macro.
6985 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6986 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6991 * manual/arith.texi (issignaling): New section.
6992 * manual/libm-err-tab.pl (@all_functions): Update comment.
6993 * math/gen-libm-test.pl (parse_args): Apply special handling for
6995 * math/libm-test.inc (print_float, issignaling_test): New
6997 (check_float_internal): Add issignaling checks.
6998 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7000 * sysdeps/powerpc/math-tests.h: New file.
7001 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7003 * math/test-snan.c (TEST_FUNC): Likewise.
7005 2013-03-30 David S. Miller <davem@davemloft.net>
7007 * po/de.po: Update from translation team.
7009 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7012 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7013 imaginary part less than 1.0 and real part less than 0.5
7015 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7016 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7017 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7018 (cacos_test): Add more tests.
7019 (casin_test): Likewise.
7020 (casinh_test): Likewise.
7021 * sysdeps/i386/fpu/libm-test-ulps: Update.
7022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7024 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7029 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7030 (__pow_mp): Replace ONE and MONE with their values.
7031 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7034 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7036 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7038 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7040 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7041 (__pow_mp): Replace ZERO and MZERO with their values.
7042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7043 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7044 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7046 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7047 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7050 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7052 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7054 2013-03-28 Roland McGrath <roland@hack.frob.com>
7056 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7057 Declare with __attribute__ ((weak)).
7058 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7059 Call __call_tls_dtors only if it's not NULL.
7061 2013-03-28 Roland McGrath <roland@hack.frob.com>
7063 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7064 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7065 magic __ehdr_start linker symbol if it's defined.
7066 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7067 them up here if it was already done.
7069 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7070 (_dl_aux_init): Use const in cast when setting it.
7071 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7072 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7073 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7075 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7077 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7078 * csu/libc-tls.c: Nor here.
7079 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7081 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7082 (__libc_message): Never call vsyslog.
7084 2013-03-28 Alan Modra <amodra@gmail.com>
7086 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7088 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7091 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7098 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7101 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7102 Don't add gid passed as argument.
7104 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7106 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7109 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7110 imaginary part between 1.0 and 1.5 and real part less than 0.5
7112 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7113 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7114 * math/libm-test.inc (cacos_test): Add more tests.
7115 (casin_test): Likewise.
7116 (casinh_test): Likewise.
7117 * sysdeps/i386/fpu/libm-test-ulps: Update.
7118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7120 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7122 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7126 (__dbl_mp): Likewise.
7127 (add_magnitudes): Likewise.
7128 (sub_magnitudes): Likewise.
7136 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7138 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7139 (__dubcos): Likewise.
7140 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7141 (__ieee754_acos): Likewise.
7142 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7143 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7148 (my_log2): Likewise.
7149 (checkint): Likewise.
7150 * sysdeps/ieee754/dbl-64/e_remainder.c
7151 (__ieee754_remainder): Likewise.
7152 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7155 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7157 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7158 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7159 MANTISSA_STORE_T to store computations on mantissa. Use
7160 macros for rounding and division.
7162 (__dbl_mp): Likewise.
7163 (add_magnitudes): Likewise.
7164 (sub_magnitudes): Likewise.
7167 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7168 powers of two in terms of TWOPOW macro.
7169 (mp_no): Make type of mantissa as MANTISSA_T.
7170 [!RADIXI]: Define RADIXI.
7171 [!TWO52]: Define TWO52.
7172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7174 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7177 llroundl symbol when building for PPC32.
7179 2013-03-24 Mark H Weaver <mhw@netris.org>
7181 * manual/arith.texi (Normalization Functions): Fix prototypes for
7182 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7184 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7188 high value to check if expl overflow.
7189 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7190 to check for underflow and overflow.
7191 * math/libm-test.inc: Add exp test.
7193 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7196 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7199 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7201 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7204 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7206 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7207 wrap blocks consisting of several statements.
7209 * sysdeps/generic/math-tests.h: New file.
7210 * sysdeps/i386/fpu/math-tests.h: Likewise.
7211 * math/test-snan.c: Include it.
7212 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7214 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7217 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7218 (__ieee754_j0l): Do not improve calculations using cos of twice
7219 input for inputs above LDBL_MAX / 2.0L.
7220 (__ieee754_y0l): Likewise.
7221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7222 (__ieee754_j1l): Do not improve calculations using cos of twice
7223 input for inputs above LDBL_MAX / 2.0L.
7224 (__ieee754_y1l): Likewise.
7225 * math/libm-test.inc (j0_test): Add another test.
7226 (j1_test): Likewise.
7227 (y0_test): Likewise.
7228 (y1_test): Likewise.
7229 * sysdeps/i386/fpu/libm-test-ulps: Update.
7231 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7233 * Rules ($(objpfx)bench-%.c): Include code from a C source
7236 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7239 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7240 imaginary part 1.0 and real part less than 0.5 specially.
7241 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7242 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7243 * math/libm-test.inc (cacos_test): Add more tests.
7244 (casin_test): Likewise.
7245 (casinh_test): Likewise.
7246 * sysdeps/i386/fpu/libm-test-ulps: Update.
7247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7251 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7252 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7254 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7256 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7257 * config.make.in (config-cflags-sse4): Remove variable.
7258 (config-cflags-avx): Likewise.
7259 (config-cflags-sse2avx): Likewise.
7260 (config-cflags-novzeroupper): Likewise.
7261 (config-asflags-i686): Likewise.
7262 (have-mfma4): Likewise.
7263 (have-as-vis3): Likewise.
7265 * configure.in (MIG): Do not AC_SUBST.
7266 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7267 (libc_cv_cc_sse4): Do not AC_SUBST.
7268 (libc_cv_cc_avx): Likewise.
7269 (libc_cv_cc_sse2avx): Likewise.
7270 (libc_cv_cc_novzeroupper): Likewise.
7271 (libc_cv_cc_fma4): Likewise.
7272 (libc_cv_as_i686): Likewise.
7273 (libc_cv_sparc_as_vis3): Likewise.
7274 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7276 (config-asflags-i686): Likewise.
7277 (config-cflags-avx): Likewise.
7278 (config-cflags-sse2avx): Likewise.
7279 (have-mfma4): Likewise.
7280 (config-cflags-novzeroupper): Likewise.
7281 * sysdeps/mach/configure.in (MIG): Likewise.
7282 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7283 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7285 (config-cflags-avx): Likewise.
7286 (config-cflags-sse2avx): Likewise.
7287 (have-mfma4): Likewise.
7288 (config-cflags-novzeroupper): Likewise.
7289 * configure: Regenerated.
7290 * sysdeps/i386/configure: Likewise.
7291 * sysdeps/mach/configure: Likewise.
7292 * sysdeps/sparc/configure: Likewise.
7293 * sysdeps/x86_64/configure: Likewise.
7295 2013-03-20 Roland McGrath <roland@hack.frob.com>
7298 * locale/programs/localedef.c (options): Put N_ translation marker
7299 on argument names, not just descriptions.
7301 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7303 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7305 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7308 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7310 2013-03-19 Roland McGrath <roland@hack.frob.com>
7312 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7313 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7314 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7315 [!BEFORE_ABORT] (before_abort): New function.
7316 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7317 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7318 (writev_for_fatal): New function.
7319 (WRITEV_FOR_FATAL): New macro; call that.
7320 (backtrace_and_maps): New function.
7321 (BEFORE_ABORT): New macro; call that.
7322 (struct str_list): Type removed.
7323 (__libc_message, __libc_fatal): Functions removed.
7324 Include <sysdeps/posix/libc_fatal.c> instead.
7326 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7328 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7330 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7333 2013-03-19 Andreas Schwab <schwab@suse.de>
7335 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7336 * sysdeps/gnu/configure: Regenerate.
7338 * configure.in: Substitute libc_cv_rtlddir.
7339 * configure: Regenerate.
7340 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7341 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7342 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7343 * elf/Makefile (install-others, CFLAGS-interp.c)
7344 (ldso_install, common-ldd-rewrite): Likewise.
7345 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7346 $(inst_slibdir)/$(rtld-installed-name).
7347 * scripts/rellns-sh: Add -p option.
7348 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7351 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7353 * manual/nptl.texi: Renamed to ...
7354 * manual/threads.texi: ... this.
7355 * manual/Makefile (chapters): Update.
7357 2013-03-18 Roland McGrath <roland@hack.frob.com>
7360 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7361 on argument names, not just descriptions.
7362 * malloc/memusagestat.c (options): Likewise.
7363 * nss/getent.c (options): Likewise.
7365 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7368 * iconv/iconv_prog.c (options): Put N_ translation marker
7369 on argument names, not just descriptions.
7370 * iconv/iconvconfig.c (options): Likewise.
7372 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7374 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7375 implementation which is faster on all x86_64 architectures.
7376 Tested on AMD, Intel Nehalem, SNB, IVB.
7377 * sysdeps/x86_64/strnlen.S: Likewise.
7379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7380 Remove all multiarch strlen and strnlen versions.
7381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7382 Remove strlen and strnlen related parts.
7384 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7386 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7388 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7389 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7390 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7391 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7392 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7393 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7395 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7397 * manual/memory.texi (Malloc Tunable Parameters):
7398 Sort parameters alphabetically. Add comments for missing entries.
7400 2013-03-17 David S. Miller <davem@davemloft.net>
7402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7404 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7407 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7408 for arguments at most half maximum finite value.
7409 * math/libm-test.inc (j0_test): Add more tests.
7410 (j1_test): Likewise.
7411 (y0_test): Likewise.
7412 (y1_test): Likewise.
7413 * sysdeps/i386/fpu/libm-test-ulps: Update.
7414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7417 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7418 1 / x and functions P and Q for arguments above 0x1p256L.
7419 (__ieee754_y0l): Likewise.
7420 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7421 (__ieee754_y1l): Likewise.
7422 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7423 (j1_test): Likewise.
7424 (y0_test): Likewise.
7425 (y1_test): Likewise.
7427 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7429 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7432 2013-03-15 Roland McGrath <roland@hack.frob.com>
7434 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7435 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7436 zero since it's initialized to EXEC_PAGESIZE.
7438 * sysdeps/unix/sysv/linux/ldsodefs.h
7439 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7440 * sysdeps/generic/ldsodefs.h: ... here.
7442 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7444 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7446 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7448 * math/test-snan.c: Renamed from
7449 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7450 * math/Makefile (tests): Add test-snan.
7451 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7454 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7455 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7457 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7458 __builtin_nan family of functions.
7459 * math/libm-test.inc (initialize): Initialize qnan_value with
7460 __builtin_nan family of functions.
7461 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7463 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7465 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7466 storage class. Initialize qNaN_var and sNaN_var with
7467 __builtin_nan and __builtin_nans families of functions,
7470 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7471 (sqrt_test): Remove duplicate test with qNaN input.
7472 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7473 (round_test, signbit_test, significand_test): Note missing +/-Inf
7474 as well as qNaN tests.
7476 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7477 qNaN_var. Fix a few strings, too.
7478 * math/libm-test.inc (nan_value): Rename to qnan_value.
7479 * math/gen-libm-test.pl (%beautify): Adjust to that.
7480 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7481 * math/test-misc.c (main): Likewise.
7482 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7483 to __qnan_bytes, and __qnan_union, respectively.
7484 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7486 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7487 and lqnanval, respectively.
7488 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7489 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7490 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7491 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7493 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7494 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7497 * math/test-misc.c (main): Fix copy'n'pastos.
7498 * misc/tst-efgcvt.c (special): Likewise.
7500 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7501 Remove declarations.
7503 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7505 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7506 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7507 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7508 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7510 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7513 macro to return vdso values correctly in IFUNC implementations.
7514 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7515 Optimization by using IFUNC.
7517 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7518 Richard Henderson <rth@redhat.com>
7519 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7521 * Makefile.in (bench): New target.
7522 * NEWS: Mention the benchmark framework.
7523 * Rules (bench): Likewise.
7524 (binaries-bench): Generate binaries for functions to
7526 * benchtests/Makefile: New makefile for benchmark tests.
7527 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7529 * benchtests/exp-inputs: New input file for EXP function.
7530 * benchtests/pow-inputs: New input file for POW function.
7531 * scripts/bench.pl: New script to generate source files for
7534 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7536 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7537 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7538 computations on mantissa. Use macros for rounding and
7541 (__dbl_mp): Likewise.
7542 (add_magnitudes): Likewise.
7543 (sub_magnitudes): Likewise.
7546 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7547 powers of two in terms of TWOPOW macro.
7548 (mp_no): Make type of mantissa as MANTISSA_T.
7549 [!RADIXI]: Define RADIXI.
7550 [!TWO52]: Define TWO52.
7551 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7553 * manual/nptl.texi (cindex): Modify threads to pthreads.
7555 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7557 * sysdeps/x86_64/preconfigure: Regenerated.
7559 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7562 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7564 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7565 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7567 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7568 * math/libm-test.inc (j0_test): Do not allow one spurious
7569 underflow exception.
7570 (y1_test): Likewise.
7572 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7574 * manual/Makefile (chapters): Add nptl.
7575 * manual/debug.texi (Debugging Support): Add link to Threads
7577 * manual/nptl.texi: New file.
7579 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7581 2013-03-14 Petr Baudis <pasky@ucw.cz>
7583 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7584 for non-NULL pointer before the memory validity test. Pointed
7585 out by Holger Brunck <holger.brunck@keymile.com>.
7587 2013-03-13 Andreas Schwab <schwab@suse.de>
7589 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7592 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7594 * timezone/zic.c: Update from tzcode 2013b.
7596 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7598 * manual/install.texi (Configuring and compiling):
7599 Mention i686 and i586.
7600 * INSTALL: Regenerate.
7602 2013-03-12 Roland McGrath <roland@hack.frob.com>
7604 * sysdeps/init_array/elf-init.c: New file.
7606 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7607 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7609 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7610 __gmon_start__ as global, but as static with a .preinit_array pointer.
7611 * sysdeps/init_array/gmon-start.c: New file. Use that.
7612 * sysdeps/init_array/crti.S: New file, empty except for comments.
7613 * sysdeps/init_array/crtn.S: Likewise.
7615 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7617 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7620 Remove Prefer_SSE_for_memop.
7621 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7622 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7623 HAS_PREFER_SSE_FOR_MEMOP.
7624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7627 Remove bzero, memset ifunc support.
7628 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7629 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7630 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7631 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7633 2013-03-11 Andreas Schwab <schwab@suse.de>
7636 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7639 (GLIBC_2.16): Remove pthread_atfork.
7641 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7643 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7644 (ptestcases.h): Likewise.
7646 2013-03-08 Roland McGrath <roland@hack.frob.com>
7648 * Makeconfig ($(common-objpfx)config.status): Depend on
7649 sysdeps/*/preconfigure{,.in} too.
7651 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7653 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7654 (__free_hook): Use void * instead of __malloc_ptr_t.
7655 (__malloc_hook): Likewise.
7656 (__realloc_hook): Likewise.
7657 (__memalign_hook): Likewise.
7658 (__after_morecore_hook): Likewise.
7659 * malloc/arena.c (save_malloc_hook): Likewise.
7660 (save_free_hook): Likewise.
7661 * malloc/hooks.c (malloc_hook_ini): Likewise.
7662 (realloc_hook_ini): Likewise.
7663 (memalign_hook_ini): Likewise.
7664 * malloc/malloc.c (malloc_hook_ini): Likewise.
7665 (realloc_hook_ini): Likewise.
7666 (memalign_hook_ini): Likewise.
7667 (__free_hook): Likewise.
7668 (__malloc_hook): Likewise.
7669 (__realloc_hook): Likewise.
7670 (__memalign_hook): Likewise.
7671 (__libc_malloc): Likewise.
7672 (__libc_free): Likewise.
7673 (__libc_realloc): Likewise.
7674 (__libc_memalign): Likewise.
7675 (__libc_valloc): Likewise.
7676 (__libc_pvalloc): Likewise.
7677 (__libc_calloc): Likewise.
7678 (__posix_memalign): Likewise.
7679 * malloc/morecore.c (__sbrk): Likewise.
7680 (__default_morecore): Likewise.
7682 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7684 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7685 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7688 * malloc/malloc.h (__malloc_size_t): Remove macro.
7689 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7691 (old_memalign_hook): Likewise.
7692 (old_realloc_hook): Likewise.
7693 (struct hdr): Likewise.
7695 (mallochook): Likewise.
7696 (memalignhook): Likewise.
7697 (reallochook): Likewise.
7698 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7699 (tr_old_realloc_hook): Likewise.
7700 (tr_old_memalign_hook): Likewise.
7701 (tr_mallochook): Likewise.
7702 (tr_reallochook): Likewise.
7703 (tr_memalignhook): Likewise.
7705 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7708 default_ldbl_pack and using as default implementation.
7709 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7711 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7712 redundant definition.
7713 (ldbl_insert_mantissa): Likewise.
7714 (ldbl_canonicalize): Likewise.
7715 (ldbl_nearbyint): Likewise.
7716 (ldbl_pack): Rename to ldbl_pack_ppc.
7717 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7718 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7719 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7721 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7724 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7725 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7726 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7729 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7730 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7732 2013-03-07 Andreas Jaeger <aj@suse.de>
7734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7737 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7739 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7740 Include mpa.h and declare __MPEXP.
7741 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7742 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7743 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7745 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7746 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7749 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7750 (__slowpow): Use long double EXPL and LOGL functions to
7752 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7753 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7755 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7756 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7757 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7760 intermediate variable to calculate exponent.
7762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7766 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7767 [!NO__SQR]: Define __sqr.
7768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7769 and NO__SQR. Remove all code except __mul and __sqr. Include
7770 sysdeps/ieee754/dbl-64/mpa.c.
7771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7774 * posix/Makefile (tests): Add tst-pathconf.
7775 * posix/tst-pathconf.c: New test case.
7776 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7778 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7780 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7782 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7784 2013-03-06 Andreas Jaeger <aj@suse.de>
7786 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7787 definition via __MAP_ANONYMOUS.
7789 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7790 it's not part of Linux headers.
7792 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7793 (MAP_HUGE_MASK): Define.
7795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7797 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7800 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7801 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7803 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7806 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7808 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7809 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7810 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7811 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7812 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7813 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7819 Handle f2fs and efivarfs.
7821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7824 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7825 (EFIVARFS_MAGIC): Add.
7826 (F2FS_LINK_MAX): Add.
7828 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7830 * stdio-common/vfprintf.c: Replace __builtin_expect with
7833 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7836 * sysdeps/generic/bp-sym.h: Remove file.
7837 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7838 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7839 <bp-sym.h> and <bp-asm.h>.
7840 (__longjmp): Don't use BP_SYM.
7841 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7843 (memcpy): Don't use BP_SYM.
7844 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7845 <bp-sym.h> and <bp-asm.h>.
7846 (memcpy): Don't use BP_SYM.
7847 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7849 (memcpy): Don't use BP_SYM.
7850 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7852 (memset): Don't use BP_SYM.
7853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7855 (__bzero): Don't use BP_SYM.
7856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7858 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7859 <bp-sym.h> and <bp-asm.h>.
7860 (memcmp): Don't use BP_SYM. Remove comment about bounded
7862 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7863 <bp-sym.h> and <bp-asm.h>.
7864 (memcpy): Don't use BP_SYM.
7865 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7866 <bp-sym.h> and <bp-asm.h>.
7867 (memset): Don't use BP_SYM.
7868 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7869 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7870 (__bzero): Don't use BP_SYM.
7871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7873 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7874 <bp-sym.h> and <bp-asm.h>.
7875 (strncmp): Don't use BP_SYM. Remove comment about bounded
7877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7878 <bp-sym.h> and <bp-asm.h>.
7879 (memcpy): Don't use BP_SYM.
7880 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7881 <bp-sym.h> and <bp-asm.h>.
7882 (memset): Don't use BP_SYM.
7883 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7884 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7885 (__bzero): Don't use BP_SYM.
7886 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7887 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7889 <bp-sym.h> and <bp-asm.h>.
7890 (__memchr): Don't use BP_SYM.
7891 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7892 <bp-sym.h> and <bp-asm.h>.
7893 (memcmp): Don't use BP_SYM. Remove comment about bounded
7895 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7896 <bp-sym.h> and <bp-asm.h>.
7897 (memcpy): Don't use BP_SYM.
7898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7899 <bp-sym.h> and <bp-asm.h>.
7900 (__mempcpy): Don't use BP_SYM.
7901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7902 <bp-sym.h> and <bp-asm.h>.
7903 (__memrchr): Don't use BP_SYM.
7904 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7905 <bp-sym.h> and <bp-asm.h>.
7906 (memset): Don't use BP_SYM.
7907 (__bzero): Likewise.
7908 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7909 <bp-sym.h> and <bp-asm.h>.
7910 (__rawmemchr): Don't use BP_SYM.
7911 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7912 <bp-sym.h> and <bp-asm.h>.
7913 (__STRCMP): Don't use BP_SYM.
7914 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7915 <bp-sym.h> and <bp-asm.h>.
7916 (strchr): Don't use BP_SYM.
7917 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7918 <bp-sym.h> and <bp-asm.h>.
7919 (__strchrnul): Don't use BP_SYM.
7920 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7921 <bp-sym.h> and <bp-asm.h>.
7922 (strlen): Don't use BP_SYM.
7923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7924 <bp-sym.h> and <bp-asm.h>.
7925 (strncmp): Don't use BP_SYM. Remove comment about bounded
7927 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7928 <bp-sym.h> and <bp-asm.h>.
7929 (__strnlen): Don't use BP_SYM.
7930 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7931 <bp-sym.h> and <bp-asm.h>.
7932 (__GI__setjmp): Don't use BP_SYM.
7933 (_setjmp): Likewise.
7934 (__sigsetjmp): Likewise.
7935 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7936 (L(start_addresses)): Don't use BP_SYM.
7938 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7940 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7941 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7942 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7943 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7944 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7946 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7947 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7948 about bounded pointers.
7949 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7950 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7951 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7953 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7954 about bounded pointers. Remove GKM FIXME comments.
7955 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7956 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7958 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7959 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7960 Remove GKM FIXME comments.
7961 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7962 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7963 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7965 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7966 about bounded pointers. Remove GKM FIXME comment.
7967 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7969 (strncmp): Don't use BP_SYM. Remove comment about bounded
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7972 <bp-sym.h> and <bp-asm.h>.
7973 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7975 <bp-sym.h> and <bp-asm.h>.
7976 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7979 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7981 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7984 2013-03-05 David S. Miller <davem@davemloft.net>
7986 * po/es.po: Update from translation team.
7988 2013-03-05 Andreas Jaeger <aj@suse.de>
7990 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7991 <bits/mman-linux.h>.
7992 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7994 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7995 <bits/mman-linux.h> to end of file.
7996 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7998 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7999 <bits/mman-linux.h> to end of file.
8000 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8003 <bits/mman-linux.h> to end of file.
8005 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8006 (MCL_CURRENT, MCL_FUTURE): Define here.
8008 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8011 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8013 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8015 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8017 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8018 fourth parameter needed for rt_sigprocmask syscall.
8019 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8021 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8022 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8026 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8029 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8030 comment about bounded pointers.
8031 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8032 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8034 2013-03-04 Andreas Jaeger <aj@suse.de>
8036 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8039 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8040 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8041 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8043 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8046 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8049 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8050 __ieee754_sqrl instead of __sqrl.
8052 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8054 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8055 * sysdeps/powerpc/fpu_control.h: ... here.
8056 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8057 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8058 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8059 * sysdeps/powerpc/bits/mathinline.h: ... here.
8061 2013-03-01 Roland McGrath <roland@hack.frob.com>
8063 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8064 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8065 to just [NEED_DL_SYSINFO_DSO].
8066 * elf/dl-support.c: Likewise.
8067 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8068 * elf/rtld.c (dl_main): Likewise.
8069 * elf/setup-vdso.h (setup_vdso): Likewise.
8070 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8071 * sysdeps/unix/sysv/linux/dl-sysdep.c
8072 (_dl_discover_osversion): Likewise.
8074 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8076 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8077 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8079 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8081 * NEWS: Mention libm performance improvements and non-x86 PI
8084 * csu/libc-start.c (__pthread_initialize_minimal): Change
8086 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8088 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8091 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8092 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8093 <bp-sym.h> and <bp-asm.h>.
8094 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8095 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8097 (memcpy): Don't use BP_SYM.
8098 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8100 (__mpn_add_n): Don't use BP_SYM.
8101 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8102 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8104 (__mpn_addmul_1): Don't use BP_SYM.
8105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8106 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8108 (_setjmp): Don't use BP_SYM.
8109 (__novmx_setjmp): Likewise.
8110 (__GI__setjmp): Likewise.
8111 (__vmx_setjmp): Likewise.
8112 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8114 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8115 (__bzero): Don't use BP_SYM.
8116 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8117 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8118 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8119 <bp-sym.h> and <bp-asm.h>.
8120 (memcpy): Don't use BP_SYM.
8121 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8122 <bp-sym.h> and <bp-asm.h>.
8123 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8124 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8125 <bp-sym.h> and <bp-asm.h>.
8126 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8127 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8129 (__mpn_lshift): Don't use BP_SYM.
8130 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8131 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8133 (memset): Don't use BP_SYM.
8134 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8135 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8136 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8138 (__mpn_mul_1): Don't use BP_SYM.
8139 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8140 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8141 <bp-sym.h> and <bp-asm.h>.
8142 (memcmp): Don't use BP_SYM.
8143 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8144 <bp-sym.h> and <bp-asm.h>.
8145 (memcpy): Don't use BP_SYM.
8146 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8147 <bp-sym.h> and <bp-asm.h>.
8148 (memset): Don't use BP_SYM.
8149 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8150 <bp-sym.h> and <bp-asm.h>.
8151 (strncmp): Don't use BP_SYM.
8152 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8153 <bp-sym.h> and <bp-asm.h>.
8154 (memcpy): Don't use BP_SYM.
8155 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8156 <bp-sym.h> and <bp-asm.h>.
8157 (memset): Don't use BP_SYM.
8158 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8159 <bp-sym.h> and <bp-asm.h>.
8160 (__memchr): Don't use BP_SYM.
8161 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8162 <bp-sym.h> and <bp-asm.h>.
8163 (memcmp): Don't use BP_SYM.
8164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8165 <bp-sym.h> and <bp-asm.h>.
8166 (memcpy): Don't use BP_SYM.
8167 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8168 <bp-sym.h> and <bp-asm.h>.
8169 (__mempcpy): Don't use BP_SYM.
8170 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8171 <bp-sym.h> and <bp-asm.h>.
8172 (__memrchr): Don't use BP_SYM.
8173 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8174 <bp-sym.h> and <bp-asm.h>.
8175 (memset): Don't use BP_SYM.
8176 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8177 <bp-sym.h> and <bp-asm.h>.
8178 (__rawmemchr): Don't use BP_SYM.
8179 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8180 <bp-sym.h> and <bp-asm.h>.
8181 (__STRCMP): Don't use BP_SYM.
8182 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8183 <bp-sym.h> and <bp-asm.h>.
8184 (strchr): Don't use BP_SYM.
8185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8186 <bp-sym.h> and <bp-asm.h>.
8187 (__strchrnul): Don't use BP_SYM.
8188 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8189 <bp-sym.h> and <bp-asm.h>.
8190 (strlen): Don't use BP_SYM.
8191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8192 <bp-sym.h> and <bp-asm.h>.
8193 (strncmp): Don't use BP_SYM.
8194 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8195 <bp-sym.h> and <bp-asm.h>.
8196 (__strnlen): Don't use BP_SYM.
8197 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8199 (__mpn_rshift): Don't use BP_SYM.
8200 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8201 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8202 <bp-sym.h> and <bp-asm.h>.
8203 (__sigsetjmp): Don't use BP_SYM.
8204 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8205 (L(start_addresses)): Don't use BP_SYM.
8207 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8209 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8210 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8211 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8212 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8214 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8215 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8216 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8217 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8219 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8221 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8222 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8224 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8226 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8227 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8228 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8230 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8232 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8234 (strncmp): Don't use BP_SYM,
8235 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8237 (__mpn_sub_n): Don't use BP_SYM.
8238 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8239 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8241 (__mpn_submul_1): Don't use BP_SYM.
8242 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8244 <bp-sym.h> and <bp-asm.h>.
8245 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8247 <bp-sym.h> and <bp-asm.h>.
8248 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8251 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8254 Use ZK to minimize writes to Z.
8255 (sub_magnitudes): Simplify code a bit.
8256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8257 Use ZK to minimize writes to Z.
8258 (sub_magnitudes): Simplify code a bit.
8260 2013-02-27 Roland McGrath <roland@hack.frob.com>
8262 * csu/gmon-start.c: Add special exception to license text.
8264 2013-02-27 Richard Henderson <rth@redhat.com>
8266 * scripts/config.guess: Update from config.git.
8267 * scripts/config.sub: Likewise.
8269 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8271 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8273 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8275 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8277 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8279 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8281 2013-02-26 Roland McGrath <roland@hack.frob.com>
8283 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8284 [$(build-shared = yes].
8286 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8288 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8289 (__mul): Reduce iterations for calculating mantissa.
8291 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8293 (__mpranred): Likewise.
8296 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8297 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8299 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8301 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8302 Define __attribute__.
8304 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8308 * posix/regex_internal.h (__attribute): Remove.
8309 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8310 (re_string_context_at): Likewise.
8311 (bitset_not): Use __attribute__ and mark function as possibly
8313 (bitset_merge): Likewise.
8314 (bitset_mask): Likewise.
8315 (re_string_char_size_at): Likewise.
8316 (re_string_wchar_at): Likewise.
8317 (re_string_elem_size_at): Likewise.
8319 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8321 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8325 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8330 (__dbl_mp): Likewise.
8331 (add_magnitudes): Likewise.
8332 (sub_magnitudes): Likewise.
8336 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8339 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8342 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8346 up changes with default code.
8347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8350 2013-02-24 Allan McRae <allan@archlinux.org>
8352 * manual/socket.texi (The Internet Namespace): Order menu items
8353 to match that in the file.
8355 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8356 node listing of the info page menu.
8358 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8361 * sysdeps/i386/bp-asm.h: Remove file.
8362 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8363 (PARMS): Do not use macros from bp-asm.h.
8367 (__mpn_add_n): Do not use BP_SYM
8368 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8370 (PARMS): Do not use macros from bp-asm.h.
8373 (__mpn_addmul_1): Do not use BP_SYM
8374 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8376 (PARMS): Do not use macros from bp-asm.h.
8378 (_setjmp): Likewise. Do not use BP_SYM.
8379 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8381 (PARMS): Do not use macros from bp-asm.h.
8383 (setjmp): Likewise. Do not use BP_SYM.
8384 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8386 (PARMS): Do not use macros from bp-asm.h.
8387 (__frexp): Do not use BP_SYM.
8389 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8391 (PARMS): Do not use macros from bp-asm.h.
8392 (__frexpf): Do not use BP_SYM.
8394 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8396 (PARMS): Do not use macros from bp-asm.h.
8397 (__frexpl): Do not use BP_SYM.
8399 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8401 (PARMS): Do not use macros from bp-asm.h.
8402 (__remquo): Do not use BP_SYM.
8404 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8406 (PARMS): Do not use macros from bp-asm.h.
8407 (__remquof): Do not use BP_SYM.
8408 (remquof): Likewise.
8409 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8411 (PARMS): Do not use macros from bp-asm.h.
8412 (__remquol): Do not use BP_SYM.
8413 (remquol): Likewise.
8414 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8416 (PARMS): Do not use macros from bp-asm.h.
8419 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8420 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8422 (PARMS): Do not use macros from bp-asm.h.
8423 (strlen): Do not use BP_SYM.
8424 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8426 (PARMS): Do not use macros from bp-asm.h.
8430 (__mpn_add_n): Do not use BP_SYM.
8431 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8433 (PARMS): Do not use macros from bp-asm.h.
8436 (__mpn_addmul_1): Do not use BP_SYM.
8437 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8440 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8442 (PARMS): Do not use macros from bp-asm.h.
8445 (__mpn_lshift): Do not use BP_SYM.
8446 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8448 (PARMS): Do not use macros from bp-asm.h.
8452 (memcpy): Likewise. Do not use BP_SYM.
8453 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8454 libc_hidden_def and weak_alias.
8455 (mempcpy): Do not use BP_SYM in weak_alias.
8456 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8458 (PARMS): Do not use macros from bp-asm.h.
8461 [!BZERO_P] (CHR): Likewise.
8462 (memset): Likewise. Do not use BP_SYM.
8463 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8465 (PARMS): Do not use macros from bp-asm.h.
8468 (__mpn_mul_1): Do not use BP_SYM.
8469 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8471 (PARMS): Do not use macros from bp-asm.h.
8474 (__mpn_rshift): Do not use BP_SYM.
8475 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8477 (PARMS): Do not use macros from bp-asm.h.
8480 (strchr): Likewise. Do not use BP_SYM.
8481 (index): Do not use BP_SYM in weak_alias.
8482 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8484 (PARMS): Do not use macros from bp-asm.h.
8487 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8488 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8490 (PARMS): Do not use macros from bp-asm.h.
8491 (strlen): Do not use BP_SYM.
8492 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8494 (PARMS): Do not use macros from bp-asm.h.
8498 (__mpn_sub_n): Do not use BP_SYM.
8499 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8501 (PARMS): Do not use macros from bp-asm.h.
8504 (__mpn_submul_1): Do not use BP_SYM.
8505 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8507 (PARMS): Do not use macros from bp-asm.h.
8511 (__mpn_add_n): Do not use BP_SYM.
8512 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8515 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8517 (PARMS): Do not use macros from bp-asm.h.
8520 (memcmp): Do not use BP_SYM.
8521 (bcmp): Do not use BP_SYM in weak_alias.
8522 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8524 (PARMS): Do not use macros from bp-asm.h.
8528 (memcpy): Likewise. Do not use BP_SYM.
8529 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8531 (PARMS): Do not use macros from bp-asm.h.
8535 (memmove): Likewise. Do not use BP_SYM.
8536 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8538 (PARMS): Do not use macros from bp-asm.h.
8542 (__mempcpy): Likewise. Do not use BP_SYM.
8543 (mempcpy): Do not use BP_SYM in weak_alias.
8544 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8546 (PARMS): Do not use macros from bp-asm.h.
8549 [!BZERO_P] (CHR): Likewise.
8550 (memset): Likewise. Do not use BP_SYM.
8551 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8553 (PARMS): Do not use macros from bp-asm.h.
8555 (strcmp): Do not use BP_SYM.
8556 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8558 (PARMS): Do not use macros from bp-asm.h.
8561 [USE_AS_STRTOK_R] (SAVE): Likewise.
8562 (FUNCTION): Likewise. Do not use BP_SYM.
8563 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8565 (strtok_r): Likewise.
8566 (__GI___strtok_r): Likewise.
8567 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8568 (PARMS): Do not use macros from bp-asm.h.
8571 (__mpn_lshift): Do not use BP_SYM.
8572 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8573 (PARMS): Do not use macros from bp-asm.h.
8576 (__memchr): Do not use BP_SYM.
8577 (memchr): Do not use BP_SYM in weak_alias.
8578 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8579 (PARMS): Do not use macros from bp-asm.h.
8582 (memcmp): Do not use BP_SYM.
8583 (bcmp): Do not use BP_SYM in weak_alias.
8584 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8585 (PARMS): Do not use macros from bp-asm.h.
8588 (__mpn_mul_1): Do not use BP_SYM.
8589 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8591 (PARMS): Do not use macros from bp-asm.h.
8594 (__rawmemchr): Do not use BP_SYM.
8595 (rawmemchr): Do not use BP_SYM in weak_alias.
8596 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8597 (PARMS): Do not use macros from bp-asm.h.
8600 (__mpn_rshift): Do not use BP_SYM.
8601 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8602 (PARMS): Do not use macros from bp-asm.h.
8604 (__sigsetjmp): Likewise. Do not use BP_SYM.
8605 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8606 (_start): Do not use BP_SYM.
8607 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8608 (PARMS): Do not use macros from bp-asm.h.
8611 (__stpcpy): Likewise. Do not use BP_SYM.
8612 (stpcpy): Do not use BP_SYM in weak_alias.
8613 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8615 (PARMS): Do not use macros from bp-asm.h.
8619 (__stpncpy): Likewise. Do not use BP_SYM.
8620 (stpncpy): Do not use BP_SYM in weak_alias.
8621 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8622 (PARMS): Do not use macros from bp-asm.h.
8625 (strchr): Likewise. Do not use BP_SYM.
8626 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8628 (PARMS): Do not use macros from bp-asm.h.
8631 (__strchrnul): Likewise. Do not use BP_SYM.
8632 (strchrnul): Do not use BP_SYM in weak_alias.
8633 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8635 (PARMS): Do not use macros from bp-asm.h.
8637 (strcspn): Do not use BP_SYM.
8638 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8640 (PARMS): Do not use macros from bp-asm.h.
8643 (strpbrk): Likewise. Do not use BP_SYM.
8644 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8646 (PARMS): Do not use macros from bp-asm.h.
8649 (strrchr): Likewise. Do not use BP_SYM.
8650 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8651 (PARMS): Do not use macros from bp-asm.h.
8653 (strspn): Do not use BP_SYM.
8654 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8655 (PARMS): Do not use macros from bp-asm.h.
8659 (FUNCTION): Likewise. Do not use BP_SYM.
8660 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8662 (strtok_r): Likewise.
8663 (__GI___strtok_r): Likewise.
8664 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8665 (PARMS): Do not use macros from bp-asm.h.
8669 (__mpn_sub_n): Do not use BP_SYM.
8670 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8672 (PARMS): Do not use macros from bp-asm.h.
8675 (__mpn_submul_1): Do not use BP_SYM.
8676 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8678 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8680 (PARMS): Do not use macros from bp-asm.h.
8685 (__clone): Do not use BP_SYM.
8686 (clone): Do not use BP_SYM in weak_alias.
8687 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8689 (PARMS): Do not use macros from bp-asm.h.
8691 (__mmap64): Do not use BP_SYM.
8692 (mmap64): Do not use BP_SYM in weak_alias.
8693 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8694 <bp-sym.h> and <bp-asm.h>.
8695 (PARMS): Do not use macros from bp-asm.h.
8696 (__posix_fadvise64_l64): Do not use BP_SYM.
8697 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8698 (PARMS): Do not use macros from bp-asm.h.
8700 (semtimedop): Do not use BP_SYM.
8701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8704 2013-02-21 Allan McRae <allan@archlinux.org>
8706 * manual/message.texi (Charset conversion in gettext):
8707 Move @end statement to beginning of line.
8709 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8716 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8721 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8723 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8724 tail-call to the resolved function if pltexit isn't needed.
8726 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8729 or Y being zero as being unlikely.
8730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8733 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8735 * manual/nss.texi (System Databases and Name Service Switch):
8736 Remove frobnicate @pxref.
8738 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8740 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8741 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8743 2013-02-20 Petr Machata <pmachata@redhat.com>
8745 * elf/elf.h (R_ARM_TARGET1): New macro.
8746 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8747 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8748 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8749 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8750 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8751 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8752 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8753 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8754 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8755 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8756 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8757 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8758 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8759 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8760 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8761 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8762 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8763 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8764 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8765 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8766 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8767 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8768 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8769 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8770 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8771 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8772 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8773 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8774 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8775 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8776 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8777 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8778 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8779 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8780 (R_ARM_THM_GOT_BREL12): Likewise.
8781 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8782 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8783 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8784 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8785 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8786 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8787 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8788 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8789 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8791 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8793 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8794 __attribute_used__ to __attribute__ ((unused)).
8796 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8798 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8804 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8807 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8809 (ENTER): Remove both macro definitions.
8811 (CHECK_BOUNDS_LOW): Likewise.
8812 (CHECK_BOUNDS_HIGH): Likewise.
8813 (CHECK_BOUNDS_BOTH): Likewise.
8814 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8815 (RETURN_BOUNDED_POINTER): Likewise.
8816 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8817 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8818 (POP_ERRNO_LOCATION_RETURN): Likewise.
8819 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8820 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8821 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8823 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8824 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8825 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8826 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8827 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8828 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8829 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8830 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8831 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8832 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8833 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8834 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8835 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8836 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8838 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8839 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8841 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8842 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8843 * sysdeps/i386/i586/memset.S (memset): Likewise.
8844 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8845 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8846 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8848 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8849 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8850 Change uses of L(2) to L(out).
8851 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8852 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8853 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8854 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8855 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8857 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8858 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8860 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8861 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8862 (RETURN): Do not use macro LEAVE.
8863 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8864 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8865 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8866 * sysdeps/i386/i686/memset.S (memset): Likewise.
8867 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8868 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8869 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8870 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8872 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8873 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8874 L(1_2) and L(1_3) into L(1).
8875 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8876 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8877 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8878 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8879 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8880 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8881 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8882 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8883 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8885 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8886 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8887 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8888 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8889 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8890 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8891 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8892 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8893 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8894 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8895 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8896 * sysdeps/i386/strspn.S (strspn): Likewise.
8897 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8899 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8900 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8901 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8902 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8904 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8905 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8906 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8908 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8910 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8912 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8915 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8917 * math/atest-exp.c (exp_mpn): Remove ROUND.
8918 * math/atest-exp2.c (exp_mpn): Likewise.
8919 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8921 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8922 * stdlib/tst-tls-atexit-lib.c: Likewise.
8923 * stdlib/tst-tls-atexit.c: Likewise.
8925 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8927 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8928 and __attribute_alloc_size__.
8930 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8932 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8933 __attribute_alloc_size__.
8934 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8935 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8937 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8939 * include/programs/xmalloc.h: New file.
8940 * catgets/gencat.c: Include it.
8941 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8942 * elf/pldd.c: Likewise.
8943 * iconv/iconv_charmap.c: Likewise.
8944 * iconv/iconvconfig.c: Likewise.
8945 * iconv/strtab.c: Likewise.
8946 * locale/programs/locale.c: Likewise.
8947 * locale/programs/localedef.h: Likewise.
8948 * locale/programs/simple-hash.c: Likewise.
8949 * nscd/nscd.h: Likewise.
8950 * nss/makedb.c: Likewise.
8951 * sysdeps/generic/ldconfig.h: Likewise.
8953 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8955 * Versions.def: Add GLIBC_2.18.
8956 * include/link.h (struct link_map): New member l_tls_dtor_count.
8957 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8958 (__call_tls_dtors): Likewise.
8959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8960 __cxa_thread_atexit_impl.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8977 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8978 (tests): Add test case tst-tls-atexit.
8979 (modules-names): Add shared library for tst-tls-atexit.
8980 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8981 (GLIBC_PRIVATE): Add __call_tls_dtors.
8982 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8984 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8985 * stdlib/tst-tls-atexit.c: New test case.
8986 * stdlib/tst-tls-atexit-lib.c: New test case.
8988 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8990 * elf/Versions (ld): Add _dl_find_dso_for_object.
8991 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8992 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8993 (dl_open_worker): Use _dl_find_dso_for_object.
8994 * elf/dl-sym.c (do_sym): Likewise.
8995 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8997 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8999 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9000 Syntactic changes only.
9001 (_dl_runtime_profile): Do a tail-call to the resolved function.
9003 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9006 * sysdeps/x86_64/bp-asm.h: Remove file.
9007 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9008 <bp-sym.h> and <bp-asm.h>.
9009 (__clone): Do not use BP_SYM.
9010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9011 <bp-sym.h> and <bp-asm.h>.
9012 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9013 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9015 (_setjmp): Do not use BP_SYM.
9016 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9018 (setjmp): Do not use BP_SYM.
9019 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9021 (mempcpy): Do not use BP_SYM in weak_alias.
9022 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9024 (strchr): Do not use BP_SYM.
9025 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9027 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9028 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9029 (_start): Do not use BP_SYM.
9030 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9032 (strcat): Do not use BP_SYM.
9033 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9035 (STRCMP): Do not use BP_SYM.
9036 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9038 (STRCPY): Do not use BP_SYM.
9039 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9041 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9043 (FUNCTION): Do not use BP_SYM.
9044 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9046 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9048 2013-02-17 Andreas Jaeger <aj@suse.de>
9050 * time/Versions: Sort entries.
9051 * string/Versions: Likewise.
9052 * resolv/Versions: Likewise.
9053 * posix/Versions: Likewise.
9054 * iconv/Versions: Likewise.
9055 * elf/Versions: Likewise.
9056 * wcsmbs/Versions: Likewise.
9058 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9060 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9061 loop termination condition.
9063 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9064 variable to calculate EZ.
9067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9068 the lower precision input.
9070 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9073 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9074 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9075 (run-via-rtld-prefix): Do not handle %-bp tests.
9076 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9077 (all-object-suffixes): Remove .ob.
9078 (bppfx): Remove variable.
9079 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9080 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9081 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9082 [$(build-bounded) = yes] (libtype.ob): Likewise.
9083 * Makerules (elide-routines.ob): Remove variable.
9084 (do-tests-clean): Do not handle *-bp.out.
9085 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9086 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9087 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9088 (tests): Do not include $(tests-bp.out).
9089 (xtests): Do not include $(xtests-bp.out).
9090 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9091 [$(build-bounded) = yes] ($(addprefix
9092 $(objpfx),$(binaries-bounded))): Remove rule.
9093 ($(objpfx)%-bp.out): Remove rule.
9094 * config.make.in (build-bounded): Remove variable.
9095 * crypt/Makefile [$(build-bounded) = yes]
9096 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9097 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9099 [$(build-bounded) = yes] (install-lib): Likewise.
9100 [$(build-bounded) = yes] (generated): Likewise.
9101 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9103 * intl/Makefile [$(build-bounded) = yes]
9104 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9105 * math/Makefile [$(build-bounded) = yes]
9106 ($(tests:%=$(objpfx)%-bp): Likewise.
9107 * misc/Makefile [$(build-bounded) = yes]
9108 ($(objpfx)tst-tsearch-bp): Likewise.
9109 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9110 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9112 * string/Makefile (o-objects.ob): Remove variable.
9113 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9114 (CFLAGS-.ob): Remove variable.
9115 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9116 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9117 both definitions of variable.
9118 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9119 (ASFLAGS-.ob): Remove variable.
9121 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9124 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9125 Remove __BOUNDED_POINTERS__ from condition.
9126 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9127 * string/bits/string2.h [!__NO_STRING_INLINES &&
9128 !__BOUNDED_POINTERS__]: Likewise.
9129 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9131 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9132 Remove conditional code.
9133 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9134 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9135 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9139 * csu/libc-start.c: Do not include <bp-sym.h>.
9140 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9141 * elf/dl-open.c: Do not include <bp-sym.h>.
9142 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9143 * math/fegetenv.c: Do not include <bp-sym.h>.
9144 (fegetenv): Do not use BP_SYM in versioned symbols.
9145 * nptl/sysdeps/pthread/bits/libc-lockP.h
9146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9149 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9151 (__pthread_mutex_destroy): Likewise.
9152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9153 (__pthread_mutex_lock): Likewise.
9154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9155 (__pthread_mutex_trylock): Likewise.
9156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9157 (__pthread_mutex_unlock): Likewise.
9158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9159 (__pthread_mutexattr_init): Likewise.
9160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9161 (__pthread_mutexattr_destroy): Likewise.
9162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9163 (__pthread_mutexattr_settype): Likewise.
9164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9165 (__pthread_rwlock_init): Likewise.
9166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9167 (__pthread_rwlock_destroy): Likewise.
9168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9169 (__pthread_rwlock_rdlock): Likewise.
9170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9171 (__pthread_rwlock_tryrdlock): Likewise.
9172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9173 (__pthread_rwlock_wrlock): Likewise.
9174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9175 (__pthread_rwlock_trywrlock): Likewise.
9176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9177 (__pthread_rwlock_unlock): Likewise.
9178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9179 (__pthread_key_create): Likewise.
9180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9181 (__pthread_setspecific): Likewise.
9182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9183 (__pthread_getspecific): Likewise.
9184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9187 (_pthread_cleanup_push_defer): Likewise.
9188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9189 (_pthread_cleanup_pop_restore): Likewise.
9190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9191 (pthread_setcancelstate): Likewise.
9192 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9194 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9195 (memchr): Do not use BP_SYM in weak_alias.
9196 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9197 (fegetenv): Do not use BP_SYM in versioned symbols.
9198 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9199 (fesetenv): Do not use BP_SYM in versioned symbols.
9200 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9201 (feupdateenv): Do not use BP_SYM in versioned symbols.
9202 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9203 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9204 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9205 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9206 (open64): Do not use BP_SYM in weak_alias.
9207 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9208 (fegetenv): Do not use BP_SYM in versioned symbols.
9209 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9210 (fesetenv): Do not use BP_SYM in versioned symbols.
9211 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9212 (feupdateenv): Do not use BP_SYM in versioned symbols.
9213 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9214 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9215 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9216 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9217 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9218 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9219 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9221 (__libc_start_main): Do not use BP_SYM.
9223 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9226 redundant return line.
9230 (sub_magnitudes): Likewise.
9236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9240 (sub_magnitudes): Likewise.
9247 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9249 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9250 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9253 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9254 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9256 of __mul for squares.
9257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9262 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9264 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9267 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9269 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9270 prototype or function definition. Rename ubp_* variables and
9271 parameters. Remove argv definitions conditional on
9272 [__BOUNDED_POINTERS__].
9273 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9274 * elf/dl-runtime.c (_dl_fixup): Likewise.
9275 * include/set-hooks.h (RUN_HOOK): Likewise.
9276 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9278 * string/strcpy.c (strcpy): Do not use __unbounded.
9279 * sysdeps/generic/frame.h (struct layout): Likewise.
9280 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9281 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9282 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9283 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9284 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9285 (__backtrace): Likewise.
9286 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9288 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9289 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9290 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9292 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9293 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9294 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9295 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9296 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9297 Do not use __unbounded.
9298 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9299 Rename __unboundedrlimits parameter to rlimits in prototype.
9300 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9301 Do not use __unbounded.
9302 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9304 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9305 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9306 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9307 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9308 __ptrvalue or __unbounded.
9309 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9310 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9312 (__new_msgctl): Do not use __ptrvalue.
9313 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9315 (__libc_msgrcv): Do not use __ptrvalue.
9316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9317 startup_info): Do not use __unbounded.
9318 (__libc_start_main): Likewise. Rename ubp_* variables and
9319 parameters. Remove argv definitions conditional on
9320 [__BOUNDED_POINTERS__].
9321 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9323 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9327 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9329 (__new_shmctl): Do not use __ptrvalue.
9330 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9331 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9333 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9335 (__libc_sigaction): Likewise.
9336 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9337 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9339 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9341 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9343 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9345 * string/mempcpy.c: Implement by calling memcpy.
9347 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9354 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9355 values in the mantissa.
9357 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9358 minimize writes to Z.
9359 (sub_magnitudes): Simplify code a bit.
9361 2013-02-12 Roland McGrath <roland@hack.frob.com>
9363 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9364 from the message. The linker prefixes all warnings with that already.
9366 2013-02-12 Andreas Schwab <schwab@suse.de>
9369 * posix/regexec.c (extend_buffers): Add parameter min_len.
9370 (check_matching): Pass minimum needed length.
9371 (clean_state_log_if_needed): Likewise.
9372 (get_subexp): Likewise.
9373 * posix/Makefile (tests): Add bug-regex34.
9374 (bug-regex34-ENV): Define.
9375 * posix/bug-regex34.c: New file.
9378 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9379 elements compare against the byte sequence of it, not its name.
9380 * posix/Makefile (tests): Add bug-regex35.
9381 (bug-regex35-ENV): Define.
9382 * posix/bug-regex35.c: New file.
9384 2013-02-11 Tom de Vries <tom@codesourcery.com>
9386 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9388 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9389 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9390 (CHECK_EOL): Add undef.
9392 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9394 * bits/stdlib-bsearch.h: New file.
9395 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9396 * stdlib/stdlib.h: Likewise.
9398 2013-02-11 Roland McGrath <roland@hack.frob.com>
9400 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9401 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9403 * manual/search.texi (Array Search Function): Add missing const in
9405 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9406 declaration to use rlim_t.
9407 (Basic Scheduling Functions): Remove erroneous const from
9408 sched_getparam prototype. Remove erroneous * from
9409 sched_get_priority_max and sched_get_priority_min prototypes.
9410 (Resource Usage): Fix summary @comment on vtimes to refer to
9411 sys/vtimes.h rather than vtimes.h.
9412 Add missing *s in vtimes prototype.
9413 (Limits on Resources): Fix ulimit prototype to return long int.
9414 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9415 prototypes to use long int rather than double.
9416 (BSD Random): Fix initstate and setstate to use char *, not void *.
9417 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9418 prototype to make second argument 'struct aiocb64 *const[]'.
9419 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9420 (Status of AIO Operations): Remove erroneous const in aio_return and
9421 aio_return64 prototypes.
9422 (Synchronizing I/O): Fix sync prototype to return void.
9423 * manual/startup.texi (Suboptions): Remove an erroneous const in
9424 getsubopt prototype.
9425 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9426 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9427 use size_t rather than int.
9428 (Scanning All Users): Likewise for getpwent_r.
9429 (Setting Groups): Add missing const to setgroups prototype.
9430 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9431 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9432 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9433 'const void *' rather than 'const char *'.
9434 (Host Address Functions): Likewise for inet_ntop.
9435 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9436 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9437 ssize_t for return value.
9438 (Sending Data): Likewise for send, sendto, sendmsg.
9439 (Socket Option Functions): Add a missing const in setsockopt prototype.
9440 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9441 use wchar_t for the argument.
9442 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9443 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9445 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9446 double/float/long double for second argument.
9447 Fix return types of significand, significandf, significandl.
9448 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9449 argument in fchmod prototype.
9450 (File Owner): Use uid_t and gid_t in fchown prototype.
9451 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9452 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9453 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9454 use 'const struct dirent **' as argument types to CMP function pointer
9456 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9457 (File Times): Fix summary magic @comment for struct utimbuf and utime
9458 to refer to utime.h, not time.h.
9459 * manual/string.texi (Argz Functions): Add missing const in
9460 argz_extract and argz_next prototypes.
9461 (Finding Tokens in a String): Likewise for basename.
9462 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9463 (Copying and Concatenation): Fix typo in wmemmove prototype.
9464 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9465 (Signal Stack): Remove erroneous const in sigstack prototype.
9466 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9468 (Simple Calendar Time): Likewise for stime.
9469 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9471 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9472 say sys/sysctl.h instead.
9473 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9474 and vsyslog prototypes.
9476 2013-02-11 Tom de Vries <tom@codesourcery.com>
9478 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9481 2013-02-11 Roland McGrath <roland@hack.frob.com>
9483 * misc/sys/mman.h: Fix typo in mremap comment.
9485 2013-02-08 Roland McGrath <roland@hack.frob.com>
9487 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9488 the '\0' terminator.
9490 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9493 * debug/segfault.c: Don't include <bp-checks.h>.
9494 * sysdeps/generic/bp-checks.h: Remove file.
9495 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9496 (__GETDENTS): Don't use CHECK_N.
9497 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9498 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9499 (__getgroups): Don't use CHECK_N.
9500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9501 (setgroups): Don't use CHECK_N.
9502 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9503 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9504 (__libc_msgrcv): Don't use CHECK_N.
9505 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9506 (__libc_msgsnd): Don't use CHECK_N.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9509 (__libc_pread): Don't use CHECK_N.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9511 include <bp-checks.h>.
9512 (__libc_pread64): Don't use CHECK_N.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9514 include <bp-checks.h>.
9515 (__libc_pwrite): Don't use CHECK_N.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9517 include <bp-checks.h>.
9518 (__libc_pwrite64): Don't use CHECK_N.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9521 (__libc_pread): Don't use CHECK_N.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9523 include <bp-checks.h>.
9524 (__libc_pread64): Don't use CHECK_N.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9526 include <bp-checks.h>.
9527 (__libc_pwrite): Don't use CHECK_N.
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9529 include <bp-checks.h>.
9530 (__libc_pwrite64): Don't use CHECK_N.
9531 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9532 (do_pread): Don't use CHECK_N.
9533 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9534 (do_pread64): Don't use CHECK_N.
9535 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9536 (do_pwrite): Don't use CHECK_N.
9537 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9538 (do_pwrite64): Don't use CHECK_N.
9539 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9540 (__libc_readv): Don't use CHECK_N.
9541 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9542 (semop): Don't use CHECK_N.
9543 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9545 (semtimedop): Don't use CHECK_N.
9546 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9547 (__libc_pread): Don't use CHECK_N.
9548 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9550 (__libc_pread64): Don't use CHECK_N.
9551 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9553 (__libc_pwrite): Don't use CHECK_N.
9554 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9556 (__libc_pwrite64): Don't use CHECK_N.
9557 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9559 (__libc_msgrcv): Don't use CHECK_N.
9560 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9561 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9562 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9563 (__libc_writev): Don't use CHECK_N.
9565 2013-02-08 Roland McGrath <roland@hack.frob.com>
9567 * string/strcpy.c: Removed unused variable.
9569 * Makeconfig (+sysdep-includes): Define with := rather than =.
9570 Use an existing include/ subdir of each sysdeps dir before it.
9572 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9574 * nscd/connection.c (register_traced_file): Comment function.
9575 [HAVE_INOTIFY] (union __inev): Define.
9576 [HAVE_INOTIFY] (inotify_check_files): New function.
9577 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9578 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9580 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9582 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9584 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9585 loaded if not already and that a failure is permanent.
9587 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9590 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9591 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9593 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9596 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9597 (CHECK_1_NULL_OK): Likewise.
9598 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9599 (__fxstat): Do not use CHECK_1.
9600 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9602 (___fxstat64): Do not use CHECK_1.
9603 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9605 (__fxstatat): Do not use CHECK_1.
9606 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9608 (__fxstatat64): Do not use CHECK_1.
9609 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9611 (__fxstat): Do not use CHECK_1.
9612 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9614 (__fxstatat): Do not use CHECK_1.
9615 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9617 (__getresgid): Do not use CHECK_1.
9618 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9620 (__getresuid): Do not use CHECK_1.
9621 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9623 (__lxstat): Do not use CHECK_1.
9624 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9626 (__old_msgctl): Do not use CHECK_1.
9627 (__new_msgctl): Likewise.
9628 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9630 (__new_setrlimit): Do not use CHECK_1.
9631 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9633 (__old_shmctl): Do not use CHECK_1.
9634 (__new_shmctl): Likewise.
9635 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9637 (__xstat): Do not use CHECK_1.
9638 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9639 (__lxstat): Do not use CHECK_1.
9640 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9642 (___lxstat64): Do not use CHECK_1.
9643 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9644 (__old_msgctl): Do not use CHECK_1.
9645 (__new_msgctl): Likewise.
9646 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9648 (__gettimeofday): Do not use CHECK_1.
9649 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9650 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9651 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9653 (__gettimeofday): Do not use CHECK_1.
9654 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9655 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9656 (__new_shmctl): Do not use CHECK_1.
9657 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9659 (do_sigtimedwait): Do not use CHECK_1.
9660 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9662 (do_sigwaitinfo): Do not use CHECK_1.
9663 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9665 (msgctl): Do not use CHECK_1.
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9668 (shmctl): Do not use CHECK_1.
9669 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9670 (ustat): Do not use CHECK_1.
9671 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9673 (__fxstat): Do not use CHECK_1.
9674 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9676 (__fxstatat): Do not use CHECK_1.
9677 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9679 (__lxstat): Do not use CHECK_1.
9680 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9682 (__xstat): Do not use CHECK_1.
9683 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9684 (__xstat): Do not use CHECK_1.
9685 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9686 (___xstat64): Do not use CHECK_1.
9689 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9691 (CHECK_BOUNDS_HIGH): Likewise.
9692 * string/strcpy.c: Do not include <bp-checks.h>.
9693 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9695 2013-02-07 Roland McGrath <roland@hack.frob.com>
9697 * nscd/nscd-client.h (__nscd_drop_map_ref):
9698 Add __attribute__ ((unused)).
9699 * nis/nss-nisplus.h (niserr2nss): Likewise.
9701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9702 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9704 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9705 Remove inline keyword.
9706 * include/rounding-mode.h (round_away): Likewise.
9707 * libio/wfileops.c (adjust_wide_data): Likewise.
9708 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9709 (__m128i_strloadu_tolower): Likewise.
9710 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9711 (__m128i_strloadu_tolower): Likewise.
9712 * time/mktime.c (ydhms_diff): Likewise.
9713 * locale/elem-hash.h (elem_hash): Likewise.
9714 * locale/setlocale.c (setdata): Likewise.
9715 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9716 (re_string_wchar_at): Likewise.
9717 (bitset_not, bitset_merge, bitset_mask): Likewise.
9718 [!(__GNUC__ > 3)] (inline): Remove macro.
9719 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9720 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9721 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9722 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9723 * string/memcmp.c (memcmp_bytes): Likewise.
9724 * locale/programs/locarchive.c (compute_hashval): Likewise.
9725 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9726 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9727 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9728 * nss/getent.c (print_rpc, print_protocols): Likewise.
9729 (print_passwd, print_group, print_aliases): Likewise.
9730 * nis/nss-nisplus.h (niserr2nss): Likewise.
9731 * nscd/connections.c (restart_p): Likewise.
9732 Change return type to bool.
9734 2013-02-05 Roland McGrath <roland@hack.frob.com>
9736 * Makeconfig (all-Depend-files): Add existing
9737 $(sorted-subdirs:=/Depend) files.
9738 (all-subdirs): Remove nss.
9739 * sysdeps/unix/inet/Subdirs: Add it here instead.
9740 * hesiod/Depend: New file.
9742 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9743 instead of calling alloca.
9745 * io/lseek.c (__lseek): Rename to __libc_lseek.
9746 Define __lseek as an alias.
9748 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9750 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9752 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9753 else clause and remove check for non-standard endianness.
9755 2013-02-04 David S. Miller <davem@davemloft.net>
9757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9759 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9762 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9763 (__ubp_memchr): Remove prototype.
9764 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9765 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9766 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9767 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9768 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9770 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9771 (__ubp_memchr): Likewise.
9772 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9773 (__ubp_memchr): Likewise.
9774 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9775 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9776 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9777 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9779 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9780 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9781 (__getcwd): Do not use CHECK_STRING.
9782 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9784 (__real_chown): Do not use CHECK_STRING.
9785 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9787 (fchownat): Do not use CHECK_STRING.
9788 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9790 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9792 (__lchown): Do not use CHECK_STRING.
9793 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9794 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9795 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9796 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9798 include <bp-checks.h>.
9799 (truncate64): Do not use CHECK_STRING.
9800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9802 (__real_chown): Do not use CHECK_STRING.
9803 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9805 (__lchown): Do not use CHECK_STRING.
9806 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9808 (__chown): Do not use CHECK_STRING.
9809 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9811 (truncate64): Do not use CHECK_STRING.
9812 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9814 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9815 (__xmknod): Do not use CHECK_STRING.
9816 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9818 (__xmknodat): Do not use CHECK_STRING.
9819 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9820 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9822 2013-02-04 Andreas Schwab <schwab@suse.de>
9825 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9826 * include/netdb.h: Likewise for h_errno.
9827 * elf/tst-stackguard1.c: Include <tls.h>.
9829 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9831 * elf/link.h (struct link_map): Extend the l_addr comment.
9832 * include/link.h (struct link_map): Likewise.
9834 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9837 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9838 (BOUNDED_1): Remove macro.
9839 * debug/backtrace.c: Don't include <bp-checks.h>.
9840 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9841 (__backtrace): Likewise.
9842 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9844 (__backtrace): Don't use BOUNDED_1.
9845 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9847 (__backtrace): Don't use BOUNDED_1.
9848 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9849 (__backtrace): Don't use BOUNDED_1.
9850 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9851 (shmat): Don't use BOUNDED_N.
9853 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9856 * sysdeps/generic/bp-start.h: Remove file.
9857 * csu/libc-start.c: Don't include <bp-start.h>.
9858 (LIBC_START_MAIN): Set up __environ directly instead of using
9859 INIT_ARGV_and_ENVIRON.
9860 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9864 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9866 (CHECK_FCNTL): Likewise.
9867 (CHECK_N_PAGES): Likewise.
9870 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9872 (CHECK_SIGSET_NULL_OK): Likewise.
9873 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9875 (sigpending): Don't use CHECK_SIGSET.
9876 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9878 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9879 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9881 (do_sigsuspend): Don't use CHECK_SIGSET.
9882 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9884 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9885 (do_sigwait): Don't use CHECK_SIGSET.
9886 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9888 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9889 include <bp-checks.h>.
9890 (sigpending): Don't use CHECK_SIGSET.
9891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9892 include <bp-checks.h>.
9893 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9894 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9896 (sigpending): Don't use CHECK_SIGSET.
9897 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9899 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9902 * sysdeps/generic/bp-semctl.h: Remove file.
9903 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9904 <bp-checks.h> and <bp-semctl.h>.
9905 (__old_semctl): Don't use CHECK_SEMCTL.
9906 (__new_semctl): Likewise.
9907 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9909 (__old_semctl): Don't use CHECK_SEMCTL.
9910 (__new_semctl): Likewise.
9911 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9912 <bp-checks.h> and <bp-semctl.h>.
9913 (__old_semctl): Don't use CHECK_SEMCTL.
9914 (__new_semctl): Likewise.
9915 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9916 <bp-checks.h> and <bp-semctl.h>.
9917 (semctl): Don't use CHECK_SEMCTL.
9920 * Makerules (elide-bp-thunks): Remove variable.
9921 (elide-routines.oS): Don't use $(elide-bp-thunks).
9922 (elide-routines.os): Likewise.
9923 (elide-routines.o): Likewise.
9924 (elide-routines.op): Likewise.
9925 (elide-routines.og): Likewise.
9926 (objects): Don't use $(bp-thunks).
9927 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9929 (common-generated): Do not add s-proto-bp.d.
9930 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9933 Do not generate makefile rules for bounded-pointer thunks.
9934 * sysdeps/generic/bp-thunks.h: Remove file.
9935 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9936 * sysdeps/unix/s-proto-bp.S: Likewise.
9939 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9940 parts of result separately when argument is not close to line from
9941 -i to i and one part of argument is small.
9942 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9943 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9944 * math/libm-test.inc (cacos_test): Add more tests.
9945 (casin_test): Likewise.
9946 (casinh_test): Likewise.
9947 * sysdeps/i386/fpu/libm-test-ulps: Update.
9948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950 2013-01-31 David S. Miller <davem@davemloft.net>
9952 * po/de.po: Update from translation team.
9954 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9956 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9958 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9960 * configure.in (_AC_PROG_CC_C89): New definition.
9961 * configure: Regenerate.
9963 * configure.in (AC_PROG_CPP): New definition.
9964 * configure: Regenerate.
9966 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9968 * debug/tst-backtrace.h: New file.
9969 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9970 (ret): Remove variable.
9972 (FAIL): Remove macro.
9973 (NO_INLINE): Likewise.
9974 (fn1): Use match function instead of strstr.
9975 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9976 (ret): Remove variable.
9978 (FAIL): Remove macro.
9979 (NO_INLINE): Likewise.
9980 (fn): Use match function instead of strstr.
9981 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9982 (ret): Remove variable.
9984 (FAIL): Remove macro.
9985 (NO_INLINE): Likewise.
9986 (handle_signal): Use match function instead of strstr.
9987 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9988 (ret): Remove variable.
9990 (FAIL): Remove macro.
9991 (NO_INLINE): Likewise.
9992 (handle_signal): Use match function instead of strstr.
9994 2013-01-23 Roland McGrath <roland@hack.frob.com>
9996 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9998 2013-01-23 David S. Miller <davem@davemloft.net>
10000 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10001 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10002 argument of CAS if possible.
10003 * sysdeps/sparc/sparc64/bits/atomic.h
10004 (__arch_compare_and_exchange_val_32_acq): Likewise.
10005 (__arch_compare_and_exchange_val_64_acq): Likewise.
10007 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10009 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10010 * sysdeps/posix/ulimit.c: ... this.
10011 Include <limits.h>.
10012 * sysdeps/unix/bsd/ulimit.c: Remove file.
10014 2013-01-23 Adam Conrad <adconrad@0c3.net>
10016 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10017 (LDFLAGS-tst-array5): Likewise.
10019 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10022 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10023 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10024 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10025 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10027 2013-01-21 David S. Miller <davem@davemloft.net>
10029 * sysdeps/sparc/backtrace.c: New file.
10030 * sysdeps/sparc/sparc32/backtrace.h: New file.
10031 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10032 * sysdeps/sparc/sparc64/backtrace.h: New file.
10033 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10034 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10037 2013-01-21 Andreas Schwab <schwab@suse.de>
10040 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10043 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10049 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10050 Mark Mitchell <mark@codesourcery.com>
10051 Tom de Vries <tom@codesourcery.com>
10052 Paul Pluzhnikov <ppluzhnikov@google.com>
10054 * debug/tst-backtrace2.c: New file.
10055 * debug/tst-backtrace3.c: Likewise.
10056 * debug/tst-backtrace4.c: Likewise.
10057 * debug/tst-backtrace5.c: Likewise.
10058 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10059 (CFLAGS-tst-backtrace3.c): Likewise.
10060 (CFLAGS-tst-backtrace4.c): Likewise.
10061 (CFLAGS-tst-backtrace5.c): Likewise.
10062 (LDFLAGS-tst-backtrace2): Likewise.
10063 (LDFLAGS-tst-backtrace3): Likewise.
10064 (LDFLAGS-tst-backtrace4): Likewise.
10065 (LDFLAGS-tst-backtrace5): Likewise.
10066 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10067 tst-backtrace4 and tst-backtrace5.
10069 2013-01-18 Anton Blanchard <anton@samba.org>
10070 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10072 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10073 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10074 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10075 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10077 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10078 "+r" and remove output regs list as redundant. Add explicit inline
10079 asm to specify register of return val to work around compiler codegen
10080 bug. Remove (int) cast on return value. Add return type parameter to
10081 use in macro so that this macro does not truncate return value for
10083 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10084 pass to INTERNAL_VSYSCALL_NCS.
10085 (INLINE_VSYSCALL): Add 'long int' as return type to
10086 INTERNAL_VSYSCALL_NCS macro invocation.
10087 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10088 INTERNAL_VSYSCALL_NCS macro invocation.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10091 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10094 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10095 Fix application of SIMD FP exception mask.
10097 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10098 mp_no from a power of two.
10099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10100 __mpexp_twomm1. Use __pow_mp.
10102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10105 2013-01-17 David S. Miller <davem@davemloft.net>
10107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10109 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10112 * include/complex.h: Condition contents on [!_COMPLEX_H].
10113 (__kernel_casinhf): New prototype.
10114 (__kernel_casinh): Likewise.
10115 (__kernel_casinhl): Likewise.
10116 * math/Makefile (libm_calls): Add k_casinh.
10117 * math/k_casinh.c: New file.
10118 * math/k_casinhf.c: Likewise.
10119 * math/k_casinhl.c: Likewise.
10120 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10121 finite nonzero arguments.
10122 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10123 finite nonzero arguments.
10124 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10125 finite nonzero arguments.
10126 * math/s_casinh.c: Do not include <float.h>.
10127 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10128 * math/s_casinhf.c: Do not include <float.h>.
10129 (__casinhf): Move code for finite nonzero arguments to
10131 * math/s_casinhl.c: Do not include <float.h>.
10132 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10134 (__casinhl): Move code for finite nonzero arguments to
10136 * math/libm-test.inc (cacos_test): Add more tests.
10137 * sysdeps/i386/fpu/libm-test-ulps: Update.
10138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10140 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10142 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10143 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10144 [!HAVE_MREMAP]: Remove [defined linux] case.
10145 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10147 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10149 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10151 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10153 * elf/elf.h (R_386_SIZE32): New relocation.
10154 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10156 (elf_machine_rela): Likewise.
10157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10158 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10160 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10162 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10163 (FP_FAST_FMA): Do not define.
10164 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10165 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10166 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10167 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10168 !_SOFT_FLOAT]: Likewise.
10169 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10170 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10172 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10173 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10174 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10176 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10177 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10180 2013-01-16 Andreas Schwab <schwab@suse.de>
10183 * include/stdlib.h (__mktemp): Add declaration.
10184 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10185 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10187 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10189 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10191 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10192 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10193 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10195 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10196 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10198 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10200 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10201 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10202 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10204 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10205 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10207 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10209 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10211 2013-01-15 David S. Miller <davem@davemloft.net>
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10214 trunc{,f} to libm-sysdep_routes.
10215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10226 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10227 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10228 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10229 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10230 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10233 nearbyint{,f} to libm-sysdep_routes.
10234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10245 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10247 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10251 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10252 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10254 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10255 libc_feholdexcept and libc_fesetenv.
10257 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10259 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10261 2013-01-14 David S. Miller <davem@davemloft.net>
10263 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10264 (SPARC_ASM_VIS2_IFUNC): Likewise.
10265 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10267 use of 'siam' instruction.
10268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10301 routines to libm-sysdep_routines.
10302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10305 fdim/fdimf to libm-sysdep_routines.
10306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10314 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10315 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10316 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10317 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10319 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10322 to optimize copies.
10324 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10329 local variable MPTWO.
10330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10333 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10335 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10338 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10340 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10342 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10344 * manual/pattern.texi (glob_t): Document gl_flags.
10345 (glob64_t): Likewise.
10347 2013-01-11 David S. Miller <davem@davemloft.net>
10349 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10350 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10351 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10352 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10353 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10354 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10355 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10356 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10357 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10358 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10359 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10360 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10361 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10363 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10364 sparc V9 rather than using V8 code.
10365 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10366 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10368 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10370 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10373 2013-01-11 Roland McGrath <roland@hack.frob.com>
10375 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10376 not in the main loop.
10377 * configure: Regenerated.
10379 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10381 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10382 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10384 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10385 [!__GLIBC_HAVE_LONG_LONG] case.
10386 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10387 condition to just #else.
10388 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10389 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10390 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10391 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10393 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10394 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10395 #elif condition to just #else.
10396 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10397 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10398 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10399 #elif condition to just #else.
10401 2013-01-11 Steve Ellcey <sellcey@mips.com>
10403 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10404 (EF_MIPS_ARCH_64): Fix value.
10405 (EF_MIPS_ARCH_32R2): New.
10406 (EF_MIPS_ARCH_64R2): New.
10408 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10410 * Makeconfig (+link-pie-before-libc): New.
10411 (+link-pie-after-libc): Likewise.
10412 (+link-pie-tests): Likewise.
10413 (+link-pie): Rewritten.
10414 (link-before-libc): Remove $(config-LDFLAGS).
10415 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10416 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10417 (config-LDFLAGS): Renamed to ...
10418 (rtld-LDFLAGS): This.
10419 (rtld-tests-LDFLAGS): New macro.
10420 (link-libc-rpath-link): Likewise.
10421 (link-libc-tests-rpath-link): Likewise.
10422 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10423 (link-libc): Prepand $(link-libc-rpath-link).
10424 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10425 (test-program-prefix): New macro.
10426 (test-via-rtld-prefix): Likewise.
10427 (test-program-cmd): Likewise.
10428 (host-test-program-cmd): Likewise.
10429 * Makefile ($(common-objpfx)testrun.sh): Replace
10430 $(run-program-prefix) with $(test-program-prefix).
10431 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10433 ($(common-objpfx)shlib.lds): Likewise.
10434 (build-module-helper): Likewise.
10435 ($(common-objpfx)format.lds): Likewise.
10436 * Rules (binaries-pie-tests): New.
10437 (binaries-pie-notests): Likewise.
10438 (binaries-pie): Rewritten.
10439 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10440 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10441 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10442 (make-test-out): Replace $(host-built-program-cmd) with
10443 $(host-test-program-cmd).
10444 * config.make.in (build-hardcoded-path-in-tests): New variable.
10445 * configure.in (--enable-hardcoded-path-in-tests): New configure
10447 (hardcoded_path_in_tests): New AC_SUBST.
10448 * configure: Regenerated.
10449 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10450 $(built-program-cmd) with $(test-program-cmd).
10451 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10452 (test_program_cmd): This.
10453 * elf/Makefile ($(objpfx)order.out): Run test with
10454 $(test-program-prefix).
10455 ($(objpfx)order2.out): Likewise.
10456 ($(objpfx)tst-initorder.out): Likewise.
10457 ($(objpfx)tst-initorder2.out): Likewise.
10458 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10459 $(test-program-cmd).
10460 ($(objpfx)tst-array1-static.out): Likewise.
10461 ($(objpfx)tst-array2.out): Likewise.
10462 ($(objpfx)tst-array3.out): Likewise.
10463 ($(objpfx)tst-array4.out): Likewise.
10464 ($(objpfx)tst-array5.out): Likewise.
10465 ($(objpfx)tst-array5-static.out): Likewise.
10466 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10467 $(test-program-cmd).
10468 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10469 $(run-program-prefix) with $(test-program-prefix).
10470 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10471 (test_program_prefix): This.
10472 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10473 $(run-program-prefix) with $(test-program-prefix).
10474 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10475 (test_program_prefix): This.
10476 * iconvdata/tst-tables.sh: Likewise.
10477 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10478 $(run-program-prefix) with $(test-program-prefix).
10479 ($(objpfx)tst-translit.out): Likewise.
10480 ($(objpfx)tst-gettext2.out): Likewise.
10481 ($(objpfx)tst-gettext4.out): Likewise.
10482 ($(objpfx)tst-gettext6.out): Likewise.
10483 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10484 (test_program_prefix): This.
10485 * intl/tst-gettext2.sh: Likewise.
10486 * intl/tst-gettext4.sh Likewise.
10487 * intl/tst-gettext6.sh: Likewise.
10488 * intl/tst-translit.sh: Likewise.
10489 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10490 with $(test-program-cmd).
10491 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10492 $(run-program-prefix) with $(test-program-prefix).
10493 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10494 (test_program_prefix): This.
10495 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10496 $(run-program-prefix) with $(test-program-prefix).
10497 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10498 (test_program_prefix): This.
10499 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10500 * posix/Makefile ($(objpfx)globtest.out): Replace
10501 $(run-via-rtld-prefix) and $(test-wrapper) with
10502 $(test-program-prefix) and $(test-via-rtld-prefix).
10503 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10504 $(test-program-prefix).
10505 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10506 $(host-test-program-cmd).
10507 (tst-spawn-ARGS): Likewise.
10508 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10509 $(test-program-prefix).
10510 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10511 (test_via_rtld_prefix): This.
10512 (test_wrapper): Renamed to ...
10513 (test_program_prefix): This.
10514 (run_program_prefix): Replaced by test_program_prefix.
10515 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10516 (test_program_prefix): This.
10517 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10518 with $(host-test-program-cmd).
10519 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10520 $(run-program-prefix) with $(test-program-prefix).
10521 ($(objpfx)tst-printf.out): Likewise.
10522 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10523 $(test-program-cmd).
10524 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10525 (test_program_prefix): This.
10526 * stdio-common/tst-unbputc.sh: Likewise.
10527 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10528 $(run-program-prefix) with $(test-program-prefix).
10529 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10530 (test_program_prefix): This.
10531 * string/Makefile ($(objpfx)tst-svc.out): Replace
10532 $(built-program-cmd) with $(test-program-cmd).
10534 2013-01-11 Andreas Jaeger <aj@suse.de>
10537 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10538 value. Sync with Linux 3.7.
10540 2013-01-10 David S. Miller <davem@davemloft.net>
10542 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10546 2013-01-10 Roland McGrath <roland@hack.frob.com>
10548 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10550 * configure: Regenerated.
10552 2013-01-10 David S. Miller <davem@davemloft.net>
10554 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10555 sparc V9 rather than using V8 code.
10556 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10557 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10559 2013-01-10 Roland McGrath <roland@hack.frob.com>
10561 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10562 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10563 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10564 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10565 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10566 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10567 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10568 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10569 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10570 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10571 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10572 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10573 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10574 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10575 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10576 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10577 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10578 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10579 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10580 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10581 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10582 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10583 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10584 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10585 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10586 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10587 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10589 2013-01-10 David S. Miller <davem@davemloft.net>
10591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10593 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10595 * posix/Makefile (tests-static): New variable.
10596 (tests): Add $(tests-static).
10597 (tst-exec-static-ARGS): New variable.
10598 (tst-spawn-static-ARGS): Likewise.
10599 * posix/tst-exec-static.c: New file.
10600 * posix/tst-spawn-static.c: Likewise.
10601 * posix/tst-exec.c: Support run directly.
10602 * posix/tst-spawn.c: Likewise.
10604 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10606 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10608 * math/bits/mathcalls.h (llrint): Likewise.
10609 (llround): Likewise.
10610 * stdlib/stdlib.h (struct drand48_data): Likewise.
10611 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10612 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10615 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10617 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10618 (elf_greg_t): Likewise.
10619 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10620 (__jmp_buf): Likewise.
10621 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10623 (llrint): Likewise, for all definitions.
10624 (llrintl): Likewise.
10626 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10627 Remove [__GNUC__] condition.
10628 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10629 condition to just [__USE_ISOC99].
10630 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10632 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10635 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10636 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10638 (_POSIX_V6_ILP32_OFF32): Likewise.
10639 (_XBS5_ILP32_OFF32): Likewise.
10640 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10641 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10643 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10645 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10648 doubles __mpexp_twomm1. Adjust usage.
10649 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10652 2013-01-10 Andreas Schwab <schwab@suse.de>
10655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10656 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10658 2013-01-09 David S. Miller <davem@davemloft.net>
10661 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10662 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10663 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10664 TCP_FASTOPEN): Define.
10665 (tcp_repair_opt): New structure.
10666 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10668 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10669 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10670 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10671 (tcp_cookie_transactions): New structure.
10673 2013-01-09 Anton Blanchard <anton@samba.org>
10675 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10676 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10677 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10678 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10680 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10682 * include/features.h (__USE_ANSI): Remove.
10684 2013-01-09 Roland McGrath <roland@hack.frob.com>
10686 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10688 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10690 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10692 * sysdeps/s390/fpu/libm-test-ulps: Update.
10694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10696 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10700 (denorm): Likewise.
10701 (__mp_dbl): Likewise.
10702 (__dbl_mp): Likewise.
10703 (add_magnitudes): Likewise.
10704 (sub_magnitudes): Likewise.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10714 (denorm): Likewise.
10715 (__mp_dbl): Likewise.
10716 (__dbl_mp): Likewise.
10717 (add_magnitudes): Likewise.
10718 (sub_magnitudes): Likewise.
10724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10728 (denorm): Likewise.
10729 (__mp_dbl): Likewise.
10730 (__dbl_mp): Likewise.
10731 (add_magnitudes): Likewise.
10732 (sub_magnitudes): Likewise.
10739 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10741 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10742 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10743 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10744 2 && __USE_EXTERN_INLINES]: Likewise.
10746 2013-01-08 Andreas Jaeger <aj@suse.de>
10749 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10751 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10752 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10754 2013-01-07 Anton Blanchard <anton@samba.org>
10756 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10757 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10758 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10759 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10760 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10761 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10762 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10763 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10765 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10767 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10770 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10775 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10777 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10778 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10779 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10780 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10781 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10782 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10783 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10785 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10786 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10788 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10791 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10792 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10794 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10795 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10796 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10798 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10800 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10802 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10803 (__MALLOC_PMT): Likewise.
10804 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10805 [__GNUC__], only on [_LIBC].
10806 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10807 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10808 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10809 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10810 forward declaration.
10811 (realloc_hook_ini): Likewise.
10812 (memalign_hook_ini): Likewise.
10813 (__libc_memalign): Do not use __MALLOC_PMT in variable
10815 (__libc_valloc): Likewise.
10816 (__libc_pvalloc): Likewise.
10817 (__libc_calloc): Likewise.
10818 (__posix_memalign): Likewise.
10821 * math/s_casinh.c: Include <float.h>.
10822 (__casinh): Do not do computation with squaring and square root
10823 for large arguments.
10824 * math/s_casinhf.c: Include <float.h>.
10825 (__casinhf): Do not do computation with squaring and square root
10826 for large arguments.
10827 * math/s_casinhl.c: Include <float.h>.
10828 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10829 (__casinhl): Do not do computation with squaring and square root
10830 for large arguments.
10831 * math/libm-test.inc (casin_test): Add more tests.
10832 (casinh_test): Likewise.
10833 * sysdeps/i386/fpu/libm-test-ulps: Update.
10834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10836 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10838 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10839 (__x86_64_raw_data_cache_size): Likewise.
10840 (__x86_64_data_cache_size_half): Likewise.
10841 (__x86_64_raw_data_cache_size_half): Likewise.
10842 (__x86_64_shared_cache_size): Likewise.
10843 (__x86_64_raw_shared_cache_size): Likewise.
10844 (__x86_64_shared_cache_size_half): Likewise.
10845 (__x86_64_raw_shared_cache_size_half): Likewise.
10846 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10848 (__x86_data_cache_size): This.
10849 (__x86_64_raw_data_cache_size): Renamed to ...
10850 (__x86_raw_data_cache_size): This.
10851 (__x86_64_data_cache_size_half): Renamed to ...
10852 (__x86_data_cache_size_half): This.
10853 (__x86_64_raw_data_cache_size_half): Renamed to ...
10854 (__x86_raw_data_cache_size_half): This.
10855 (__x86_64_shared_cache_size): Renamed to ...
10856 (__x86_shared_cache_size): This.
10857 (__x86_64_raw_shared_cache_size): Renamed to ...
10858 (__x86_raw_shared_cache_size): This.
10859 (__x86_64_shared_cache_size_half): Renamed to ...
10860 (__x86_shared_cache_size_half): This.
10861 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10862 (__x86_raw_shared_cache_size_half): This.
10863 * sysdeps/x86_64/memcpy.S: Updated.
10864 * sysdeps/x86_64/memset.S: Likewise.
10865 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10867 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10869 2013-01-04 David S. Miller <davem@davemloft.net>
10871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10873 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10875 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10876 1 to avoid redefinition warning.
10877 (__USE_GNU): Don't define.
10878 (init_signaling_nan): Protoize.
10880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10882 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10884 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10886 (__cpymn): Likewise.
10887 (norm): Remove commented code.
10888 (denorm): Likewise.
10889 (__mp_dbl): Likewise.
10891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10892 (__cpymn): Likewise.
10893 (norm): Remove commented code.
10894 (denorm): Likewise.
10895 (__mp_dbl): Likewise.
10898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10899 mp_no value for 1.0 and 2.0.
10900 (norm): Use RADIXI instead of radixi.d.
10901 (denorm): Likewise.
10902 (__mul): Use 0.0 instead of zero.d.
10903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10904 mp_no value for 1.0 and 2.0.
10905 (norm): Use RADIXI instead of radixi.d.
10906 (denorm): Likewise.
10907 (__mul): Use 0.0 instead of zero.d.
10909 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10912 * math/s_casinh.c (__casinh): Reduce finite argument to first
10913 quadrant then set signs of results at the end.
10914 * math/s_casinhf.c (__casinhf): Likewise.
10915 * math/s_casinhl.c (__casinhl): Likewise.
10916 * math/libm-test.inc (casin_test): Add more tests.
10917 (casinh_test): Likewise.
10918 * sysdeps/i386/fpu/libm-test-ulps: Update.
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10923 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10925 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10927 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10929 (denorm): Likewise.
10930 (__mp_dbl): Likewise.
10933 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10934 and adjust the header comment.
10936 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10937 variable name from declaration.
10939 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10942 Initialize COMMON_CPUID_INDEX_7 element.
10943 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10944 (CPUID_RTM): Likewise.
10945 (HAS_RTM): Likewise.
10946 (COMMON_CPUID_INDEX_7): New enum.
10948 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10951 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10952 size is zero, record memory as freed.
10954 2013-01-03 Andreas Jaeger <aj@suse.de>
10956 * po/ia.po: Add new Interlingua translation.
10958 2012-01-03 Allan McRae <allan@archlinux.org>
10960 * locale/programs/localedef.c: Fix description of '--posix' flag.
10962 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10964 * NEWS: Update dates in second copyright notice.
10965 * README: Update copyright dates in example.
10966 * manual/libc.texinfo: Update copyright dates.
10967 * scripts/test-installation.pl: Update copyright date in --version
10970 * hurd/ctty-input.c: Fix copyright notice formatting.
10971 * hurd/ctty-output.c: Likewise.
10972 * hurd/dtable.c: Likewise.
10973 * hurd/hurd-raise.c: Likewise.
10974 * hurd/hurdprio.c: Likewise.
10975 * hurd/msgportdemux.c: Likewise.
10976 * misc/sys/file.h: Likewise.
10977 * misc/sys/ioctl.h: Likewise.
10978 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10979 * sysdeps/mach/hurd/chdir.c: Likewise.
10980 * sysdeps/mach/hurd/fchdir.c: Likewise.
10981 * sysdeps/mach/hurd/rename.c: Likewise.
10982 * sysdeps/mach/hurd/rmdir.c: Likewise.
10983 * sysdeps/mach/hurd/seekdir.c: Likewise.
10984 * sysdeps/mach/hurd/setsid.c: Likewise.
10985 * sysdeps/posix/wait3.c: Likewise.
10987 * All files with FSF copyright notices: Update copyright dates
10988 using scripts/update-copyrights.
10989 * intl/plural.c: Regenerated.
10990 * locale/programs/charmap-kw.h: Likewise.
10991 * locale/programs/locfile-kw.h: Likewise.
10993 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10999 calculation loop and add branch prediction.
11001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11002 check access beyond bounds of m1np.
11004 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11006 (__inv): Remove local variable MPTWO to use the global
11008 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11011 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11012 MP3HALFS static const.
11014 2013-01-01 David S. Miller <davem@davemloft.net>
11016 * po/ca.po: Update from translation team.
11018 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11020 * scripts/update-copyrights: New file.
11021 * Makeconfig: Reformat copyright notice.
11022 * ctype/ctype.h: Likewise.
11023 * debug/swprintf_chk.c: Likewise.
11024 * elf/dl-cache.c: Likewise.
11025 * elf/dl-debug.c: Likewise.
11026 * elf/dl-object.c: Likewise.
11027 * grp/initgroups.c: Likewise.
11028 * hurd/Makefile: Likewise.
11029 * hurd/hurd/signal.h: Likewise.
11030 * hurd/hurdfault.c: Likewise.
11031 * hurd/hurdioctl.c: Likewise.
11032 * hurd/hurdlookup.c: Likewise.
11033 * hurd/intr-msg.c: Likewise.
11034 * iconv/gconv_open.c: Likewise.
11035 * libio/swprintf.c: Likewise.
11036 * locale/lc-ctype.c: Likewise.
11037 * locale/nl_langinfo.c: Likewise.
11038 * mach/Machrules: Likewise.
11039 * mach/Makefile: Likewise.
11040 * malloc/obstack.h: Likewise.
11041 * manual/Makefile: Likewise.
11042 * manual/tsort.awk: Likewise.
11043 * misc/bits/stab.def: Likewise.
11044 * nis/nis_print_group_entry.c: Likewise.
11045 * nis/nis_table.c: Likewise.
11046 * nis/nss_compat/compat-pwd.c: Likewise.
11047 * nis/nss_compat/compat-spwd.c: Likewise.
11048 * po/Makefile: Likewise.
11049 * posix/fnmatch.c: Likewise.
11050 * posix/regex.h: Likewise.
11051 * resolv/Makefile: Likewise.
11052 * resolv/nss_dns/dns-network.c: Likewise.
11053 * resolv/res_hconf.c: Likewise.
11054 * scripts/gen-sorted.awk: Likewise.
11055 * soft-fp/soft-fp.h: Likewise.
11056 * stdio-common/printf.h: Likewise.
11057 * stdlib/monetary.h: Likewise.
11058 * stdlib/random.c: Likewise.
11059 * stdlib/random_r.c: Likewise.
11060 * sysdeps/generic/Makefile: Likewise.
11061 * sysdeps/gnu/Makefile: Likewise.
11062 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11090 * sysdeps/mach/hurd/errnos.awk: Likewise.
11091 * sysdeps/mach/hurd/fork.c: Likewise.
11092 * sysdeps/mach/hurd/getcwd.c: Likewise.
11093 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11094 * sysdeps/mach/hurd/mmap.c: Likewise.
11095 * sysdeps/mach/hurd/utimes.c: Likewise.
11096 * sysdeps/mach/hurd/xmknod.c: Likewise.
11097 * sysdeps/posix/profil.c: Likewise.
11098 * sysdeps/posix/readdir_r.c: Likewise.
11099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11100 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11101 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11102 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11104 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11105 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11106 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11108 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11109 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11110 * sysdeps/pthread/lio_listio.c: Likewise.
11111 * sysdeps/sparc/dl-procinfo.h: Likewise.
11112 * sysdeps/unix/i386/sysdep.S: Likewise.
11113 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11114 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11115 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11116 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11118 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11119 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11120 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11121 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11122 * sysdeps/wordsize-32/divdi3.c: Likewise.
11123 * time/sys/time.h: Likewise.
11124 * wcsmbs/Makefile: Likewise.
11126 2013-01-01 David S. Miller <davem@davemloft.net>
11128 * po/fr.po: Update from translation team.
11130 * catgets/gencat.c: Update copyright year.
11131 * csu/version.c: Likewise.
11132 * debug/catchsegv.sh: Likewise.
11133 * debug/pcprofiledump.c: Likewise.
11134 * debug/xtrace.sh: Likewise.
11135 * elf/ldconfig.c: Likewise.
11136 * elf/ldd.bash.in: Likewise.
11137 * elf/pldd.c: Likewise.
11138 * elf/sotruss.ksh: Likewise.
11139 * elf/sprof.c: Likewise.
11140 * iconv/iconv_prog.c: Likewise.
11141 * iconv/iconvconfig.c: Likewise.
11142 * locale/programs/locale.c: Likewise.
11143 * locale/programs/localedef.c: Likewise.
11144 * login/programs/pt_chown.c: Likewise.
11145 * malloc/memusage.sh: Likewise.
11146 * malloc/memusagestat.c: Likewise.
11147 * malloc/mtrace.pl: Likewise.
11148 * nscd/nscd.c: Likewise.
11149 * nss/getent.c: Likewise.
11150 * nss/makedb.c: Likewise.
11151 * posix/getconf.c: Likewise.
11153 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11155 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11158 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11160 * math/bits/mathcalls.h (modf): Use __nonnull.
11162 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11164 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11165 (split): Use macro CN instead of the bare value.
11166 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11169 instead of the bare value.
11170 (power1): Likewise.
11172 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11178 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11180 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11182 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11183 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11185 2012-12-28 Andreas Jaeger <aj@suse.de>
11187 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11188 values are from Linux 3.7.
11190 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11191 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11193 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11195 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11198 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11200 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11201 variables with preprocessor constants.
11202 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11203 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11204 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11206 2012-12-27 Bruno Haible <bruno@clisp.org>
11209 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11212 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11215 and use variable directly.
11216 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11218 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11220 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11221 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11225 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11226 include directive. Remove local variable MPONE.
11227 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11228 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11231 2012-12-25 David S. Miller <davem@davemloft.net>
11233 * version.h (RELEASE): Set to "development".
11234 (VERSION): Set to "2.17.90".
11235 * NEWS: Add 2.18 section.
11237 2012-12-21 David S. Miller <davem@davemloft.net>
11239 * po/hr.po: Update from translation team.
11241 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11243 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11245 2012-12-19 Steve Ellcey <sellcey@mips.com>
11247 * NEWS: Mention new memcpy for MIPS.
11249 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11251 * manual/contrib.texi (Contributors): Spelling correction.
11253 2012-12-15 David S. Miller <davem@davemloft.net>
11255 * po/ru.po: Update from translation team.
11257 2012-12-13 David S. Miller <davem@davemloft.net>
11259 * NEWS: Mention IFUNC testsuite enhancements.
11261 * po/pl.po: Update from translation team.
11262 * po/bg.po: Likewise.
11264 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11265 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11267 2012-12-11 David S. Miller <davem@davemloft.net>
11269 * po/sv.po: Update from translation team.
11271 * po/vi.po: Update from translation team.
11273 * po/cs.po: Update from translation team.
11275 * po/de.po: Update from translation team.
11276 * po/eo.po: Likewise.
11277 * po/nl.po: Likewise.
11279 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11282 * manual/argp.texi (Argp Helper Functions): Move node to follow
11283 Argp Parsing State.
11286 * manual/conf.texi (Limits on File System Capacity): Mention if
11287 terminating null is included in the max size.
11289 2012-12-10 Andreas Jaeger <aj@suse.de>
11291 * po/cs.po: Update from translation team.
11293 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11295 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11296 void pointer and cast to uintptr_t.
11297 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11299 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11300 * sysdeps/s390/s390-64/memset.S: Likewise.
11302 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11305 * menual/message.texi (Message Translation): Fix typos.
11306 (Helper programs for gettext): Likewise.
11308 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11311 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11314 2012-12-07 David S. Miller <davem@davemloft.net>
11316 * po/libc.pot: Update.
11318 2012-12-07 Richard Henderson <rth@redhat.com>
11321 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11322 normal/normal case to before the switch.
11323 (_FP_DIV): Likewise.
11325 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11326 Mike Frysinger <vapier@gentoo.org>
11328 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11329 check for __NR_fadvise64_64.
11331 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11333 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11334 0, not just to plain "0" as a statement.
11335 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11338 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11340 * NEWS: Use sourceware.org in Bugzilla URL.
11342 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11345 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11347 * stdio-common/tst-put-error.c (do_test): Add newline to the
11348 padded test to ensure flush.
11350 2012-12-05 Jeff Law <law@redhat.com>
11352 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11354 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11356 * README: Don't refer to ports add-on as distributed separately.
11357 Mention AArch64 in list of systems supported in the ports add-on.
11359 * LICENSES: Add more non-FSF copyright and license notices.
11361 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11364 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11366 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11367 10000 as width of padded output.
11369 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11371 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11374 variable LX with __attribute__ ((unused)).
11375 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11377 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11380 with __attribute__ ((unused)).
11382 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11384 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11386 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11388 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11389 (CFLAGS-nldbl-acos.c): New variable.
11390 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11391 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11392 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11393 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11394 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11395 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11396 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11397 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11398 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11399 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11400 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11401 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11402 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11403 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11404 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11405 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11406 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11407 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11408 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11409 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11410 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11411 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11412 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11413 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11414 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11415 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11416 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11417 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11418 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11419 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11420 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11421 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11422 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11423 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11424 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11425 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11426 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11427 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11428 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11429 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11430 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11431 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11432 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11433 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11434 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11435 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11436 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11437 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11438 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11439 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11440 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11441 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11442 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11443 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11444 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11445 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11446 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11447 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11448 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11449 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11450 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11451 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11452 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11453 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11454 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11455 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11456 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11457 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11458 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11459 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11460 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11461 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11462 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11463 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11464 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11465 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11466 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11467 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11468 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11469 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11470 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11471 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11472 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11473 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11474 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11475 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11476 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11477 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11478 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11479 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11480 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11481 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11482 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11483 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11484 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11485 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11486 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11489 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11493 whole low double instead of just low 47 bits when splitting values
11496 2012-12-03 Allan McRae <allan@archlinux.org>
11498 * manual/stdio.texi (Predefined Printf Handlers): Remove
11499 @hsep and @vsep usage.
11501 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11503 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11504 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11506 2012-12-03 Jeff Law <law@redhat.com>
11508 * time/sys/time.h (settimeofday): Do not mark TV argument
11511 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11513 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11514 when currently writing and seek to current position when not.
11515 * libio/Makefile (tests): Remove bug-fclose1.
11516 * libio/bug-fclose1.c: Delete.
11518 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11520 * manual/arith.texi (feenableexcept): Fix typo.
11521 (fedisableexcept): Likewise.
11523 2012-11-30 Roland McGrath <roland@hack.frob.com>
11525 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11526 second, differently-typed declaration, rather than a cast.
11528 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11530 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11531 * include/rpc/svc.h: ... here.
11533 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11536 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11537 depending n and resplen2 to catch cases where answer
11540 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11542 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11543 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11545 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11547 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11549 2012-11-29 Roland McGrath <roland@hack.frob.com>
11551 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11553 2012-11-28 Jeff Law <law@redhat.com>
11556 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11557 dataset_temporary. Track alloca usage into alloca_used.
11558 If dataset is large allocate and release it via malloc/free.
11560 2012-06-04 Florian Weimer <fweimer@redhat.com>
11563 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11565 2012-11-28 David S. Miller <davem@davemloft.net>
11567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11569 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11572 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11573 of pi/2 rounded to nearest to 64 bits.
11574 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11575 nearest to 64 bits.
11576 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11579 2012-11-28 Jeff Law <law@redhat.com>
11580 Martin Osvald <mosvald@redhat.com>
11583 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11584 * sunrpc/svc.c: Include time.h.
11585 (__svc_accept_failed): New function.
11586 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11587 any reason other than EINTR, call __svc_accept_failed.
11588 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11589 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11591 2012-11-28 Andreas Schwab <schwab@suse.de>
11593 * scripts/abilist.awk: Also handle indirect functions in .opd
11596 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11599 * sysdeps/x86/fpu/powl_helper.c: New file.
11600 * sysdeps/x86/fpu/Makefile: Likewise.
11601 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11603 (__ieee754_powl): Use __powl_helper for finite arguments except
11604 integer exponents below 8.
11605 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11607 (__ieee754_powl): Use __powl_helper for finite arguments except
11608 integer exponents below 8.
11609 * math/libm-test.inc (pow_test): Add more tests and enable some
11610 previously disabled tests.
11611 * sysdeps/i386/fpu/libm-test-ulps: Update.
11612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11614 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11615 Carlos O'Donell <carlos_odonell@mentor.com>
11617 * nss/makedb.c (is_prime): Assert that input is odd and greater
11618 than 4. Note that fact in a comment too.
11619 (next_prime): Add 4 to input.
11621 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11624 * libio/Makefile (tests): Add test case tst-fwrite-error.
11625 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11626 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11627 * libio/tst-fwrite-error.c: New test case.
11629 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11631 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11632 before casting to void *.
11633 * include/libc-internal.h (__pointer_type): New macro.
11634 (__integer_if_pointer_type_sub): Likewise.
11635 (__integer_if_pointer_type): Likewise.
11636 (cast_to_integer): Likewise.
11637 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11638 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11639 before casting to atomic64_t.
11640 (atomic_exchange_acq): Likewise.
11641 (__arch_exchange_and_add_body): Likewise.
11642 (__arch_add_body): Likewise.
11643 (atomic_add_negative): Likewise.
11644 (atomic_add_zero): Likewise.
11646 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11649 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11650 (add_fdes): Likewise.
11651 (linear_search_fdes): Likewise.
11652 (binary_search_unencoded_fdes): Likewise.
11654 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11656 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11658 2012-11-24 Adam Conrad <adconrad@0c3.net>
11660 * configure.in: Autodetect C++ header directories.
11661 * configure: Regenerated.
11663 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11665 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11667 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11671 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11673 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11674 LDBL_MANT_DIG == 106]: Disable some tests.
11675 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11677 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11682 input for small inputs. Return +/- pi/2 for large inputs.
11683 * math/libm-test.inc (atan_test): Add more tests.
11685 * sysdeps/generic/unwind-dw2-fde-glibc.c
11686 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11687 __attribute__ ((unused)).
11690 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11691 x * y if x and y are nonzero and z is zero.
11694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11695 nonzero exponents with absolute value below 0x1p-117 to +/-
11699 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11700 up arguments below 2**-450, not just those below 2**-500.
11701 * math/libm-test.inc (hypot_test): Add another test.
11704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11705 Return a+b for ratio over 2**120, not 2**60.
11706 * math/libm-test.inc (hypot_test): Add another test.
11708 * math/libm-test.inc (clog_test): Use
11709 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11710 (clog10_test): Likewise.
11713 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11715 2012-11-22 Andreas Schwab <schwab@suse.de>
11717 * sysdeps/i386/fpu/libm-test-ulps: Update.
11719 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11721 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11722 printf output with newline.
11724 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11727 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11728 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11729 -z nodlopen, -z initfirst and -z execstack support.
11730 * configure: Regenerated.
11732 * elf/elf.h (DF_1_NODIRECT): New macro.
11733 (DF_1_IGNMULDEF): Likewise.
11734 (DF_1_NOKSYMS): Likewise.
11735 (DF_1_NOHDR): Likewise.
11736 (DF_1_EDITED): Likewise.
11737 (DF_1_NORELOC): Likewise.
11738 (DF_1_SYMINTPOSE): Likewise.
11739 (DF_1_GLOBAUDIT): Likewise.
11740 (DF_1_SINGLETON): Likewise.
11741 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11742 DT_1_SUPPORTED_MASK bits.
11743 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11745 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11747 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11749 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11751 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11754 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11755 (sendmmsg): Move declarations...
11756 * socket/sys/socket.h: ... here.
11757 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11758 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11760 * socket/recvmmsg.c: ... this new file.
11761 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11762 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11763 definition of __sendmmsg hidden.
11764 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11765 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11766 Move ENOSYS stub into and include it from...
11767 * socket/sendmmsg.c: ... this new file.
11768 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11769 (sysdep_routines): Move recvmmsg and sendmmsg...
11770 * socket/Makefile (routines): ... here.
11771 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11772 (GLIBC_PRIVATE): Add __sendmmsg.
11773 * include/sys/socket.h (__sendmmsg): Add declarations.
11774 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11777 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11780 variable I1 with __attribute__ ((unused)).
11781 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11783 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11785 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11786 DUMMY variables with __attribute__ ((unused)).
11788 * bits/byteswap.h: Include <bits/types.h>.
11789 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11791 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11793 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11794 string_t. Do not manually set errno.
11795 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11796 length with __strnlen. Make sure to both set errno and return it on
11799 2012-11-19 David S. Miller <davem@davemloft.net>
11801 With help from Joseph Myers.
11802 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11803 very large arguments properly.
11804 * math/libm-test.inc (atan_test): New tests.
11805 (atan2_test): New tests.
11806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11809 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11812 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11815 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11816 [POSIX] (EADDRNOTAVAIL): Likewise.
11817 [POSIX] (EAFNOSUPPORT): Likewise.
11818 [POSIX] (EALREADY): Likewise.
11819 [POSIX] (ECONNABORTED): Likewise.
11820 [POSIX] (ECONNREFUSED): Likewise.
11821 [POSIX] (ECONNRESET): Likewise.
11822 [POSIX] (EDESTADDRREQ): Likewise.
11823 [POSIX] (EDQUOT): Likewise.
11824 [POSIX] (EHOSTUNREACH): Likewise.
11825 [POSIX] (EIDRM): Likewise.
11826 [POSIX] (EISCONN): Likewise.
11827 [POSIX] (ELOOP): Likewise.
11828 [POSIX] (EMULTIHOP): Likewise.
11829 [POSIX] (ENETDOWN): Likewise.
11830 [POSIX] (ENETUNREACH): Likewise.
11831 [POSIX] (ENOBUFS): Likewise.
11832 [POSIX] (ENODATA): Likewise.
11833 [POSIX] (ENOLINK): Likewise.
11834 [POSIX] (ENOMSG): Likewise.
11835 [POSIX] (ENOPROTOOPT): Likewise.
11836 [POSIX] (ENOSR): Likewise.
11837 [POSIX] (ENOSTR): Likewise.
11838 [POSIX] (ENOTCONN): Likewise.
11839 [POSIX] (ENOTSOCK): Likewise.
11840 [POSIX] (EOPNOTSUPP): Likewise.
11841 [POSIX] (EOVERFLOW): Likewise.
11842 [POSIX] (EPROTO): Likewise.
11843 [POSIX] (EPROTONOSUPPORT): Likewise.
11844 [POSIX] (EPROTOTYPE): Likewise.
11845 [POSIX] (ESTALE): Likewise.
11846 [POSIX] (ETIME): Likewise.
11847 [POSIX] (ETXTBSY): Likewise.
11848 [POSIX] (EWOULDBLOCK): Likewise.
11849 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11850 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11851 [POSIX] (SEEK_CUR): Likewise.
11852 [POSIX] (SEEK_END): Likewise.
11853 [POSIX || UNIX98] (mode_t): Do not require.
11854 [POSIX] (off_t): Likewise.
11855 [POSIX] (pid_t): Likewise.
11856 [POSIX] (sys/stat.h): Do not allow header.
11857 [POSIX] (unistd.h): Likewise.
11858 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11859 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11860 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11861 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11863 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11864 sigevent): Specify elements.
11865 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11867 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11868 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11870 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11871 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11872 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11873 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11874 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11875 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11876 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11877 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11878 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11879 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11880 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11881 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11882 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11883 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11885 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11887 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11889 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11891 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11892 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11894 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11895 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11896 Specify lower bound on value.
11897 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11898 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11899 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11900 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11901 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11902 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11903 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11904 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11906 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11908 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11909 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11910 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11911 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11912 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11913 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11914 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11915 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11916 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11917 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11922 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11923 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11925 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11927 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11929 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11930 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11931 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11934 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11935 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11936 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11937 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11938 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11939 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11940 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11942 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11944 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11945 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11946 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11947 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11948 specify as optional.
11949 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11950 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11951 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11952 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11953 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11954 [XPG3] (NL_LANGMAX): Likewise.
11955 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11956 [POSIX || XPG3] (NL_NMAX): Likewise.
11957 [POSIX || XPG3] (NL_SETMAX): Likewise.
11958 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11959 [XPG3] (NZERO): Likewise.
11960 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11961 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11962 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11963 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11964 (REG_ERANGE): Expect.
11965 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11967 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11968 Use (void) in prototype.
11969 [POSIX] (*_t): Allow.
11970 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11971 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11972 (WRDE_BADVAL): Expect.
11974 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11976 [XPG3 || XPG4] (O_RSYNC): Likewise.
11977 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11979 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11980 [XPG3 || XPG4] (sigqueue): Likewise.
11981 [XPG3 || XPG4] (sigtimedwait): Likewise.
11982 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11983 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11984 [XPG3 || XPG4] (vsnprintf): Likewise.
11985 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11987 [XPG3 || XPG4] (blksize_t): Likewise.
11988 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11990 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11991 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11992 [XPG3 || XPG4] (struct itimerspec): Likewise.
11993 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11994 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11995 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11996 [XPG3 || XPG4] (clockid_t): Likewise.
11997 [XPG3 || XPG4] (timer_t): Likewise.
11998 [XPG3 || XPG4] (clock_getres): Likewise.
11999 [XPG3 || XPG4] (clock_gettime): Likewise.
12000 [XPG3 || XPG4] (clock_settime): Likewise.
12001 [XPG3 || XPG4] (nanosleep): Likewise.
12002 [XPG3 || XPG4] (timer_create): Likewise.
12003 [XPG3 || XPG4] (timer_delete): Likewise.
12004 [XPG3 || XPG4] (timer_gettime): Likewise.
12005 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12006 [XPG3 || XPG4] (timer_settime): Likewise.
12007 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12008 [XPG3 || XPG4] (getlogin_r): Likewise.
12009 [XPG3 || XPG4] (pread): Likewise.
12010 [XPG3 || XPG4] (pthread_atfork): Likewise.
12011 [XPG3 || XPG4] (pwrite): Likewise.
12014 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12017 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12019 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12020 finalizing MALLSTREAM.
12022 * sysdeps/mach/hurd/syncfs.c: New file.
12024 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12027 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12028 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12029 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12030 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12031 (_nss_dns_gethostbyname4_r): Likewise.
12032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12033 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12035 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12038 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12040 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12042 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12043 * elf/cache.c (print_entry): Print ",AArch64" for
12046 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12047 * elf/cache.c (print_entry): Print ",hard-float" for
12050 2012-11-18 David S. Miller <davem@davemloft.net>
12052 With help from Joseph Myers.
12053 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12055 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12057 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12058 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12060 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12061 * math/libm-test.inc (y0_test): New tests.
12062 (y1_test): New tests.
12063 * sysdeps/i386/fpu/libm-test-ulps: Update.
12064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12067 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12069 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12071 * configure: Regenerated.
12073 2012-11-17 David S. Miller <davem@davemloft.net>
12076 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12077 nonzero exponents with absolute value below 0x1p-128 to +/-
12080 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12082 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12084 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12086 * posix/getconf-speclist.c: New file.
12087 * posix/posix-envs.def: Likewise.
12088 * posix/confstr.c (START_ENV_GROUP): New macro.
12089 (END_ENV_GROUP): Likewise.
12090 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12091 (KNOWN_PRESENT_ENV_STRING): Likewise.
12092 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12093 (UNKNOWN_ENVIRONMENT): Likewise.
12094 (confstr): Include posix-envs.def instead of handling
12095 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12096 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12097 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12098 (END_ENV_GROUP): Likewise.
12099 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12100 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12101 (UNKNOWN_ENVIRONMENT): Likewise.
12102 (__sysconf): Include posix-envs.def instead of handling associated
12103 cases directly here.
12104 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12105 preprocessing getconf-speclist.c rather than running getconf or
12106 generating empty file.
12108 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12110 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12112 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12115 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12117 2012-11-16 David S. Miller <davem@davemloft.net>
12119 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12120 smaller than LDBL_EPSILON/2.0L, just return xm1.
12122 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12124 * elf/tst-array1.c (init): Set constructor priority to 1000.
12125 (fini): Set destructor priority to 1000.
12126 * elf/tst-array2dep.c: Likewise.
12128 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12131 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12132 (_IO_new_file_xsputn): Also return EOF if none of the input
12133 data was written when overflow failed.
12134 * libio/iopadn.c (_IO_padn): Likewise.
12135 * libio/iowpadn.c (_IO_wpadn): Likewise.
12136 * stdio-common/tst-put-error.c: Add copyright notice.
12137 (do_test): Add case for printing padded string.
12138 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12139 _IO_padn returned error.
12140 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12141 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12144 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12146 * libio/libioP.h: Add comment note that the references to C++
12147 bits are now obsolete.
12149 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12151 * math/libm-test.inc (check_complex): Use asprintf.
12153 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12155 * debug/pcprofiledump.c (print_version): Update copyright year.
12156 * malloc/memusagestat.c (print_version): Likewise.
12158 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12161 * elf/Makefile (tests): Add tst-audit8.
12162 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12163 ($(objpfx)tst-audit8.out): New target.
12164 (tst-audit8-ENV): New variable.
12165 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12166 audit if l_reloc_result is NULL.
12167 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12168 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12169 * elf/tst-audit8.c: New file.
12171 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12173 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12174 * misc/Makefile (CFLAGS-select.c): Define.
12175 * posix/Makefile (CFLAGS-pause.c): Define.
12177 2012-11-13 David S. Miller <davem@davemloft.net>
12179 * crypt/Makefile: Move test targets after toplevel Rules
12180 inclusion. Grab any necessary sysdep routines when linking.
12181 * crypt/md5.c (md5_process_block): Remove define, we will always
12182 name it __md5_process_block.
12183 (md5_finish_ctx): Update md5_process_block call.
12184 (md5_stream): Likewise.
12185 (md5_process_bytes): Likewise.
12186 (md5_process_block): Rename to __md5_process_block and move to ...
12187 * crypt/md5-block.c: ... here.
12188 * crypt/sha256.c (sha256_process_block): Move to ...
12189 * crypt/sha256-block.c: ... here.
12190 * crypt/sha512.c (sha512_process_block): Move to ...
12191 * crypt/sha512-block.c: ... here.
12192 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12194 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12195 * sysdeps/sparc/sparc64/multiarch/Makefile
12196 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12198 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12201 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12202 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12203 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12204 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12205 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12206 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12207 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12208 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12209 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12211 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12212 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12214 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12216 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12218 * timezone/tzselect.ksh: Update from tzcode git revision
12219 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12220 * timezone/zdump.c: Likewise.
12221 * timezone/zic.c: Likewise.
12222 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12223 in TZVERSION setting, not $(PKGVERSION).
12224 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12225 REPORT_BUGS_TO settings.
12228 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12231 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12233 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12234 detection to immediately after _FP_ROUND().
12235 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12238 2012-11-11 David S. Miller <davem@davemloft.net>
12240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12242 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12243 __close rather than their public counterparts.
12245 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12247 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12249 [UNIX98] (sem_timedwait): Do not expect.
12250 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12251 [XPG4 || UNIX98] (sockatmark): Do not expect.
12252 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12253 (clock_getcpuclockid): Do not expect.
12254 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12255 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12257 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12258 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12259 [UNIX98] (vwscanf): Likewise.
12260 [UNIX98] (vswscanf): Likewise.
12262 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12264 * timezone/version.h: Remove file.
12265 * timezone/README: Do not refer to version.h.
12266 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12267 $(objpfx)version.h.
12268 ($(objpfx)zdump.o): Likewise.
12269 ($(objpfx)version.h): New target.
12271 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12273 * timezone/README: Don't mention modification to tzselect.ksh.
12274 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12275 work on unmodified tzselect.ksh. Substitute version numbers in
12278 * Makefile (format-me): Remove.
12279 (INSTALL): Adjust indentation. Use commands directly instead of
12280 using $(format-me).
12282 * aclocal.m4 (ACX_PKGVERSION): New macro.
12283 (ACX_BUGURL): Likewise.
12284 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12285 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12286 (REPORT_BUGS_TO): Likewise.
12287 * configure: Regenerated.
12288 * config.h.in (PKGVERSION): New macro.
12289 (REPORT_BUGS_TO): Likewise.
12290 * config.make.in (PKGVERSION): New variable.
12291 (PKGVERSION_TEXI): Likewise.
12292 (REPORT_BUGS_TO): Likewise.
12293 (REPORT_BUGS_TEXI): Likewise.
12294 * Makefile (format-me): Use -I$(common-objpfx)manual.
12295 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12296 ($(common-objpfx)manual/%): New target.
12297 (manual/%): Remove target.
12298 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12299 (print_version): Use PKGVERSION.
12300 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12301 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12302 and REPORT_BUGS_TO.
12303 ($(objpfx)xtrace): Likewise.
12304 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12305 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12306 (print_version): Use PKGVERSION.
12307 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12308 (do_version): Use PKGVERSION.
12309 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12311 (common-ldd-rewrite): Likewise.
12312 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12313 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12314 (print_version): Use PKGVERSION.
12315 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12316 * elf/pldd.c (argp_program_bug_address): Remove variable.
12317 (more_help): New function.
12318 (argp): Use more_help.
12319 (print_version): Use PKGVERSION.
12320 * elf/sln.c (main): Use PKGVERSION.
12321 (usage): Use REPORT_BUGS_TO.
12322 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12323 (top level): Use PKGVERSION.
12324 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12325 (print_version): Use PKGVERSION.
12326 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12327 (print_version): Use PKGVERSION.
12328 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12329 (print_version): Use PKGVERSION.
12330 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12331 (print_version): Use PKGVERSION.
12332 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12333 (print_version): Use PKGVERSION.
12334 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12335 (print_version): Use PKGVERSION.
12336 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12338 ($(objpfx)memusage): Likewise.
12339 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12340 (do_version): Use PKGVERSION.
12341 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12342 (print_version): Use PKGVERSION.
12343 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12344 ($PKGVERSION): New variable.
12345 ($REPORT_BUGS_TO): Likewise.
12346 (usage): Use $REPORT_BUGS_TO.
12347 (top level): Use $PKGVERSION.
12348 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12349 ($(objpfx)pkgvers.texi): New rule.
12350 ($(objpfx)stamp-pkgvers): Likewise.
12351 * manual/install.texi: Include pkgvers.texi.
12352 (--with-pkgversion): Document new configure option.
12353 (--with-bugurl): Likewise.
12354 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12355 than necessarily for this particular distribution. Use
12356 REPORT_BUGS_TO for where to report bugs.
12357 * INSTALL: Regenerated.
12358 * manual/libc.texinfo: Include pkgvers.texi.
12359 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12360 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12361 (print_version): Use PKGVERSION.
12362 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12363 (print_version): Use PKGVERSION.
12364 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12365 (print_version): Use PKGVERSION.
12366 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12367 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12369 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12370 (print_version): Use PKGVERSION.
12371 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12372 (print_version): Use PKGVERSION.
12373 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12376 * timezone/checktab.awk: Update from tzcode 2012i.
12377 * timezone/ialloc.c: Likewise.
12378 * timezone/private.h: Likewise.
12379 * timezone/scheck.c: Likewise.
12380 * timezone/tzfile.h: Likewise.
12381 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12382 (TZVERSION): Hardcode tzcode version number.
12383 * timezone/zdump.c: Update from tzcode 2012i.
12384 * timezone/zic.c: Likewise.
12385 * timezone/version.h: New file.
12386 * timezone/README: Describe version.h. Update upstream location.
12389 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12390 (mktemp): Enable declaration.
12391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12398 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12400 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12408 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12409 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12410 for copies of such integer values.
12411 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12412 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12414 2012-11-09 Andreas Jaeger <aj@suse.de>
12416 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12417 definitions and declarations that are provided by
12418 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12420 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12422 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12423 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12424 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12427 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12429 * elf/elf.h: Update comment before AArch64 relocations.
12431 2012-11-07 David S. Miller <davem@davemloft.net>
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12434 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12435 (__start_context): Declare.
12436 (__makecontext_ret): Delete.
12437 (__makecontext): Hook up __start_context instead of
12439 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12440 (sysdep_routines): Add __start_context when in stdlib.
12442 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12444 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12445 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12446 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12448 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12449 (READELF): New variable. Use it instead of hardcoded "readelf".
12451 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12453 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12454 * sysdeps/x86/Makefile: Here.
12455 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12456 * sysdeps/x86/tst-xmmymm.sh: This.
12458 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12460 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12462 [UNIX98] (pthread_barrier_t): Do not expect.
12463 [UNIX98] (pthread_barrierattr_t): Likewise.
12464 [UNIX98] (pthread_spinlock_t): Likewise.
12465 [UNIX98] (pthread_barrier_destroy): Likewise.
12466 [UNIX98] (pthread_barrier_init): Likewise.
12467 [UNIX98] (pthread_barrier_wait): Likewise.
12468 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12469 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12470 [UNIX98] (pthread_barrierattr_init): Likewise.
12471 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12472 [UNIX98] (pthread_getcpuclockid): Likewise.
12473 [UNIX98] (pthread_mutex_timedlock): Likewise.
12474 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12475 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12476 [UNIX98] (pthread_sigmask): Likewise.
12477 [UNIX98] (pthread_spin_destroy): Likewise.
12478 [UNIX98] (pthread_spin_init): Likewise.
12479 [UNIX98] (pthread_spin_lock): Likewise.
12480 [UNIX98] (pthread_spin_trylock): Likewise.
12481 [UNIX98] (pthread_spin_unlock): Likewise.
12482 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12484 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12485 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12486 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12487 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12488 [XPG3 || XPG4] (pthread_key_t): Likewise.
12489 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12490 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12491 [XPG3 || XPG4] (pthread_once_t): Likewise.
12492 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12493 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12495 [XPG3 || XPG4] (pthread_t): Likewise.
12497 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12499 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12501 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12502 Change function return type to int.
12504 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12505 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12506 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12507 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12508 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12509 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12510 [!POSIX] (posix_madvise): Likewise.
12511 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12513 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12514 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12515 (mode_t): Likewise.
12516 (posix_mem_offset): Likewise.
12517 (posix_typed_mem_get_info): Likewise.
12518 (posix_typed_mem_open): Likewise.
12520 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12521 Change condition to [XOPEN2K8].
12523 * conform/conformtest.pl: Preprocess allow-header data with -x c
12524 instead of from stdin.
12525 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12526 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12527 [C99-based standards] (cerfc): Likewise.
12528 [C99-based standards] (cexp2): Likewise.
12529 [C99-based standards] (cexpm1): Likewise.
12530 [C99-based standards] (clog10): Likewise.
12531 [C99-based standards] (clog1p): Likewise.
12532 [C99-based standards] (clog2): Likewise.
12533 [C99-based standards] (clgamma): Likewise.
12534 [C99-based standards] (ctgamma): Likewise.
12535 [C99-based standards] (cerff): Likewise.
12536 [C99-based standards] (cerfcf): Likewise.
12537 [C99-based standards] (cexp2f): Likewise.
12538 [C99-based standards] (cexpm1f): Likewise.
12539 [C99-based standards] (clog10f): Likewise.
12540 [C99-based standards] (clog1pf): Likewise.
12541 [C99-based standards] (clog2f): Likewise.
12542 [C99-based standards] (clgammaf): Likewise.
12543 [C99-based standards] (ctgammaf): Likewise.
12544 [C99-based standards] (cerfl): Likewise.
12545 [C99-based standards] (cerfcl): Likewise.
12546 [C99-based standards] (cexp2l): Likewise.
12547 [C99-based standards] (cexpm1l): Likewise.
12548 [C99-based standards] (clog10l): Likewise.
12549 [C99-based standards] (clog1pl): Likewise.
12550 [C99-based standards] (clog2l): Likewise.
12551 [C99-based standards] (clgammal): Likewise.
12552 [C99-based standards] (ctgammal): Likewise.
12553 * conform/data/inttypes.h-data [C99-based standards]: Include
12554 stdint.h-data. Remove all expectations for stdint.h contents.
12555 [C99-based standards] (PRI*): Do not allow.
12556 [C99-based standards] (SCN*): Likewise.
12557 [C99-based standards] (*_t): Likewise.
12558 [C99-based-standards] (PRId8): Expect macro.
12559 [C99-based-standards] (PRIi8): Likewise.
12560 [C99-based-standards] (PRIo8): Likewise.
12561 [C99-based-standards] (PRIu8): Likewise.
12562 [C99-based-standards] (PRIx8): Likewise.
12563 [C99-based-standards] (PRIX8): Likewise.
12564 [C99-based-standards] (SCNd8): Likewise.
12565 [C99-based-standards] (SCNi8): Likewise.
12566 [C99-based-standards] (SCNo8): Likewise.
12567 [C99-based-standards] (SCNu8): Likewise.
12568 [C99-based-standards] (SCNx8): Likewise.
12569 [C99-based-standards] (PRIdLEAST8): Likewise.
12570 [C99-based-standards] (PRIiLEAST8): Likewise.
12571 [C99-based-standards] (PRIoLEAST8): Likewise.
12572 [C99-based-standards] (PRIuLEAST8): Likewise.
12573 [C99-based-standards] (PRIxLEAST8): Likewise.
12574 [C99-based-standards] (PRIXLEAST8): Likewise.
12575 [C99-based-standards] (SCNdLEAST8): Likewise.
12576 [C99-based-standards] (SCNiLEAST8): Likewise.
12577 [C99-based-standards] (SCNoLEAST8): Likewise.
12578 [C99-based-standards] (SCNuLEAST8): Likewise.
12579 [C99-based-standards] (SCNxLEAST8): Likewise.
12580 [C99-based-standards] (PRIdFAST8): Likewise.
12581 [C99-based-standards] (PRIiFAST8): Likewise.
12582 [C99-based-standards] (PRIoFAST8): Likewise.
12583 [C99-based-standards] (PRIuFAST8): Likewise.
12584 [C99-based-standards] (PRIxFAST8): Likewise.
12585 [C99-based-standards] (PRIXFAST8): Likewise.
12586 [C99-based-standards] (SCNdFAST8): Likewise.
12587 [C99-based-standards] (SCNiFAST8): Likewise.
12588 [C99-based-standards] (SCNoFAST8): Likewise.
12589 [C99-based-standards] (SCNuFAST8): Likewise.
12590 [C99-based-standards] (SCNxFAST8): Likewise.
12591 [C99-based-standards] (PRId16): Likewise.
12592 [C99-based-standards] (PRIi16): Likewise.
12593 [C99-based-standards] (PRIo16): Likewise.
12594 [C99-based-standards] (PRIu16): Likewise.
12595 [C99-based-standards] (PRIx16): Likewise.
12596 [C99-based-standards] (PRIX16): Likewise.
12597 [C99-based-standards] (SCNd16): Likewise.
12598 [C99-based-standards] (SCNi16): Likewise.
12599 [C99-based-standards] (SCNo16): Likewise.
12600 [C99-based-standards] (SCNu16): Likewise.
12601 [C99-based-standards] (SCNx16): Likewise.
12602 [C99-based-standards] (PRIdLEAST16): Likewise.
12603 [C99-based-standards] (PRIiLEAST16): Likewise.
12604 [C99-based-standards] (PRIoLEAST16): Likewise.
12605 [C99-based-standards] (PRIuLEAST16): Likewise.
12606 [C99-based-standards] (PRIxLEAST16): Likewise.
12607 [C99-based-standards] (PRIXLEAST16): Likewise.
12608 [C99-based-standards] (SCNdLEAST16): Likewise.
12609 [C99-based-standards] (SCNiLEAST16): Likewise.
12610 [C99-based-standards] (SCNoLEAST16): Likewise.
12611 [C99-based-standards] (SCNuLEAST16): Likewise.
12612 [C99-based-standards] (SCNxLEAST16): Likewise.
12613 [C99-based-standards] (PRIdFAST16): Likewise.
12614 [C99-based-standards] (PRIiFAST16): Likewise.
12615 [C99-based-standards] (PRIoFAST16): Likewise.
12616 [C99-based-standards] (PRIuFAST16): Likewise.
12617 [C99-based-standards] (PRIxFAST16): Likewise.
12618 [C99-based-standards] (PRIXFAST16): Likewise.
12619 [C99-based-standards] (SCNdFAST16): Likewise.
12620 [C99-based-standards] (SCNiFAST16): Likewise.
12621 [C99-based-standards] (SCNoFAST16): Likewise.
12622 [C99-based-standards] (SCNuFAST16): Likewise.
12623 [C99-based-standards] (SCNxFAST16): Likewise.
12624 [C99-based-standards] (PRId32): Likewise.
12625 [C99-based-standards] (PRIi32): Likewise.
12626 [C99-based-standards] (PRIo32): Likewise.
12627 [C99-based-standards] (PRIu32): Likewise.
12628 [C99-based-standards] (PRIx32): Likewise.
12629 [C99-based-standards] (PRIX32): Likewise.
12630 [C99-based-standards] (SCNd32): Likewise.
12631 [C99-based-standards] (SCNi32): Likewise.
12632 [C99-based-standards] (SCNo32): Likewise.
12633 [C99-based-standards] (SCNu32): Likewise.
12634 [C99-based-standards] (SCNx32): Likewise.
12635 [C99-based-standards] (PRIdLEAST32): Likewise.
12636 [C99-based-standards] (PRIiLEAST32): Likewise.
12637 [C99-based-standards] (PRIoLEAST32): Likewise.
12638 [C99-based-standards] (PRIuLEAST32): Likewise.
12639 [C99-based-standards] (PRIxLEAST32): Likewise.
12640 [C99-based-standards] (PRIXLEAST32): Likewise.
12641 [C99-based-standards] (SCNdLEAST32): Likewise.
12642 [C99-based-standards] (SCNiLEAST32): Likewise.
12643 [C99-based-standards] (SCNoLEAST32): Likewise.
12644 [C99-based-standards] (SCNuLEAST32): Likewise.
12645 [C99-based-standards] (SCNxLEAST32): Likewise.
12646 [C99-based-standards] (PRIdFAST32): Likewise.
12647 [C99-based-standards] (PRIiFAST32): Likewise.
12648 [C99-based-standards] (PRIoFAST32): Likewise.
12649 [C99-based-standards] (PRIuFAST32): Likewise.
12650 [C99-based-standards] (PRIxFAST32): Likewise.
12651 [C99-based-standards] (PRIXFAST32): Likewise.
12652 [C99-based-standards] (SCNdFAST32): Likewise.
12653 [C99-based-standards] (SCNiFAST32): Likewise.
12654 [C99-based-standards] (SCNoFAST32): Likewise.
12655 [C99-based-standards] (SCNuFAST32): Likewise.
12656 [C99-based-standards] (SCNxFAST32): Likewise.
12657 [C99-based-standards] (PRId64): Likewise.
12658 [C99-based-standards] (PRIi64): Likewise.
12659 [C99-based-standards] (PRIo64): Likewise.
12660 [C99-based-standards] (PRIu64): Likewise.
12661 [C99-based-standards] (PRIx64): Likewise.
12662 [C99-based-standards] (PRIX64): Likewise.
12663 [C99-based-standards] (SCNd64): Likewise.
12664 [C99-based-standards] (SCNi64): Likewise.
12665 [C99-based-standards] (SCNo64): Likewise.
12666 [C99-based-standards] (SCNu64): Likewise.
12667 [C99-based-standards] (SCNx64): Likewise.
12668 [C99-based-standards] (PRIdLEAST64): Likewise.
12669 [C99-based-standards] (PRIiLEAST64): Likewise.
12670 [C99-based-standards] (PRIoLEAST64): Likewise.
12671 [C99-based-standards] (PRIuLEAST64): Likewise.
12672 [C99-based-standards] (PRIxLEAST64): Likewise.
12673 [C99-based-standards] (PRIXLEAST64): Likewise.
12674 [C99-based-standards] (SCNdLEAST64): Likewise.
12675 [C99-based-standards] (SCNiLEAST64): Likewise.
12676 [C99-based-standards] (SCNoLEAST64): Likewise.
12677 [C99-based-standards] (SCNuLEAST64): Likewise.
12678 [C99-based-standards] (SCNxLEAST64): Likewise.
12679 [C99-based-standards] (PRIdFAST64): Likewise.
12680 [C99-based-standards] (PRIiFAST64): Likewise.
12681 [C99-based-standards] (PRIoFAST64): Likewise.
12682 [C99-based-standards] (PRIuFAST64): Likewise.
12683 [C99-based-standards] (PRIxFAST64): Likewise.
12684 [C99-based-standards] (PRIXFAST64): Likewise.
12685 [C99-based-standards] (SCNdFAST64): Likewise.
12686 [C99-based-standards] (SCNiFAST64): Likewise.
12687 [C99-based-standards] (SCNoFAST64): Likewise.
12688 [C99-based-standards] (SCNuFAST64): Likewise.
12689 [C99-based-standards] (SCNxFAST64): Likewise.
12690 [C99-based-standards] (PRIdMAX): Likewise.
12691 [C99-based-standards] (PRIiMAX): Likewise.
12692 [C99-based-standards] (PRIoMAX): Likewise.
12693 [C99-based-standards] (PRIuMAX): Likewise.
12694 [C99-based-standards] (PRIxMAX): Likewise.
12695 [C99-based-standards] (PRIXMAX): Likewise.
12696 [C99-based-standards] (SCNdMAX): Likewise.
12697 [C99-based-standards] (SCNiMAX): Likewise.
12698 [C99-based-standards] (SCNoMAX): Likewise.
12699 [C99-based-standards] (SCNuMAX): Likewise.
12700 [C99-based-standards] (SCNxMAX): Likewise.
12701 [C99-based-standards] (PRIdPTR): Likewise.
12702 [C99-based-standards] (PRIiPTR): Likewise.
12703 [C99-based-standards] (PRIoPTR): Likewise.
12704 [C99-based-standards] (PRIuPTR): Likewise.
12705 [C99-based-standards] (PRIxPTR): Likewise.
12706 [C99-based-standards] (PRIXPTR): Likewise.
12707 [C99-based-standards] (SCNdPTR): Likewise.
12708 [C99-based-standards] (SCNiPTR): Likewise.
12709 [C99-based-standards] (SCNoPTR): Likewise.
12710 [C99-based-standards] (SCNuPTR): Likewise.
12711 [C99-based-standards] (SCNxPTR): Likewise.
12712 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12714 * conform/data/stdint.h-data: Update comments to clarify
12716 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12718 [C99-based standards] (INT8_MAX): Likewise.
12719 [C99-based standards] (INT16_MIN): Likewise.
12720 [C99-based standards] (INT16_MAX): Likewise.
12721 [C99-based standards] (INT32_MIN): Likewise.
12722 [C99-based standards] (INT32_MAX): Likewise.
12723 [C99-based standards] (INT64_MIN): Likewise.
12724 [C99-based standards] (INT64_MAX): Likewise.
12725 [C99-based standards] (UINT8_MAX): Likewise.
12726 [C99-based standards] (UINT16_MAX): Likewise.
12727 [C99-based standards] (UINT32_MAX): Likewise.
12728 [C99-based standards] (UINT64_MAX): Likewise.
12729 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12730 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12731 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12732 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12733 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12734 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12735 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12736 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12737 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12738 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12739 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12740 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12741 [C99-based standards] (INT_FAST8_MIN): Likewise.
12742 [C99-based standards] (INT_FAST8_MAX): Likewise.
12743 [C99-based standards] (INT_FAST16_MIN): Likewise.
12744 [C99-based standards] (INT_FAST16_MAX): Likewise.
12745 [C99-based standards] (INT_FAST32_MIN): Likewise.
12746 [C99-based standards] (INT_FAST32_MAX): Likewise.
12747 [C99-based standards] (INT_FAST64_MIN): Likewise.
12748 [C99-based standards] (INT_FAST64_MAX): Likewise.
12749 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12750 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12751 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12752 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12753 [C99-based standards] (INTPTR_MIN): Likewise.
12754 [C99-based standards] (INTPTR_MAX): Likewise.
12755 [C99-based standards] (UINTPTR_MAX): Likewise.
12756 [C99-based standards] (INTMAX_MIN): Likewise.
12757 [C99-based standards] (INTMAX_MAX): Likewise.
12758 [C99-based standards] (UINTMAX_MAX): Likewise.
12759 [C99-based standards] (PTRDIFF_MIN): Likewise.
12760 [C99-based standards] (PTRDIFF_MAX): Likewise.
12761 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12762 [C99-based standards] (SIZE_MAX): Likewise.
12763 [C99-based standards] (WCHAR_MAX): Likewise.
12764 [C99-based standards] (WINT_MAX): Likewise.
12765 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12766 constraint on value.
12767 [C99-based standards] (WCHAR_MIN): Likewise.
12768 [C99-based standards] (WINT_MIN): Likewise.
12769 [C99-based standards] (*_t): Allow.
12770 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12771 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12772 Include math.h-data and complex.h-data. Remove all expectations
12773 of math.h and complex.h contents.
12774 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12776 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12777 (struct tm): Expect tag.
12778 [C99-based-standards] (wcstof): Expect function.
12779 [C99-based-standards] (wcstold): Likewise.
12780 [C99-based-standards] (wcstoll): Likewise.
12781 [C99-based-standards] (wcstoull): Likewise.
12782 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12783 macro-int-constant. Specify type.
12784 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12785 constraint on value.
12786 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12788 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12790 [ISO C standards]: Do not allow headers.
12791 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12792 wcs[abcdefghijklmnopqrstuvwxyz]*.
12793 [ISO C standards] (*_t): Do not allow.
12794 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12796 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12797 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12799 [ISO C standards]: Do not allow headers.
12800 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12801 is[abcdefghijklmnopqrstuvwxyz]*.
12802 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12803 to[abcdefghijklmnopqrstuvwxyz]*.
12804 [ISO C standards] (*_t): Do not allow.
12805 * conform/data/stdalign.h-data: New file.
12806 * conform/data/stdbool.h-data: Likewise.
12807 * conform/data/stdnoreturn.h-data: Likewise.
12809 2012-11-07 Roland McGrath <roland@hack.frob.com>
12812 * manual/filesys.texi (Directory Entries): Typo fix.
12813 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12815 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12817 * elf/elf.h (EM_AARCH64): New macro.
12818 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12819 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12820 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12821 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12822 (R_AARCH64_TLSDESC): Likewise.
12823 (NT_ARM_TLS): Likewise.
12824 (NT_ARM_HW_BREAK): Likewise.
12825 (NT_ARM_HW_WATCH): Likewise.
12827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12830 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12831 (__ieee754_powl): Saturate nonzero exponents with absolute value
12832 below 0x1p-79 to +/- 0x1p-79.
12833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12834 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12835 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12836 nonzero exponents with absolute value below 0x1p-32 to +/-
12838 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12839 (__ieee754_powl): Saturate nonzero exponents with absolute value
12840 below 0x1p-79 to +/- 0x1p-79.
12841 * math/libm-test.inc (pow_test): Add more tests.
12843 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12845 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12846 _dl_s390_cap_flags with kernel. Increase string length.
12847 (_dl_s390_platforms): Add z196 and zEC12.
12849 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12851 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12852 Change XOPEN21K to XOPEN2K.
12854 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12856 * string/memmove.c: Use memcpy when possible.
12858 2012-11-06 Andreas Jaeger <aj@suse.de>
12860 * po/eo.po: Update from translation team.
12862 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12866 exponent and small x and y exponents, scale x or y up. Increase
12867 by 2 the exponent used in scaling up.
12868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12869 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12870 * math/libm-test.inc (fma_test): Add more tests.
12871 (fma_test_towardzero): Likewise.
12872 (fma_test_downward): Likewise.
12873 (fma_test_upward): Likewise.
12875 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12878 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12882 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12883 namespace for names of struct fields.
12884 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12886 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12887 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12889 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12892 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12894 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12896 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12900 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12903 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12907 definitely overflow as x * y not x * y + z.
12908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12910 * math/libm-test.inc (fma_test): Add more tests.
12911 (fma_test_towardzero): Likewise.
12912 (fma_test_downward): Likewise.
12913 (fma_test_upward): Likewise.
12915 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12919 * include/stub-tag.h: Remove file.
12920 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12922 * manual/maint.texi (Porting): Don't reference it.
12923 * Makerules ($(objpfx)stubs): Likewise.
12924 * dirent/closedir.c: Don't include <stub-tag.h>.
12925 * dirent/dirfd.c: Likewise.
12926 * dirent/fdopendir.c: Likewise.
12927 * dirent/getdents.c: Likewise.
12928 * dirent/getdents64.c: Likewise.
12929 * dirent/opendir.c: Likewise.
12930 * dirent/readdir.c: Likewise.
12931 * dirent/readdir64.c: Likewise.
12932 * dirent/readdir64_r.c: Likewise.
12933 * dirent/readdir_r.c: Likewise.
12934 * dirent/rewinddir.c: Likewise.
12935 * dirent/seekdir.c: Likewise.
12936 * dirent/telldir.c: Likewise.
12937 * gmon/profil.c: Likewise.
12938 * grp/setgroups.c: Likewise.
12939 * inet/if_index.c: Likewise.
12940 * io/access.c: Likewise.
12941 * io/chdir.c: Likewise.
12942 * io/chmod.c: Likewise.
12943 * io/chown.c: Likewise.
12944 * io/close.c: Likewise.
12945 * io/dup.c: Likewise.
12946 * io/dup2.c: Likewise.
12947 * io/dup3.c: Likewise.
12948 * io/euidaccess.c: Likewise.
12949 * io/faccessat.c: Likewise.
12950 * io/fchdir.c: Likewise.
12951 * io/fchmod.c: Likewise.
12952 * io/fchmodat.c: Likewise.
12953 * io/fchown.c: Likewise.
12954 * io/fchownat.c: Likewise.
12955 * io/fcntl.c: Likewise.
12956 * io/flock.c: Likewise.
12957 * io/fstatfs.c: Likewise.
12958 * io/fstatfs64.c: Likewise.
12959 * io/fstatvfs.c: Likewise.
12960 * io/fstatvfs64.c: Likewise.
12961 * io/futimens.c: Likewise.
12962 * io/fxstat.c: Likewise.
12963 * io/fxstat64.c: Likewise.
12964 * io/fxstatat.c: Likewise.
12965 * io/fxstatat64.c: Likewise.
12966 * io/getcwd.c: Likewise.
12967 * io/isatty.c: Likewise.
12968 * io/lchmod.c: Likewise.
12969 * io/lchown.c: Likewise.
12970 * io/link.c: Likewise.
12971 * io/linkat.c: Likewise.
12972 * io/lseek.c: Likewise.
12973 * io/lseek64.c: Likewise.
12974 * io/lxstat64.c: Likewise.
12975 * io/mkdir.c: Likewise.
12976 * io/mkdirat.c: Likewise.
12977 * io/mkfifo.c: Likewise.
12978 * io/mkfifoat.c: Likewise.
12979 * io/open.c: Likewise.
12980 * io/open64.c: Likewise.
12981 * io/openat.c: Likewise.
12982 * io/openat64.c: Likewise.
12983 * io/pipe.c: Likewise.
12984 * io/pipe2.c: Likewise.
12985 * io/poll.c: Likewise.
12986 * io/posix_fadvise.c: Likewise.
12987 * io/posix_fadvise64.c: Likewise.
12988 * io/posix_fallocate.c: Likewise.
12989 * io/posix_fallocate64.c: Likewise.
12990 * io/read.c: Likewise.
12991 * io/readlink.c: Likewise.
12992 * io/readlinkat.c: Likewise.
12993 * io/rmdir.c: Likewise.
12994 * io/sendfile.c: Likewise.
12995 * io/sendfile64.c: Likewise.
12996 * io/statfs.c: Likewise.
12997 * io/statfs64.c: Likewise.
12998 * io/statvfs.c: Likewise.
12999 * io/statvfs64.c: Likewise.
13000 * io/symlink.c: Likewise.
13001 * io/symlinkat.c: Likewise.
13002 * io/ttyname.c: Likewise.
13003 * io/ttyname_r.c: Likewise.
13004 * io/umask.c: Likewise.
13005 * io/unlink.c: Likewise.
13006 * io/unlinkat.c: Likewise.
13007 * io/utime.c: Likewise.
13008 * io/utimensat.c: Likewise.
13009 * io/write.c: Likewise.
13010 * io/xmknod.c: Likewise.
13011 * io/xmknodat.c: Likewise.
13012 * io/xstat.c: Likewise.
13013 * io/xstat64.c: Likewise.
13014 * login/getpt.c: Likewise.
13015 * login/grantpt.c: Likewise.
13016 * login/unlockpt.c: Likewise.
13017 * math/e_acoshl.c: Likewise.
13018 * math/e_acosl.c: Likewise.
13019 * math/e_asinl.c: Likewise.
13020 * math/e_atan2l.c: Likewise.
13021 * math/e_atanhl.c: Likewise.
13022 * math/e_coshl.c: Likewise.
13023 * math/e_expl.c: Likewise.
13024 * math/e_fmodl.c: Likewise.
13025 * math/e_gammal_r.c: Likewise.
13026 * math/e_hypotl.c: Likewise.
13027 * math/e_j0l.c: Likewise.
13028 * math/e_j1l.c: Likewise.
13029 * math/e_jnl.c: Likewise.
13030 * math/e_lgammal_r.c: Likewise.
13031 * math/e_log10l.c: Likewise.
13032 * math/e_log2l.c: Likewise.
13033 * math/e_logl.c: Likewise.
13034 * math/e_powl.c: Likewise.
13035 * math/e_rem_pio2l.c: Likewise.
13036 * math/e_sinhl.c: Likewise.
13037 * math/e_sqrtl.c: Likewise.
13038 * math/fclrexcpt.c: Likewise.
13039 * math/fedisblxcpt.c: Likewise.
13040 * math/feenablxcpt.c: Likewise.
13041 * math/fegetenv.c: Likewise.
13042 * math/fegetexcept.c: Likewise.
13043 * math/fegetround.c: Likewise.
13044 * math/feholdexcpt.c: Likewise.
13045 * math/fesetenv.c: Likewise.
13046 * math/fesetround.c: Likewise.
13047 * math/feupdateenv.c: Likewise.
13048 * math/fgetexcptflg.c: Likewise.
13049 * math/fraiseexcpt.c: Likewise.
13050 * math/fsetexcptflg.c: Likewise.
13051 * math/ftestexcept.c: Likewise.
13052 * math/k_cosl.c: Likewise.
13053 * math/k_rem_pio2l.c: Likewise.
13054 * math/k_sinl.c: Likewise.
13055 * math/k_tanl.c: Likewise.
13056 * math/s_asinhl.c: Likewise.
13057 * math/s_atanl.c: Likewise.
13058 * math/s_cbrtl.c: Likewise.
13059 * math/s_erfl.c: Likewise.
13060 * math/s_expm1l.c: Likewise.
13061 * math/s_log1pl.c: Likewise.
13062 * math/s_tanhl.c: Likewise.
13063 * misc/acct.c: Likewise.
13064 * misc/brk.c: Likewise.
13065 * misc/chflags.c: Likewise.
13066 * misc/chroot.c: Likewise.
13067 * misc/fchflags.c: Likewise.
13068 * misc/fgetxattr.c: Likewise.
13069 * misc/flistxattr.c: Likewise.
13070 * misc/fremovexattr.c: Likewise.
13071 * misc/fsetxattr.c: Likewise.
13072 * misc/fsync.c: Likewise.
13073 * misc/ftruncate.c: Likewise.
13074 * misc/futimes.c: Likewise.
13075 * misc/futimesat.c: Likewise.
13076 * misc/getdomain.c: Likewise.
13077 * misc/getdtsz.c: Likewise.
13078 * misc/gethostid.c: Likewise.
13079 * misc/gethostname.c: Likewise.
13080 * misc/getloadavg.c: Likewise.
13081 * misc/getpagesize.c: Likewise.
13082 * misc/getsysstats.c: Likewise.
13083 * misc/getxattr.c: Likewise.
13084 * misc/gtty.c: Likewise.
13085 * misc/ioctl.c: Likewise.
13086 * misc/lgetxattr.c: Likewise.
13087 * misc/listxattr.c: Likewise.
13088 * misc/llistxattr.c: Likewise.
13089 * misc/lremovexattr.c: Likewise.
13090 * misc/lsetxattr.c: Likewise.
13091 * misc/lutimes.c: Likewise.
13092 * misc/madvise.c: Likewise.
13093 * misc/mincore.c: Likewise.
13094 * misc/mlock.c: Likewise.
13095 * misc/mlockall.c: Likewise.
13096 * misc/mmap.c: Likewise.
13097 * misc/mprotect.c: Likewise.
13098 * misc/msync.c: Likewise.
13099 * misc/munlock.c: Likewise.
13100 * misc/munlockall.c: Likewise.
13101 * misc/munmap.c: Likewise.
13102 * misc/preadv.c: Likewise.
13103 * misc/preadv64.c: Likewise.
13104 * misc/ptrace.c: Likewise.
13105 * misc/pwritev.c: Likewise.
13106 * misc/pwritev64.c: Likewise.
13107 * misc/readv.c: Likewise.
13108 * misc/reboot.c: Likewise.
13109 * misc/remap_file_pages.c: Likewise.
13110 * misc/removexattr.c: Likewise.
13111 * misc/revoke.c: Likewise.
13112 * misc/select.c: Likewise.
13113 * misc/setdomain.c: Likewise.
13114 * misc/setegid.c: Likewise.
13115 * misc/seteuid.c: Likewise.
13116 * misc/sethostid.c: Likewise.
13117 * misc/sethostname.c: Likewise.
13118 * misc/setregid.c: Likewise.
13119 * misc/setreuid.c: Likewise.
13120 * misc/setxattr.c: Likewise.
13121 * misc/sstk.c: Likewise.
13122 * misc/stty.c: Likewise.
13123 * misc/swapoff.c: Likewise.
13124 * misc/swapon.c: Likewise.
13125 * misc/sync.c: Likewise.
13126 * misc/syncfs.c: Likewise.
13127 * misc/syscall.c: Likewise.
13128 * misc/truncate.c: Likewise.
13129 * misc/ualarm.c: Likewise.
13130 * misc/usleep.c: Likewise.
13131 * misc/ustat.c: Likewise.
13132 * misc/utimes.c: Likewise.
13133 * misc/vhangup.c: Likewise.
13134 * misc/writev.c: Likewise.
13135 * posix/_exit.c: Likewise.
13136 * posix/alarm.c: Likewise.
13137 * posix/execve.c: Likewise.
13138 * posix/fexecve.c: Likewise.
13139 * posix/fork.c: Likewise.
13140 * posix/fpathconf.c: Likewise.
13141 * posix/getaddrinfo.c: Likewise.
13142 * posix/getegid.c: Likewise.
13143 * posix/geteuid.c: Likewise.
13144 * posix/getgid.c: Likewise.
13145 * posix/getgroups.c: Likewise.
13146 * posix/getlogin.c: Likewise.
13147 * posix/getlogin_r.c: Likewise.
13148 * posix/getpgid.c: Likewise.
13149 * posix/getpid.c: Likewise.
13150 * posix/getppid.c: Likewise.
13151 * posix/getresgid.c: Likewise.
13152 * posix/getresuid.c: Likewise.
13153 * posix/getsid.c: Likewise.
13154 * posix/getuid.c: Likewise.
13155 * posix/glob64.c: Likewise.
13156 * posix/nanosleep.c: Likewise.
13157 * posix/pathconf.c: Likewise.
13158 * posix/pause.c: Likewise.
13159 * posix/posix_madvise.c: Likewise.
13160 * posix/pread.c: Likewise.
13161 * posix/pread64.c: Likewise.
13162 * posix/pwrite.c: Likewise.
13163 * posix/pwrite64.c: Likewise.
13164 * posix/sched_getaffinity.c: Likewise.
13165 * posix/sched_getp.c: Likewise.
13166 * posix/sched_gets.c: Likewise.
13167 * posix/sched_primax.c: Likewise.
13168 * posix/sched_primin.c: Likewise.
13169 * posix/sched_rr_gi.c: Likewise.
13170 * posix/sched_setaffinity.c: Likewise.
13171 * posix/sched_setp.c: Likewise.
13172 * posix/sched_sets.c: Likewise.
13173 * posix/sched_yield.c: Likewise.
13174 * posix/setgid.c: Likewise.
13175 * posix/setlogin.c: Likewise.
13176 * posix/setpgid.c: Likewise.
13177 * posix/setresgid.c: Likewise.
13178 * posix/setresuid.c: Likewise.
13179 * posix/setsid.c: Likewise.
13180 * posix/setuid.c: Likewise.
13181 * posix/sleep.c: Likewise.
13182 * posix/spawni.c: Likewise.
13183 * posix/sysconf.c: Likewise.
13184 * posix/times.c: Likewise.
13185 * posix/wait.c: Likewise.
13186 * posix/wait3.c: Likewise.
13187 * posix/wait4.c: Likewise.
13188 * posix/waitpid.c: Likewise.
13189 * resolv/gai_sigqueue.c: Likewise.
13190 * resource/getpriority.c: Likewise.
13191 * resource/getrlimit.c: Likewise.
13192 * resource/getrusage.c: Likewise.
13193 * resource/nice.c: Likewise.
13194 * resource/setpriority.c: Likewise.
13195 * resource/setrlimit.c: Likewise.
13196 * resource/ulimit.c: Likewise.
13197 * rt/aio_cancel.c: Likewise.
13198 * rt/aio_fsync.c: Likewise.
13199 * rt/aio_read.c: Likewise.
13200 * rt/aio_sigqueue.c: Likewise.
13201 * rt/aio_suspend.c: Likewise.
13202 * rt/aio_write.c: Likewise.
13203 * rt/clock_getres.c: Likewise.
13204 * rt/clock_gettime.c: Likewise.
13205 * rt/clock_nanosleep.c: Likewise.
13206 * rt/clock_settime.c: Likewise.
13207 * rt/lio_listio.c: Likewise.
13208 * rt/mq_close.c: Likewise.
13209 * rt/mq_getattr.c: Likewise.
13210 * rt/mq_notify.c: Likewise.
13211 * rt/mq_open.c: Likewise.
13212 * rt/mq_receive.c: Likewise.
13213 * rt/mq_send.c: Likewise.
13214 * rt/mq_setattr.c: Likewise.
13215 * rt/mq_timedreceive.c: Likewise.
13216 * rt/mq_timedsend.c: Likewise.
13217 * rt/mq_unlink.c: Likewise.
13218 * rt/shm_open.c: Likewise.
13219 * rt/shm_unlink.c: Likewise.
13220 * rt/timer_create.c: Likewise.
13221 * rt/timer_delete.c: Likewise.
13222 * rt/timer_getoverr.c: Likewise.
13223 * rt/timer_gettime.c: Likewise.
13224 * rt/timer_settime.c: Likewise.
13225 * setjmp/__longjmp.c: Likewise.
13226 * setjmp/setjmp.c: Likewise.
13227 * signal/kill.c: Likewise.
13228 * signal/killpg.c: Likewise.
13229 * signal/raise.c: Likewise.
13230 * signal/sigaction.c: Likewise.
13231 * signal/sigaltstack.c: Likewise.
13232 * signal/sigblock.c: Likewise.
13233 * signal/sigignore.c: Likewise.
13234 * signal/sigintr.c: Likewise.
13235 * signal/signal.c: Likewise.
13236 * signal/sigpause.c: Likewise.
13237 * signal/sigpending.c: Likewise.
13238 * signal/sigqueue.c: Likewise.
13239 * signal/sigreturn.c: Likewise.
13240 * signal/sigset.c: Likewise.
13241 * signal/sigsetmask.c: Likewise.
13242 * signal/sigstack.c: Likewise.
13243 * signal/sigsuspend.c: Likewise.
13244 * signal/sigtimedwait.c: Likewise.
13245 * signal/sigvec.c: Likewise.
13246 * signal/sigwait.c: Likewise.
13247 * signal/sigwaitinfo.c: Likewise.
13248 * signal/sysv_signal.c: Likewise.
13249 * socket/accept.c: Likewise.
13250 * socket/accept4.c: Likewise.
13251 * socket/bind.c: Likewise.
13252 * socket/connect.c: Likewise.
13253 * socket/getpeername.c: Likewise.
13254 * socket/getsockname.c: Likewise.
13255 * socket/getsockopt.c: Likewise.
13256 * socket/isfdtype.c: Likewise.
13257 * socket/listen.c: Likewise.
13258 * socket/recv.c: Likewise.
13259 * socket/recvfrom.c: Likewise.
13260 * socket/recvmsg.c: Likewise.
13261 * socket/send.c: Likewise.
13262 * socket/sendmsg.c: Likewise.
13263 * socket/sendto.c: Likewise.
13264 * socket/setsockopt.c: Likewise.
13265 * socket/shutdown.c: Likewise.
13266 * socket/sockatmark.c: Likewise.
13267 * socket/socket.c: Likewise.
13268 * socket/socketpair.c: Likewise.
13269 * stdio-common/ctermid.c: Likewise.
13270 * stdio-common/cuserid.c: Likewise.
13271 * stdio-common/remove.c: Likewise.
13272 * stdio-common/rename.c: Likewise.
13273 * stdio-common/renameat.c: Likewise.
13274 * stdio-common/tempname.c: Likewise.
13275 * stdlib/getcontext.c: Likewise.
13276 * stdlib/makecontext.c: Likewise.
13277 * stdlib/setcontext.c: Likewise.
13278 * stdlib/swapcontext.c: Likewise.
13279 * stdlib/system.c: Likewise.
13280 * streams/fattach.c: Likewise.
13281 * streams/fdetach.c: Likewise.
13282 * streams/getmsg.c: Likewise.
13283 * streams/getpmsg.c: Likewise.
13284 * streams/putmsg.c: Likewise.
13285 * streams/putpmsg.c: Likewise.
13286 * sysdeps/unix/bsd/getpt.c: Likewise.
13287 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13288 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13289 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13292 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13293 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13294 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13295 * sysvipc/msgctl.c: Likewise.
13296 * sysvipc/msgget.c: Likewise.
13297 * sysvipc/msgrcv.c: Likewise.
13298 * sysvipc/msgsnd.c: Likewise.
13299 * sysvipc/semctl.c: Likewise.
13300 * sysvipc/semget.c: Likewise.
13301 * sysvipc/semop.c: Likewise.
13302 * sysvipc/semtimedop.c: Likewise.
13303 * sysvipc/shmat.c: Likewise.
13304 * sysvipc/shmctl.c: Likewise.
13305 * sysvipc/shmdt.c: Likewise.
13306 * sysvipc/shmget.c: Likewise.
13307 * termios/tcdrain.c: Likewise.
13308 * termios/tcflow.c: Likewise.
13309 * termios/tcflush.c: Likewise.
13310 * termios/tcgetattr.c: Likewise.
13311 * termios/tcgetpgrp.c: Likewise.
13312 * termios/tcsendbrk.c: Likewise.
13313 * termios/tcsetattr.c: Likewise.
13314 * termios/tcsetpgrp.c: Likewise.
13315 * time/adjtime.c: Likewise.
13316 * time/clock.c: Likewise.
13317 * time/getitimer.c: Likewise.
13318 * time/gettimeofday.c: Likewise.
13319 * time/setitimer.c: Likewise.
13320 * time/settimeofday.c: Likewise.
13321 * time/stime.c: Likewise.
13322 * time/time.c: Likewise.
13324 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13326 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13329 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13331 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13333 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13337 FE_TONEAREST before applying Dekker multiplication and Knuth
13338 addition. Clear inexact exceptions and check for exact zero
13339 results afterwards.
13340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13341 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13343 * math/libm-test.inc (fma_test): Add more tests.
13344 (fma_test_towardzero): Likewise.
13345 (fma_test_downward): Likewise.
13346 (fma_test_upward): Likewise.
13347 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13349 (libc_fesetround): New macro.
13350 (libc_fesetroundf): Likewise.
13351 (libc_fesetroundl): Likewise.
13352 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13354 (libc_fesetround_387): Likewise.
13355 (libc_fesetroundf): New macro.
13356 (libc_fesetround): Likewise.
13357 (libc_fesetroundl): Likewise.
13358 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13360 (libc_fesetroundf): New macro.
13361 (libc_fesetround): Likewise.
13362 (libc_fesetroundl): Likewise.
13363 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13364 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13365 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13367 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13368 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13370 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13371 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13373 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13377 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13378 integer constant usable in #if and use that to give value to enum
13380 (FE_DIVBYZERO): Likewise.
13381 (FE_UNDERFLOW): Likewise.
13382 (FE_OVERFLOW): Likewise.
13383 (FE_INVALID): Likewise.
13384 (FE_INVALID_SNAN): Likewise.
13385 (FE_INVALID_ISI): Likewise.
13386 (FE_INVALID_IDI): Likewise.
13387 (FE_INVALID_ZDZ): Likewise.
13388 (FE_INVALID_IMZ): Likewise.
13389 (FE_INVALID_COMPARE): Likewise.
13390 (FE_INVALID_SOFTWARE): Likewise.
13391 (FE_INVALID_SQRT): Likewise.
13392 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13393 (FE_TONEAREST): Likewise.
13394 (FE_TOWARDZERO): Likewise.
13395 (FE_UPWARD): Likewise.
13396 (FE_DOWNWARD): Likewise.
13397 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13398 (FE_DIVBYZERO): Likewise.
13399 (FE_OVERFLOW): Likewise.
13400 (FE_UNDERFLOW): Likewise.
13401 (FE_INEXACT): Likewise.
13402 (FE_TONEAREST): Likewise.
13403 (FE_DOWNWARD): Likewise.
13404 (FE_UPWARD): Likewise.
13405 (FE_TOWARDZERO): Likewise.
13406 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13407 (FE_UNDERFLOW): Likewise.
13408 (FE_OVERFLOW): Likewise.
13409 (FE_DIVBYZERO): Likewise.
13410 (FE_INVALID): Likewise.
13411 (FE_TONEAREST): Likewise.
13412 (FE_TOWARDZERO): Likewise.
13413 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13414 (FE_OVERFLOW): Likewise.
13415 (FE_UNDERFLOW): Likewise.
13416 (FE_DIVBYZERO): Likewise.
13417 (FE_INEXACT): Likewise.
13418 (FE_TONEAREST): Likewise.
13419 (FE_TOWARDZERO): Likewise.
13420 (FE_UPWARD): Likewise.
13421 (FE_DOWNWARD): Likewise.
13422 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13423 (FE_DIVBYZERO): Likewise.
13424 (FE_OVERFLOW): Likewise.
13425 (FE_UNDERFLOW): Likewise.
13426 (FE_INEXACT): Likewise.
13427 (FE_TONEAREST): Likewise.
13428 (FE_DOWNWARD): Likewise.
13429 (FE_UPWARD): Likewise.
13430 (FE_TOWARDZERO): Likewise.
13432 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13434 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13436 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13438 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13439 commands. Quote $PWD.
13440 (blacklist_exports): Don't use remove_newlines. Replace "declare
13442 (remove_newlines): Remove.
13444 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13446 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13447 * stdlib/stdlib.h (atof): Moved to ...
13448 * include/bits/stdlib-float.h: Here. New file.
13449 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13450 * stdlib/bits/stdlib-float.h: New file.
13451 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13456 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13458 * conform/conformtest.pl (@headers): Add fenv.h.
13459 * conform/data/fenv.h-data: New file.
13460 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13461 include of <math/fenv.h>.
13463 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13464 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13465 && !UNIX98]. Enables tests for XOPEN2K8.
13466 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13467 POSIX2008]: Likewise.
13469 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13470 (struct rusage): Do not expect type or its members.
13473 * math/math.h (FP_NAN): Define macro to integer constant usable in
13474 #if and use that to give value to enum constant.
13475 (FP_INFINITE): Likewise.
13476 (FP_ZERO): Likewise.
13477 (FP_SUBNORMAL): Likewise.
13478 (FP_NORMAL): Likewise.
13480 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13482 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13483 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13486 2012-11-02 Roland McGrath <roland@hack.frob.com>
13488 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13489 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13490 autoconf-time if not.
13491 * configure.in: Remove AC_PREREQ.
13493 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13495 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13496 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13497 of the internal implementation.
13499 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13501 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13502 except include of <misc/sys/syslog.h>.
13504 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13507 function returns with a NULL context exit with zero.
13509 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13511 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13513 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13515 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13516 (run_program_cmd): This.
13517 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13518 (tst_langinfo): New variable. Use it.
13520 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13522 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13523 floating point opcodes.
13525 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13527 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13530 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13532 * sysdeps/mach/hurd/powerpc: Remove directory.
13533 * sysdeps/mach/powerpc: Likewise.
13535 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13537 * scripts/check-local-headers.sh: Ignore c++ headers.
13539 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13541 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13542 __libc_cleanup_region_start argument.
13544 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13549 x * y using scaling, not as x * y + z.
13550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13552 * math/libm-test.inc (fma_test): Add more tests.
13553 (fma_test_towardzero): Likewise.
13554 (fma_test_downward): Likewise.
13555 (fma_test_upward): Likewise.
13557 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13559 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13561 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13563 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13566 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13568 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13570 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13577 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13580 Fix the order of the list for glibc 2.17.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13584 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13588 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13591 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13592 for low part of x being zero before using __atanl (y).
13593 * math/libm-test.inc (atan2_test): Add another test.
13595 * manual/install.texi (Configuring and compiling): Document
13596 general use of test-wrapper and test-wrapper-env.
13597 * INSTALL: Regenerated.
13599 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13600 (__fma): Do not extract and scale down low bits on after-rounding
13601 systems when result rounded to normal precision would have normal
13603 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13604 (__fmal): Do not extract and scale down low bits on after-rounding
13605 systems when result rounded to normal precision would have normal
13607 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13608 (__fmal): Do not extract and scale down low bits on after-rounding
13609 systems when result rounded to normal precision would have normal
13611 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13613 (fma_test): Add more tests.
13614 (fma_test_towardzero): Likewise.
13615 (fma_test_downward): Likewise.
13616 (fma_test_upward): Likewise.
13618 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13620 * sysdeps/i386/tininess.h: Renamed to ...
13621 * sysdeps/x86/tininess.h: This.
13622 * sysdeps/x86_64/tininess.h: Removed.
13624 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13626 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13627 input. Use $(build-program-cmd).
13628 ($(objpfx)tst-array1-static.out): Likewise.
13629 ($(objpfx)tst-array2.out): Likewise.
13630 ($(objpfx)tst-array3.out): Likewise.
13631 ($(objpfx)tst-array4.out): Likewise.
13632 ($(objpfx)tst-array5.out): Likewise.
13633 ($(objpfx)tst-array5-static.out): Likewise.
13635 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13637 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13640 * nss/nsswitch.h (nss_interface_function): Provide new
13641 macro for use with NSS functions.
13642 * grp/initgroups.c: Use new macro.
13643 * nss/getXXbyYY.c: Likewise.
13644 * nss/getXXbyYY_r.c: Likewise.
13645 * nss/getXXent.c: Likewise.
13646 * nss/getXXent_r.c: Likewise.
13647 * sysdeps/posix/getaddrinfo.c: Likewise.
13649 2012-10-30 Andreas Jaeger <aj@suse.de>
13651 * po/ru.po: Update Russion translation from translation project.
13653 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13658 result and shift together with sticky bit instead of replicating
13659 round-to-nearest rounding.
13660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13661 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13662 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13663 missing underflow exceptions.
13664 (fma_test_towardzero): Add more tests.
13665 (fma_test_downward): Likewise.
13666 (fma_test_upward): Likewise.
13669 * sysdeps/generic/tininess.h: New file.
13670 * sysdeps/i386/tininess.h: Likewise.
13671 * sysdeps/sh/tininess.h: Likewise.
13672 * sysdeps/x86_64/tininess.h: Likewise.
13673 * stdlib/tst-strtod-underflow.c: Likewise.
13674 * stdlib/tst-tininess.c: Likewise.
13675 * stdlib/strtod_l.c: Include <tininess.h>.
13676 (round_and_return): Do not set errno for exact underflow cases.
13677 Force an underflow exception when setting errno for underflow.
13678 Determine underflow based on rounding to normal precision if
13679 TININESS_AFTER_ROUNDING.
13680 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13681 ERANGE for exact underflow cases.
13682 * stdlib/Makefile (tests): Add tst-tininess and
13683 tst-strtod-underflow.
13684 ($(objpfx)tst-tininess): Use $(link-libm).
13685 ($(objpfx)tst-strtod-underflow): Likewise.
13687 2012-10-30 Andreas Jaeger <aj@suse.de>
13690 * elf/Makefile (tests): Remove conditional for have-initfini-array
13691 since this is now always required and the variable does not exist
13693 (tests-static): Likewise.
13694 (modules-names): Likewise.
13696 * po/eo.po: Add Esperanto translation from translation project.
13698 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13699 merged with constructor/destructor.
13700 (init_array): Likewise.
13701 * elf/tst-array2dep.c (fini_array): Likewise.
13702 (init_array): Likewise.
13704 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13706 * manual/message.texi: Delete @cartouche tags.
13708 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13710 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13712 * sysdeps/mach/hurd/fsync.c: Likewise.
13714 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13715 [_POSIX_REALTIME_SIGNALS]: Change condition to
13716 [_POSIX_REALTIME_SIGNALS > 0].
13718 2012-10-27 Andreas Jaeger <aj@suse.de>
13720 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13721 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13723 [__WORDSIZE != 64]: Likewise.
13725 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13727 * iconvdata/tst-table.sh: Remove ${SHELL}.
13728 * iconvdata/tst-tables.sh: Likewise.
13730 2012-10-25 David S. Miller <davem@davemloft.net>
13732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13733 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13738 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13739 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13740 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13743 2012-10-25 Roland McGrath <roland@hack.frob.com>
13745 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13746 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13749 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13750 Jim Blandy <jimb@codesourcery.com>
13752 * scripts/cross-test-ssh.sh: New file.
13753 * manual/install.texi (Configuring and compiling): Document use of
13755 * INSTALL: Regenerated.
13757 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13759 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13762 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13764 * Makeconfig (run-program-prefix): Fix comment.
13766 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13767 Jim Blandy <jimb@codesourcery.com>
13769 * Makeconfig (test-wrapper): New variable,
13770 (test-wrapper-env): Likewise.
13771 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13772 (run-built-tests): Define to yes.
13773 (run-program-prefix): Use $(test-wrapper).
13774 (built-program-cmd): Likewise.
13775 * Rules (make-test-out): Use $(test-wrapper-env) and
13776 $(host-built-program-cmd).
13777 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13778 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13780 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13781 $(test-wrapper-env) to tst-rtld-load-self.sh.
13782 ($(objpfx)order2.out): Use $(test-wrapper).
13783 ($(objpfx)tst-initorder.out): Likewise.
13784 ($(objpfx)tst-initorder2.out): Likewise.
13785 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13786 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13787 (test_wrapper_env): New variable. Use it to run ld.so.
13788 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13789 Use it to run ld.so.
13790 (test_wrapper_env): Likewise.
13791 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13792 $(test-wrapper) to run-iconv-test.sh.
13793 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13794 (ICONV): Use $test_wrapper.
13795 * posix/Makefile ($(objpfx)globtest.out): Pass
13796 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13797 globtest.sh, not $(run-program-prefix).
13798 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13799 (test_wrapper): Likewise.
13800 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13801 set together with run_via_rtld_prefix.
13802 (run_program_prefix): Define in terms of test_wrapper and
13803 run_via_rtld_prefix.
13805 2012-10-24 Roland McGrath <roland@hack.frob.com>
13807 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13808 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13812 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13813 Declare __clock_getres, __clock_gettime, __clock_settime,
13814 __clock_nanosleep, and __clock_getcpuclockid.
13815 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13816 Remove librt_hidden_def (clock_gettime).
13817 * sysdeps/unix/clock_gettime.c: Likewise.
13818 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13819 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13820 * rt/clock_getres.c: Define __clock_getres as an alias.
13821 * sysdeps/posix/clock_getres.c: Likewise.
13822 * rt/clock_settime.c: Define __clock_settime as an alias.
13823 * sysdeps/unix/clock_settime.c: Likewise.
13824 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13825 * sysdeps/unix/clock_nanosleep.c: Likewise.
13826 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13827 * rt/clock-compat.c: New file.
13828 * rt/Makefile (librt-routines): Add clock-compat and move
13829 $(clock-routines) to ...
13830 (routines): ... here, new variable.
13831 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13832 Don't add get_clockfreq here.
13833 * rt/Versions (libc: GLIBC_2.17): New version set.
13834 Add clock_* symbols here.
13835 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13836 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13837 (GLIBC_2.17): Add clock_* symbols.
13838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13849 * NEWS: Mention the move.
13851 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13852 Use __open, __read, __close rather than their public counterparts.
13853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13854 (__get_clockfreq_via_cpuinfo): Likewise.
13855 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13856 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13858 * config.h.in (HAVE_IFUNC): New #undef.
13859 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13861 * configure: Regenerated.
13863 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13865 * configure.in: Move READELF check to start of file.
13866 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13867 libc_cv_asm_gnu_indirect_function in the process.
13868 * configure: Regenerated.
13870 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13872 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13873 send the output to /dev/null.
13874 (libc_cv_cc_with_libunwind): Likewise.
13875 (libc_cv_as_noexecstack): Likewise.
13876 * configure: Regenerate.
13878 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13880 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13882 * posix/globtest.sh (TMPDIR): Do not set.
13883 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13884 (testout): Likewise.
13886 2012-10-24 Andreas Jaeger <aj@suse.de>
13888 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13889 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13890 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13891 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13892 posix_fadvise64, posix_fallocate64.
13894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13895 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13896 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13898 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13900 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13903 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13904 <bits/fcntl-linux.h>.
13905 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13908 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13909 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13910 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13911 [__WORDSIZE != 64]: Likewise.
13913 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13915 * Makeconfig (run-built-tests): New variable.
13916 * Rules [$(cross-compiling) = yes]: Change condition to
13917 [$(run-built-tests) = no].
13918 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13919 to [$(run-built-tests) = yes].
13920 * elf/Makefile [$(cross-compiling) = no]: Likewise
13921 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13922 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13923 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13924 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13925 * io/Makefile [$(cross-compiling) = no]: Likewise.
13926 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13927 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13928 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13929 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13930 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13931 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13932 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13933 * string/Makefile [$(cross-compiling) = no]: Likewise.
13935 * posix/Makefile ($(objpfx)globtest.out): Pass
13936 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13937 $(rtld-installed-name).
13938 * posix/globtest.sh (elf_objpfx): Remove variable.
13939 (rtld_installed_name): Likewise.
13940 (library_path): Likewise.
13941 (run_program_prefix): New variable. Use for running globtest
13944 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13945 Joseph Myers <joseph@codesourcery.com>
13947 * Makeconfig (host-built-program-cmd): New variable.
13948 * elf/Makefile (tst-stackguard1-ARGS): Use
13949 $(host-built-program-cmd).
13950 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13951 (tst-spawn-ARGS): Likewise.
13952 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13954 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13955 Jim Blandy <jimb@codesourcery.com>
13957 * Makeconfig (run-via-rtld-prefix): New variable.
13958 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13959 (built-program-cmd): Likewise.
13961 2012-10-22 Andreas Jaeger <aj@suse.de>
13963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13964 __O_RSYNC if it exists, otherwise to O_SYNC.
13966 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13967 Joseph Myers <joseph@codesourcery.com>
13969 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13971 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13973 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13976 2012-10-22 Andreas Jaeger <aj@suse.de>
13978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13983 bits/fcntl-linux.h.
13985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13986 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13993 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13994 Joseph Myers <joseph@codesourcery.com>
13996 * config.make.in (NM): New variable.
13998 2012-10-21 Andreas Jaeger <aj@suse.de>
14000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14001 definitions and declarations that are provided by
14002 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14004 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14007 * elf/Makefile (tests-static): Add tst-leaks1-static.
14008 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14009 ($(objpfx)tst-leaks1-static): New rule.
14010 ($(objpfx)tst-leaks1-static-mem): Likewise.
14011 (tst-leaks1-static-ENV): New macro.
14012 * elf/dl-open.c (dl_open_worker): Check the main application
14013 only if SHARED is defined.
14014 * elf/tst-leaks1-static.c: New file.
14016 2012-10-20 Andreas Jaeger <aj@suse.de>
14018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14019 generic values for Linux.
14020 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14021 and declarations that are provided by <bits/fcntl-linux.h> and
14022 include <bits/fcntl-linux.h>.
14023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14026 2012-10-20 Roland McGrath <roland@hack.frob.com>
14028 * io/fcntl.h: Move include of <bits/types.h> to the top and
14029 include it unconditionally.
14031 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14033 * wcsmbs/Makefile (tests-ifunc): New variable.
14034 (tests): Add $(tests-ifunc).
14035 * wcsmbs/test-wcschr-ifunc.c: New file.
14036 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14037 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14038 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14039 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14040 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14042 * string/Makefile (tests-ifunc): New variable.
14043 (tests): Add $(tests-ifunc).
14044 * string/test-memccpy.c (TEST_NAME): New macro.
14045 * string/test-memchr.c (TEST_NAME): Likewise.
14046 * string/test-memcmp.c (TEST_NAME): Likewise.
14047 * string/test-memcpy.c (TEST_NAME): Likewise.
14048 * string/test-memmem.c (TEST_NAME): Likewise.
14049 * string/test-memmove.c (TEST_NAME): Likewise.
14050 * string/test-memset.c (TEST_NAME): Likewise.
14051 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14052 * string/test-stpcpy.c (TEST_NAME): Likewise.
14053 * string/test-stpncpy.c (TEST_NAME): Likewise.
14054 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14055 * string/test-strcasestr.c (TEST_NAME): Likewise.
14056 * string/test-strcat.c (TEST_NAME): Likewise.
14057 * string/test-strchr.c (TEST_NAME): Likewise.
14058 * string/test-strcmp.c(TEST_NAME): Likewise.
14059 * string/test-strcpy.c (TEST_NAME): Likewise.
14060 * string/test-strcspn.c (TEST_NAME): Likewise.
14061 * string/test-strlen.c (TEST_NAME): Likewise.
14062 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14063 * string/test-strncmp.c (TEST_NAME): Likewise.
14064 * string/test-strncpy.c (TEST_NAME): Likewise.
14065 * string/test-strnlen.c (TEST_NAME): Likewise.
14066 * string/test-strpbrk.c (TEST_NAME): Likewise.
14067 * string/test-strrchr.c (TEST_NAME): Likewise.
14068 * string/test-strspn.c (TEST_NAME): Likewise.
14069 * string/test-strstr.c (TEST_NAME): Likewise.
14070 * string/test-bcopy-ifunc.c: New file.
14071 * string/test-bzero-ifunc.c: Likewise.
14072 * string/test-memccpy-ifunc.c: Likewise.
14073 * string/test-memchr-ifunc.c: Likewise.
14074 * string/test-memcmp-ifunc.c: Likewise.
14075 * string/test-memcpy-ifunc.c: Likewise.
14076 * string/test-memmem-ifunc.c: Likewise.
14077 * string/test-memmove-ifunc.c: Likewise.
14078 * string/test-mempcpy-ifunc.c: Likewise.
14079 * string/test-memset-ifunc.c: Likewise.
14080 * string/test-rawmemchr-ifunc.c: Likewise.
14081 * string/test-stpcpy-ifunc.c: Likewise.
14082 * string/test-stpncpy-ifunc.c: Likewise.
14083 * string/test-strcasecmp-ifunc.c: Likewise.
14084 * string/test-strcasestr-ifunc.c: Likewise.
14085 * string/test-strcat-ifunc.c: Likewise.
14086 * string/test-strchr-ifunc.c: Likewise.
14087 * string/test-strchrnul-ifunc.c: Likewise.
14088 * string/test-strcmp-ifunc.c: Likewise.
14089 * string/test-strcpy-ifunc.c: Likewise.
14090 * string/test-strcspn-ifunc.c: Likewise.
14091 * string/test-strlen-ifunc.c: Likewise.
14092 * string/test-strncasecmp-ifunc.c: Likewise.
14093 * string/test-strncat-ifunc.c: Likewise.
14094 * string/test-strncmp-ifunc.c: Likewise.
14095 * string/test-strncpy-ifunc.c: Likewise.
14096 * string/test-strnlen-ifunc.c: Likewise.
14097 * string/test-strpbrk-ifunc.c: Likewise.
14098 * string/test-strrchr-ifunc.c: Likewise.
14099 * string/test-strspn-ifunc.c: Likewise.
14100 * string/test-strstr-ifunc.c: Likewise.
14102 * debug/Makefile (tests-ifunc): New variable.
14103 (tests): Add $(tests-ifunc).
14104 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14105 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14106 * debug/test-stpcpy_chk-ifunc.c: New file.
14107 * debug/test-strcpy_chk-ifunc.c: Likewise.
14109 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14112 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14113 header is not read in.
14115 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14117 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14118 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14119 directly. Pass built executable to script as
14120 $(built-program-cmd).
14121 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14122 $testprogram without using LD_LIBRARY_PATH and $ldso.
14124 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14125 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14126 $(rtld-installed-name).
14127 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14128 (rtld_installed_name): Likewise.
14129 (library_path): Likewise.
14130 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14131 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14132 $(run-program-prefix) to tst-tables.sh.
14133 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14134 it to run tst-table-from and tst-table-to.
14135 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14136 Pass it to tst-table.sh.
14137 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14138 $(run-program-prefix) to tst-gettext.sh.
14139 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14141 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14143 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14144 to run tst-gettext.
14145 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14146 to run tst-gettext2.
14147 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14148 to run tst-translit.
14149 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14150 $(run-program-prefix) to tst-mtrace.sh.
14151 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14153 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14154 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14155 $(rtld-installed-name).
14156 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14157 (rtld_installed_name): Likewise.
14158 (run_program_prefix): New variable. Use it to run wordexp-test.
14160 * Makeconfig (ARCH): Remove all definitions.
14161 (machine): Likewise.
14162 [ARCH]: Remove conditional code.
14163 [!objdir]: Give error.
14164 [!objdir] (objpfx): Remove.
14165 [!objdir] (common-objpfx): Likewise.
14166 [!objdir] (common-objdir): Likewise.
14167 * configure.in (config_makefile): Remove. Hardcode Makefile in
14168 AC_CONFIG_FILES call.
14169 * configure: Regenerated.
14172 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14174 (testout): Likewise.
14176 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14177 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14178 $(rtld-installed-name).
14179 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14180 (rtld_installed_name): Likwise.
14181 (runit): Remove function.
14182 (run_getconf): New variable, Use it for running getconf binary.
14184 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14187 * string/test-memmem.c (check_result): New function.
14188 (do_one_test): Use it.
14189 (check1): New function.
14190 (test_main): Use it.
14192 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14194 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14196 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14198 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14199 (_G_LSEEK64): Likewise.
14200 (_G_MMAP64): Likewise.
14201 (_G_FSTAT64): Likewise.
14202 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14203 (_G_LSEEK64): Likewise.
14204 (_G_MMAP64): Likewise.
14205 (_G_FSTAT64): Likewise.
14206 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14207 unconditional. Call __mmap64 directly.
14208 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14209 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14210 __lseek64 directly.
14211 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14212 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14214 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14215 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14216 __lseek64 directly.
14217 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14218 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14219 __lseek64 directly.
14220 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14221 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14222 __lseek64 directly.
14223 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14224 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14225 __fxstat64 directly.
14226 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14227 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14229 (freopen64) [!_G_OPEN64]: Remove conditional code.
14230 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14232 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14233 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14235 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14236 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14238 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14239 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14241 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14242 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14244 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14245 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14247 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14248 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14250 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14252 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14255 * manual/memory.texi (Malloc Tunable Parameters): Add note
14256 about free list pointers overwriting some perturb bytes.
14257 Wording suggested by Roland McGrath.
14259 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14261 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14262 (lgamma_test): Likewise.
14263 (tgamma_test): Likewise.
14265 2012-10-16 Florian Weimer <fweimer@redhat.com>
14268 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14269 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14271 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14273 * NEWS: Mention BZ #14716.
14274 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14275 when removing AVAILABLE1_USES_J macro.
14277 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14279 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14280 (__bswap_64): __uint64_t for unsigned 64-bit int.
14282 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14284 * include/string.h (memmem): Declare libc hidden alias.
14285 * string/memmem.c (memmem): Define libc hidden alias.
14286 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14287 __read, __close instead of open, read, close.
14289 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14292 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14294 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14295 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14296 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14298 (__rawmemchr_sse2): Likewise.
14299 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14300 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14301 (__strchr_sse2): Likewise.
14302 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14303 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14304 (__strcasecmp_sse2): Likewise.
14305 (__strncasecmp_sse2): Likewise.
14306 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14307 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14308 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14309 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14310 (__strrchr_sse2): Likewise.
14311 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14313 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14314 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14315 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14316 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14317 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14318 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14319 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14320 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14321 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14322 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14323 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14324 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14325 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14326 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14327 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14328 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14329 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14330 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14331 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14332 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14333 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14334 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14335 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14336 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14337 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14338 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14339 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14340 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14341 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14342 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14344 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14346 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14347 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14348 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14349 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14351 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14353 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14354 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14355 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14356 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14358 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14359 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14361 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14362 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14363 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14364 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14365 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14366 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14367 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14368 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14369 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14370 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14371 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14372 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14373 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14375 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14376 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14377 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14378 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14379 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14380 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14381 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14383 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14384 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14387 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14388 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14389 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14390 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14391 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14392 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14393 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14394 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14395 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14396 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14397 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14398 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14400 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14401 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14402 * include/ifunc-impl-list.h: New file.
14403 * misc/ifunc-impl-list.c: Likewise.
14404 * misc/Makefile (routines): Add ifunc-impl-list.
14405 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14406 * string/test-string.h: Include <ifunc-impl-list.h>.
14407 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14408 impl_array): New variables.
14409 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14411 (test_init): Call __libc_ifunc_impl_list to initialize
14412 func_list if TEST_IFUNC and TEST_NAME are defined.
14414 * string/Makefile (strop-tests): Add bcopy and bzero.
14415 * string/test-bcopy.c: New file.
14416 * string/test-bzero.c: Likewise.
14417 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14419 * string/test-memset.c: Support bzero test if TEST_BZERO is
14421 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14423 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14425 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14428 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14430 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14431 * configure: Regenerated.
14433 * Makeconfig (+link-static-before-libc): Don't include
14434 $(link-static-libc).
14436 * libio/libio.h (_IO_pos_t): Remove.
14438 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14440 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14443 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14445 * crypt/crypt-entry.c: Include fips-private.h.
14446 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14447 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14448 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14449 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14451 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14453 * crypt/crypt-private.h: Include stdbool.h.
14454 (_ufc_setup_salt_r): Return bool.
14455 * crypt/crypt-entry.c: Include errno.h.
14456 (__crypt_r): Return NULL with EINVAL for bad salt.
14457 * crypt/crypt_util.c (bad_for_salt): New.
14458 (_ufc_setup_salt_r): Check that salt is long enough and within
14459 the specified alphabet.
14460 * crypt/badsalttest.c: New file.
14461 * crypt/Makefile (tests): Add it.
14462 ($(objpfx)badsalttest): New.
14464 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14466 * NEWS: Add entry for BZ #14602.
14468 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14470 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14472 * math/libm-test.inc: Update comment listing what functions and
14474 (isgreater_test): New function.
14475 (isgreaterequal_test): Likewise.
14476 (isless_test): Likewise.
14477 (islessequal_test): Likewise.
14478 (islessgreater_test): Likewise.
14479 (isunordered_test): Likewise.
14480 (main): Call the new functions.
14482 2012-10-09 Roland McGrath <roland@hack.frob.com>
14484 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14485 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14486 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14487 * sysdeps/i386/configure: Regenerated.
14488 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14489 * sysdeps/mach/configure: Regenerated.
14490 * sysdeps/mach/hurd/configure: Regenerated.
14491 * sysdeps/powerpc/configure: Regenerated.
14492 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14493 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14494 * sysdeps/s390/s390-32/configure: Regenerated.
14495 * sysdeps/s390/s390-64/configure: Regenerated.
14496 * sysdeps/sh/configure: Regenerated.
14497 * sysdeps/sparc/configure: Regenerated.
14498 * sysdeps/unix/sysv/linux/configure: Regenerated.
14499 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14500 * sysdeps/x86_64/configure: Regenerated.
14502 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14503 defined. Don't check if MAP is NULL.
14505 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14507 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14508 (_G_stat64): Likewise.
14509 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14510 (_G_stat64): Likewise.
14511 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14512 instead of struct _G_stat64.
14513 * libio/fileops.c (mmap_remap_check): Likewise.
14514 (decide_maybe_mmap): Likewise.
14515 (_IO_new_file_seekoff): Likewise.
14516 (_IO_file_stat): Likewise.
14517 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14519 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14520 instead of struct _G_stat64.
14521 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14523 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14526 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14528 (CHECK_EOL): New macro.
14529 (two_way_short_needle): Check beginning of haystack for EOL. Use
14531 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14532 Replace with CHECK_EOL.
14533 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14534 Replace with CHECK_EOL.
14536 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14538 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14540 * math/libm-test.inc: Update comment listing what functions and
14542 (finite_test): New function.
14543 (isinf_test): Likewise.
14544 (isnan_test): Likewise.
14545 (fpclassify_test): Test subnormal input.
14546 (isfinite_test): Likewise.
14547 (isnormal_test): Likewise.
14548 (main): Call the new functions.
14550 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14553 * Makerules (%.dynsym): Force C locale when running
14554 $(OBJDUMP) --dynamic-syms.
14556 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14558 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14561 2012-10-06 David S. Miller <davem@davemloft.net>
14563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14564 upper 32-bits of the length value in %o2 since we use branch-on-register
14565 tests which consider the entire 64-bit register.
14567 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14569 * string/test-strstr.c (check2): Add a test for page boundary.
14571 2012-10-05 David S. Miller <davem@davemloft.net>
14573 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14576 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14579 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14580 and bzero when HWCAP_SPARC_CRYPTO is present.
14582 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14585 * string/test-strstr.c (check2): New function.
14586 (test_main): Call check2.
14588 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14590 * string/bug-strcasestr1.c (do_test): Moved to ...
14591 * string/test-strcasestr.c (check1): Here. New function.
14592 (do_one_test): Break out result checking code into ...
14593 (check_result): This. New function.
14594 (do_one_test): Call check_result.
14595 (test_main): Call check1.
14596 * string/bug-strchr1.c (do_test): Moved to ...
14597 * string/test-strchr.c (check1): Here. New function.
14598 (do_one_test): Break out result checking code into ...
14599 (check_result): This. New function.
14600 (do_one_test): Call check_result.
14601 (test_main): Call check1.
14602 * string/bug-strstr1.c (main): Moved to ...
14603 * string/test-strstr.c (check1): Here. New function.
14604 (do_one_test): Break out result checking code into ...
14605 (check_result): This. New function.
14606 (do_one_test): Call check_result.
14607 (test_main): Call check1.
14608 * string/bug-strcasestr1.c: Removed.
14609 * string/bug-strchr1.c: Likewise.
14610 * string/bug-strstr1.c: Likewise.
14612 * elf/Makefile (dl-routines): Add hwcaps.
14613 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14614 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14615 (_dl_important_hwcaps): Moved to ...
14616 * elf/dl-hwcaps.c: Here. New file.
14617 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14620 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14621 if IS_IN_rtld isn't defined.
14623 * elf/dl-support.c (_dl_sysinfo_map): New.
14624 Include "get-dynamic-info.h" and "setup-vdso.h".
14625 (_dl_non_dynamic_init): Call setup_vdso.
14626 * elf/dynamic-link.h: Don't include <assert.h>.
14627 (elf_get_dynamic_info): Moved to ...
14628 * elf/get-dynamic-info.h: Here. New file.
14629 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14630 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14631 * elf/setup-vdso.h: Here. New file.
14632 * elf/rtld.c: Include "setup-vdso.h".
14633 (dl_main): Call setup_vdso.
14635 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14637 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14638 creal in comment listing functions tested. List finite, isinf,
14639 isnan, isless, islessequal, isgreater, isgreaterequal,
14640 islessgreater, isunordered, lgamma_r and pow10 as functions and
14641 macros not tested. Mention which functions not tested are aliases
14642 for other functions. Fix typo. Note that signs of NaNs are not
14645 * scripts/config.guess: Update from config.git.
14646 * scripts/config.sub: Likewise.
14648 2012-10-04 Roland McGrath <roland@hack.frob.com>
14650 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14651 * misc/madvise.c (madvise): Renamed to __madvise.
14652 Make madvise a weak alias.
14653 * include/sys/mman.h: Declare __madvise.
14654 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14655 * sysdeps/unix/syscalls.list
14656 (madvise): Make __madvise the strong name, and madvise a weak alias.
14657 * sysdeps/unix/sysv/linux/syscalls.list
14658 (madvise, mmap): Remove redundant entries.
14659 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14660 * malloc/malloc.c (mtrim): Likewise.
14661 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14663 2012-10-03 Roland McGrath <roland@hack.frob.com>
14665 * sysdeps/mach/hurd/dl-cache.c: File removed.
14666 * config.h.in (USE_LDCONFIG): New #undef.
14667 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14668 * configure: Regenerated.
14669 * elf/Makefile (dl-routines): Add dl-cache only under
14670 [$(use-ldconfig) = yes].
14671 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14672 cache on [USE_LDCONFIG].
14673 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14675 * elf/rtld.c (dl_main): Likewise.
14677 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14679 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14680 _SC_LEVEL4_CACHE_LINESIZE.
14682 2012-10-03 Roland McGrath <roland@hack.frob.com>
14684 * sysdeps/unix/bsd/confstr.h: File removed.
14686 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14688 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14691 2012-10-02 Roland McGrath <roland@hack.frob.com>
14693 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14694 Make 'mapoff' field ElfW(Off) rather than off_t.
14696 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14698 * nscd/Makefile: Remove nscd-cflags and all its users.
14699 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14700 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14703 * malloc.c (malloc_printerr): Clarify error message.
14705 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14709 Set bit_FMA_Usable if FMA is supported.
14710 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14712 (bit_FMA4_Usable): Updated.
14713 (index_FMA_Usable): New macro.
14714 (CPUID_FMA): Likewise
14715 (HAS_FMA): Defined with bit_FMA_Usable.
14717 2012-10-01 Roland McGrath <roland@hack.frob.com>
14719 * bits/types.h (__swblk_t): Type removed.
14720 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14721 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14723 (__SWBLK_T_TYPE): Likewise.
14724 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14725 (__SWBLK_T_TYPE): Likewise.
14726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14727 (__SWBLK_T_TYPE): Likewise.
14728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14729 (__SWBLK_T_TYPE): Likewise.
14731 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14732 Honza Horak <hhorak@redhat.com>
14734 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14735 (xdr_mapname): Use YPMAXMAP as maxsize.
14736 (xdr_peername): Use YPMAXPEER as maxsize.
14737 (xdr_keydat): Use YPAXRECORD as maxsize.
14738 (xdr_valdat): Use YPMAXRECORD as maxsize.
14740 2012-10-01 Roland McGrath <roland@hack.frob.com>
14742 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14744 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14745 * csu/init-first.c: ... here.
14746 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14747 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14748 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14749 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14750 * sysdeps/i386/init-first.c: File removed.
14751 * sysdeps/sh/init-first.c: File removed.
14753 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14757 if x * y might underflow to zero and z is zero.
14758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14759 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14760 * math/libm-test.inc (min_subnorm_value): New variable.
14761 (fma_test): Add more tests.
14762 (fma_test_towardzero): Likewise.
14763 (fma_test_downward): Likewise
14764 (fma_test_upward): Likewise.
14765 (initialize): Set min_subnorm_value.
14767 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14772 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14773 mode for addition resulting in exact zero.
14774 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14779 * math/libm-test.inc (fma_test): Add more tests.
14780 (fma_test_towardzero): New function.
14781 (fma_test_downward): Likewise.
14782 (fma_test_upward): Likewise.
14783 (main): Call the new functions.
14785 2012-09-28 David S. Miller <davem@davemloft.net>
14787 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14789 2012-09-28 Roland McGrath <roland@hack.frob.com>
14791 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14792 instead of SIGALRM.
14794 * sysdeps/gnu/_G_config.h: Moved to ...
14795 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14796 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14797 * sysdeps/generic/_G_config.h: ... here.
14799 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14801 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14803 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14804 Conditionalize target on [libnss_test1.so-version].
14806 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14808 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14809 (elfobjdir): Move out of conditionals.
14811 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14812 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14813 (__nss_lookup_function): Conditionalize label remove_from_tree on
14814 [!DO_STATIC_NSS || SHARED], matching its only use.
14816 2012-09-28 David S. Miller <davem@davemloft.net>
14818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14819 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14821 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14823 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14825 when HWCAP_SPARC_CRYPTO is present.
14827 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14829 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14831 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14834 * stdio-common/vfprintf.c (process_string_arg): Revert
14837 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14839 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14841 * stdio-common/tst-sprintf.c: Include <locale.h>
14842 (main): Test sprintf's handling of incomplete multibyte
14845 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14847 * elf/dl-runtime.c (VERSYMIDX): Removed.
14848 * elf/dl-version.c (VERSYMIDX): Likewise.
14849 * elf/do-rel.h (VERSYMIDX): Likewise.
14850 (VALIDX): Likewise.
14851 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14852 * elf/rtld.c (VALIDX): Likewise.
14853 (ADDRIDX): Likewise.
14854 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14855 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14856 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14857 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14858 (VALIDX): Likewise.
14859 (ADDRIDX): Likewise.
14861 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14863 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14865 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14868 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14870 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14871 addresses are in the same scope as 192.0.2/24.
14872 * posix/gai.conf: Document new scope table defaults.
14874 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14877 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14878 for ftell. Compute offsets from write pointers instead.
14879 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14881 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14884 * libio/Makefile (tests): New test case tst-fseek.
14885 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14886 combination works in wide mode.
14887 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14888 state when the external buffer state changes.
14890 2012-09-27 David S. Miller <davem@davemloft.net>
14893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14894 pass reloc->r_addend in as the 'high' argument to
14895 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14899 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14901 * rt/tst-aio2.c: Include <pthread.h>.
14902 * rt/tst-aio3.c: Likewise.
14904 2012-09-27 Steve Ellcey <sellcey@mips.com>
14906 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14908 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14910 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14911 contents on [SHARED].
14913 2012-09-26 Marek Polacek <polacek@redhat.com>
14917 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14918 for C++ and GCC <4.3 as well as for non GCC compilers.
14920 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14924 2012-09-25 Roland McGrath <roland@hack.frob.com>
14926 * Makefile.in (all, install): Declare with .PHONY.
14927 Reported by Michael Hope <michael.hope@linaro.org>.
14929 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14931 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14932 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14934 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14936 (sydep_routines): Add the new and the internal functions.
14937 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14938 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14940 (GLIBC_2.17): Add the new function.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14942 (GLIBC_2.17): Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14944 (GLIBC_2.17): Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14946 (GLIBC_2.17): Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14949 2012-09-25 Alan Modra <amodra@gmail.com>
14951 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14952 Add release barrier before setting once_control to say
14953 initialisation is done. Add hints on lwarx. Use macro in
14955 (clear_once_control): Add release barrier.
14957 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14960 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14962 * math/s_clog10.c (__clog10): Likewise.
14963 * math/s_clog10f.c (__clog10f): Likewise.
14964 * math/s_clog10l.c (__clog10l): Likewise.
14965 * math/s_clogf.c (__clogf): Likewise.
14966 * math/s_clogl.c (__clogl): Likewise.
14967 * math/Makefile (libm-calls): Add x2y2m1.
14968 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14969 (__x2y2m1): Likewise.
14970 (__x2y2m1l): Likewise.
14971 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14972 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14975 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14976 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14977 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14978 * sysdeps/i386/fpu/libm-test-ulps: Update.
14979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14982 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14983 int as type of variable DEPTH.
14984 (glob): Use size_t instead of int as type of variables NEWCOUNT
14987 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14989 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14990 Add s_sincosf-sse2.
14991 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14993 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14994 macros for using routine as __sincosf_ia32.
14995 Use macro for function declaration and weak_alias.
14996 * sysdeps/i386/fpu/libm-test-ulps: Update.
14998 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15001 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15002 subnormal argument.
15003 * math/s_cexpf.c (__cexpf): Likewise.
15004 * math/s_csinf.c (__csinf): Likewise.
15005 * math/s_csinhf.c (__csinhf): Likewise.
15006 * math/s_ctanf.c (__ctanf): Likewise.
15007 * math/s_ctanhf.c (__ctanhf): Likewise.
15008 * math/s_ccosh.c (__ccoshf): Likewise.
15009 * math/s_cexp.c (__cexpl): Likewise.
15010 * math/s_csin.c (__csin): Likewise.
15011 * math/s_csinh.c (__csinh): Likewise.
15012 * math/s_ctan.c (__ctan): Likewise.
15013 * math/s_ctanh.c (ctanh): Likewise.
15014 * math/s_ccoshl.c (__ccoshl): Likewise.
15015 * math/s_cexpl.c (__cexpl): Likewise.
15016 * math/s_csinl.c (__csinl): Likewise.
15017 * math/s_csinhl.c (__csinhl): Likewise.
15018 * math/s_ctanl.c (__ctanl): Likewise.
15019 * math/s_ctanhl.c (__ctanhl): Likewise.
15021 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15023 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15024 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15025 (_IO_off_t): Define to __off_t, not _G_off_t.
15026 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15027 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15028 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15029 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15030 type of __dummy and __dummy2 fields.
15031 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15032 (_G_ssize_t): Likewise.
15033 (_G_off_t): Likewise.
15034 (_G_pid_t): Likewise.
15035 (_G_uid_t): Likewise.
15036 (_G_wchar_t): Likewise.
15037 (_G_wint_t): Likewise.
15038 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15039 (_G_ssize_t): Likewise.
15040 (_G_off_t): Likewise.
15041 (_G_pid_t): Likewise.
15042 (_G_uid_t): Likewise.
15043 (_G_wchar_t): Likewise.
15044 (_G_wint_t): Likewise.
15045 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15046 (_G_ssize_t): Likewise.
15047 (_G_off_t): Likewise.
15048 (_G_pid_t): Likewise.
15049 (_G_uid_t): Likewise.
15050 (_G_wchar_t): Likewise.
15051 (_G_wint_t): Likewise.
15053 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15055 * malloc/arena.c: Include malloc-sysdep.h.
15056 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15057 is sufficient to shrink the heap or an unmap is needed.
15058 * sysdeps/generic/malloc-sysdep.h: New file. Define
15059 new function check_may_shrink_heap.
15060 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15061 new function check_may_shrink_heap.
15063 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15065 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15068 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15070 * catgets/test-gencat.sh: Add "set -e".
15071 * elf/tst-pathopt.sh: Likewise.
15072 * grp/tst_fgetgrent.sh: Likewise.
15073 * iconvdata/run-iconv-test.sh: Likewise.
15074 * intl/tst-gettext.sh: Likewise.
15075 * intl/tst-gettext2.sh: Likewise.
15076 * intl/tst-gettext4.sh: Likewise.
15077 * intl/tst-gettext6.sh: Likewise.
15078 * intl/tst-translit.sh: Likewise.
15079 * io/ftwtest-sh: Likewise.
15080 * libio/test-freopen.sh: Likewise.
15081 * malloc/tst-mtrace.sh: Likewise.
15082 * posix/globtest.sh: Likewise.
15083 * posix/tst-getconf.sh: Likewise.
15084 * posix/wordexp-tst.sh: Likewise.
15085 * stdio-common/tst-printf.sh: Likewise.
15086 * stdio-common/tst-unbputc.sh: Likewise.
15087 * stdlib/tst-fmtmsg.sh: Likewise.
15088 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15089 * catgets/Makefile: Do not specify -e option when running
15090 testsuite shell scripts.
15091 * elf/Makefile: Likewise.
15092 * grp/Makefile: Likewise.
15093 * iconvdata/Makefile: Likewise.
15094 * intl/Makefile: Likewise.
15095 * io/Makefile: Likewise.
15096 * libio/Makefile: Likewise.
15097 * malloc/Makefile: Likewise.
15098 * posix/Makefile: Likewise.
15099 * stdio-common/Makefile: Likewise.
15100 * stdlib/Makefile: Likewise.
15101 * sysdeps/x86_64/Makefile: Likewise.
15103 * io/ftwtest-sh: Add copyright header.
15104 * posix/globtest.sh: Likewise.
15105 * posix/tst-getconf.sh: Likewise.
15106 * posix/wordexp-tst.sh: Likewise.
15107 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15109 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15112 * Makeconfig (+link): Defined as $(+link-static) if
15113 $(build-shared) isn't yes.
15114 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15116 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15118 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15121 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15122 new chunk size with MALLOC_ALIGN_MASK.
15124 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15127 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15129 (__printf_fphex): Determine rounding using get_rounding_mode and
15131 * stdio-common/tst-printf-round.c (struct hex_test): New
15133 (hex_tests): New variable.
15134 (test_hex_in_one_mode): New function.
15135 (do_test): Also run tests for hex float output.
15137 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15139 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15140 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15141 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15142 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15143 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15144 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15145 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15146 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15148 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15150 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15151 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15152 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15153 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15155 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15158 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15160 * elf/tst-rtld-load-self.sh: New test.
15161 * elf/Makefile: Run it.
15163 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15165 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15166 (tst-writev-ENV): Remove.
15167 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15169 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15171 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15173 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15175 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15177 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15179 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15180 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15184 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15187 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15188 * config.make.in (have-cpp-asm-debuginfo): Removed.
15189 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15190 * configure: Regenerated.
15192 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15195 * stdio-common/printf_fp.c: Include <stdbool.h> and
15197 (___printf_fp): Determine rounding using get_rounding_mode and
15199 * stdio-common/tst-printf-round.c: New file.
15200 * stdio-common/Makefile (tests): Add tst-printf-round.
15201 (link-libm): New variable.
15202 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15204 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15207 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15208 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15210 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15213 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15215 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15216 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15217 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15218 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15220 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15223 * include/rounding-mode.h: New file.
15224 * sysdeps/generic/get-rounding-mode.h: Likewise.
15225 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15226 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15227 (MAX_VALUE): New macro.
15228 (MIN_VALUE): Likewise.
15229 (overflow_value): New function.
15230 (underflow_value): Likewise.
15231 (round_and_return): Use overflow_value and underflow_value to
15232 determine return values in overflow and underflow cases. Use
15233 round_away to determine rounding depending on rounding mode.
15234 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15235 determine return values in overflow and underflow cases.
15236 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15237 (struct test_results): New structure.
15238 (struct test): Use struct test_results to store expected results
15239 for all rounding modes.
15240 (TEST): Include expected results for all rounding modes.
15241 (test_in_one_mode): New function.
15242 (do_test): Use test_in_one_mode to compute and check results.
15243 Check results for all rounding modes.
15244 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15247 2012-12-09 Allan McRae <allan@archlinux.org>
15249 * sysdeps/i386/fpu/libm-test-ulps: Update
15251 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15253 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15254 (_G_int32_t): Likewise.
15255 (_G_uint16_t): Likewise.
15256 (_G_uint32_t): Likewise.
15257 (_G_HAVE_BOOL): Likewise.
15258 (_G_HAVE_ATEXIT): Likewise.
15259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15260 (_G_HAVE_IO_FILE_OPEN): Likewise.
15261 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15262 (_G_int32_t): Likewise.
15263 (_G_uint16_t): Likewise.
15264 (_G_uint32_t): Likewise.
15265 (_G_HAVE_BOOL): Likewise.
15266 (_G_HAVE_ATEXIT): Likewise.
15267 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15268 (_G_HAVE_IO_FILE_OPEN): Likewise.
15269 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15270 (_G_int32_t): Likewise.
15271 (_G_uint16_t): Likewise.
15272 (_G_uint32_t): Likewise.
15273 (_G_HAVE_BOOL): Likewise.
15274 (_G_HAVE_ATEXIT): Likewise.
15275 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15276 (_G_HAVE_IO_FILE_OPEN): Likewise.
15278 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15280 * csu/libc-tls.c: Update copyright years.
15282 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15284 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15285 [!_G_USING_THUNKS]: Remove conditional code.
15286 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15287 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15289 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15290 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15291 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15292 (_G_VTABLE_LABEL_PREFIX): Likewise.
15293 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15294 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15295 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15296 (_G_VTABLE_LABEL_PREFIX): Likewise.
15297 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15298 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15299 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15300 (_G_VTABLE_LABEL_PREFIX): Likewise.
15301 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15303 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15305 * libio/Makefile: Include ../Makeconfig before tests.
15306 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15307 only if $(build-shared) is yes.
15309 * iconv/gconv_db.c: Update copyright years.
15311 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15313 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15314 unwind info if defined PIC. Fix special cases description.
15315 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15317 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15319 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15321 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15323 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15325 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15328 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15329 (LDLIBS-tst-chk4): This.
15330 (LDFLAGS-tst-chk5): Renamed to ...
15331 (LDLIBS-tst-chk5): This.
15332 (LDFLAGS-tst-chk6): Renamed to ...
15333 (LDLIBS-tst-chk6): This.
15334 (LDFLAGS-tst-lfschk4): Renamed to ...
15335 (LDLIBS-tst-lfschk4): This.
15336 (LDFLAGS-tst-lfschk5): Renamed to ...
15337 (LDLIBS-tst-lfschk5): This.
15338 (LDFLAGS-tst-lfschk6): Renamed to ...
15339 (LDLIBS-tst-lfschk6): This.
15341 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15342 on $(common-objpfx)soversions.mk.
15344 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15347 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15350 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15352 * malloc/arena.c (arena_get_retry): New function that gets
15353 another arena for the caller to try its request on.
15354 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15355 current arena cannot fulfill the request.
15356 (__libc_memalign): Likewise.
15357 (__libc_memalign): Likewise.
15358 (__libc_pvalloc): Likewise.
15359 (__libc_calloc): Likewise.
15361 2012-09-05 John Tobey <john.tobey@gmail.com>
15364 * manual/arith.texi (Operations on Complex): Fix description
15365 of carg branch cut.
15367 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15370 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15374 * manual/memory.texi (Memory): Make order of menu items match
15377 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15379 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15380 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15381 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15383 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15385 * csu/libc-tls.c (static_dtv): Renamed to ...
15386 (_dl_static_dtv): This. Make it global.
15387 (_dl_initial_dtv): Removed.
15388 (__libc_setup_tls): Updated.
15389 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15390 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15393 2012-09-06 Petr Machata <pmachata@redhat.com>
15395 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15396 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15397 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15398 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15400 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15403 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15404 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15407 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15410 * Makeconfig (link-static-before-libc): Replace $(+prector)
15412 (link-static-after-libc): Replace $(+postctor) with
15414 (link-bounded): Replace $(+prector)/$(+postctor) with
15415 $(+prectorT)/$(+postctorT).
15416 (+prectorT): New macro.
15417 (+postctorT): Likewise.
15419 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15421 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15422 (round_str): Handle values above the maximum for IBM long double
15424 * stdlib/tst-strtod-round.c (tests): Regenerated.
15426 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15428 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15430 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15431 zarch_nohighgprs around the zarch optimized routines.
15432 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15433 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15437 2012-09-05 David S. Miller <davem@davemloft.net>
15439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15441 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15442 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15443 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15444 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15447 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15449 * malloc/arena.c: Fold copyright years.
15450 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15452 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15454 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15456 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15458 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15460 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15462 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15463 change internal state upon failure.
15465 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15467 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15468 * malloc/memusage.c (mmap): Likewise.
15469 (mmap64, mremap): Likewise. Adjust name in comment.
15471 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15473 * libio/fileops.c: Fix typos in comments.
15474 * libio/oldfileops.c: Likewise.
15475 * libio/wfileops.c: Likewise.
15477 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15480 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15481 (tst-malloc-usable-ENV): Set environment for test case.
15482 * malloc/hooks.c (malloc_check_get_size): New function to get
15484 * malloc/malloc.c (musable): Use malloc_check_get_size.
15485 * malloc/tst-malloc-usable.c: New test case.
15487 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15489 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15491 2012-09-05 Allan McRae <allan@archlinux.org>
15494 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15495 determine header location.
15496 * configure: Regenerated.
15498 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15500 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15502 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15503 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15505 (test): Regenerate.
15507 2012-09-04 David S. Miller <davem@davemloft.net>
15509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15511 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15513 2012-09-04 Florian Weimer <fweimer@redhat.com>
15515 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15518 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15520 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15523 * libio/iogetdelim.c: Include <limits.h>.
15524 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15525 + len + 1 would overflow.
15527 2012-09-03 Andreas Jaeger <aj@suse.de>
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15530 * sysdeps/i386/fpu/libm-test-ulps: Update.
15532 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15534 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15535 Add s_sinf-sse2, s_conf-sse2.
15537 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15538 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15539 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15540 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15542 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15543 for using routine as __sinf_ia32.
15544 Use macro for function declaration and weak_alias.
15545 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15546 for using routine as __cosf_ia32.
15547 Use macro for function declaration and weak_alias.
15549 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15550 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15552 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15553 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15556 * math/libm-test.inc (cos_test): Add more test cases.
15557 (sin_test): Likewise.
15558 (sincos_test): Likewise.
15560 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15562 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15563 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15565 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15567 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15570 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15571 first element of the GOT.
15572 (elf_machine_load_address): Return the difference between
15573 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15575 2012-09-01 Allan McRae <allan@archlinux.org>
15578 * configure.in (AWK): Require gawk version 3.0 or later.
15579 * configure: Regenerated.
15581 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15583 * sysdeps/unix/sysv/linux/kernel-features.h
15584 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15585 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15586 [__NR_clock_getres]: Make code unconditional.
15587 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15588 (clock_getcpuclockid): Remove code left unreachable by removal of
15590 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15591 code unconditional.
15592 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15593 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15594 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15595 Make code unconditional.
15596 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15597 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15598 * sysdeps/unix/sysv/linux/clock_settime.c
15599 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15601 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15602 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15604 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15607 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15608 scripts/test-installation.pl.
15610 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15611 and $ld_so_version if it is set.
15613 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15617 failure if reading from procfs failed.
15618 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15620 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15622 * sysdeps/unix/sysv/linux/kernel-features.h
15623 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15624 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15625 Remove conditional code.
15626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15627 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15628 Remove conditional code.
15629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15630 * sysdeps/unix/sysv/linux/i386/fxstat.c
15631 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15632 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15633 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15634 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15636 * sysdeps/unix/sysv/linux/i386/lxstat.c
15637 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15639 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15640 Remove conditional code.
15641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15642 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15643 Remove conditional code.
15644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15645 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15646 <kernel-features.h>.
15647 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15649 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15650 Remove conditional code.
15651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15652 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15653 Remove conditional.
15655 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15658 * NEWS: Add fixed bug number.
15660 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15663 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15664 underflowing exponent in case of negative sign.
15665 * stdlib/tst-strtod-round-data: Add more tests.
15666 * stdlib/tst-strtod-round.c (tests): Regenerated.
15669 * stdlib/strtod_l.c (NDIG): Remove.
15670 (HEXNDIG): Likewise.
15671 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15672 smallest representable value.
15673 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15674 lie within an exact representation of 1/2 ulp of the result.
15675 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15677 (TENS_P9_IDX): Define unconditionally.
15678 (TENS_P9_SIZE): Likewise.
15679 (TENS_P10_IDX): Likewise.
15680 (TENS_P10_SIZE): Likewise.
15681 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15682 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15683 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15684 entries for 10^2^13 and 10^2^14.
15685 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15686 (TENS_P13_IDX): Define.
15687 (TENS_P13_SIZE): Likewise.
15688 (TENS_P14_IDX): Likewise.
15689 (TENS_P14_SIZE): Likewise.
15690 (_fpioconst_pow10): Change array size to
15691 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15693 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15694 1024]: Add entries for 10^2^13 and 10^2^14.
15695 [LAST_POW10 > _LAST_POW10]: Remove #error.
15696 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15697 (_fpioconst_pow10): Change array size to
15698 FPIOCONST_POW10_ARRAY_SIZE.
15699 * stdlib/gen-fpioconst.c: New file.
15700 * stdlib/gen-tst-strtod-round.c: Likewise.
15701 * stdlib/tst-strtod-round-data: Likewise.
15702 * stdlib/tst-strtod-round.c: Likewise.
15703 * stdlib/Makefile (tests): Add tst-strtod-round.
15706 * stdlib/strtod_l.c: Include <stdint.h>.
15707 (NDEBUG): Do not define.
15708 (round_and_return): Change EXPONENT parameter to type intmax_t.
15709 Rearrange calculations to avoid internal overflow possibilities.
15710 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15711 Rearrange calculations to avoid internal overflow possibilities.
15712 Assert that number fits inside MPNSIZE limbs.
15713 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15714 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15715 calculations and add assertions to avoid internal overflow
15716 possibilities. Add casts to avoid signed/unsigned operations.
15717 * stdlib/tst-strtod-overflow.c: New file.
15718 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15720 2012-08-25 Marek Polacek <polacek@redhat.com>
15722 * time/time.h: Fix some typos in comments.
15724 2012-08-23 Roland McGrath <roland@hack.frob.com>
15726 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15727 * posix/tst-rfc3484-2.c: Likewise.
15728 * posix/tst-rfc3484-3.c: Likewise.
15730 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15732 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15733 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15735 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15737 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15738 #include of fxstatat64.c.
15740 2012-08-22 Roland McGrath <roland@hack.frob.com>
15742 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15743 * shadow/getspent_r.c: Likewise.
15744 * shadow/getspnam.c: Likewise.
15745 * shadow/getspnam_r.c: Likewise.
15746 * gshadow/getsgent.c: Likewise.
15747 * gshadow/getsgent_r.c: Likewise.
15748 * gshadow/getsgnam.c: Likewise.
15749 * gshadow/getsgnam_r.c: Likewise.
15750 * inet/getnetbyad.c: Likewise.
15751 * inet/getnetbyad_r.c: Likewise.
15752 * inet/getnetbynm.c: Likewise.
15753 * inet/getnetbynm_r.c: Likewise.
15754 * inet/getnetent.c: Likewise.
15755 * inet/getnetent_r.c: Likewise.
15756 * inet/getproto.c: Likewise.
15757 * inet/getproto_r.c: Likewise.
15758 * inet/getprtent.c: Likewise.
15759 * inet/getprtent_r.c: Likewise.
15760 * inet/getprtname.c: Likewise.
15761 * inet/getprtname_r.c: Likewise.
15762 * inet/getrpcbyname.c: Likewise.
15763 * inet/getrpcbyname_r.c: Likewise.
15764 * inet/getrpcbynumber.c: Likewise.
15765 * inet/getrpcbynumber_r.c: Likewise.
15766 * inet/getrpcent.c: Likewise.
15767 * inet/getrpcent_r.c: Likewise.
15768 * inet/getaliasent.c: Likewise.
15769 * inet/getaliasent_r.c: Likewise.
15770 * inet/getaliasname.c: Likewise.
15771 * inet/getaliasname_r.c: Likewise.
15772 * nscd/getgrgid_r.c: Likewise.
15773 * nscd/getgrnam_r.c: Likewise.
15774 * nscd/gethstbyad_r.c: Likewise.
15775 * nscd/gethstbynm3_r.c: Likewise.
15776 * nscd/getpwnam_r.c: Likewise.
15777 * nscd/getpwuid_r.c: Likewise.
15778 * nscd/getsrvbynm_r.c: Likewise.
15779 * nscd/getsrvbypt_r.c: Likewise.
15780 * nscd/gai.c: Likewise.
15782 * configure.in (build_nscd): New substituted variable, set
15783 by --disable-build-nscd and defaults to $use_nscd.
15784 * configure: Regenerated.
15785 * config.make.in (build-nscd): New substituted variable.
15786 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15787 Change conditional to require [$(build-nscd) = yes] as well.
15788 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15791 * configure.in (use_nscd): New substituted variable, set by
15792 --disable-nscd. If enabled, define USE_NSCD.
15793 * configure: Regenerated.
15794 * config.h.in: Add USE_NSCD.
15795 * config.make.in (use-nscd): New substituted variable.
15796 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15797 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15798 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15799 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15800 (CFLAGS-getgrnam_r.c): Likewise.
15801 (CFLAGS-initgroups.c): Likewise.
15802 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15803 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15805 * inet/getnetgrent_r.c
15806 (nscd_setnetgrent): New function, broken out of ...
15807 (setnetgrent): ... here. Call it.
15808 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15809 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15810 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15811 * nscd/Makefile (routines, aux): Move definitions after include of
15812 Makeconfig. Conditionalize on [$(use-nscd) != no].
15813 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15814 Conditionalize on [USE_NSCD].
15815 (is_nscd, nscd_init_cb): Likewise.
15816 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15817 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15818 * nss/nss_db/db-init.c: Likewise.
15819 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15821 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15822 (make_request): Use it.
15823 (cache_valid_p): New function.
15824 (__check_pf): Use it.
15825 * NEWS: Add item for --disable-nscd.
15827 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15829 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15830 to support sed >= 4.2.1-20-ga9bf076.
15831 * configure: Regenerated.
15833 2012-08-22 Roland McGrath <roland@hack.frob.com>
15835 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15836 Conditionalize whole body on [IREL].
15838 2012-08-22 Jeff Law <law@redhat.com>
15841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15842 if the family is PF_UNSPEC.
15844 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15846 * Makerules (lib-version): Rename from V.
15847 (install-lib-nosubdir): Change V to lib-version.
15849 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15852 * powerpc32/power6/wcschr.c: New file.
15853 * powerpc32/power6/wcscpy.c: New file.
15854 * powerpc32/power6/wcsrchr.c: New file.
15855 * powerpc64/power6/wcschr.c: New file.
15856 * powerpc64/power6/wcscpy.c: New file.
15857 * powerpc64/power6/wcsrchr.c: New file.
15859 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15861 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15862 (two_way_short_needle): Use it.
15863 * string/strstr.c (AVAILABLE1_USES_J): Define.
15864 * string/strcasestr.c: Likewise.
15866 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15868 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15871 * NEWS: Add an entry.
15872 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15873 define their defaults.
15874 (two_way_short_needle): Detect end-of-string on-the-fly.
15875 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15876 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15877 * string/bug-strcasestr1.c: New test.
15878 * string/Makefile: Run it.
15880 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15883 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15884 the first character.
15886 2012-08-21 Roland McGrath <roland@hack.frob.com>
15888 * csu/elf-init.c (__libc_csu_irel): Function removed.
15889 * csu/libc-start.c (apply_irel): New function.
15890 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15892 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15894 * sysdeps/unix/sysv/linux/kernel-features.h
15895 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15896 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15897 <kernel-features.h>.
15898 [__NR_fadvise64_64]: Make code unconditional.
15899 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15900 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15901 !__NR_fadvise64_64)]: Likewise.
15902 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15903 !__NR_fadvise64_64))]: Likewise.
15904 [__NR_fadvise64]: Make code unconditional.
15905 [!__NR_fadvise64]: Remove conditional code.
15906 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15907 <kernel-features.h>.
15908 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15910 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15913 not include <kernel-features.h>.
15914 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15916 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15918 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15919 include <kernel-features.h>.
15920 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15922 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15925 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15928 slight instruction rearrangements per scrollpipe analysis.
15929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15931 2012-08-20 Roland McGrath <roland@hack.frob.com>
15933 * manual/syslog.texi (syslog; vsyslog, closelog):
15934 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15935 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15937 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15938 DSOCAPS to match condition on defining it.
15940 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15942 * sysdeps/unix/sysv/linux/kernel-features.h
15943 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15945 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15946 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15948 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15949 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15951 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15952 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15954 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15955 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15957 * sysdeps/unix/sysv/linux/kernel-features.h
15958 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15959 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15961 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15962 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15963 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15964 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15965 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15966 Make code unconditional.
15967 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15968 (__mmap64) [!__NR_mmap2]: Likewise.
15969 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15970 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15971 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15972 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15973 [__NR_mmap2]: Make code unconditional.
15974 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15975 (__mmap64) [!__NR_mmap2]: Likewise.
15977 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15979 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15981 2012-08-18 Andreas Jaeger <aj@suse.de>
15983 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15985 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15987 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15988 * include/unistd.h (__have_sock_cloexec): Likewise.
15989 (__have_pipe2): Likewise.
15990 (__have_dup3): Likewise.
15992 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15995 * include/unistd.h (__have_pipe2): Change define into an extern int.
15996 (__have_dup3): Likewise.
15997 * socket/have_sock_cloexec.c: Include fcntl.h.
15998 (__have_pipe2): New variable.
15999 (__have_dup3): Likewise.
16001 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16003 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16005 2012-08-17 Marek Polacek <polacek@redhat.com>
16007 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16008 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16010 2012-08-17 Roland McGrath <roland@hack.frob.com>
16012 * configure.in: Add AC_SUBST for sysheaders.
16013 * configure: Regenerated.
16014 * config.make.in (sysheaders): New substituted variable.
16016 * sysdeps/unix/mkfifo.c: Moved ...
16017 * sysdeps/posix/mkfifo.c: ... here.
16018 * sysdeps/unix/mkfifoat.c: Moved ...
16019 * sysdeps/posix/mkfifoat.c: ... here.
16021 * sysdeps/unix/utime.c: Moved ...
16022 * sysdeps/posix/utime.c: ... here.
16024 * sysdeps/unix/time.c: Moved ...
16025 * sysdeps/posix/time.c: ... here.
16026 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16027 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16029 * sysdeps/unix/nice.c: Moved ...
16030 * sysdeps/posix/nice.c: ... here.
16032 * sysdeps/unix/alarm.c: Moved ...
16033 * sysdeps/posix/alarm.c: ... here.
16035 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16037 2012-08-17 Jeff Law <law@redhat.com>
16039 * intl/Makefile (codeset_mo): New variable.
16040 ($(codeset_mo)): New target.
16041 (tst-codeset.out): Depend on that. Remove explicit rule.
16042 (tst-gettext3.out, tst-gettext5.out): Likewise.
16043 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16044 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16045 * intl/tst-codeset.sh: Remove.
16046 * intl/tst-gettext3.sh: Likewise.
16047 * intl/tst-gettext5.sh: Likewise.
16049 2012-08-17 Roland McGrath <roland@hack.frob.com>
16051 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16052 * sysdeps/unix/syscalls.list: ... here.
16054 * sysdeps/posix/getaddrinfo.c
16055 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16056 (gaiconf_init, gaiconf_reload): Use them.
16057 [!_STATBUF_ST_NSEC]
16058 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16059 Define using time_t rather than struct timespec.
16061 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16062 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16064 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16066 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16067 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16071 __libc_cleanup_push argument.
16073 * bits/param.h: New file.
16074 * misc/sys/param.h: New file.
16075 * include/sys/param.h: New file.
16076 * misc/Makefile (headers): Add bits/param.h.
16077 * sysdeps/generic/sys/param.h: File removed.
16078 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16079 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16080 * sysdeps/mach/hurd/bits/param.h: New file.
16081 * sysdeps/mach/hurd/sys/param.h: File removed.
16083 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16086 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16088 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16089 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16092 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16093 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16094 rather than -D_IO_MTSAFE_IO conditionally.
16095 * stdio-common/Makefile (CPPFLAGS): Likewise.
16096 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16097 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16098 Use $(libio-mtsafe).
16099 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16100 of -D_IO_MTSAFE_IO.
16101 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16102 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16103 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16104 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16105 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16106 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16107 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16108 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16109 (CFLAGS-fread_u_chk.c): Likewise.
16110 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16111 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16112 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16113 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16114 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16115 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16116 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16117 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16118 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16120 * libio/Makefile: Test [$(libc-reentrant) = yes]
16121 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16124 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16125 * sysdeps/pthread/configure: File removed.
16126 * sysdeps/pthread/Makeconfig: New file.
16127 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16128 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16130 2012-08-16 Gary Benson <gbenson@redhat.com>
16132 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16133 unmapping the first object in a namespace.
16135 2012-08-16 Roland McGrath <roland@hack.frob.com>
16137 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16138 (__internal_setnetgrent): ... this. Add internal_function to
16139 definition. Add libc_hidden_def.
16140 (setnetgrent): Update caller.
16141 (internal_endnetgrent): Renamed to ...
16142 (__internal_endnetgrent): ... this. Add internal_function to
16143 definition. Add libc_hidden_def.
16144 (endnetgrent): Update caller.
16145 (internal_getnetgrent_r): Renamed to ...
16146 (__internal_getnetgrent_r): ... this. Add internal_function to
16147 definition. Add libc_hidden_def.
16148 (__getnetgrent_r): Update caller.
16149 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16151 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16153 * stdlib/longlong.h: Update from GCC.
16155 2012-08-16 Roland McGrath <roland@hack.frob.com>
16157 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16158 on _QL, which is set by umul_ppmm but never used.
16159 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16160 variables, which are set by GMP macros but never used.
16161 * stdio-common/_itowa.c (_itowa): Likewise.
16162 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16163 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16165 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16167 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16168 struct La_sh_regs is not constant.
16169 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16170 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16171 and struct La_sparc64_regs are not constant.
16173 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16175 * sysdeps/unix/sysv/linux/kernel-features.h
16176 (__ASSUME_POSIX_TIMERS): Remove.
16177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16178 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16179 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16180 Make code unconditional.
16181 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16182 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16183 Make code unconditional.
16184 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16185 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16186 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16188 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16189 Make code unconditional.
16190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16191 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16192 (__libc_missing_posix_timers): Remove.
16194 2012-08-15 Roland McGrath <roland@hack.frob.com>
16196 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16197 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16199 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16201 * elf/dl-sym.c: Include <stdlib.h>.
16203 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16204 constants, which avoids warnings in 32-bit builds.
16206 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16207 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16209 * misc/lseek.c: File moved to ...
16210 * io/lseek.c: ... here.
16212 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16214 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16215 shifting LEN more than 31 bits at once.
16217 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16220 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16221 segmentation fault for a case of two empty input strings.
16222 * string/test-strncasecmp.c (check1): Renamed to...
16223 (bz12205): ...this.
16224 (bz14195): Add new testcase for two empty input strings and N > 0.
16225 (test_main): Call new testcase, adapt for renamed function.
16227 2012-08-15 Andreas Jaeger <aj@suse.de>
16230 * crypt/md5test2.c: New test, based on test supplied by Serge
16231 Belyshev <belyshev@depni.sinp.msu.ru>.
16232 * crypt/Makefile (xtests): Add md5test-giant..
16233 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16235 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16238 * crypt/md5.c (md5_process_block): Don't assume the buffer
16239 length is less than 2**32.
16240 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16241 length is less than 2**64.
16243 2012-08-15 Roland McGrath <roland@hack.frob.com>
16245 * string/str-two-way.h: Include <sys/param.h>.
16246 (MAX): Macro removed.
16248 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16249 Move #define and #undef of memmove to just before and after
16250 including <string.h>.
16252 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16253 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16254 and after including <string.h>. Move declarations of
16255 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16256 to before #include "string/memmove.c".
16258 * include/dirent.h: Declare __getdirentries.
16260 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16261 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16263 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16265 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16266 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16267 * sysdeps/i386/configure: Regenerated.
16268 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16269 STABS_CURRENT_FILE, and STABS_FUN.
16270 (END): Remove call to STABS_FUN_END.
16271 (STABS_CURRENT_FILE1): Delete.
16272 (STABS_CURRENT_FILE): Likewise.
16273 (STABS_FUN): Likewise.
16274 (STABS_FUN_END): Likewise.
16275 (STABS_FUN2): Likewise.
16276 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16277 * sysdeps/x86_64/configure: Regenerated.
16279 2012-08-14 Roland McGrath <roland@hack.frob.com>
16281 * elf/dl-open.c: Include <atomic.h>.
16282 * elf/dl-lookup.c: Likewise.
16284 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16286 * sysdeps/unix/sysv/linux/kernel-features.h
16287 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16288 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16290 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16292 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16293 condition on __ASSUME_CLONE_THREAD_FLAGS.
16295 2012-08-14 Andreas Jaeger <aj@suse.de>
16297 * sysdeps/i386/fpu/libm-test-ulps: Update.
16299 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16301 * include/atomic.h (atomic_exchange_and_add): Split into ...
16302 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16305 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16309 2012-08-13 Jeff Law <law@redhat.com>
16311 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16312 null byte in the output string.
16314 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16316 * sysdeps/unix/sysv/linux/kernel-features.h
16317 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16318 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16319 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16320 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16321 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16322 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16323 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16325 2012-08-09 Jeff Law <law@redhat.com>
16328 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16329 When avoid_arena is set, don't retry in the that arena. Pick the
16330 next one, whatever it might be.
16331 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16332 (arena_lock): Pass in new parameter to arena_get2.
16333 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16335 (__libc_malloc): Unify retrying after main arena failure with
16336 __libc_memalign version.
16337 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16339 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16342 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16343 to __redirect_strstr.
16344 (__strstr_sse42): Use typeof __redirect_strstr.
16345 (__strstr_ia32): Likewise.
16346 (__libc_strstr): New prototype.
16347 (strstr): Renamed to ...
16348 (__libc_strstr): This.
16349 (strstr): New strong alias of __libc_strstr.
16350 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16351 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16354 (__libc_time): New prototype.
16355 (time_ifunc): Replace time with __libc_time.
16356 (time): New strong alias and hidden definition of __libc_time.
16357 (__GI_time): Remove strong alias.
16358 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16359 Include <stddef.h>.
16360 (memmove): Redefined to __redirect_memmove.
16361 (__memmove_sse2): Use typeof __redirect_memmove.
16362 (__memmove_ssse3): Likewise.
16363 (__memmove_ssse3_back): Likewise.
16364 (__libc_memmove): New prototype.
16365 (memmove): Renamed to ...
16366 (__libc_memmove): This.
16367 (memmove): New strong alias of __libc_memmove.
16369 2012-08-08 Mark Salter <msalter@redhat.com>
16372 (R_MN10300_TLS_GD): Define.
16373 (R_MN10300_TLS_LD): Likewise.
16374 (R_MN10300_TLS_LDO): Likewise.
16375 (R_MN10300_TLS_GOTIE): Likewise.
16376 (R_MN10300_TLS_IE): Likewise.
16377 (R_MN10300_TLS_LE): Likewise.
16378 (R_MN10300_TLS_DTPMOD): Likewise.
16379 (R_MN10300_TLS_DTPOFF): Likewise.
16380 (R_MN10300_TLS_TPOFF): Likewise.
16381 (R_MN10300_SYM_DIFF): Likewise.
16382 (R_MN10300_ALIGN): Likewise.
16383 (R_MN10300_NUM): Update.
16385 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16390 2012-08-08 Roland McGrath <roland@hack.frob.com>
16392 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16394 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16395 sysdeps/unix -> sysdeps/posix move.
16396 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16398 2012-08-07 Allan McRae <allan@archlinux.org>
16401 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16402 (SUNOS_CPP): Likewise.
16403 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16405 (open_input): Call CPP using execvp.
16407 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16409 * sysdeps/unix/sysv/linux/kernel-features.h
16410 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16411 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16412 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16413 (__ASSUME_WAITID_SYSCALL): Likewise.
16414 * sysdeps/unix/sysv/linux/dl-execstack.c
16415 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16416 code unconditional.
16417 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16420 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16421 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16423 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16425 [__ASSUME_WAITID_SYSCALL]: Likewise.
16426 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16428 2012-08-07 Roland McGrath <roland@hack.frob.com>
16430 * sysdeps/unix/closedir.c: Renamed to ...
16431 * sysdeps/posix/closedir.c: ... here.
16432 * sysdeps/unix/dirfd.c: Renamed to ...
16433 * sysdeps/posix/dirfd.c: ... here.
16434 * sysdeps/unix/dirstream.h: Renamed to ...
16435 * sysdeps/posix/dirstream.h: ... here.
16436 * sysdeps/unix/fdopendir.c: Renamed to ...
16437 * sysdeps/posix/fdopendir.c: ... here.
16438 * sysdeps/unix/opendir.c: Renamed to ...
16439 * sysdeps/posix/opendir.c: ... here.
16440 * sysdeps/unix/readdir.c: Renamed to ...
16441 * sysdeps/posix/readdir.c: ... here.
16442 * sysdeps/unix/readdir_r.c: Renamed to ...
16443 * sysdeps/posix/readdir_r.c: ... here.
16444 * sysdeps/unix/rewinddir.c: Renamed to ...
16445 * sysdeps/posix/rewinddir.c: ... here.
16446 * sysdeps/unix/seekdir.c: Renamed to ...
16447 * sysdeps/posix/seekdir.c: ... here.
16448 * sysdeps/unix/telldir.c: Renamed to ...
16449 * sysdeps/posix/telldir.c: ... here.
16450 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16451 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16452 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16453 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16455 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16456 * bits/fcntl.h: ... here.
16458 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16460 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16461 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16462 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16463 (struct flock): Move l_start, l_len to the beginning.
16464 Use __pid_t for l_pid.
16465 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16466 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16467 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16468 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16469 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16470 [__USE_LARGEFILE64] (struct flock64): New type.
16471 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16473 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16474 * bits/dirent.h: ... here.
16476 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16477 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16479 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16482 Change from 2.6.0 to 2.6.16.
16483 * sysdeps/unix/sysv/linux/configure: Regenerated.
16484 * sysdeps/unix/sysv/linux/kernel-features.h
16485 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16486 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16488 (__ASSUME_UTIMES): Likewise.
16489 (__ASSUME_CLONE_STOPPED): Remove.
16490 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16491 architectures, not kernel version.
16492 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16493 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16494 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16495 (__ASSUME_WAITID_SYSCALL): Likewise.
16496 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16497 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16498 * README: State 2.6.16 as minimum Linux kernel version. Do not
16499 refer to older versions.
16501 2012-08-06 Roland McGrath <roland@hack.frob.com>
16503 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16504 Define alphasort64 as an alias.
16505 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16506 Define versionsort64 as an alias.
16507 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16508 Define scandir64 as an alias.
16509 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16510 Define scandirat64 as an alias.
16511 * dirent/alphasort64.c (alphasort64):
16512 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16513 * dirent/versionsort64.c: Likewise.
16514 * dirent/scandir64.c: Likewise.
16515 * dirent/scandirat64.c: Likewise.
16516 * sysdeps/wordsize-64/alphasort.c: File removed.
16517 * sysdeps/wordsize-64/alphasort64.c: File removed.
16518 * sysdeps/wordsize-64/scandir.c: File removed.
16519 * sysdeps/wordsize-64/scandir64.c: File removed.
16520 * sysdeps/wordsize-64/scandirat.c: File removed.
16521 * sysdeps/wordsize-64/scandirat64.c: File removed.
16522 * sysdeps/wordsize-64/versionsort.c: File removed.
16523 * sysdeps/wordsize-64/versionsort64.c: File removed.
16524 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16533 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16535 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16537 [defined __arch64__ || defined __sparcv9]
16538 (__INO_T_MATCHES_INO64_T): New macro.
16539 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16540 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16541 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16542 * sysdeps/unix/sysv/linux/bits/dirent.h
16543 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16544 (_DIRENT_MATCHES_DIRENT64): New macro.
16546 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16547 Define lockf64 as an alias.
16548 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16549 Define fseeko64 as an alias.
16550 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16551 Define ftello64 as an alias.
16552 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16553 Define _IO_fgetpos64 and fgetpos64 as aliases.
16554 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16555 Define _IO_fsetpos64 and fsetpos64 as aliases.
16556 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16557 Conditionalize body on this.
16558 * libio/fseeko64.c: Likewise.
16559 * libio/ftello64.c: Likewise.
16560 * libio/iofgetpos64.c: Likewise.
16561 * libio/iofsetpos64.c: Likewise.
16562 * sysdeps/wordsize-64/lockf.c: File removed.
16563 * sysdeps/wordsize-64/lockf64.c: File removed.
16564 * sysdeps/wordsize-64/fseeko.c: File removed.
16565 * sysdeps/wordsize-64/fseeko64.c: File removed.
16566 * sysdeps/wordsize-64/ftello.c: File removed.
16567 * sysdeps/wordsize-64/ftello64.c: File removed.
16568 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16569 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16570 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16571 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16572 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16583 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16585 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16587 [defined __arch64__ || defined __sparcv9]
16588 (__OFF_T_MATCHES_OFF64_T): New macro.
16589 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16590 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16592 (__OFF_T_MATCHES_OFF64_T): New macro.
16594 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16596 * stdlib/secure-getenv.c (__secure_getenv): Replace
16597 GLIBC_2_16 with GLIBC_2_17.
16599 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16604 2012-08-03 David S. Miller <davem@davemloft.net>
16606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16608 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16612 (__ASSUME_CORRECT_SI_PID): Likewise.
16613 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16614 (__ASSUME_TMPFS_NAME): Likewise.
16615 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16616 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16617 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16618 (HAVE_AUX_SECURE): Make definition unconditional.
16619 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16620 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16622 2012-08-03 Roland McGrath <roland@hack.frob.com>
16624 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16625 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16626 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16627 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16628 __eloop_threshold instead of SYMLOOP_MAX.
16630 * sysdeps/generic/eloop-threshold.h: New file.
16631 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16633 * elf/chroot_canon.c (chroot_canon): Likewise.
16635 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16639 Change to 2.6.0 everywhere.
16640 * sysdeps/unix/sysv/linux/configure: Regenerated.
16641 * sysdeps/unix/sysv/linux/kernel-features.h
16642 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16643 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16645 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16646 (__ASSUME_FUTEX_REQUEUE): Remove.
16647 (__ASSUME_STATFS64): Define unconditionally.
16648 (__ASSUME_AT_SECURE): Likewise.
16649 (__ASSUME_CORRECT_SI_PID): Likewise.
16650 (__ASSUME_TGKILL): Define without depending on kernel version for
16652 (__ASSUME_UTIMES): Likewise.
16653 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16655 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16656 (__ASSUME_TMPFS_NAME): Likewise.
16657 * README: Update reference to Linux kernel versions.
16659 2012-08-02 Marek Polacek <polacek@redhat.com>
16662 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16663 libc_cv_asm_type_prefix with %.
16664 * configure: Regenerated.
16665 * include/libc-symbols.h: Remove comment about
16666 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16667 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16668 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16669 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16670 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16671 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16672 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16673 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16674 * elf/tst-unique2mod1.c: Likewise.
16675 * elf/tst-unique1mod2.c: Likewise.
16676 * elf/tst-unique1mod1.c: Likewise.
16677 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16678 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16679 Replace ASM_TYPE_DIRECTIVE with .type.
16680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16681 * sysdeps/i386/sysdep.h: Likewise.
16682 * sysdeps/x86_64/sysdep.h: Likewise.
16683 * sysdeps/sh/sysdep.h: Likewise.
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16685 Do not define ASM_TYPE_DIRECTIVE.
16686 * sysdeps/powerpc/sysdep.h: Likewise.
16687 * sysdeps/powerpc/powerpc32/sysdep.h:
16688 Replace ASM_TYPE_DIRECTIVE with .type.
16689 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16690 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16691 * sysdeps/i386/fpu/e_powf.S: Likewise.
16692 * sysdeps/i386/fpu/e_expl.S: Likewise.
16693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16694 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16695 * sysdeps/i386/fpu/e_pow.S: Likewise.
16696 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16697 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16698 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16699 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16700 * sysdeps/i386/fpu/e_log2.S: Likewise.
16701 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16703 * sysdeps/i386/fpu/e_powl.S: Likewise.
16704 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16705 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16706 * sysdeps/i386/fpu/e_logl.S: Likewise.
16707 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16708 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16709 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16712 * sysdeps/i386/fpu/e_log.S: Likewise.
16713 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16714 * sysdeps/i386/fpu/e_logf.S: Likewise.
16715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16716 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16717 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16718 * sysdeps/i386/fpu/e_log10.S: Likewise.
16719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16725 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16726 * sysdeps/i386/i686/strtok.S: Likewise.
16727 * sysdeps/i386/i386-mcount.S: Likewise.
16728 * sysdeps/i386/strtok.S: Likewise.
16729 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16730 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16732 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16733 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16734 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16735 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16736 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16738 * sysdeps/x86_64/_mcount.S: Likewise.
16739 * sysdeps/x86_64/strtok.S: Likewise.
16740 * sysdeps/sh/_mcount.S: Likewise.
16742 2012-08-01 Roland McGrath <roland@hack.frob.com>
16744 * libio/iofopen.c: Include <fcntl.h>.
16745 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16746 (_IO_fopen64, fopen64): Define as aliases.
16747 * libio/iofopen64.c: Include <fcntl.h>.
16748 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16749 Conditionalize body on this.
16750 * sysdeps/wordsize-64/iofopen.c: File removed.
16751 * sysdeps/wordsize-64/iofopen64.c: File removed.
16753 2012-08-01 Marek Polacek <polacek@redhat.com>
16755 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16756 Use dlfcn directly instead of a variable.
16757 (binfmt-subdir): Do not define.
16760 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16763 Remove all definitions.
16764 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16765 <kernel-features.h>.
16766 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16767 (miss_F_GETOWN_EX): Remove all definitions.
16768 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16770 [!__ASSUME_FCNTL64]: Remove conditional code.
16771 [__ASSUME_FCNTL64]: Make code unconditional.
16772 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16773 <kernel-features.h>.
16774 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16775 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16776 (lockf64) [__NR_fcntl64]: Make code unconditional.
16777 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16779 * sysdeps/unix/sysv/linux/kernel-features.h
16780 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16781 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16782 Make code unconditional.
16783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16786 [__NR_vfork]: Make code unconditional.
16787 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16788 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16790 [__NR_vfork]: Make code unconditional.
16791 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16792 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16794 2012-08-01 Roland McGrath <roland@hack.frob.com>
16796 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16797 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16799 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16800 Define mkstemp64 as an alias.
16801 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16802 Define mkstemps64 as an alias.
16803 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16804 Define mkostemp64 as an alias.
16805 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16806 Define mkostemps64 as an alias.
16807 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16808 Conditionalize body on this.
16809 * misc/mkostemp64.c: Likewise.
16810 * misc/mkostemps64.c: Likewise.
16811 * misc/mkstemps64.c: Likewise.
16812 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16813 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16814 * sysdeps/wordsize-64/mkostemp.c: File removed.
16815 * sysdeps/wordsize-64/mkstemp.c: File removed.
16816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16822 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16823 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16824 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16825 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16827 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16828 compat_symbol macros from <shlib-compat.h> rather than the underlying
16829 default_symbol_version and symbol_version macros, so that DEFAULT
16830 lines in shlib-versions are respected.
16831 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16833 2012-08-01 Florian Weimer <fweimer@redhat.com>
16835 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16836 Declare with warn_unused_result.
16837 (setgid, setregid, setegid, setresgid): Likewise.
16838 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16840 * WUR-REPORT: Remove set*id functions.
16842 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16844 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16846 2012-07-31 Roland McGrath <roland@hack.frob.com>
16849 * include/sys/socket.h (__libc_accept, __libc_accept4):
16850 Add attribute_hidden.
16851 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16853 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16855 * inet/getnetgrent_r.c (setup): Likewise.
16857 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16859 2012-07-31 David S. Miller <davem@davemloft.net>
16861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16863 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16866 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16867 value between 1.0 and 2.0 and smaller part has absolute value less
16869 * math/s_clog10.c (__clog10): Likewise.
16870 * math/s_clog10f.c (__clog10f): Likewise.
16871 * math/s_clog10l.c (__clog10l): Likewise.
16872 * math/s_clogf.c (__clogf): Likewise.
16873 * math/s_clogl.c (__clogl): Likewise.
16874 * math/libm-test.inc (clog_test): Add more tests.
16875 (clog10_test): Likewise.
16876 * sysdeps/i386/fpu/libm-test-ulps: Update.
16877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16879 2012-07-31 Florian Weimer <fweimer@redhat.com>
16881 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16882 Exit with zero in case no suitable GID is found, and write a
16883 message to standard error.
16885 2012-07-30 Roland McGrath <roland@hack.frob.com>
16887 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16889 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16890 (MAXPATHLEN): Removed.
16891 (NOGROUP, NODEV): New macros.
16892 (setbit, clrbit, isset, isclr): New macros.
16893 (howmany, roundup, powerof2): New macros.
16894 (DEV_BSIZE): New macro.
16896 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16897 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16899 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16900 definition on [!__NO_LONG_DOUBLE_MATH].
16902 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16903 PTR_MANGLE and PTR_DEMANGLE.
16905 * socket/accept4.c (accept4): Rename to __libc_accept4.
16906 Define accept4 as a weak alias.
16908 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16909 on [_DIRENT_HAVE_D_TYPE].
16910 * io/ftw.c (ftw_dir): Likewise.
16912 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16914 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16916 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16917 Use the BSD numbers rather than the arbitrary ones we had.
16918 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16919 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16920 (SIGXCPU, SIGXFSZ): New macros.
16923 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16924 initializer on [_LIBC_REENTRANT].
16926 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16927 definitions inside [_POSIX_MAPPED_FILES].
16929 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16931 * dirent/opendir.c: Include <fcntl.h>.
16933 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16934 (__libc_getspecific): Likewise.
16935 (__libc_key_create): Likewise.
16937 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16938 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16939 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16940 (tmpfile64): Define as alias.
16941 * sysdeps/wordsize-64/tmpfile.c: File removed.
16942 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16943 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16946 * stdio-common/vfscanf.c: Include <stdbool.h>.
16947 * nss/makedb.c: Likewise.
16948 * stdio-common/_i18n_number.h: Likewise.
16949 * argp/argp-help.c: Likewise.
16950 * posix/wordexp.c: Likewise.
16951 * sysdeps/posix/spawni.c: Likewise.
16952 * nss/nss_files/files-initgroups.c: Likewise.
16953 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16954 * nss/nss_files/files-initgroups.c: Likewise.
16955 * nss/nss_db/db-netgrp.c: Likewise.
16956 * nss/nss_db/db-initgroups.c: Likewise.
16957 * io/fchmodat.c: Include <sys/stat.h>.
16959 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16960 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16962 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16965 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16966 Add multiple inclusion protection.
16968 2012-07-27 David S. Miller <davem@davemloft.net>
16970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16972 2012-07-27 Gary Benson <gbenson@redhat.com>
16975 * elf/rtld.c: Include <stap-probe.h>.
16976 (dl_main): Added static probes "init_start" and "init_complete".
16977 * elf/dl-load.c: Include <stap-probe.h>.
16978 (lose): Take new parameter "nsid".
16979 Added static probe "map_failed".
16980 (_dl_map_object_from_fd): Pass namespace id to lose.
16981 Added static probe "map_start".
16982 (open_verify): Pass namespace id to lose.
16983 * elf/dl-open.c: Include <stap-probe.h>.
16984 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16985 and "reloc_complete".
16986 * elf/dl-close.c: Include <stap-probe.h>.
16987 (_dl_close_worker): Added static probes "unmap_start" and
16989 * elf/rtld-debugger-interface.txt: New file documenting the above.
16991 2012-07-26 Roland McGrath <roland@hack.frob.com>
16993 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16994 rather than a string variable.
16995 * sunrpc/rpc_main.c (h_output): Likewise.
16996 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16998 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17000 * inet/check_native.c: New file.
17002 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17005 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17006 if larger part has absolute value 1.0.
17007 * math/s_clog10.c (__clog10): Likewise.
17008 * math/s_clog10f.c (__clog10f): Likewise.
17009 * math/s_clog10l.c (__clog10l): Likewise.
17010 * math/s_clogf.c (__clogf): Likewise.
17011 * math/s_clogl.c (__clogl): Likewise.
17012 * math/libm-test.inc (clog_test): Add more tests.
17013 (clog10_test): Likewise.
17014 * sysdeps/i386/fpu/libm-test-ulps: Update.
17015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17017 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17018 (pltexit): Likewise.
17019 (La_regs): Likewise.
17020 (La_retval): Likewise.
17021 (int_retval): Likewise.
17022 Update #error for removed macros to refer only to definitions in
17024 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17026 (pltexit): Likewise.
17027 (La_regs): Likewise.
17028 (La_retval): Likewise.
17029 (int_retval): Likewise.
17030 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17032 (pltexit): Likewise.
17033 (La_regs): Likewise.
17034 (La_retval): Likewise.
17035 (int_retval): Likewise.
17036 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17038 (pltexit): Likewise.
17039 (La_regs): Likewise.
17040 (La_retval): Likewise.
17041 (int_retval): Likewise.
17042 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17044 (pltexit): Likewise.
17045 (La_regs): Likewise.
17046 (La_retval): Likewise.
17047 (int_retval): Likewise.
17048 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17050 (pltexit): Likewise.
17051 (La_regs): Likewise.
17052 (La_retval): Likewise.
17053 (int_retval): Likewise.
17054 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17056 (pltexit): Likewise.
17057 (La_regs): Likewise.
17058 (La_retval): Likewise.
17059 (int_retval): Likewise.
17060 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17061 macro definitions in tst-audit.h.
17062 * sysdeps/i386/tst-audit.h: New file.
17063 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17064 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17065 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17066 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17067 * sysdeps/sh/tst-audit.h: Likewise.
17068 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17069 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17070 * sysdeps/x86_64/tst-audit.h: Likewise.
17072 2012-07-26 Andreas Jaeger <aj@suse.de>
17074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17077 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17078 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17079 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17081 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17082 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17083 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17085 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17088 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17090 (si_call_addr, si_syscall, si_arch): Define new macro.
17091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17093 (si_call_addr, si_syscall, si_arch): Define new marcro.
17094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17096 (si_call_addr, si_syscall, si_arch): Define new macro.
17097 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17099 (si_call_addr, si_syscall, si_arch): Define new macro.
17101 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17105 Change to 2.4.21 where previously 2.4.1.
17106 * sysdeps/unix/sysv/linux/configure: Regenerated.
17107 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17108 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17109 Linux kernel version.
17110 (__ASSUME_STD_AUXV): Remove.
17111 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17113 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17114 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17115 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17116 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17117 (__ASSUME_NETLINK_SUPPORT): Likewise.
17118 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17119 (__no_netlink_support): Remove conditional definition.
17120 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17122 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17123 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17124 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17125 (if_nameindex_ioctl): Remove.
17126 (if_nameindex_netlink): Do not handle __no_netlink_support.
17127 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17129 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17130 Remove conditional code.
17131 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17133 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17135 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17136 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17137 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17139 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17140 [!__ASSUME_STD_AUXV]: Remove conditional code.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17142 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17143 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17145 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17146 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17148 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17150 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17151 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17153 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17155 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17158 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17161 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17162 code unconditional.
17163 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17165 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17167 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17170 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17172 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17175 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17176 code unconditional.
17177 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17179 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17181 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17184 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17185 code unconditional.
17186 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17188 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17190 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17193 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17195 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17196 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17197 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17198 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17199 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17200 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17201 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17202 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17203 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17204 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17205 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17206 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17207 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17208 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17210 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17211 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17212 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17213 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17215 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17219 2012-07-25 Florian Weimer <fweimer@redhat.com>
17221 * Versions.def: Add GLIBC_2.17.
17222 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17223 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17224 Introduce __libc_secure_getenv.
17225 * stdlib/Versions (2.17): Add secure_getenv
17226 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17227 * stdlib/secure-getenv.c: Rename __secure_getenv to
17228 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17229 symbol __secure_getenv for GLIBC_2.0.
17230 * stdlib/tst-secure-getenv.c: New.
17231 * stdlib/Makefile (tests): Add testcase.
17232 * manual/startup.texi (Environment Access): Document
17234 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17235 __libc_secure_getenv.
17236 * inet/ruserpass.c (ruserpass): Likewise.
17237 * malloc/mtrace.c (mtrace): Likewise.
17238 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17239 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17240 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17241 * sysdeps/posix/tempname.c: Likewise. Evaluate
17242 HAVE_SECURE_GETENV.
17243 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17244 __secure_getenv to __libc_secure_getenv.
17245 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17258 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17260 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17261 (struct La_i86_retval): Likewise.
17262 (struct La_x86_64_regs): Likewise.
17263 (struct La_x86_64_retval): Likewise.
17264 (struct La_x32_regs): Likewise.
17265 (struct La_x32_retval): Likewise.
17266 (struct La_ppc32_regs): Likewise.
17267 (struct La_ppc32_retval): Likewise.
17268 (struct La_ppc64_regs): Likewise.
17269 (struct La_ppc64_retval): Likewise.
17270 (struct La_sh_regs): Likewise.
17271 (struct La_sh_retval): Likewise.
17272 (struct La_s390_32_regs): Likewise.
17273 (struct La_s390_32_retval): Likewise.
17274 (struct La_s390_64_regs): Likewise.
17275 (struct La_s390_64_retval): Likewise.
17276 (struct La_sparc32_regs): Likewise.
17277 (struct La_sparc32_retval): Likewise.
17278 (struct La_sparc64_regs): Likewise.
17279 (struct La_sparc64_retval): Likewise.
17280 (struct audit_ifaces): Remove architecture-specific pltenter and
17282 * sysdeps/i386/ldsodefs.h: New file.
17283 * sysdeps/powerpc/ldsodefs.h: Likewise.
17284 * sysdeps/s390/ldsodefs.h: Likewise.
17285 * sysdeps/sh/ldsodefs.h: Likewise.
17286 * sysdeps/sparc/ldsodefs.h: Likewise.
17287 * sysdeps/x86_64/ldsodefs.h: Likewise.
17289 2012-07-25 Marek Polacek <polacek@redhat.com>
17292 * math/libm-test.inc (yn_test): Add another test.
17293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17294 to ERANGE when the result is +-Inf.
17295 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17296 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17297 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17298 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17300 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17302 * conform/data/time.h-data (NULL): Use macro-constant. Require
17304 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17306 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17308 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17310 * configure.in <sysdeps resolving>: Correct printing
17312 * configure: Regenerate.
17314 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17316 * math/w_ilogb.c: Include <limits.h>.
17317 * math/w_ilogbl.c: Likewise.
17319 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17321 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17322 va_copy. Document allowing for unavailable va_copy only as
17323 pre-C99 compatibility.
17324 * manual/string.texi (Copying and Concatenation): Use va_copy
17325 instead of __va_copy in concat example.
17327 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17329 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17330 (__sendto): Use create_address_port. Initialize APORT and deallocate
17333 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17334 with O_NOLINK passed to __file_name_lookup.
17336 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17337 with O_NOLINK passed to __file_name_lookup.
17339 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17340 negative N or less than NGIDS.
17342 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17343 type to string_t. Set ERANGE as errno and return it if NAME is not big
17344 enough. Use memcpy instead of strncpy.
17346 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17348 * elf/Makefile (check-data): Remove.
17349 (localplt.data): New vpath directive.
17350 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17351 instead of $(check-data).
17352 * scripts/data/localplt-generic.data: Move to ...
17353 * sysdeps/generic/localplt.data: ... here.
17354 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17355 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17356 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17359 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17362 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17365 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17368 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17371 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17375 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17377 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17378 PPC32 and PPC64 files.
17379 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17380 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17382 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17384 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17385 __makecontext_ret to ...
17386 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17387 ... here and call exit if uc_link is NULL. New file.
17388 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17389 __makecontext_ret.S.
17390 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17391 __makecontext_ret to ...
17392 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17393 ... here and call exit if uc_link is NULL. New file.
17394 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17395 __makecontext_ret.S.
17397 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17399 * elf/elf.h (R_390_IRELATIVE): New definition.
17400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17401 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17402 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17404 (elf_machine_lazy_rel): Likewise.
17405 * sysdeps/s390/dl-irel.h: New file.
17406 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17407 * sysdeps/s390/s390-64/memset.S: New asm code.
17408 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17409 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17410 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17411 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17412 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17413 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17415 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17416 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17417 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17418 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17419 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17420 * sysdeps/s390/s390-32/memset.S: New asm code.
17421 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17423 2012-07-17 Marek Polacek <polacek@redhat.com>
17426 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17427 * sysdeps/s390/s390-64/configure.in: Likewise.
17428 * sysdeps/sparc/configure.in: Likewise.
17429 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17430 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17431 * sysdeps/i386/configure.in: Likewise.
17432 * sysdeps/x86_64/configure.in: Likewise.
17433 * sysdeps/sh/configure.in: Likewise.
17434 * sysdeps/s390/s390-32/configure: Regenerated.
17435 * sysdeps/s390/s390-64/configure: Likewise.
17436 * sysdeps/x86_64/configure: Likewise.
17437 * sysdeps/sh/configure: Likewise.
17438 * sysdeps/powerpc/powerpc64/configure: Likewise.
17439 * sysdeps/powerpc/powerpc32/configure: Likewise.
17440 * sysdeps/sparc/configure: Likwise.
17441 * sysdeps/i386/configure: Likewise.
17443 * elf/dl-open.c: Comment fixes.
17445 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17447 * Makefile [CXX] (check-data): Remove.
17448 [CXX] (c++-types.data): New vpath directive.
17449 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17450 vpath. Do not allow for C++ type data being missing.
17451 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17452 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17453 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17454 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17455 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17456 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17457 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17460 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17463 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17466 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17469 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17472 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17475 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17478 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17481 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17482 definitions to architecture-specific files.
17483 (TLS_IE): Likewise.
17484 (TLS_LD): Likewise.
17485 (TLS_GD): Likewise.
17486 * sysdeps/i386/tls-macros.h: New file.
17487 * sysdeps/powerpc/tls-macros.h: Likewise.
17488 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17489 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17490 * sysdeps/sh/tls-macros.h: Likewise.
17491 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17492 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17493 * sysdeps/x86_64/tls-macros.h: Likewise.
17495 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17497 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17498 zero value for regular exit case.
17500 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17501 (__start_context): Preserve zero value for regular exit case.
17503 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17504 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17506 * manual/setjmp.texi (setcontext): Clarify normal process
17507 termination when uc_link is the null pointer.
17508 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17511 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17513 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17514 preprocessor. Test for each exception mask separately.
17516 2012-07-16 Andreas Jaeger <aj@suse.de>
17518 * po/ru.po: Update from translation team.
17520 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17522 * conform/data/string.h-data (NULL): Use macro-constant. Require
17524 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17525 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17526 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17527 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17528 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17530 2012-07-13 Andreas Jaeger <aj@suse.de>
17532 * po/fr.po: Update from translation team.
17534 2012-07-12 Marek Polacek <polacek@redhat.com>
17537 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17538 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17541 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17545 Change to 2.4.1 where previously 2.4.0.
17546 * sysdeps/unix/sysv/linux/configure: Regenerated.
17547 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17548 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17550 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17551 (__ASSUME_AT_CLKTCK): Remove.
17552 (__ASSUME_AT_PAGESIZE): Likewise.
17553 (__ASSUME_AT_XID): Likewise.
17554 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17555 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17556 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17558 (HAVE_AUX_PAGESIZE): Likewise.
17559 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17560 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17561 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17563 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17567 the temporary buffer used to invoke __gethostbyname2_r,
17568 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17569 host_data / struct gaih_addrtuple.
17570 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17571 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17572 header file nss/nsswitch.h.
17573 * nss/nsswitch.h (global scope): Add definition of implementation
17574 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17575 resolv/nss_dns/dns-host.c).
17577 2012-07-11 Andreas Jaeger <aj@suse.de>
17579 * po/fr.po: Update from translation team.
17581 * po/sv.po: Update from translation team
17582 * po/fr.po: Another update from translation team.
17584 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17586 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17587 for subnormals or multiply small sinh result by itself.
17588 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17591 2012-07-11 David S. Miller <davem@davemloft.net>
17593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17595 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17598 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17599 (INTERNAL_MARK): Shift it here.
17601 2012-07-10 Marek Polacek <polacek@redhat.com>
17604 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17605 libc_cv_asm_global_directive with .globl.
17606 * configure: Regenerated.
17607 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17609 * sysdeps/i386/configure: Regenerated.
17610 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17612 * sysdeps/x86_64/configure: Regenerated.
17613 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17614 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17615 * elf/tst-unique2mod2.c: Likewise.
17616 * elf/tst-unique2mod1.c: Likewise.
17617 * elf/tst-unique1mod2.c: Likewise.
17618 * elf/tst-unique1mod1.c: Likewise.
17619 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17620 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17622 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17623 * sysdeps/mach/sysdep.h: Likewise.
17624 * sysdeps/i386/sysdep.h: Likewise.
17625 * sysdeps/i386/i386-mcount.S: Likewise.
17626 * sysdeps/x86_64/_mcount.S: Likewise.
17627 * sysdeps/x86_64/sysdep.h: Likewise.
17628 * sysdeps/sh/_mcount.S: Likewise.
17629 * sysdeps/sh/sysdep.h: Likewise.
17630 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17631 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17632 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17633 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17634 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17635 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17636 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17637 * locale/localeinfo.h: Likewise.
17638 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17639 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17641 2012-07-09 Roland McGrath <roland@hack.frob.com>
17644 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17646 * manual/message.texi (The Uniforum approach): Likewise.
17647 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17648 (glibc iconv Implementation): Likewise.
17650 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17653 * math/s_clog.c (__clog): Avoid scaling a value down where that
17654 could result in underflow.
17655 * math/s_clog10.c (__clog10): Likewise.
17656 * math/s_clog10f.c (__clog10f): Likewise.
17657 * math/s_clog10l.c (__clog10l): Likewise.
17658 * math/s_clogf.c (__clogf): Likewise.
17659 * math/s_clogl.c (__clogl): Likewise.
17660 * math/libm-test.inc (clog_test): Add more tests.
17661 (clog10_test): Likewise.
17662 * sysdeps/i386/fpu/libm-test-ulps: Update.
17663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17665 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17668 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17669 by 7 not 8 to examine high bit of fractional part.
17672 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17673 for call to __mcount_internal.
17674 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17675 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17676 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17678 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17681 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17682 approximation for values within 0x1p-13f of an odd multiple of
17684 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17685 exception. Add more tests.
17686 * sysdeps/i386/fpu/libm-test-ulps: Update.
17689 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17690 inputs and return -1 for them. Do not check for +Inf in case not
17691 reachable for +Inf.
17692 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17693 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17694 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17695 and return -1 for them. Do not check for +Inf in case not
17696 reachable for +Inf.
17697 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17700 and return -1 for them. Do not check for +Inf in case not
17701 reachable for +Inf.
17702 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17703 spurious underflow.
17704 * sysdeps/i386/fpu/libm-test-ulps: Update.
17705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17707 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17709 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17711 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17715 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17716 could result in spurious underflow. Scale down values above
17717 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17718 * math/s_csqrtf.c (__csqrtf): Likewise.
17719 * math/s_csqrtl.c (__csqrtl): Likewise.
17720 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17721 spurious underflow.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17727 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17729 * catgets/xopen-msg.awk: New file.
17730 * catgets/xopen-msg.sed: Removed.
17732 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17734 * intl/po2test.awk: New file.
17735 * intl/po2test.sed: Removed.
17737 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17740 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17741 or multiply small sinh result by itself.
17742 * math/s_ctanf.c (__ctanf): Likewise.
17743 * math/s_ctanh.c (__ctanh): Likewise.
17744 * math/s_ctanhf.c (__ctanhf): Likewise.
17745 * math/s_ctanhl.c (__ctanhl): Likewise.
17746 * math/s_ctanl.c (__ctanl): Likewise.
17747 * math/libm-test.inc (ctan_test_tonearest): New function.
17748 (ctan_test_towardzero): Likewise.
17749 (ctan_test_downward): Likewise.
17750 (ctan_test_upward): Likewise.
17751 (ctanh_test_tonearest): Likewise.
17752 (ctanh_test_towardzero): Likewise.
17753 (ctanh_test_downward): Likewise.
17754 (ctanh_test_upward): Likewise.
17755 (main): Call these new functions.
17756 * sysdeps/i386/fpu/libm-test-ulps: Update.
17757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17761 * .gitignore: Delete /ports entry.
17763 2012-07-03 Andreas Jaeger <aj@suse.de>
17765 * po/bg.po: Update from translation team.
17766 * po/cs.po: Likewise.
17767 * po/de.po: Likewise.
17768 * po/hr.po: Likewise.
17769 * po/nl.pl: Likewise.
17770 * po/pl.po: Likewise.
17771 * po/vi.po: Likewise.
17773 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17775 * Makeconfig [!+link] (+link-before-libc): New variable.
17776 [!+link] (+link-after-libc): Likewise.
17777 [!+link] (+link-tests): Likewise.
17778 [!+link] (+link): Define in terms of $(+link-before-libc) and
17779 $(+link-after-libc).
17780 [!+link-static] (+link-static-before-libc): New variable.
17781 [!+link-static] (+link-static-after-libc): Likewise.
17782 [!+link-static] (+link-static-tests): Likewise.
17783 [!+link-static] (+link-static): Define in terms of
17784 $(+link-static-before-libc) and $(+link-static-after-libc).
17785 [build-shared] (link-libc-before-gnulib): New variable.
17786 [build-shared] (link-libc-tests): Likewise.
17787 [build-shared] (link-libc): Define in terms of
17788 $(link-libc-before-gnulib).
17789 [!build-shared] (link-libc-tests): New variable.
17790 (link-libc-static-tests): New variable.
17791 [!gnulib] (gnulib-arch): New variable.
17792 [!gnulib] (gnulib-tests): Likewise.
17793 [!gnulib] (static-gnulib-arch): Likewise.
17794 [!gnulib] (static-gnulib-tests): Likewise.
17795 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17796 Define with "=" instead of ":=".
17797 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17798 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17799 * Rules (binaries-all-notests): New variable.
17800 (binaries-all-tests): Likewise.
17801 (binaries-static-notests): Likewise.
17802 (binaries-static-tests): Likewise.
17803 (binaries-all): Define using $(binaries-all-notests) and
17804 $(binaries-all-tests).
17805 (binaries-static): Define using $(binaries-static-notests) and
17806 $(binaries-static-tests).
17807 (binaries-shared-tests): New variable.
17808 (binaries-shared-notests): Likewise.
17809 (binaries-shared): Remove variable.
17810 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17811 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17812 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17813 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17814 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17815 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17816 * elf/Makefile (sln-modules): New variable.
17817 (extra-objs): Add $(sln-modules:=.o).
17818 (ldconfig-modules): Add static-stubs.
17819 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17820 * elf/static-stubs.c: New file.
17823 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17824 by 7 not 8 to examine high bit of fractional part. Use volatile
17825 variables when splitting into final array of floats if
17826 __FLT_EVAL_METHOD__ != 0.
17827 * math/libm-test.inc (cos_test): Add another test.
17828 (sin_test): Likewise.
17829 * sysdeps/i386/fpu/libm-test-ulps: Update.
17832 * math/libm-test.inc (cosh_test): Add more tests.
17834 * version.h (RELEASE): Set to "development".
17835 (VERSION): Set to "2.16.90".
17837 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17839 * NEWS: Update copyright. Remove last-updated date.
17840 Mention math library bug fixes and timezone data changes.
17841 * README: Mention GNU/Hurd, x32, and HPPA support status.
17843 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17845 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17847 2012-06-27 Andreas Jaeger <aj@suse.de>
17849 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17851 2012-06-25 Andreas Jaeger <aj@suse.de>
17853 * sysdeps/s390/fpu/libm-test-ulps: Update.
17855 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17856 Thomas Schwinge <thomas@codesourcery.com>
17858 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17859 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17863 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17865 * sysdeps/mach/start.c: Remove file.
17866 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17867 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17868 * sysdeps/sh/init-first.c: Likewise.
17870 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17871 registers for frame unwinding purposes, add CFI directives.
17872 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17873 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17874 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17877 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17878 __fortify_fail returning.
17879 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17881 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17882 sysdeps/sh/____longjmp_chk.S.
17883 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17884 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17885 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17886 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17888 * sysdeps/sh/abort-instr.h: New file.
17889 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17890 process in case exit returns.
17892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17893 initialize the GOT register before use.
17895 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17896 calculation of ARGC > 4.
17898 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17899 meaningful names to some local labels.
17901 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17902 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17904 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17905 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17906 (__arch_compare_and_exchange_val_16_acq): Likewise.
17907 (__arch_compare_and_exchange_val_32_acq): Likewise.
17908 (atomic_exchange_and_add): Fix gUSA sequence.
17909 (atomic_add): Likewise.
17910 (atomic_add_negative): Likewise.
17911 (atomic_add_zero): Likewise.
17912 (atomic_bit_test_set): Likewise.
17914 2012-06-22 Andreas Schwab <schwab@redhat.com>
17917 * include/link.h (struct link_map): Add l_free_initfini.
17918 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17920 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17921 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17922 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17925 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17927 * configure.in: Use AC_LANG_SOURCE.
17928 * configure: Regenerate.
17930 2012-06-22 Roland McGrath <roland@hack.frob.com>
17932 * configure.in (libc_cv_localstatedir): New substituted variable.
17933 * configure: Regenerated.
17934 * config.make.in (localstatedir): New variable, substituted from
17935 libc_cv_localstatedir.
17936 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17937 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17938 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17939 * sysdeps/gnu/configure: Regenerated.
17941 2012-06-21 Jeff Law <law@redhat.com>
17944 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17945 free. Simplify list management for _LIBC case.
17947 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17951 Clear sign bit of 64-bit integer value before comparing against
17954 * sysdeps/mach/configure: Regenerated.
17956 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17959 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17961 2012-06-21 Jeff Law <law@redhat.com>
17964 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17965 uint16_t for elements in the "seen" array to avoid char overflows.
17966 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17967 * elf/dl-open.c (dl_open_worker): Likewise.
17969 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17971 * scripts/list-sources.sh: Scan PORTS for translations.
17972 * po/libc.pot: Regenerated.
17974 2012-06-21 Andreas Jaeger <aj@suse.de>
17977 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17979 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17980 * bits/byteswap-16.h (__bswap_16): Likewise.
17981 * bits/byteswap.h (__bswap_constant_16): Likewise.
17983 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17986 * sysdeps/i386/fpu_control.h: Removed.
17987 * sysdeps/x86_64/fpu_control.h: Moved to ...
17988 * sysdeps/x86/fpu_control.h: Here.
17990 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17991 (_FPU_SETCW): Likewise.
17993 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17996 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17997 * sysdeps/x86/fpu/bits/mathinline.h: This.
17998 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18002 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18003 functions if __x86_64__ is defined.
18005 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18007 * string/endian.h: Add !__ASSEMBLER__ condition for including
18008 conversion interfaces.
18010 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18014 of ABS(x) in calculating zero to negative powers other than odd
18016 * math/libm-test.inc (pow_test): Add more tests.
18018 2012-06-15 Andreas Jaeger <aj@suse.de>
18020 * manual/contrib.texi (Contributors): Update entry of Liubov
18021 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18024 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18026 * string/string.h: Add __wur to GNU version of strerror_r.
18028 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18031 * string/Makefile (tests): Add tst-strtok_r.
18032 * string/tst-strtok_r.c: New file.
18033 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18034 RAX_LP/RDX_LP on SAVE_PTR.
18036 2012-06-14 Roland McGrath <roland@hack.frob.com>
18038 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18040 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18042 * libm_test.inc (csqrt_test): Allow more spurious underflow
18044 (j0_test): Likewise.
18045 (j1_test): Likewise.
18046 (y0_test): Likewise.
18047 (y1_test): Likewise.
18049 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18051 * po/Makefile (libc.pot): Use UTF-8 charset.
18053 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18056 Suppress sign-conversion warning from FD_SET.
18057 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18058 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18059 not unsigned long int.
18060 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18062 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18066 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18067 __extern_always_inline instead of __extern_inline.
18068 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18069 (__signbit): Likewise.
18070 (__signbitl): Support C++ namespace.
18071 (lrintf): New inline function.
18073 (llrintf): Likewise.
18074 (llrint): Likewise.
18084 (floorf): Likewise.
18085 (nearbyint): Likewise.
18086 (nearbyintf): Likewise.
18088 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18090 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18091 non-default versions.
18093 2012-06-11 Roland McGrath <roland@hack.frob.com>
18096 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18098 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18100 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18101 (FE_UPWARD, FE_DOWNWARD): Don't define.
18102 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18105 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18107 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18108 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18110 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18112 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18113 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18114 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18115 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18117 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18120 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18121 * sysdeps/i386/fpu/Implies: New file.
18122 * sysdeps/x86_64/fpu/Implies: Likewise.
18123 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18124 * sysdeps/x86/fpu/bits/fenv.h: This.
18126 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18129 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18132 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18133 character 0xffff that matches the last element of the
18136 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18141 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18144 values higher than 25.6283.
18146 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18149 subnormal exponent extraction and add some __builtin_expect.
18150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18151 Fix for subnormal mantissa calculation.
18153 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18155 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18156 cpu2 is -1 and errno is not ENOSYS.
18158 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18161 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18162 * sysdeps/x86/bits/string.h: This.
18163 * sysdeps/x86_64/bits/string.h: Removed.
18165 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18166 if not compiling for x86-64, but compiling for >= i486.
18168 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18169 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18171 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18172 New macro from Linux kernel 3.4.0.
18173 (FP_XSTATE_MAGIC2): Likewise.
18174 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18175 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18176 (struct _fpx_sw_bytes): New struct.
18177 (struct _xsave_hdr): Likewise.
18178 (struct _ymmh_state): Likewise.
18179 (struct _xstate): Likewise.
18181 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18182 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18184 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18186 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18188 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18190 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18191 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18192 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18193 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18195 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18198 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18199 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18200 (sysdep_headers): Include sys/platform/ppc.h.
18201 * sysdeps/powerpc/test-gettimebase.c: Test for
18202 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18203 * manual/Makefile (appendices): Include platform.texi.
18204 * manual/contrib.texi (Contributors): Update @node pointers.
18205 * manual/maint.texi (Maintenance): Likewise.
18206 (Platform): New node.
18207 * manual/platform.texi: New file. Document the new features.
18209 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18210 Jakub Jelinek <jakub@redhat.com>
18213 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18214 where __builtin_expect is unavailable.
18216 2012-06-03 David S. Miller <davem@davemloft.net>
18218 * stdlib/longlong.h: Updated from GCC.
18220 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18223 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18224 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18227 (GLIBC_2.16): Likewise.
18229 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18231 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18233 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18236 (default-abi): New variable.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18238 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18240 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18242 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18244 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18247 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18248 definition. Document in comment.
18250 2012-06-01 David S. Miller <davem@davemloft.net>
18252 * stdlib/longlong.h: Updated from GCC.
18254 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18257 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18258 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18259 sys/debugreg.h sys/io.h here.
18260 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18261 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18263 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18264 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18265 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18266 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18267 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18268 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18270 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18271 Define only if __x86_64__ is defined.
18273 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18276 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18277 Use int64_t for variable i.
18278 * math/libm-test.inc (fmod_test): Add more tests.
18280 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18281 z computation is not scheduled after fetestexcept.
18282 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18283 Use math_force_eval instead of asm to ensure calculation scheduled
18284 before exception test.
18285 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18286 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18288 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18291 computation is not scheduled after fetestexcept.
18293 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18296 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18297 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18299 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18301 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18302 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18304 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18307 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18309 (__WCHAR_MIN): Support __WORDSIZE == 64.
18310 (__WCHAR_MAX): Likewise.
18312 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18316 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18317 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18320 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18321 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18323 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18324 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18326 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18327 Defined to 1 if __x86_64__ isn't defined.
18328 (_STAT_VER_LINUX_OLD): New.
18329 (st_atime): Remove duplicate.
18330 (st_mtime): Likewise.
18331 (st_ctime): Likewise.
18333 2012-05-31 David S. Miller <davem@davemloft.net>
18335 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18338 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18340 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18344 * elf/dl-reloc.c: Include <_itoa.h>.
18345 (_dl_reloc_bad_type): Remove use of INTUSE.
18346 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18347 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18348 * stdio-common/psiginfo.c (psiginfo): Likewise.
18349 * stdio-common/psignal.c (psignal): Likewise.
18350 * string/strsignal.c (strsignal): Likewise.
18351 * include/signal.h (_sys_siglist): Declare hidden proto.
18352 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18353 INTVARDEF with libc_hidden_data_def.
18354 * stdio-common/itoa-udigits.c: Likewise.
18355 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18356 (_itoa_lower_digits_internal): Remove declaration.
18357 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18358 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18359 (_sys_sigabbrev_internal): Remove aliases.
18360 (_sys_siglist): Define hidden alias.
18362 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18367 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18370 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18371 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18373 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18374 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18375 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18376 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18377 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18378 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18380 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18381 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18382 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18384 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18392 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18393 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18394 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18396 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18397 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18398 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18399 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18400 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18401 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18403 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18404 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18406 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18407 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18411 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18413 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18414 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18416 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18418 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18419 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18420 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18422 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18424 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18426 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18428 * math/math.h (M_El): Use two more decimal places.
18429 (M_LOG2El): Likewise.
18430 (M_LOG10El): Likewise.
18431 (M_LN2l): Likewise.
18432 (M_LN10l): Likewise.
18434 (M_PI_2l): Likewise.
18435 (M_PI_4l): Likewise.
18436 (M_1_PIl): Likewise.
18437 (M_2_PIl): Likewise.
18438 (M_2_SQRTPIl): Likewise.
18439 (M_SQRT2l): Likewise.
18440 (M_SQRT1_2l): Likewise.
18442 2012-05-31 David S. Miller <davem@davemloft.net>
18444 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18445 values between float registers.
18446 * sysdeps/sparc/sparc64/memset.S: Likewise.
18447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18449 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18451 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18452 -D_FORTIFY_SOURCE=1.
18453 (CPPFLAGS-tst-longjmp_chk.c): Define.
18454 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18455 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18456 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18457 CFLAGS-tst-wchar-h.c.
18459 2012-05-31 Marek Polacek <polacek@redhat.com>
18462 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18463 __endmntent_internal): Remove declaration.
18464 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18465 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18466 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18468 2012-05-30 David S. Miller <davem@davemloft.net>
18470 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18471 (___Q_simulate_exceptions): Use real FP ops rather than writing
18473 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18476 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18479 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18480 * sysdeps/x86/bits/xtitypes.h: This.
18482 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18483 * sysdeps/x86/bits/wordsize.h: This.
18485 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18486 * sysdeps/x86/bits/huge_vall.h: This.
18488 * sysdeps/i386/bits/select.h: Removed.
18489 * sysdeps/x86_64/bits/select.h: Renamed to ...
18490 * sysdeps/x86/bits/select.h: This.
18492 * sysdeps/i386/bits/setjmp.h: Removed.
18493 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18494 * sysdeps/x86/bits/setjmp.h: This.
18496 * sysdeps/i386/bits/mathdef.h: Removed.
18497 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18498 * sysdeps/x86/bits/mathdef.h: This.
18500 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18503 * include/sys/socket.h (__connect_internal)
18504 (__libc_sa_len_internal): Remove declaration.
18505 (__connect, __libc_sa_len): Declare hidden_proto.
18506 (SA_LEN): Remove use of INTUSE.
18507 * socket/connect.c: Add libc_hidden_def.
18508 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18509 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18510 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18512 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18514 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18515 of adding _internal alias.
18517 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18520 * sysdeps/i386/bits/link.h: Removed.
18521 * sysdeps/i386/bits/linkmap.h: Likewise.
18522 * sysdeps/x86_64/bits/link.h: Renamed to ...
18523 * sysdeps/x86/bits/link.h: This.
18524 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18525 * sysdeps/x86/bits/linkmap.h: This.
18527 * sysdeps/i386/bits/endian.h: Removed.
18528 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18529 * sysdeps/x86/bits/endian.h: This.
18531 * sysdeps/i386/bits/byteswap.h: Removed.
18532 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18533 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18534 * sysdeps/x86/bits/byteswap.h: This.
18535 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18536 * sysdeps/x86/bits/byteswap-16.h: This.
18537 * sysdeps/i386/Implies: Add x86.
18538 * sysdeps/x86_64/Implies: Likewise.
18540 2012-05-30 David S. Miller <davem@davemloft.net>
18542 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18543 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18545 (FP_TRAPPING_EXCEPTIONS): Define.
18546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18547 (FP_TRAPPING_EXCEPTIONS): Define.
18548 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18549 subnormals only when inexact has been signalled or underflow
18550 exceptions are enabled.
18551 (_FP_PACK_CANONICAL): Likewise.
18553 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18557 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18559 2012-05-30 Richard Henderson <rth@twiddle.net>
18561 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18562 with #ifndef NOT_IN_libc.
18564 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18565 marked to avoid plt entry.
18567 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18570 * Makeconfig (default-abi): New macro.
18571 (abi-includes): Likewise.
18572 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18573 $(abi-$(default-abi)-lib-soname) for soname if defined.
18574 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18576 * Makefile (installed-stubs): Likewise.
18577 * include/stubs-biarch.h: Removed.
18578 * scripts/lib-names.awk: Only handle one library at a time.
18579 * scripts/soversions.awk: Remove WORDSIZE support.
18580 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18584 (syscall-list-default-condition): Likewise.
18585 (syscall-list-default-condition): Likewise.
18586 (syscall-list-includes): Likewise.
18587 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18588 syscall-list-* with abi-*. Handle undefined abi-variants.
18589 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18590 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18591 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18592 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18593 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18594 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18596 (syscall-list-32-options): Likewise.
18597 (syscall-list-32-condition): Likewise.
18598 (syscall-list-64-options): Likewise.
18599 (syscall-list-64-condition): Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18602 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18605 (abi-64-ld-soname): New macro.
18606 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18610 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18611 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18613 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18615 * sysdeps/unix/sysv/linux/kernel-features.h
18616 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18617 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18618 include <kernel-features.h>.
18619 [!__NR_ftruncate64]: Remove conditional code.
18620 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18621 [__NR_ftruncate64]: Make code unconditional.
18622 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18623 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18624 include <kernel-features.h>.
18625 [!__NR_ftruncate64]: Remove conditional code.
18626 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18627 [__NR_ftruncate64]: Make code unconditional.
18628 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18630 include <kernel-features.h>.
18631 [!__NR_ftruncate64]: Remove conditional code.
18632 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18633 [__NR_ftruncate64]: Make code unconditional.
18634 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18636 include <kernel-features.h>.
18637 [!__NR_ftruncate64]: Remove conditional code.
18638 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18639 [__NR_ftruncate64]: Make code unconditional.
18640 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18642 * configure.in (libc_cv_fpie): Weaken to a compile test using
18643 LIBC_TRY_CC_OPTION.
18644 * configure: Regenerated.
18646 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18661 2012-05-27 David S. Miller <davem@davemloft.net>
18663 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18665 (__Q_simulate_exceptions): Return void. Change to simulate
18666 exceptions by writing into the %fsr.
18667 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18668 (__Qp_handle_exceptions): Likewise.
18670 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18671 __Qp_handle_exceptions.
18672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18673 __Qp_handle_exceptions.
18674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18675 as unused and give dummy FP_RND_NEAREST initializer.
18676 (FP_INHIBIT_RESULTS): Define.
18677 (___Q_simulate_exceptions): Update declaration.
18678 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18680 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18681 as unused and give dummy FP_RND_NEAREST initializer.
18682 (__Qp_handle_exceptions): Update declaration.
18683 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18686 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18688 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18689 the temporary FPU control word.
18690 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18691 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18692 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18693 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18694 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18695 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18696 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18698 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18699 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18700 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18702 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18704 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18707 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18709 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18710 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18711 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18712 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18714 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18715 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18718 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18720 * po/h.po: Update from translation team.
18722 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18724 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18727 handling of denormals.
18728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18729 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18730 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18731 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18737 2012-05-26 Marek Polacek <polacek@redhat.com>
18740 * math/libm-test.inc (fma_test): Don't always expect underflow
18743 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18746 * elf/tst-execstack.c: Include stackinfo.h.
18747 (do_test): Adjust test case to ensure that pthread_getattr_np
18748 behaviour remains the same after marking stack executable.
18750 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18752 * sysdeps/unix/sysv/linux/kernel-features.h
18753 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18754 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18756 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18757 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18758 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18760 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18761 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18763 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18765 * configure.in: Define the default includes to being none.
18766 * configure: Regenerated.
18768 2012-05-25 Roland McGrath <roland@hack.frob.com>
18770 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18771 * sysdeps/x86_64/setjmp.S: Likewise.
18772 * sysdeps/i386/bsd-setjmp.S: Likewise.
18773 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18774 * sysdeps/i386/setjmp.S: Likewise.
18775 * sysdeps/i386/__longjmp.S: Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18777 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18779 * include/stap-probe.h: New file.
18780 * configure.in: Handle --enable-systemtap.
18781 * configure: Regenerated.
18782 * config.h.in (USE_STAP_PROBE): New #undef.
18783 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18784 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18785 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18787 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18791 to 2.4.0 where earlier.
18792 * sysdeps/unix/sysv/linux/configure: Regenerated.
18793 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18794 <kernel-features.h>.
18795 [__ASSUME_32BITUIDS]: Make code unconditional.
18796 [!__ASSUME_32BITUIDS]: Remove conditional code.
18797 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18798 <kernel-features.h>.
18799 [__ASSUME_32BITUIDS]: Make code unconditional.
18800 [!__ASSUME_32BITUIDS]: Remove conditional code.
18801 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18802 [__ASSUME_32BITUIDS]: Make code unconditional.
18803 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18804 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18805 <kernel-features.h>.
18806 [__ASSUME_32BITUIDS]: Make code unconditional.
18807 [!__ASSUME_32BITUIDS]: Remove conditional code.
18808 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18809 <kernel-features.h>.
18810 [__ASSUME_32BITUIDS]: Make code unconditional.
18811 [!__ASSUME_32BITUIDS]: Remove conditional code.
18812 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18813 <kernel-features.h>.
18814 [__ASSUME_32BITUIDS]: Make code unconditional.
18815 [!__ASSUME_32BITUIDS]: Remove conditional code.
18816 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18817 <kernel-features.h>.
18818 [__ASSUME_32BITUIDS]: Make code unconditional.
18819 [!__ASSUME_32BITUIDS]: Remove conditional code.
18820 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18821 <kernel-features.h>.
18822 [__ASSUME_32BITUIDS]: Make code unconditional.
18823 [!__ASSUME_32BITUIDS]: Remove conditional code.
18824 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18825 <kernel-features.h>.
18826 [__ASSUME_32BITUIDS]: Make code unconditional.
18827 [!__ASSUME_32BITUIDS]: Remove conditional code.
18828 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18829 <kernel-features.h>.
18830 [__ASSUME_32BITUIDS]: Make code unconditional.
18831 [!__ASSUME_32BITUIDS]: Remove conditional code.
18832 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18833 <kernel-features.h>.
18834 [__ASSUME_32BITUIDS]: Make code unconditional.
18835 [!__ASSUME_32BITUIDS]: Remove conditional code.
18836 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18837 <kernel-features.h>.
18838 [__ASSUME_32BITUIDS]: Make code unconditional.
18839 [!__ASSUME_32BITUIDS]: Remove conditional code.
18840 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18841 <kernel-features.h>.
18842 [__ASSUME_32BITUIDS]: Make code unconditional.
18843 [!__ASSUME_32BITUIDS]: Remove conditional code.
18844 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18845 <kernel-features.h>.
18846 [__NR_setresgid] (__setresgid): Do not declare.
18847 [__ASSUME_32BITUIDS]: Make code unconditional.
18848 [!__ASSUME_32BITUIDS]: Remove conditional code.
18849 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18850 <kernel-features.h>.
18851 [__NR_setresuid] (__setresuid): Do not declare.
18852 [__ASSUME_32BITUIDS]: Make code unconditional.
18853 [!__ASSUME_32BITUIDS]: Remove conditional code.
18854 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18855 <kernel-features.h>.
18856 [__ASSUME_32BITUIDS]: Make code unconditional.
18857 [!__ASSUME_32BITUIDS]: Remove conditional code.
18858 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18859 <kernel-features.h>.
18860 [__ASSUME_32BITUIDS]: Make code unconditional.
18861 [!__ASSUME_32BITUIDS]: Remove conditional code.
18862 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18863 <kernel-features.h>.
18864 [__ASSUME_32BITUIDS]: Make code unconditional.
18865 [!__ASSUME_32BITUIDS]: Remove conditional code.
18866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18867 <kernel-features.h>.
18868 [__ASSUME_32BITUIDS]: Make code unconditional.
18869 [!__ASSUME_32BITUIDS]: Remove conditional code.
18870 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18871 <kernel-features.h>.
18872 [__ASSUME_32BITUIDS]: Make code unconditional.
18873 [!__ASSUME_32BITUIDS]: Remove conditional code.
18874 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18875 <kernel-features.h>.
18876 [__ASSUME_32BITUIDS]: Make code unconditional.
18877 [!__ASSUME_32BITUIDS]: Remove conditional code.
18878 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18879 <kernel-features.h>.
18880 [__ASSUME_32BITUIDS]: Make code unconditional.
18881 [!__ASSUME_32BITUIDS]: Remove conditional code.
18882 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18883 <kernel-features.h>.
18884 [__ASSUME_32BITUIDS]: Make code unconditional.
18885 [!__ASSUME_32BITUIDS]: Remove conditional code.
18886 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18887 <kernel-features.h>.
18888 [__ASSUME_32BITUIDS]: Make code unconditional.
18889 [!__ASSUME_32BITUIDS]: Remove conditional code.
18890 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18891 <kernel-features.h>.
18892 [__ASSUME_32BITUIDS]: Make code unconditional.
18893 [!__ASSUME_32BITUIDS]: Remove conditional code.
18894 * sysdeps/unix/sysv/linux/kernel-features.h
18895 (__ASSUME_SETRESUID_SYSCALL): Remove.
18896 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18897 (__ASSUME_32BITUIDS): Likewise.
18898 (__ASSUME_LDT_WORKS): Likewise.
18899 (__ASSUME_O_DIRECTORY): Likewise.
18900 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18901 architecture but not kernel version.
18902 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18903 (__ASSUME_MMAP2_SYSCALL): Likewise.
18904 (__ASSUME_STAT64_SYSCALL): Likewise.
18905 (__ASSUME_IPC64): Likewise.
18906 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18907 <kernel-features.h>.
18908 [__ASSUME_32BITUIDS]: Make code unconditional.
18909 [!__ASSUME_32BITUIDS]: Remove conditional code.
18910 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18911 <kernel-features.h>.
18912 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18913 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18914 132096]: Remove conditional code.
18915 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18916 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18917 <kernel-features.h>.
18918 [__ASSUME_32BITUIDS]: Make code unconditional.
18919 [!__ASSUME_32BITUIDS]: Remove conditional code.
18920 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18921 <kernel-features.h>.
18922 [__ASSUME_32BITUIDS]: Make code unconditional.
18923 [!__ASSUME_32BITUIDS]: Remove conditional code.
18924 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18925 <kernel-features.h>.
18926 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18928 (__setresgid): Do not declare.
18929 [__ASSUME_32BITUIDS]: Make code unconditional.
18930 [!__ASSUME_32BITUIDS]: Remove conditional code.
18931 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18932 <kernel-features.h>.
18933 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18935 (__setresuid): Do not declare.
18936 [__ASSUME_32BITUIDS]: Make code unconditional.
18937 [!__ASSUME_32BITUIDS]: Remove conditional code.
18938 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18939 <kernel-features.h>.
18940 [__ASSUME_32BITUIDS]: Make code unconditional.
18941 [!__ASSUME_32BITUIDS]: Remove conditional code.
18942 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18943 <kernel-features.h>.
18944 [__ASSUME_32BITUIDS]: Make code unconditional.
18945 [!__ASSUME_32BITUIDS]: Remove conditional code.
18947 2012-05-25 Richard Henderson <rth@twiddle.net>
18949 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18950 dl_hwcap to ifunc resolver.
18951 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18953 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18954 dl_hwcap to ifunc resolver.
18955 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18957 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18960 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18961 for |x| <= 2**-26, not 2**-57.
18962 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18965 2012-05-24 Jeff Law <law@redhat.com>
18967 * stdio-common/Makefile (tests): Add bug25.
18968 * stdio-common/bug25.c: New test.
18970 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18973 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18974 multiple of MALLOC_ALIGNMENT in size.
18975 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18977 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18979 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18981 (FILENAME_MAX): Use macro-int-constant.
18982 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18983 (_IOFBF): Use macro-int-constant.
18984 (_IOLBF): Likewise.
18985 (_IONBF): Likewise.
18986 (SEEK_CUR): Likewise.
18987 (SEEK_END): Likewise.
18988 (SEEK_SET): Likewise.
18989 (TMP_MAX): Likewise.
18990 (EOF): Use macro-int-constant. Require < 0.
18991 (NULL): Use macro-constant. Require == 0.
18992 (stdin): Require type to be FILE *.
18993 (stdout): Likewise.
18994 (stderr): Likewise.
18995 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18996 macro-int-constant.
18997 (EXIT_SUCCESS): Likewise.
18998 (NULL): Use macro-constant. Require == 0.
18999 (RAND_MAX): Use macro-int-constant.
19000 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19001 [C99-based standards] (strtof): Require function.
19002 [C99-based standards] (strtold): Likewise.
19003 [C99-based standards] (strtoll): Likewise.
19004 [C99-based standards] (strtoull): Likewise.
19005 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19006 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19007 [ISO || ISO99 || ISO11] (math.h): Likewise.
19008 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19009 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19012 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19015 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19016 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19017 * intl/dgettext.c (DCGETTEXT): Likewise.
19018 * intl/gettext.c (DCGETTEXT): Likewise.
19019 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19020 * posix/regex_internal.h (gettext): Likewise.
19021 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19022 Remove declaration.
19023 * include/argz.h (__argz_count_internal)
19024 (__argz_stringify_internal): Remove declaration.
19025 (__argz_count, __argz_stringify): Declare hidden proto.
19026 * intl/dcgettext.c: Remove use of INTDEF.
19027 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19028 * string/argz-stringify.c: Likewise.
19029 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19030 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19031 Declare hidden proto.
19032 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19033 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19034 Declare hidden proto.
19035 * include/stdio.h (__asprintf_internal): Don't declare.
19036 (__asprintf): Don't define as macro. Declare hidden proto.
19037 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19038 (__fsetlocking): Declare hidden proto.
19039 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19040 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19042 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19043 (_IO_setlinebuf): Remove use of INTUSE.
19044 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19045 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19046 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19047 Remove declaration.
19048 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19049 (_IO_do_flush): Remove use of INTUSE.
19050 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19051 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19052 (_IO_adjust_column, _IO_least_wmarker)
19053 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19054 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19055 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19056 (_IO_default_doallocate, _IO_wdefault_doallocate)
19057 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19058 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19059 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19060 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19061 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19062 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19063 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19064 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19065 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19066 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19067 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19068 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19069 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19071 (_IO_flush_all_internal, _IO_adjust_column_internal)
19072 (_IO_default_uflow_internal, _IO_default_finish_internal)
19073 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19074 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19075 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19076 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19077 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19078 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19079 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19080 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19081 (_IO_file_close_internal, _IO_file_close_it_internal)
19082 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19083 (_IO_file_init_internal, _IO_file_attach_internal)
19084 (_IO_file_fopen_internal, _IO_file_read_internal)
19085 (_IO_file_sync_internal, _IO_file_seek_internal)
19086 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19087 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19088 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19089 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19090 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19091 (_IO_list_all_internal, _IO_link_in_internal)
19092 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19093 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19094 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19095 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19096 (_IO_do_write_internal, _IO_padn_internal)
19097 (_IO_getline_info_internal, _IO_getline_internal)
19098 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19099 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19100 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19101 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19102 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19103 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19104 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19105 with libc_hidden_ver, remove use of INTUSE.
19106 * libio/genops.c: Likewise.
19107 * libio/freopen.c: Likewise.
19108 * libio/freopen64.c: Likewise.
19109 * libio/iofclose.c: Likewise.
19110 * libio/iofdopen.c: Likewise.
19111 * libio/iofflush.c: Likewise.
19112 * libio/iofflush_u.c: Likewise.
19113 * libio/iofgets.c: Likewise.
19114 * libio/iofgets_u.c: Likewise.
19115 * libio/iofopen.c: Likewise.
19116 * libio/iofopncook.c: Likewise.
19117 * libio/iofread.c: Likewise.
19118 * libio/iofread_u.c: Likewise.
19119 * libio/ioftell.c: Likewise.
19120 * libio/iofwrite.c: Likewise.
19121 * libio/iogetline.c: Likewise.
19122 * libio/iogets.c: Likewise.
19123 * libio/iogetwline.c: Likewise.
19124 * libio/iopadn.c: Likewise.
19125 * libio/iopopen.c: Likewise.
19126 * libio/ioseekoff.c: Likewise.
19127 * libio/ioseekpos.c: Likewise.
19128 * libio/iosetbuffer.c: Likewise.
19129 * libio/iosetvbuf.c: Likewise.
19130 * libio/ioungetc.c: Likewise.
19131 * libio/ioungetwc.c: Likewise.
19132 * libio/iovdprintf.c: Likewise.
19133 * libio/iovsprintf.c: Likewise.
19134 * libio/iovsscanf.c: Likewise.
19135 * libio/memstream.c: Likewise.
19136 * libio/obprintf.c: Likewise.
19137 * libio/oldfileops.c: Likewise.
19138 * libio/oldiofclose.c: Likewise.
19139 * libio/oldiofdopen.c: Likewise.
19140 * libio/oldiofopen.c: Likewise.
19141 * libio/oldiopopen.c: Likewise.
19142 * libio/oldstdfiles.c: Likewise.
19143 * libio/putc.c: Likewise.
19144 * libio/setbuf.c: Likewise.
19145 * libio/setlinebuf.c: Likewise.
19146 * libio/stdfiles.c: Likewise.
19147 * libio/strops.c: Likewise.
19148 * libio/vasprintf.c: Likewise.
19149 * libio/vscanf.c: Likewise.
19150 * libio/vsnprintf.c: Likewise.
19151 * libio/vswprintf.c: Likewise.
19152 * libio/wfiledoalloc.c: Likewise.
19153 * libio/wfileops.c: Likewise.
19154 * libio/wgenops.c: Likewise.
19155 * libio/wmemstream.c: Likewise.
19156 * libio/wstrops.c: Likewise.
19157 * libio/__fpurge.c: Likewise.
19158 * libio/__fsetlocking.c: Likewise.
19159 * assert/assert.c: Likewise.
19160 * debug/fgets_chk.c: Likewise.
19161 * debug/fgets_u_chk.c: Likewise.
19162 * debug/fread_chk.c: Likewise.
19163 * debug/fread_u_chk.c: Likewise.
19164 * debug/gets_chk.c: Likewise.
19165 * debug/obprintf_chk.c: Likewise.
19166 * debug/vasprintf_chk.c: Likewise.
19167 * debug/vdprintf_chk.c: Likewise.
19168 * debug/vsnprintf_chk.c: Likewise.
19169 * debug/vsprintf_chk.c: Likewise.
19170 * malloc/mtrace.c: Likewise.
19171 * misc/error.c: Likewise.
19172 * misc/syslog.c: Likewise.
19173 * stdio-common/asprintf.c: Likewise.
19174 * stdio-common/fxprintf.c: Likewise.
19175 * stdio-common/getw.c: Likewise.
19176 * stdio-common/isoc99_fscanf.c: Likewise.
19177 * stdio-common/isoc99_scanf.c: Likewise.
19178 * stdio-common/isoc99_vfscanf.c: Likewise.
19179 * stdio-common/isoc99_vscanf.c: Likewise.
19180 * stdio-common/isoc99_vsscanf.c: Likewise.
19181 * stdio-common/printf-prs.c: Likewise.
19182 * stdio-common/printf_fp.c: Likewise.
19183 * stdio-common/printf_fphex.c: Likewise.
19184 * stdio-common/printf_size.c: Likewise.
19185 * stdio-common/putw.c: Likewise.
19186 * stdio-common/scanf.c: Likewise.
19187 * stdio-common/sprintf.c: Likewise.
19188 * stdio-common/tmpfile.c: Likewise.
19189 * stdio-common/vfprintf.c: Likewise.
19190 * stdio-common/vfscanf.c: Likewise.
19191 * stdlib/strfmon_l.c: Likewise.
19192 * sunrpc/openchild.c: Likewise.
19193 * sunrpc/xdr_stdio.c: Likewise.
19194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19195 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19197 2012-05-24 Roland McGrath <roland@hack.frob.com>
19199 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19201 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19202 in the third column, to generate for the shared library an IFUNC
19203 that uses _dl_vdso_vsym.
19204 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19205 * Makeconfig (object-suffixes-noshared): New variable.
19207 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19208 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19209 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19210 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19213 * include/sys/time.h (__gettimeofday): Remove macro.
19214 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19215 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19217 (__gettimeofday): Add libc_hidden_def.
19218 (gettimeofday): Add libc_hidden_weak.
19219 * sysdeps/mach/gettimeofday.c: Likewise.
19220 * sysdeps/posix/gettimeofday.c: Likewise.
19221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19222 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19224 (__gettimeofday_internal): Remove strong_alias.
19225 (__gettimeofday): Add libc_hidden_def.
19226 (gettimeofday): Add libc_hidden_weak.
19227 * sysdeps/unix/syscalls.list (gettimeofday):
19228 Remove __gettimeofday_internal alias.
19230 2012-05-24 Daniel Jacobowitz <drow@false.org>
19231 H.J. Lu <hongjiu.lu@intel.com>
19234 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19235 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19236 (largebin_index_32_big): New.
19237 (largebin_index): Use it for 16-byte alignment.
19238 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19239 correction with front_misalign.
19241 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19269 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19270 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19272 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19276 * math/libm-test.inc (exp_test): Add test from bug 14036.
19277 (pow_test): Add test from bug 10846.
19279 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19281 (special_function): Do not include flags in test name.
19282 (parse_args): Likewise.
19283 * sysdeps/i386/fpu/libm-test-ulps: Update.
19284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19285 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19289 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19291 * math/libm-test.inc ("Philosophy"): Update comment about
19293 (UNDERFLOW_EXCEPTION): New macro.
19294 (UNDERFLOW_EXCEPTION_OK): Likewise.
19295 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19296 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19297 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19298 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19299 (INVALID_EXCEPTION_OK): Update value.
19300 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19301 (OVERFLOW_EXCEPTION_OK): Likewise.
19302 (IGNORE_ZERO_INF_SIGN): Likewise.
19303 (test_exceptions): Handle underflow exceptions.
19304 (acos_test): Update for underflow exception expectations.
19305 (cexp_test): Likewise.
19306 (clog_test): Likewise.
19307 (clog10_test): Likewise.
19308 (csqrt_test): Likewise.
19309 (ctan_test): Likewise.
19310 (ctanh_test): Likewise.
19311 (exp_test): Likewise.
19312 (exp10_test): Likewise.
19313 (exp2_test): Likewise.
19314 (expm1_test): Likewise.
19315 (fma_test): Likewise.
19316 (j0_test): Likewise.
19317 (jn_test): Likewise.
19318 (nexttoward_test): Likewise.
19319 (pow_test): Likewise.
19320 (scalbn_test): Likewise.
19321 (scalbln_test): Likewise.
19322 (tan_test): Likewise.
19323 (y1_test): Likewise.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update.
19325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19327 2012-05-23 David S. Miller <davem@davemloft.net>
19329 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19330 (__libc_sigaction): Remove unused local variables.
19332 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19334 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19336 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19338 mktime: avoid signed integer overflow
19339 * time/mktime.c (__mktime_internal): Do not mishandle the case
19340 where diff == INT_MIN.
19342 mktime: simplify computation of average
19343 * time/mktime.c (ranged_convert): Use new time_t_avg function
19344 instead of rolling our own (probably-slower) code.
19346 mktime: do not assume signed right shift propagates sign bit
19347 * time/mktime.c (isdst_differ): New static function.
19348 (__mktime_internal): No need to normalize tm_isdst now.
19349 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19352 mktime: merge another wrapv change from gnulib
19353 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19354 from some compilers.
19356 mktime: remove incorrect attempt at unusual arithmetics
19357 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19358 The code didn't really work on such machines anyway.
19359 (TYPE_MINIMUM): Assume two's complement.
19360 (twos_complement_arithmetic): Verify that long_int and time_t
19361 are two's complement (or unsigned, in the latter case).
19363 mktime: check signed shifts on long_int and time_t, too
19364 * time/mktime.c (SHR): Check that shifts work as desired
19365 on the types long_int and time_t too, as SHR is used on
19368 mktime: do not assume 'long' is wide enough
19369 * time/mktime.c (verify): Move decl up.
19370 (long_int): New type.
19371 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19372 to remove assumption in the code that 'long' is wide enough to
19373 store year values. This assumption is not true on x32 and on
19374 some non-glibc platforms.
19376 mktime: merge wrapv change from gnulib
19377 * time/mktime.c (WRAPV): New macro.
19378 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19379 (guess_time_tm, __mktime_internal): Do not assume that signed
19380 integer overflow wraps around; modern compilers generate code
19381 where this assumption is no longer valid.
19383 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19385 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19386 Replace "jmp L(pseudo_end)" with "ret".
19387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19390 2012-05-23 Andreas Jaeger <aj@suse.de>
19392 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19393 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19395 2012-05-23 Andreas Jaeger <aj@suse.de>
19396 Maximilian Attems <max@stro.at>
19398 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19401 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19403 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19404 code so that pseudo_end is just ret and the stack pointer is
19405 correct also for static library in error case.
19407 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19409 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19410 move to syscalls.list.
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19416 * manual/install.texi (Running make install): Do not mention Linux
19417 kernel version for which pt_chown is not needed.
19418 (Linux): Do not mention problems with nscd with 2.0 kernels.
19419 * INSTALL: Regenerated.
19421 2012-05-23 Andreas Jaeger <aj@suse.de>
19423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19424 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19426 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19427 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19428 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19429 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19430 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19431 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19432 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19433 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19434 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19435 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19436 * sysdeps/unix/sysv/linux/bits/in.h
19437 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19439 2012-05-22 Roland McGrath <roland@hack.frob.com>
19441 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19442 (PREPARE_VERSION): Just use assert instead, it will be elided
19443 under [NDEBUG] anyway.
19445 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19447 * sysdeps/unix/sysv/linux/Makefile: Include
19448 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19449 (sysdep_routines): Remove sysctl.
19450 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19451 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19452 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19453 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19454 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19456 2012-05-22 Andreas Jaeger <aj@suse.de>
19458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19459 that pseudo_end is just ret and the stack pointer is correct also
19460 for static library in error case.
19462 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19465 * nss/nsswitch.c (defconfig_entries): New variable.
19466 (__nss_database_lookup): Don't leak defconfig entries.
19467 (nss_parse_service_list): Don't leak on error paths.
19468 (free_database_entries): New function.
19469 (free_defconfig): New function.
19470 (free_mem): Move common code to free_database_entries.
19472 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19476 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19478 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19479 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19482 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19483 (INTERNAL_SYSCALL_TYPES): Likewise.
19484 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19485 (LOAD_REGS_TYPES_[1-6]): Likewise.
19486 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19487 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19489 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19492 copysignl for GLIBC_2_0.
19493 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19494 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19496 logbl for GLIBC_2_0.
19497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19498 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19500 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19502 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19503 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19505 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19508 * time/mktime.c: Update copyright years.
19510 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19512 mktime: merge comment-quoting-style change from gnulib
19513 * time/mktime.c: Quote 'like this' in comments.
19514 The GNU coding standards suggest that we no longer quote `like this',
19515 as "`" and "'" are typically rendered asymmetrically nowadays.
19516 The typical gnulib style is to quote 'like this' when quoting
19517 code, and "like this" when quoting English.
19519 * time/mktime.c (compile-command): Add "-I.".
19521 mktime: merge mktime-internal.h change from gnulib
19522 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19524 mktime: merge time_r change from gnulib
19525 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19527 mktime: merge DEBUG change from gnulib
19528 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19529 case system <time.h> has a #define.
19531 mktime: merge <sys/types.h> change from gnulib
19532 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19533 since <time.t> is now guaranteed to define time_t.
19535 mktime: merge HAVE_CONFIG_H change from gnulib
19536 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19538 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19543 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19545 (struct rusage): Use anonymous union to pad each field to
19548 2012-05-21 David S. Miller <davem@davemloft.net>
19550 * Makefules (o-iterator): Remove .s cases.
19551 (compile-command.s): Delete.
19552 (COMPILE.s): Delete.
19553 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19555 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19557 * configure.in (libc_cv_predef_stack_protector): Only consider
19558 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19559 * configure: Regenerated.
19561 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19564 New macro. Use R*LP on int and pointer.
19565 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19566 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19567 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19570 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19571 [__WORDSIZE_TIME64_COMPAT32] instead of
19572 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19573 (struct utmp): Likewise.
19574 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19575 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19577 (__WORDSIZE_TIME64_COMPAT32): This.
19578 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19579 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19580 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19581 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19582 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19583 (__WORDSIZE_TIME64_COMPAT32): New macro.
19585 2012-05-21 Andreas Jaeger <aj@suse.de>
19587 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19588 only if [SHARED]. Add prototype for __wcschr_ia32.
19590 2012-05-21 Roland McGrath <roland@hack.frob.com>
19592 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19593 of %rbp unmolested in the jmp_buf while mangling the low bits.
19594 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19595 unmolested high bits of %rbp while demangling the low bits.
19596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19598 2012-05-21 Andreas Jaeger <aj@suse.de>
19600 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19601 * sunrpc/svc_simple.c: Use it for registerrpc.
19602 * sunrpc/xcrypt.c: Use it for passwd2des.
19604 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19606 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19608 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19609 Don't define if [__SYSCALL_WORDSIZE != 32].
19610 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19613 2012-05-21 Bruno Haible <bruno@clisp.org>
19614 Andreas Jaeger <aj@suse.de>
19616 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19617 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19618 inptr and inend for must_buffer_ch.
19619 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19620 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19621 * stdio-common/Makefile (tests): Remove bug15.
19622 (bug15-ENV): Remove macro.
19623 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19626 2012-05-19 Andreas Jaeger <aj@suse.de>
19627 Roland McGrath <roland@hack.frob.com>
19629 * manual/contrib.texi: Completely rewritten. It contains now an
19630 alphabetical list of contributors and their contributions.
19632 2012-05-21 Richard Henderson <rth@twiddle.net>
19634 * misc/getauxval.c (__getauxval): Use unsigned long int.
19635 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19636 (getauxval): Use unsigned long int.
19638 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19640 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19642 2012-05-21 Roland McGrath <roland@hack.frob.com>
19644 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19645 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19646 __alignof__ (long double).
19648 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19652 2012-05-20 Richard Henderson <rth@twiddle.net>
19654 * misc/getauxval.c: New file.
19655 * misc/sys/auxv.h: New file.
19656 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19657 (routines): Add getauxval.
19658 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19660 * elf/dl-sysdep.c (_dl_auxv): Remove.
19661 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19662 * elf/dl-support.c (_dl_auxv): New variable.
19663 (_dl_aux_init): Initialize it.
19664 * manual/startup.texi (Auxiliary Vector): New node.
19665 * sysdeps/generic/bits/hwcap.h: New file.
19666 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19667 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19668 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19669 * sysdeps/sparc/sysdep.h: ... here. Include it.
19670 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19683 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19687 2012-05-19 David S. Miller <davem@davemloft.net>
19689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19691 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19694 * math/s_ccosh.c: Include <float.h>
19695 (__ccosh): Avoid internal overflow calculating sinh and cosh
19696 values before multiplying by sin and cos values.
19697 * math/s_ccoshf.c: Likewise.
19698 * math/s_ccoshl.c: Likewise.
19699 * math/s_csin.c: Likewise.
19700 * math/s_csinf.c: Likewise.
19701 * math/s_csinl.c: Likewise.
19702 * math/s_csinh.c: Likewise.
19703 * math/s_csinhf.c: Likewise.
19704 * math/s_csinhl.c: Likewise.
19705 * math/libm-test.inc (ccos_test): Add more tests.
19706 (ccosh_test): Likewise.
19707 (csin_test): Likewise.
19708 (csinh_test): Likewise.
19709 * sysdeps/i386/fpu/libm-test-ulps: Update.
19710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19712 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19714 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19715 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19717 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19719 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19721 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19722 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19723 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19724 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19725 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19726 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19727 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19728 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19729 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19730 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19731 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19732 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19733 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19734 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19735 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19736 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19737 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19738 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19739 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19740 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19741 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19742 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19743 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19744 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19745 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19746 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19747 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19748 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19749 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19750 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19751 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19753 2012-05-18 Andreas Jaeger <aj@suse.de>
19755 * csu/.gitignore: Delete.
19757 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19759 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19760 (timex): Use __syscall_slong_t.
19762 2012-05-18 Andreas Jaeger <aj@suse.de>
19763 Carlos O'Donell <carlos_odonell@mentor.com>
19765 * manual/install.texi (Configuring and compiling): Update
19766 description about files modified in the source directory.
19767 * INSTALL: Regenerated.
19769 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19771 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19772 value. Use "or" to set return value to -1.
19773 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19774 negate return value.
19776 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19778 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19779 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19780 failure if the compiler has Graphite support disabled.
19781 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19783 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19784 CFLAGS-memmove.c): Likewise.
19785 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19788 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19790 * sysdeps/x86_64/x32/_itoa.h: New file.
19792 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19793 getdents system call only if kernel and user dirents have the
19794 same d_ino and d_off.
19796 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19797 LLONG_MAX != LONG_MAX.
19798 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19799 (_fitoa_word): Likewise.
19801 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19803 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19804 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19805 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19808 include <bits/wordsize.h>. Check __x86_64__ instead of
19810 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19811 if __x86_64__ is defined. Use anonymous union on fpstate.
19813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19816 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19818 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19819 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19820 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19821 Refer to _rtld_local_ro instead of _rtld_global_ro.
19822 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19824 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19826 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19828 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19829 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19830 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19832 * sysdeps/powerpc/powerpc32/dl-machine.c
19833 (__elf_machine_runtime_setup) [PROF]: Don't reference
19836 2012-05-18 Andreas Jaeger <aj@suse.de>
19838 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19839 function only available for GCCs before 3.4 since GCC 3.4
19840 introduced a builtin.
19842 (llrintf): Likewise.
19843 (llrint): Likewise.
19850 (nearbyint): Likewise.
19851 (nearbyintf): Likewise.
19855 (floorf): Likewise.
19857 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19859 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19860 on both fields and cast pointer to __syscall_ulong_t.
19862 * bits/types.h (__fsword_t): New type.
19863 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19864 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19866 (__FSWORD_T_TYPE): Likewise.
19867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19868 (__FSWORD_T_TYPE): Likewise.
19869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19870 (__FSWORD_T_TYPE): Likewise.
19871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19872 (__FSWORD_T_TYPE): Likewise.
19873 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19874 __SWORD_TYPE with __fsword_t.
19875 (statfs64): Likewise.
19877 2012-05-17 David S. Miller <davem@davemloft.net>
19879 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19881 2012-05-17 Andreas Jaeger <aj@suse.de>
19883 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19886 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19888 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19890 2012-05-17 Andreas Jaeger <aj@suse.de>
19892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19895 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19897 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19899 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19901 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19902 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19904 2012-05-17 Andreas Jaeger <aj@suse.de>
19905 Carlos O'Donell <carlos_odonell@mentor.com>
19908 * sysdeps/x86_64/multiarch/init-arch.h
19909 (bit_YMM_Usable): Rename to...
19910 (bit_AVX_Usable): ... this.
19911 (bit_FMA4_Usable): New macro.
19912 (bit_XMM_state): New macro.
19913 (bit_YMM_state): New macro.
19914 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19915 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19916 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19917 (CPUID_OSXSAVE): New macro.
19918 (CPUID_AVX): New macro.
19919 (CPUID_FMA4): New macro.
19920 (index_YMM_Usable): Rename to...
19921 (index_AVX_Usable): ... this.
19922 (HAS_AVX): Use HAS_ARCH_FEATURE.
19923 (HAS_FMA4): Likewise.
19924 (HAS_YMM_USABLE): Remove.
19925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19926 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19928 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19929 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19930 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19931 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19932 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19934 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19936 * math/libm-test.c: Support platforms without multiple rounding modes.
19937 * math/bug-nextafter.c: Support platforms without FP exceptions.
19938 * math/bug-nexttoward.c: Likewise.
19939 * math/test-fenv.c: Likewise.
19940 * math/test-misc.c: Likewise.
19941 * stdlib/bug-getcontext.c: Likewise.
19943 2012-05-17 Andreas Jaeger <aj@suse.de>
19945 * manual/examples/search.c (critter_cmp): Change signature to
19947 * manual/string.texi (Collation Functions): Likewise.
19949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19951 * bits/types.h: Fold copyright years.
19952 * bits/typesizes.h: Likewise.
19953 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19957 * time/time.h: Likewise.
19959 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19962 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19963 in instead of returning them. Return void.
19964 (__libc_mallinfo): Accumulate over all arenas.
19965 (__malloc_stats): Adjust for change in int_mallinfo interface.
19967 2012-05-16 Roland McGrath <roland@hack.frob.com>
19970 * configure.in (NM): Add AC_CHECK_TOOL for it.
19971 (libc_extra_cflags): New substituted variable.
19972 Check for -fstack-protector being used implicitly.
19973 * configure: Regenerated.
19974 * config.make.in (config-extra-cflags): New variable,
19975 gets @libc_extra_cflags@.
19976 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19979 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19980 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19981 * configure: Regenerated.
19982 * config.make.in (CPPUNDEFS): New substituted variable.
19983 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19984 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19985 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19989 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19990 (mq_attr): Use __syscall_slong_t.
19992 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19994 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19995 Check __x86_64__ instead of __WORDSIZE.
19996 (_STAT_VER_LINUX): Likewise.
19997 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19998 __syscall_ulong_t and __syscall_slong_t.
19999 (stat64): Likewise.
20001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20003 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20005 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20007 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20011 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20014 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20015 include <bits/wordsize.h>. Check __x86_64__ instead of
20017 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20019 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20022 include <bits/wordsize.h>. Check __x86_64__ instead of
20024 (user_regs_struct): Use "__extension__ unsigned long long"
20025 instead of "unsigned long" if __x86_64__ is defined.
20026 (user): Likewise. Pad after pointer field if __ILP32__ is
20029 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20031 * configure.in (makeinfo): Require version 4.5 or later. Allow
20033 * configure: Regenerated.
20034 * manual/install.texi (texinfo): Increase version requirement to
20036 * INSTALL: Regenerated.
20038 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20042 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20044 * sysdeps/x86_64/x32/ffs.c: New file.
20046 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20048 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20049 defined. Use __syscall_ulong_t.
20050 (shminfo): Use __syscall_ulong_t.
20051 (shm_info): Likewise.
20053 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20056 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20058 (msgqnum_t): Use __syscall_ulong_t.
20059 (msglen_t): Likewise.
20060 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20063 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20064 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20066 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20068 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20069 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20071 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20074 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20075 include <bits/wordsize.h>. Check __x86_64__ instead of
20078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20079 "unsigned long long int" if __x86_64__ is defined.
20080 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20083 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20084 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20086 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20088 (GET_PC): Cast to uintptr_t first.
20089 (GET_FRAME): Likewise.
20090 (GET_STACK): Likewise.
20092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20099 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20100 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20102 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20108 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20109 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20110 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20111 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20113 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20115 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20118 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20122 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20124 * Makerules (+depfiles): Also collect depfiles from .oS in
20126 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20127 .oS, $(libnldbl-routines)).
20129 * Makerules (native-compile-mkdep-flags): Define.
20130 * sunrpc/Makefile (extra-objs): Add $(addprefix
20131 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20132 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20133 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20134 calling $(make-target-directory).
20136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20138 * bits/types.h (__snseconds_t): Removed.
20139 * time/time.h (struct timespec): Replace __snseconds_t with
20141 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20142 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20145 (__SNSECONDS_T_TYPE): Likewise.
20146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20147 (__SNSECONDS_T_TYPE): Likewise.
20148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20149 (__SNSECONDS_T_TYPE): Likewise.
20151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20153 * sysdeps/mach/hurd/bits/typesizes.h
20154 (__SYSCALL_SLONG_TYPE): New macro.
20155 (__SYSCALL_ULONG_TYPE): Likewise.
20157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20159 * bits/types.h (__syscall_slong_t): New type.
20160 (__syscall_ulong_t): Likewise.
20162 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20163 (__SYSCALL_ULONG_TYPE): Likewise.
20164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20165 (__SYSCALL_SLONG_TYPE): Likewise.
20166 (__SYSCALL_ULONG_TYPE): Likewise.
20167 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20168 (__SYSCALL_SLONG_TYPE): Likewise.
20169 (__SYSCALL_ULONG_TYPE): Likewise.
20170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20171 (__SYSCALL_SLONG_TYPE): Likewise.
20172 (__SYSCALL_ULONG_TYPE): Likewise.
20174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20176 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20177 Add sigaltstack-offsets.sym.
20178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20179 <sigaltstack-offsets.h>.
20180 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20181 longjmp_msg pointer.
20182 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20183 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20185 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20187 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20189 * elf/stackguard-macros.h: Remove file.
20190 * sysdeps/generic/stackguard-macros.h: New file.
20191 * sysdeps/i386/stackguard-macros.h: Likewise.
20192 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20193 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20194 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20195 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20196 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20197 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20198 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20199 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20200 <elf/stackguard-macros.h>.
20203 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20204 __aligned__ in attribute.
20205 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20206 (gregset_t): Likewise.
20208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20210 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20211 * sysdeps/x86_64/64/Implies-after: Here. New file.
20212 * sysdeps/x86_64/x32/Implies-after: New file.
20214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20216 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20217 and access return value for _dl_profile_fixup. Use R10_LP to
20220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20222 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20226 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20227 * sysdeps/x86_64/x32/sysdep.h: New file.
20229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20231 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20232 * sysdeps/x86_64/setjmp.S: Likewise.
20234 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20238 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20239 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20240 remove unused global constant.
20242 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20244 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20245 include of <not-cancel.h>.
20247 2012-05-15 Roland McGrath <roland@hack.frob.com>
20249 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20251 2012-05-15 Jeff Law <law@redhat.com>
20252 Andreas Jaeger <aj@suse.de>
20255 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20257 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20258 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20259 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20260 code changing __hst_map_handle.map.
20262 2012-05-15 Roland McGrath <roland@hack.frob.com>
20264 * configure.in (sysnames): Look for Implies-before and Implies-after
20266 * configure: Regenerated.
20268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20270 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20271 8-byte data alignment with LP_SIZE alignment.
20273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20275 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20280 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20284 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20285 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20288 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20292 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20293 (stackinfo_sub_sp): Likewise.
20295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20302 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20312 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20316 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20317 into R11_LP and load __x86_64_shared_cache_size_half into
20320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20325 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20333 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20334 powerpc32/power7/fpu/s_logb.c via #include.
20335 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20336 powerpc32/power7/fpu/s_logbf.c via #include.
20337 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20338 powerpc32/power7/fpu/s_logbl.c via #include.
20340 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20342 * README.libm: Remove file.
20344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20346 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20347 count for x32. Use R*_LP and omit operand-size suffix.
20349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20351 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20352 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20353 * sysdeps/x86_64/x32/shlib-versions: New file.
20355 2012-05-14 Roland McGrath <roland@hack.frob.com>
20357 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20358 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20359 Use _dl_fatal_printf instead.
20361 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20363 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20364 set if not set by the user. Do not allow for being unset.
20365 * sysdeps/unix/sysv/linux/configure: Regenerated.
20367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20369 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20370 the `q' suffix from lea and replace .quad with ASM_ADDR.
20372 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20375 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20377 (PTR_DEMANGLE): Likewise.
20379 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20381 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20383 (ASM_ADDR): Likewise.
20384 (RAX_LP): Likewise.
20385 (RBP_LP): Likewise.
20386 (RBX_LP): Likewise.
20387 (RCX_LP): Likewise.
20388 (RDI_LP): Likewise.
20389 (RSI_LP): Likewise.
20390 (RSP_LP): Likewise.
20393 (R10_LP): Likewise.
20394 (R10_LP): Likewise.
20395 (R11_LP): Likewise.
20396 (R12_LP): Likewise.
20397 (R13_LP): Likewise.
20398 (R14_LP): Likewise.
20399 (R15_LP): Likewise.
20401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20403 * sysdeps/x86_64/x32/dl-machine.h: New file.
20405 2012-05-14 Andreas Jaeger <aj@suse.de>
20407 * manual/Makefile (subdir): Remove export of subdir.
20408 (all): Remove target.
20409 (.PHONY): Remove all from list.
20410 (mkinstalldirs): Remove.
20411 (.PHONY): Remove installdirs from list.
20412 ($(inst_infodir)/libc.info): Use make-target-directory.
20413 (installdirs): Remove.
20414 (subdir_%): Remove.
20415 (glibc-targets): Remove.
20418 ($(objpfx)stubs ../po/manual.pot): Remove.
20419 ($(objpfx)stamp%): Remove.
20420 (make-target-directory): Remove.
20421 (subdir_install): Remove.
20422 (routines): Remove.
20429 * manual/.gitignore: Remove, it's not needed anymore.
20430 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20432 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20434 (texis): Renamed to $(objpfx)texis.
20435 (texis-path): New, contains path to generated files.
20436 (chapters.%): Use texis-path for complete path, add extra argument
20438 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20439 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20440 (summary,texi, stamp-summary): Use complete path of
20441 files. Generate files in build dir.
20442 (dir-add.texi): Build in build dir.
20443 (libm-err.texi,stamp-libm-err): Likewise.
20444 (version.texi, stamp-version): Likewise.
20445 (.%c.texi): Likewise.
20446 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20447 (mostlyclean): Remove target.
20448 (realclean): Remove target.
20449 (generated): Add new variable with contents from mostlyclean and
20450 realclean, remove entries duplicated in common-mostlyclean, add
20451 stamp-libm-err and stamp-version.
20452 (generated-dirs): Add libc directory.
20453 ($(inst_infodir)/libc.info): Install files from build dir.
20455 * manual/install.texi (Configuring and compiling): Adjust since
20456 the info files are not part of the tar ball anymore.
20458 2012-05-14 Andreas Jaeger <aj@suse.de>
20460 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20463 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20467 to 2.2.0 where earlier.
20468 * sysdeps/unix/sysv/linux/configure: Regenerated.
20469 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20470 Remove conditional code.
20471 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20472 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20473 Remove conditional code.
20474 [!__NR_lchown]: Likewise.
20475 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20476 [__NR_lchown]: Likewise.
20477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20478 comment referencing __ASSUME_LCHOWN_SYSCALL.
20479 * sysdeps/unix/sysv/linux/i386/sigaction.c
20480 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20481 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20482 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20483 Remove conditional code.
20484 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20485 (__protocol_available): Remove #if 0 code.
20486 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20488 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20489 * sysdeps/unix/sysv/linux/kernel-features.h
20490 (__ASSUME_GETCWD_SYSCALL): Don't define.
20491 (__ASSUME_REALTIME_SIGNALS): Likewise.
20492 (__ASSUME_PREAD_SYSCALL): Likewise.
20493 (__ASSUME_PWRITE_SYSCALL): Likewise.
20494 (__ASSUME_POLL_SYSCALL): Likewise.
20495 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20496 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20498 (__ASSUME_SIOCGIFNAME): Don't define.
20499 (__ASSUME_MSG_NOSIGNAL): Likewise.
20500 (__ASSUME_SENDFILE): Define unconditionally.
20501 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20502 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20504 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20505 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20506 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20507 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20508 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20509 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20510 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20512 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20518 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20519 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20535 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20536 Remove conditional code.
20537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20538 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20539 Remove conditional code.
20540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20541 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20542 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20543 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20544 Remove conditional code.
20545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20546 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20547 Remove conditional code.
20548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20549 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20550 Remove conditional code.
20551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20552 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20553 Remove conditional code.
20554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20555 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20556 Remove conditional code.
20557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20558 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20561 * sysdeps/unix/sysv/linux/sigaction.c
20562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20564 * sysdeps/unix/sysv/linux/sigpending.c
20565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20567 * sysdeps/unix/sysv/linux/sigprocmask.c
20568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20570 * sysdeps/unix/sysv/linux/sigsuspend.c
20571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20574 (__libc_missing_rt_sigs): Remove.
20575 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20576 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20577 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20578 Remove conditional code.
20579 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20580 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20583 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20584 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20585 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20587 2012-05-14 Andreas Jaeger <aj@suse.de>
20589 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20590 it's not used in glibc.
20591 (__coshm1): Likewise.
20592 (__acosh1p): Likewise.
20595 * manual/string.texi (Copying and Concatenation): Add missing
20596 variable in concat example.
20597 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20599 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20603 __builtin_clzl with __builtin_clzll.
20605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20608 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20611 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20613 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20614 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20615 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20616 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20618 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20620 * NEWS: Update ia64 info.
20622 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20624 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20627 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20629 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20630 * sysdeps/unix/syscalls.list (dup3): Likewise.
20631 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20632 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20634 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20636 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20637 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20639 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20641 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20643 (TLS_IE): Use mov/add instead of movq/addq to load thread
20645 (TLS_GD_PREFIX): New.
20648 2012-05-11 David S. Miller <davem@davemloft.net>
20650 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20651 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20652 (_FPU_SETCW): Likewise.
20654 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20656 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20657 is 32-byte aligned.
20659 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20662 * iconvdata/gb18030.c: Update tables.
20663 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20664 characters specially.
20665 (BODY for TO_LOOP): Add encoding of missing ranges.
20667 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20670 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20671 * sysdeps/mach/hurd/dup3.c: Likewise.
20672 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20673 * sysdeps/powerpc/memmove.c:: Likewise.
20675 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20678 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20680 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20682 * elf/elf.h (R_X86_64_RELATIVE64): New.
20683 (R_X86_64_NUM): Updated.
20684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20685 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20686 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20687 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20688 tst-quad1pie tst-quad2pie
20689 (modules-names): Add tst-quadmod1 tst-quadmod2.
20690 ($(objpfx)tst-quad1): New dependency.
20691 ($(objpfx)tst-quad2): Likewise.
20692 ($(objpfx)tst-quad1pie): Likewise.
20693 ($(objpfx)tst-quad2pie): Likewise.
20694 * sysdeps/x86_64/tst-quad1.c: New file.
20695 * sysdeps/x86_64/tst-quad1pie.c: New file.
20696 * sysdeps/x86_64/tst-quad2.c: Likewise.
20697 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20698 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20699 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20700 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20701 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20705 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20706 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20707 * streams/stropts.h (t_scalar_t): Define type.
20709 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20710 (_PATH_PRESERVE): Set to "/var/lib".
20711 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20713 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20716 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20717 if __dir_mkfile succeeded.
20719 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20720 checking for _hurd_dtablesize. Unlock it right after having
20721 finished _hurd_dtable allocation.
20723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20725 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20726 * sysdeps/mach/hurd/configure: Regenerated.
20727 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20728 special-casing to...
20729 * sysdeps/gnu/configure.in: ... this new file.
20730 * sysdeps/unix/sysv/linux/configure: Regenerated.
20731 * sysdeps/gnu/configure: New generated file.
20733 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20734 for Linux: use nsec instead of usec, as well as:
20735 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20736 members of type struct timespec.
20737 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20739 (struct stat64): Likewise.
20740 (_STATBUF_ST_NSEC): New macro.
20741 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20743 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20744 __strtoul_internal rather than strtoul.
20746 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20748 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20751 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20753 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20754 which preserves existing values.
20755 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20757 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20759 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20760 TIMEOUT values. Return EINVAL for NFDS values either negative or
20761 greater than FD_SETSIZE.
20763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20765 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20766 allocated, call __vm_protect to finish enabling the existing space, and
20767 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20768 allocate the remainder.
20770 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20772 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20773 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20777 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20778 sysdeps/mach/hurd/readlink.c.
20780 * posix/tst-sysconf.c (posix_options): Only use
20781 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20782 _POSIX_SYNCHRONIZED_IO when they are defined
20783 * sysdeps/mach/hurd/bits/posix_opt.h:
20784 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20785 (_XOPEN_REALTIME): Undefine macro.
20786 (_XOPEN_REALTIME_THREADS): Undefine macro.
20787 (_XOPEN_SHM): Undefine macro.
20788 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20790 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20792 (_POSIX_ASYNC_IO): Undefine macro.
20793 (_POSIX_PRIORITIZED_IO): Undefine macro.
20794 (_POSIX_SPIN_LOCKS): Define macro to -1.
20796 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20797 SA_NODEFER, SA_RESETHAND.
20798 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20799 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20804 * elf/Makefile (pldd-modules): Define unconditionally.
20806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20808 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20810 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20812 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20813 Return ENOENT when name is empty.
20814 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20818 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20820 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20824 Fix mlock in all cases except non-readable pages.
20825 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20826 instead of VM_PROT_ALL as parameter to __vm_wire function.
20828 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20829 (__mkdir): When path is `/', just fail with EEXIST.
20830 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20834 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20835 <sys/uio.h> (for writev).
20836 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20837 and <sys/param.h> (for MIN).
20839 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20841 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20842 REQUESTED_TIME. Properly set the remaining time and return EINTR
20845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20847 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20848 Depend on against $(link-rpcuserlibs).
20850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20852 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20853 (__libc_stack_end): Do not use attribute_relro.
20854 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20855 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20856 to libthread-provided value.
20857 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20863 * bits/libc-lock.h (__libc_once_get): New macro.
20864 * sysdeps/mach/bits/libc-lock.h: Likewise.
20865 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20866 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20867 instead of using implementation details.
20869 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20870 * libio/freopen.c: Likewise.
20871 * libio/freopen64.c: Likewise.
20872 * misc/syslog.c: Likewise.
20873 * nscd/connections.c: Likewise.
20874 * nscd/netgroupcache.c: Likewise.
20875 * sysdeps/posix/getcwd.c: Likewise.
20877 2012-05-10 Roland McGrath <roland@hack.frob.com>
20879 * math/w_ilogbf.c: Add #include <limits.h>.
20881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20883 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20884 path instead of returning without unlocking.
20886 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20887 immediate-write ioctls.
20888 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20892 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20893 __builtin_frame_address instead of making assumptions about the
20894 location of the return address relative to DATA. Force early load of
20895 the return address.
20896 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20897 __builtin_frame_address.
20900 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20901 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20902 implement dup3 and do some further code clean-ups.
20903 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20904 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20908 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20910 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20911 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20912 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20913 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20914 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20917 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20918 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20919 when handler == SIG_ERR, not when handler != SIG_ERR.
20921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20923 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20924 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20927 accept4 for GNU Hurd.
20928 * include/sys/socket.h (__libc_accept4): New prototype.
20929 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20930 to implement __libc_accept4.
20931 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20933 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20935 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20936 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20937 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20938 signal-defines.sym.
20940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20942 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20946 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20947 assertion on O_CLOEXEC flag.
20948 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20949 * hurd/intern-fd.c: Likewise.
20950 * hurd/port2fd.c: Likewise.
20952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20955 * bits/in.h (IPV6_PKTINFO): Define new macro.
20956 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20958 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20963 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20965 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20968 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20969 * math/libm-test.inc (logb_test) : Additional logb tests.
20971 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20972 Andreas Jaeger <aj@suse.de>
20974 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20975 * configure: Regenerated.
20976 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20977 * config.make.in (link-obsolete-rpc): New substituted variable.
20978 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20979 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20980 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20981 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20982 so that libc.a contains the symbols.
20983 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20984 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20985 * sunrpc/auth_none.c: Likewise.
20986 * sunrpc/auth_unix.c: Likewise.
20987 * sunrpc/authdes_prot.c: Likewise.
20988 * sunrpc/authuxprot.c: Likewise.
20989 * sunrpc/clnt_gen.c: Likewise.
20990 * sunrpc/clnt_perr.c: Likewise.
20991 * sunrpc/clnt_raw.c: Likewise.
20992 * sunrpc/clnt_simp.c: Likewise.
20993 * sunrpc/clnt_tcp.c: Likewise.
20994 * sunrpc/clnt_udp.c: Likewise.
20995 * sunrpc/clnt_unix.c: Likewise.
20996 * sunrpc/des_crypt.c: Likewise.
20997 * sunrpc/des_soft.c: Likewise.
20998 * sunrpc/get_myaddr.c: Likewise.
20999 * sunrpc/key_call.c: Likewise.
21000 * sunrpc/key_prot.c: Likewise.
21001 * sunrpc/netname.c: Likewise.
21002 * sunrpc/pm_getmaps.c: Likewise.
21003 * sunrpc/pm_getport.c: Likewise.
21004 * sunrpc/pmap_clnt.c: Likewise.
21005 * sunrpc/pmap_prot.c: Likewise.
21006 * sunrpc/pmap_prot2.c: Likewise.
21007 * sunrpc/pmap_rmt.c: Likewise.
21008 * sunrpc/publickey.c: Likewise.
21009 * sunrpc/rpc_cmsg.c: Likewise.
21010 * sunrpc/rpc_common.c: Likewise.
21011 * sunrpc/rpc_dtable.c: Likewise.
21012 * sunrpc/rpc_prot.c: Likewise.
21013 * sunrpc/rpc_thread.c: Likewise.
21014 * sunrpc/rtime.c: Likewise.
21015 * sunrpc/svc.c: Likewise.
21016 * sunrpc/svc_auth.c: Likewise.
21017 * sunrpc/svc_raw.c: Likewise.
21018 * sunrpc/svc_run.c: Likewise.
21019 * sunrpc/svc_tcp.c: Likewise.
21020 * sunrpc/svc_udp.c: Likewise.
21021 * sunrpc/svc_unix.c: Likewise.
21022 * sunrpc/svcauth_des.c: Likewise.
21023 * sunrpc/xcrypt.c: Likewise.
21024 * sunrpc/xdr.c: Likewise.
21025 * sunrpc/xdr_array.c: Likewise.
21026 * sunrpc/xdr_float.c: Likewise.
21027 * sunrpc/xdr_intXX_t.c: Likewise.
21028 * sunrpc/xdr_mem.c: Likewise.
21029 * sunrpc/xdr_rec.c: Likewise.
21030 * sunrpc/xdr_ref.c: Likewise.
21031 * sunrpc/xdr_sizeof.c: Likewise.
21032 * sunrpc/xdr_stdio.c: Likewise.
21034 2012-05-10 Roland McGrath <roland@hack.frob.com>
21036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21037 change. Update copyright years.
21039 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21041 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21043 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21044 Joseph Myers <joseph@codesourcery.com>
21045 Paul Pluzhnikov <ppluzhnikov@google.com>
21048 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21050 [cross-compiling] (extra-libs): Likewise.
21051 [cross-compiling] (extra-libs-others): Likewise.
21052 [cross-compiling] (librpcsvc-routines): Likewise.
21053 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21054 [cross-compiling] (omit-deps): Likewise.
21055 (sunrpc-CPPFLAGS): New variable.
21056 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21057 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21058 (cross-rpcgen-objs): New variable.
21059 (extra-objs): Append $(cross-rpcgen-objs).
21060 ($(cross-rpcgen-objs)): New rule.
21061 ($(objpfx)cross-rpcgen): Likewise.
21062 (rpcgen-cmd): Define to use $(built-program-file). Expand
21064 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21065 ($(objpfx)x%.stmp): Likewise.
21066 * sunrpc/proto.h [IS_IN_build] (_): Define.
21067 [IS_IN_build] (_libc_intl_domainname): Likewise.
21069 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21072 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21073 and R_X86_64_TPOFF64.
21075 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21077 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21078 sysdeps/unix/sysv/syscalls.list.
21081 * sysdeps/unix/sysv/syscalls.list: Remove file.
21083 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21086 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21087 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21088 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21089 (__LC_IDENTIFICATION): Make these macros useful in #if
21090 expressions, as required by C99.
21092 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21094 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21095 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21098 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21100 * stdlib/longlong.h: Updated from GCC.
21102 2012-05-09 Andreas Jaeger <aj@suse.de>
21104 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21105 default is first entry.
21106 (run_mode): Set type.
21107 (main): Remove informal message about syslog.
21108 (options): Fix typo.
21111 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21114 (llrintf): Likewise.
21115 (llrint): Likewise.
21118 (nearbyint): Likewise.
21119 (nearbyintf): Likewise.
21121 2012-05-09 Andreas Jaeger <aj@suse.de>
21122 Pedro Alves <palves@redhat.com>
21124 * nscd/nscd.c (run_mode): Use enum.
21125 (main): Cleanup coding style issue.
21127 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21128 Andreas Jaeger <aj@suse.de>
21130 * nscd/nscd.c (go_background): Replaced with...
21131 (run_mode): ... this.
21132 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21133 (options): Add -F --foreground.
21134 (main): Implement it.
21135 (parse_opt): Parse it.
21137 2012-05-09 Andreas Jaeger <aj@suse.de>
21140 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21141 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21142 -Wconversion warning.
21143 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21146 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21148 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21150 (LC_ALL): Use macro-int-constant.
21151 (LC_COLLATE): Likewise.
21152 (LC_CTYPE): Likewise.
21153 (LC_MESSAGES): Likewise.
21154 (LC_MONETARY): Likewise.
21155 (LC_NUMERIC): Likewise.
21156 (LC_TIME): Likewise.
21157 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21158 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21160 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21162 [C99-based standards] (float_t): Expect type.
21163 [C99-based standards] (double_t): Expect type.
21164 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21166 [C99-based standards] (HUGE_VALL): Likewise.
21167 [C99-based standards] (INFINITY): Likewise.
21168 [C99-based standards] (NAN): Likewise.
21169 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21170 [C99-based standards] (FP_NAN): Likewise.
21171 [C99-based standards] (FP_NORMAL): Likewise.
21172 [C99-based standards] (FP_SUBNORMAL): Likewise.
21173 [C99-based standards] (FP_ZERO): Likewise.
21174 [C99-based standards] (FP_FAST_FMA): Use
21175 optional-macro-int-constant. Specify type. Require == 1.
21176 [C99-based standards] (FP_FAST_FMAF): Likewise.
21177 [C99-based standards] (FP_FAST_FMAL): Likewise.
21178 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21179 [C99-based standards] (FP_ILOGBNAN): Likewise.
21180 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21182 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21183 [C99-based standards] (math_errhandling): Specify type.
21184 [ISO99 || ISO11] (signgam): Do not allow.
21185 [non-C99-based standards] (copysignf): Do not allow.
21186 [non-C99-based standards] (exp2f): Likewise.
21187 [non-C99-based standards] (log2f): Likewise.
21188 [non-C99-based standards] (modff): Allow.
21189 [non-C99-based standards] (erff): Do not allow.
21190 [non-C99-based standards] (erfcf): Likewise.
21191 [non-C99-based standards] (gammaf): Likewise.
21192 [non-C99-based standards] (hypotf): Likewise.
21193 [non-C99-based standards] (j0f): Likewise.
21194 [non-C99-based standards] (j1f): Likewise.
21195 [non-C99-based standards] (jnf): Likewise.
21196 [non-C99-based standards] (lgammaf): Likewise.
21197 [non-C99-based standards] (tgammaf): Likewise.
21198 [non-C99-based standards] (y0f): Likewise.
21199 [non-C99-based standards] (y1f): Likewise.
21200 [non-C99-based standards] (ynf): Likewise.
21201 [non-C99-based standards] (isnanf): Likewise.
21202 [non-C99-based standards] (acoshf): Likewise.
21203 [non-C99-based standards] (asinhf): Likewise.
21204 [non-C99-based standards] (atanhf): Likewise.
21205 [non-C99-based standards] (cbrtf): Likewise.
21206 [non-C99-based standards] (expm1f): Likewise.
21207 [non-C99-based standards] (ilogbf): Likewise.
21208 [non-C99-based standards] (log1pf): Likewise.
21209 [non-C99-based standards] (logbf): Likewise.
21210 [non-C99-based standards] (nextafterf): Likewise.
21211 [non-C99-based standards] (remainderf): Likewise.
21212 [non-C99-based standards] (rintf): Likewise.
21213 [non-C99-based standards] (scalbf): Likewise.
21214 [non-C99-based standards] (copysignl): Likewise.
21215 [non-C99-based standards] (exp2l): Likewise.
21216 [non-C99-based standards] (log2l): Likewise.
21217 [non-C99-based standards] (modfl): Allow.
21218 [non-C99-based standards] (erfl): Do not allow.
21219 [non-C99-based standards] (erfcl): Likewise.
21220 [non-C99-based standards] (gammal): Likewise.
21221 [non-C99-based standards] (hypotl): Likewise.
21222 [non-C99-based standards] (j0l): Likewise.
21223 [non-C99-based standards] (j1l): Likewise.
21224 [non-C99-based standards] (jnl): Likewise.
21225 [non-C99-based standards] (lgammal): Likewise.
21226 [non-C99-based standards] (tgammal): Likewise.
21227 [non-C99-based standards] (y0l): Likewise.
21228 [non-C99-based standards] (y1l): Likewise.
21229 [non-C99-based standards] (ynl): Likewise.
21230 [non-C99-based standards] (isnanl): Likewise.
21231 [non-C99-based standards] (acoshl): Likewise.
21232 [non-C99-based standards] (asinhl): Likewise.
21233 [non-C99-based standards] (atanhl): Likewise.
21234 [non-C99-based standards] (cbrtl): Likewise.
21235 [non-C99-based standards] (expm1l): Likewise.
21236 [non-C99-based standards] (ilogbl): Likewise.
21237 [non-C99-based standards] (log1pl): Likewise.
21238 [non-C99-based standards] (logbl): Likewise.
21239 [non-C99-based standards] (nextafterl): Likewise.
21240 [non-C99-based standards] (remainderl): Likewise.
21241 [non-C99-based standards] (rintl): Likewise.
21242 [non-C99-based standards] (scalbl): Likewise.
21243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21244 [non-C99-based standards] (FP_*): Do not allow.
21245 [C99-based standards] (FP_*): Change to
21246 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21247 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21249 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21250 (SIG_ERR): Likewise.
21251 [X/Open-based standards] (SIG_HOLD): Likewise.
21252 (SIG_IGN): Likewise.
21253 (SIGABRT): Use macro-int-constant. Specify type. Require
21255 (SIGFPE): Likewise.
21256 (SIGILL): Likewise.
21257 (SIGINT): Likewise.
21258 (SIGSEGV): Likewise.
21259 (SIGTER): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21266 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21267 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21268 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21269 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21270 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21271 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21272 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21273 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21274 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21275 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21276 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21277 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21278 [X/Open-based standards] (SIGTRAP): Likewise.
21279 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21280 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21281 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21282 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21283 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21286 2012-05-08 Ian Wienand <ianw@vmware.com>
21289 * time/tzset.c (__tzset_parse_tz): Update default rules for
21290 daylight time changes in the Energy Policy Act of 2005.
21292 2012-05-09 Andreas Jaeger <aj@suse.de>
21295 * elf/ldconfig.c (parse_conf): Change string to make clear that
21296 ldconfig only issued a warning if ld.so.conf does not exist.
21298 2012-05-08 David S. Miller <davem@davemloft.net>
21300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21301 movxtod instead of popping the value on the stack.
21303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21305 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21307 * config.h.in: Add HAVE_ARM_PCS_VFP.
21309 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21312 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21313 checking but the checks are disabled for any reason.
21315 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21317 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21318 and ELF64_R_TYPE with ELFW(R_TYPE).
21320 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21322 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21323 (ulimit): Likewise.
21325 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21326 (settimeofday): Likewise.
21328 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21330 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21331 a struct th_u2 inside the union, and move tu_block/tu_code into
21332 a new th_u3 union of tu_block/tu_code inside of that. Move
21333 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21334 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21335 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21336 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21337 (th_stuff): Change to th_u1.tu_stuff.
21339 (th_msg): Change to th_u1.th_u2.tu_data.
21341 2012-05-07 David S. Miller <davem@davemloft.net>
21343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21346 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21347 (SETUP_PIC_REG): Use it.
21348 (SETUP_PIC_REG_LEAF): Use it.
21350 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21354 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21356 (EXPL_FINITE): Likewise.
21357 (FLDLOG): Likewise.
21358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21359 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21361 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21363 (EXPL_FINITE): Likewise.
21364 (FLDLOG): Likewise.
21365 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21366 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21368 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21369 test of -max_value argument for long double.
21370 * sysdeps/i386/fpu/libm-test-ulps: Update.
21371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21373 2012-05-06 David S. Miller <davem@davemloft.net>
21375 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21376 quad soft-float symbols whose references which are compiler
21378 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21380 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21386 (EXPL_FINITE): Likewise.
21387 (FLDLOG): Likewise.
21390 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21391 Adjust comments for base varying.
21392 (__expl_finite): Change alias to EXPL_FINITE.
21393 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21395 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21396 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21398 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21399 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21401 (EXPL_FINITE): Likewise.
21402 (FLDLOG): Likewise.
21405 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21406 Adjust comments for base varying.
21407 (__expl_finite): Change alias to EXPL_FINITE.
21408 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21413 * math/libm-test.inc (check_float_internal): Correct ulp
21414 calculation for subnormal expected results.
21416 2012-05-06 Andreas Jaeger <aj@suse.de>
21418 * Makeconfig (+math-flags): New, set to -frounding-math.
21419 (+cflags): Add +math-flags so that all of glibc gets compiled with
21422 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21424 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21426 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21432 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21433 (__ieee754_expl): Allow for and saturate large arguments.
21434 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21435 (u_threshold): Likewise.
21436 (__exp): Call __ieee754_exp before checking for overflow and
21438 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21439 (u_threshold): Likewise.
21440 (__expf): Call __ieee754_expf before checking for overflow and
21442 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21443 (u_threshold): Likewise.
21444 (__expl): Call __ieee754_expl before checking for overflow and
21446 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21447 (__ieee754_expl): Allow for and saturate large arguments.
21448 * math/libm-test.inc (exp_test): Add another test. Do not allow
21449 missing overflow exception on overflow.
21450 (expm1_test): Do not allow missing overflow exception on overflow.
21452 * sysdeps/i386/fpu/e_expl.c: Move to ...
21453 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21454 rather than using inline asm.
21455 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21456 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21457 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21459 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21462 (signal): Likewise.
21466 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21468 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21469 sysdeps/unix/common/syscalls.list.
21470 (fchmod): Likewise.
21471 (fchown): Likewise.
21472 (ftruncate): Likewise.
21473 (getrusage): Likewise.
21474 (gettimeofday): Likewise.
21475 (setpgid): Likewise.
21476 (setregid): Likewise.
21477 (setreuid): Likewise.
21478 (sigaction): Likewise.
21479 (truncate): Likewise.
21480 (vhangup): Likewise.
21481 * sysdeps/unix/common/syscalls.list: Remove file.
21482 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21483 * sysdeps/unix/sysv/linux/Implies: Likewise.
21485 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21487 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21489 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21493 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21496 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21499 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21502 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21505 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21508 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21511 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21515 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21519 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21522 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21526 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21530 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21532 * sysdeps/unix/common/bits/dirent.h: Remove file.
21533 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21535 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21536 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21537 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21538 * sysdeps/unix/bsd/isatty.c: Likewise.
21539 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21540 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21541 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21543 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21547 long double comparison inaccuracies.
21548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21551 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21553 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21554 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21556 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21560 nonzero digits before rounding a hex value.
21561 * stdlib/tst-strtod.c (tests): Add another test.
21563 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21565 * sysdeps/s390/fpu/libm-test-ulps: Update.
21567 2012-05-03 Andreas Jaeger <aj@suse.de>
21569 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21570 does not get optimized out.
21571 (malloc_opt_barrier): New.
21573 2012-05-03 Andreas Jaeger <aj@suse.de>
21574 Roland McGrath <roland@hack.frob.com>
21576 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21577 intermediate file deletion.
21578 (generated): Add .symlist files.
21580 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21583 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21584 Redirect under this condition.
21585 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21586 [__USE_GNU] (__dprintf_chk): Not under this condition.
21587 [__USE_GNU] (__vdprintf_chk): Likewise.
21588 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21589 under this condition.
21590 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21591 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21592 [__USE_XOPEN2K8] (vdprintf): Likewise.
21593 [__USE_GNU] (__dprintf_chk): Not under this condition.
21594 [__USE_GNU] (__vdprintf_chk): Likewise.
21595 [__USE_GNU] (dprintf): Likewise.
21596 [__USE_GNU] (vdprintf): Likewise.
21598 2012-05-03 Roland McGrath <roland@hack.frob.com>
21600 * elf/Makefile (common-generated): Set this instead of generated for
21601 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21602 $(all-built-dso)-derived lists.
21604 2012-05-03 Andreas Jaeger <aj@suse.de>
21606 * sysdeps/i386/fpu/libm-test-ulps: Update.
21609 * FAQ.in: Likewise.
21610 * scripts/gen-FAQ.pl: Likewise.
21611 * manual/install.texi (Installation): Point to online location of
21613 * Makefile (files-for-dist): Remove FAQ.
21616 2012-05-02 Allan McRae <allan@archlinux.org>
21618 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21619 (LDFLAGS-reldepmod5.so): Likewise.
21620 (LDFLAGS-reldep6mod1.so): Likewise.
21621 (LDFLAGS-reldep6mod4.so): Likewise.
21622 (LDFLAGS-reldep8mod3.so): Likewise.
21623 (LDFLAGS-unload4mod1.so): Likewise.
21624 (LDFLAGS-unload4mod2.so): Likewise.
21625 (LDFLAGS-tst-initorder): Likewise.
21626 (LDFLAGS-tst-initordera2.so): Likewise.
21627 (LDFLAGS-tst-initordera3.so): Likewise.
21628 (LDFLAGS-tst-initordera4.so): Likewise.
21629 (LDFLAGS-tst-initorderb2.so): Likewise.
21630 (LDFLAGS-noload): Likewise.
21631 (LDFLAGS-next): Likewise.
21632 (LDFLAGS-order2mod1.so): Likewise.
21633 (LDFLAGS-order2mod2.so): Likewise.
21634 (LDFLAGS-tst-initorder2): Likewise.
21635 (LDFLAGS-tst-initorder2a.so): Likewise.
21636 (LDFLAGS-tst-initorder2b.so): Likewise.
21637 (LDFLAGS-tst-initorder2c.so): Likewise.
21638 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21640 2012-05-02 David S. Miller <davem@davemloft.net>
21642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21644 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21647 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21649 2012-05-02 Andreas Jaeger <aj@suse.de>
21651 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21652 since we manipulate rounding mode.
21653 (CPPFLAGS-test-idouble.c): Likewise.
21654 (CPPFLAGS-test-ifloat.c): Likewise.
21655 (CFLAGS-test-ldouble.c): Likewise.
21656 (CFLAGS-test-double.c): Likewise.
21657 (CFLAGS-test-float.c): Likewise.
21658 (CFLAGS-test-misc.c): Likewise.
21659 (CFLAGS-test-test-fenv.c): Likewise.
21661 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21666 comparisons to determine direction to adjust input.
21668 2012-05-01 Roland McGrath <roland@hack.frob.com>
21670 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21671 output to the target.
21673 * scripts/localplt.awk: New file.
21674 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21675 (check-localplt-CFLAGS): Variable removed.
21676 ($(all-built-dso:=.jmprel)): New static pattern rule.
21677 (generated): Add those targets.
21678 (localplt-built-dso): New variable.
21679 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21681 * elf/check-localplt.c: File removed.
21683 * scripts/check-execstack.awk: New file.
21684 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21685 (check-execstack-CFLAGS): Variable removed.
21686 ($(objpfx)check-execstack.h): Target removed.
21687 ($(objpfx)execstack-default): New target.
21688 (generated): Add that instead of check-execstack.h.
21689 ($(all-built-dso:=.phdr)): New static pattern rule.
21690 (generated): Add those targets.
21691 * elf/check-execstack.c: File removed.
21693 * scripts/check-textrel.awk: New file.
21694 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21695 (check-textrel-CFLAGS): Variable removed.
21696 (all-built-dso): Use := to define.o
21697 ($(all-built-dso:=.dyn)): New static pattern rule.
21698 (generated): Add those targets.
21699 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21700 * config.make.in (READELF): New substituted variable.
21701 * elf/check-textrel.c: File removed.
21703 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21705 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21707 * conform/data/ctype.h-data [C99-based standards] (isblank):
21709 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21710 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21712 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21713 Specify type. Require positive value.
21714 (EILSEQ): Likewise.
21715 (ERANGE): Likewise.
21716 [ISO || POSIX] (EILSEQ): Do not expect.
21717 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21718 Specify type. Require positive value.
21719 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21720 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21721 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21722 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21723 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21724 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21725 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21726 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21727 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21728 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21729 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21730 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21731 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21732 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21733 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21734 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21735 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21736 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21737 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21738 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21739 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21744 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21745 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21746 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21747 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21748 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21749 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21750 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21751 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21752 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21753 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21754 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21755 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21756 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21757 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21758 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21759 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21760 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21761 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21762 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21763 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21764 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21765 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21766 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21767 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21768 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21769 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21770 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21771 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21772 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21773 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21774 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21775 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21776 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21777 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21778 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21779 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21780 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21781 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21782 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21783 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21784 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21785 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21786 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21787 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21788 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21789 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21790 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21791 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21792 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21793 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21794 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21795 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21797 (FLT_ROUNDS): Expect as macro, not constant.
21798 (FLT_MANT_DIG): Use macro-int-constant.
21799 (DBL_MANT_DIG): Likewise.
21800 (LDBL_MANT_DIG): Likewise.
21801 (FLT_DIG): Likewise.
21802 (DBL_DIG): Likewise.
21803 (LDBL_DIG): Likewise.
21804 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21805 (DBL_MIN_EXP): Likewise.
21806 (LDBL_MIN_EXP): Likewise.
21807 (FLT_MAX_EXP): Use macro-int-constant.
21808 (DBL_MAX_EXP): Likewise.
21809 (LDBL_MAX_EXP): Likewise.
21810 (FLT_MAX_10_EXP): Likewise.
21811 (DBL_MAX_10_EXP): Likewise.
21812 (LDBL_MAX_10_EXP): Likewise.
21813 (FLT_MAX): Use macro-constant.
21814 (DBL_MAX): Likewise.
21815 (LDBL_MAX): Likewise.
21816 (FLT_EPSILON): Use macro-constant. Give upper bound.
21817 (DBL_EPSILON): Likewise.
21818 (LDBL_EPSILON): Likewise.
21819 (FLT_MIN): Likewise.
21820 (DBL_MIN): Likewise.
21821 (LDBL_MIN): Likewise.
21822 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21823 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21824 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21825 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21826 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21827 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21828 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21829 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21830 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21831 [ISO11] (FLT_TRUE_MIN): Likewise.
21832 [ISO11] (LDBL_TRUE_MIN): Likewise.
21833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21834 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21835 (SCHAR_MIN): Use macro-int-constant. Specify type.
21836 (SCHAR_MAX): Likewise.
21837 (UCHAR_MAX): Likewise.
21838 (CHAR_MIN): Likewise.
21839 (CHAR_MAX): Likewise.
21840 (MB_LEN_MAX): Use macro-int-constant.
21841 (SHRT_MIN): Use macro-int-constant. Specify type.
21842 (SHRT_MAX): Likewise.
21843 (USHRT_MAX): Likewise.
21844 (INT_MAX): Likewise.
21845 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21847 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21849 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21851 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21852 bound negative. Suffix upper bound with "L".
21853 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21855 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21857 [C99-based standards] (LLONG_MAX): Likewise.
21858 [C99-based standards] (ULLONG_MAX): Likewise.
21859 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21861 [ISO11] (max_align_t): Require type.
21862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21864 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21865 from $CFLAGS, without defining away __attribute__ calls.
21866 (checknamespace): Use $CFLAGS_namespace.
21868 * conform/conformtest.pl (@keywords): Only include C99 keywords
21869 for standards based on C99 or C11.
21871 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21873 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21876 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21877 usability of symbols in #if.
21879 * conform/conformtest.pl: If macro or constant types start
21880 "promoted:", expect the symbol to be of the following type
21881 promoted by the integer promotions.
21883 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21884 in one place. Also handle "macro-constant".
21886 * conform/conformtest.pl: Only accept expected macro values with
21887 "==". Parse all "macro" lines in one place.
21888 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21890 * conform/conformtest.pl: Handle braced types on "constant" lines
21891 instead of handling "typed-constant".
21892 * conform/data/signal.h-data: Use "constant" instead of
21895 * conform/conformtest.pl: Handle "optional-" at start of lines in
21896 one place rather than duplicating several cases. Handle each
21897 format of "macro" line with initial "optional-".
21899 * conform/conformtest.pl: Only accept expected constant or
21900 optional-constant values with "==". Parse all "constant" lines in
21901 one place. Parse all "optional-constant" lines in one place.
21902 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21903 * conform/data/fmtmsg.h-data: Likewise.
21904 * conform/data/netinet/in.h-data: Likewise.
21905 * conform/data/tar.h-data: Likewise.
21906 * conform/data/limits.h-data: Use "==" form on "constant" and
21907 "optional-constant" lines.
21909 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21910 Use -std=c99 for XOPEN2K.
21911 (@knownproblems): Remove.
21912 (newtoken): Don't check %isknown.
21914 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21915 Do not expect macro.
21916 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21917 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21918 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21919 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21920 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21921 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21922 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21923 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21924 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21925 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21926 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21927 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21928 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21929 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21930 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21931 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21932 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21933 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21934 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21935 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21936 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21937 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21939 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21940 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21941 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21942 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21943 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21944 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21945 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21946 [XPG3] (acosh): Likewise.
21947 [XPG3] (asinh): Likewise.
21948 [XPG3] (atanh): Likewise.
21949 [XPG3] (cbrt): Likewise.
21950 [XPG3] (expm1): Likewise.
21951 [XPG3] (ilogb): Likewise.
21952 [XPG3] (log1p): Likewise.
21953 [XPG3] (logb): Likewise.
21954 [XPG3] (nextafter): Likewise.
21955 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21956 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21957 [XPG3] (remainder): Likewise.
21958 [XPG3] (rint): Likewise.
21959 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21960 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21961 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21962 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21963 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21964 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21965 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21966 [UNIX98 || XOPEN2K] (scalb): Expect.
21967 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21968 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21969 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21970 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21971 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21972 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21973 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21974 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21975 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21976 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21977 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21978 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21979 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21980 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21981 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21982 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21983 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21984 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21985 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21986 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21987 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21988 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21989 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21990 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21991 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21992 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21993 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21994 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21995 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21996 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21997 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21998 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21999 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22000 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22001 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22002 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22003 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22004 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22005 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22006 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22007 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22008 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22009 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22010 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22011 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22012 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22013 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22014 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22015 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22016 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22017 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22018 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22019 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22020 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22021 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22022 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22023 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22024 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22025 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22026 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22027 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22028 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22029 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22030 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22031 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22032 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22033 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22034 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22035 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22036 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22037 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22038 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22039 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22040 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22041 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22042 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22043 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22044 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22045 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22046 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22047 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22048 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22049 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22050 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22051 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22052 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22053 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22054 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22055 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22057 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22058 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22059 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22060 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22061 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22062 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22063 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22064 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22065 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22066 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22067 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22068 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22075 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22076 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22080 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22081 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22084 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22085 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22086 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22087 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22088 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22089 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22090 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22091 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22092 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22093 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22094 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22095 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22096 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22097 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22098 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22099 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22100 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22101 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22102 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22103 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22105 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22106 _XOPEN_SOURCE_EXTENDED for XPG4.
22108 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22110 * Makeconfig (localtime): Remove variable.
22111 (inst_localtime-file): Likewise.
22113 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22134 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22138 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22139 comparisons to determine direction to adjust input.
22140 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22141 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22142 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22146 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22148 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22149 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22151 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22153 * math/libm-test.inc (nexttoward_test): Add more tests.
22155 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22159 in version GLIBC_2.1, not GLIBC_2.0.
22160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22163 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22166 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22169 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22170 * math/libm-test.inc (acos_test): Add more tests.
22171 (asin_test): Likewise.
22172 * sysdeps/i386/fpu/libm-test-ulps: Update.
22173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22176 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22178 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22179 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22180 * math/libm-test.inc (acos_test_tonearest): New function.
22181 (acos_test_towardzero): Likewise.
22182 (acos_test_downward): Likewise.
22183 (acos_test_upward): Likewise.
22184 (asin_test_tonearest): Likewise.
22185 (asin_test_towardzero): Likewise.
22186 (asin_test_downward): Likewise.
22187 (asin_test_upward): Likewise.
22188 (main): Call the new functions.
22189 * sysdeps/i386/fpu/libm-test-ulps: Update.
22190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22194 * math/e_exp10.c: Include <float.h>.
22195 (__ieee754_exp10): Handle underflow here rather than multiplying
22196 large negative argument by M_LN10.
22197 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22199 * math/e_exp10l.c: Include <float.h>.
22200 (__ieee754_exp10l): Handle underflow here rather than multiplying
22201 large negative argument by M_LN10l.
22202 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22203 spurious overflow exception on underflow.
22205 2012-04-29 Marek Polacek <polacek@redhat.com>
22207 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22208 (__fortify_function): New macro.
22209 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22210 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22211 __extern_always_inline.
22212 * libio/bits/stdio2.h: Likewise.
22213 * libio/bits/stdio.h: Likewise.
22214 * string/string.h: Likewise.
22215 * string/bits/string3.h: Likewise.
22216 * include/stdio.h: Likewise.
22217 * stdlib/bits/stdlib.h: Likewise.
22218 * stdlib/stdlib.h: Likewise.
22219 * rt/bits/mqueue2.h: Likewise.
22220 * rt/mqueue.h: Likewise.
22221 * posix/bits/unistd.h: Likewise.
22222 * posix/unistd.h: Likewise.
22223 * io/bits/poll2.h: Likewise.
22224 * io/bits/fcntl2.h: Likewise.
22225 * io/fcntl.h: Likewise.
22226 * io/sys/poll.h: Likewise.
22227 * misc/bits/syslog.h: Likewise.
22228 * misc/bits/syslog-ldbl.h: Likewise.
22229 * misc/sys/syslog.h: Likewise.
22230 * socket/bits/socket2.h: Likewise.
22231 * socket/sys/socket.h: Likewise.
22232 * debug/tst-chk1.c: Likewise.
22233 * wcsmbs/bits/wchar2.h: Likewise.
22234 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22235 * wcsmbs/wchar.h: Likewise.
22237 2012-04-29 Andreas Jaeger <aj@suse.de>
22239 * Makerules (tests): Remove enable-check-abi protection.
22240 (check-abi-warn): Remove.
22241 (check-abi-%): Remove check-abi-warn usage.
22243 * configure.in: Remove check-abi configure option.
22244 * configure: Regenerated.
22245 * config.make.in (enable-check-abi): Remove.
22247 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22250 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22251 double functions to double *_finite functions.
22254 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22255 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22257 * stdio-common/Makefile (tests): Add tst-sprintf3.
22258 * stdio-common/tst-sprintf3.c: New file.
22260 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22261 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22263 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22265 * conform/conformtest.pl: Remove duplicate typed-constant
22268 2012-04-28 David S. Miller <davem@davemloft.net>
22270 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22271 (check-abi-%): Remove AWK script prerequisite and explicit
22273 (check-abi): Rewrite to just diff the symlist with the abilist.
22274 (config-tls, config-abi-config): Delete, no longer used.
22275 (update-abi-%): Remove AWK script and explicit abilist directory.
22276 (update-abi): Rewrite to simply compare and conditionally copy the
22277 symlist and the sysdep abilist file. Remove update-abi-config
22279 * abilist/ld.abilist: Remove.
22280 * abilist/libBrokenLocale.abilist: Remove.
22281 * abilist/libanl.abilist: Remove.
22282 * abilist/libcrypt.abilist: Remove.
22283 * abilist/libdl.abilist: Remove.
22284 * abilist/librt.abilist: Remove.
22285 * abilist/libthread_db.abilist: Remove.
22286 * abilist/libutil.abilist: Remove.
22287 * scripts/extract-abilist.awk: Remove.
22288 * scripts/merge-abilist.awk: Remove.
22289 * sysdeps/generic/libcidn.abilist: New file.
22290 * sysdeps/generic/libnss_compat.abilist: New file.
22291 * sysdeps/generic/libnss_db.abilist: New file.
22292 * sysdeps/generic/libnss_dns.abilist: New file.
22293 * sysdeps/generic/libnss_files.abilist: New file.
22294 * sysdeps/generic/libnss_hesiod.abilist: New file.
22295 * sysdeps/generic/libnss_nis.abilist: New file.
22296 * sysdeps/generic/libnss_nisplus.abilist: New file.
22297 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22298 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22299 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22302 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22303 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22304 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22305 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22306 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22307 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22308 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22309 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22311 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22312 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22313 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22314 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22316 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22317 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22318 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22319 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22320 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22321 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22323 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22324 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22325 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22327 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22430 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22431 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22432 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22435 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22436 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22437 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22438 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22439 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22440 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22441 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22442 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22443 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22495 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22497 * conform/conformtest.pl: Fix typo in handling typed-constant from
22500 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22502 * README: Cut down references to pre-2.6 Linux kernels and
22503 Linuxthreads. Update lists of configurations in libc and ports
22504 and sort alphabetically. Say "or newer" with Linux kernel version
22507 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22509 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22512 * math/libm-test.inc (logb_test_downward): New test to expose
22513 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22516 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22519 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22521 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22522 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22524 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/unix/i386/brk.S: Remove file.
22527 * sysdeps/unix/i386/dl-brk.S: Likewise.
22528 * sysdeps/unix/i386/pipe.S: Likewise.
22529 * sysdeps/unix/i386/sigreturn.S: Likewise.
22530 * sysdeps/unix/i386/syscall.S: Likewise.
22531 * sysdeps/unix/i386/vfork.S: Likewise.
22532 * sysdeps/unix/i386/wait.S: Likewise.
22534 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22535 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22537 * configure.in (arm*-none*): Do not allow without
22538 --enable-hacker-mode.
22539 (netbsd*): Remove case setting base_os.
22540 (386bsd*): Likewise.
22541 (freebsd*): Likewise.
22544 (sunos*): Likewise.
22545 (ultrix*): Likewise.
22546 (newsos*): Likewise.
22547 (dynix*): Likewise.
22553 (minix*): Likewise.
22554 (irix4*): Likewise.
22555 (irix6*): Likewise.
22556 (solaris[2-9]*): Likewise.
22558 * configure: Regenerated.
22560 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22563 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22564 overflow or cancellation in calculating denominator.
22565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22567 down expression to avoid unexpected rounding in newer GCCs.
22568 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22570 2012-04-26 David S. Miller <davem@davemloft.net>
22572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22573 long-double compat symbols.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22588 2012-04-25 David S. Miller <davem@davemloft.net>
22590 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22591 HWCAP_* values only after the memory barriers have been defined.
22592 (atomic_full_barrier): Define.
22593 (atomic_read_barrier): Define.
22594 (atomic_write_barrier): Define.
22596 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22598 * shlib-versions: Add libgcc_s version information.
22599 * sysdeps/generic/libgcc_s.h: Remove.
22600 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22602 * sysdeps/gnu/unwind-resume.c: Likewise.
22603 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22605 2012-04-25 David S. Miller <davem@davemloft.net>
22607 * sysdeps/unix/sparc/brk.S: Delete.
22608 * sysdeps/unix/sparc/dl-brk.S: Delete.
22609 * sysdeps/unix/sparc/pipe.S: Delete.
22610 * sysdeps/unix/sparc/sysdep.S: Delete.
22611 * sysdeps/unix/sparc/sysdep.h: Delete.
22612 * sysdeps/unix/sparc/vfork.S: Delete.
22613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22614 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22616 ret_ERRVAL, r0, r1, MOVE): Define.
22617 (JUMPTARGET): Remove.
22618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22619 sysdeps/unix/sparc/sysdep.h
22620 (ENTRY, END): Remove.
22621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22623 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22625 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22626 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22629 * timezone/README: Update upstream location and email address for
22631 * timezone/zdump.c: Update from tzcode 2012b.
22632 * timezone/zic.c: Likewise.
22634 * configure.in (libc_cv_as_needed): Remove test.
22635 * configure: Regenerated.
22636 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22637 conditional definition.
22638 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22639 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22640 * config.make.in (have-as-needed): Remove variable.
22642 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22643 Paul Pluzhnikov <ppluzhnikov@google.com>
22645 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22648 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22650 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22651 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22652 * sysdeps/sh/strlen.S: Likewise.
22654 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22656 * sysdeps/unix/fork.S: Remove file.
22657 * sysdeps/unix/i386/fork.S: Likewise.
22658 * sysdeps/unix/sparc/fork.S: Likewise.
22660 * sysdeps/unix/system.c: Remove file.
22661 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22663 * sysdeps/unix/getegid.S: Remove file.
22664 * sysdeps/unix/geteuid.S: Likewise.
22666 2012-04-24 Roland McGrath <roland@hack.frob.com>
22668 * scripts/check-localplt.awk: New file.
22669 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22671 * scripts/data/localplt-generic.data: Add a comment.
22673 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22674 NODE when __dir_mkfile failed.
22675 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22676 Reported by Ludovic Courtès <ludo@gnu.org>.
22678 2012-04-24 Andreas Jaeger <aj@suse.de>
22680 * Makerules (common-clean): Also remove gen-as-const-headers
22683 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22685 * Makerules (native-compile): Do not change working directory for
22686 build. Use $(OUTPUT_OPTION) in command.
22687 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22689 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22692 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22693 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22694 * math/libm-test.inc (floor_test): Add more tests.
22695 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22697 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22699 * sysdeps/unix/getdents.c: Remove file.
22700 * sysdeps/unix/sysv/getdents.c: Likewise.
22701 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22703 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22704 sysdeps/unix/mman/syscalls.list.
22706 (mprotect): Likewise.
22708 (munmap): Likewise.
22709 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22710 * sysdeps/unix/mman/syscalls.list: Remove.
22711 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22713 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22714 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22715 * configure: Regenerated.
22716 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22717 $(libgcc_s_suffix).
22718 * config.make.in (libgcc_s_suffix): Remove variable.
22720 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22722 * sysdeps/unix/sysv/gethostname.c: Move to ...
22723 * sysdeps/posix/gethostname.c: ... here.
22725 * sysdeps/unix/execve.S: Remove file.
22727 * sysdeps/unix/_exit.S: Remove file.
22729 2012-04-23 Andreas Jaeger <aj@suse.de>
22732 * manual/Makefile: Remove make dist support, there's no
22733 need for a stand-alone documentation tar ball.
22734 (TEXI2DVI): Define always, it's not in Makeconfig.
22737 (edition): Removed.
22738 (glibc-doc-$(edition).tar): Removed
22742 (ETAGS): Remove, it's in Makeconfig.
22743 (move-if-change): Remove, it's in Makeconfig.
22745 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22748 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22749 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22750 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22751 (strtod_l, strtof_l, strtold_l): Remove __wur.
22752 It is not necessarily an error to ignore strtol's return value.
22753 One can reliably look at the stored endptr to decide whether
22754 the number had valid syntax.
22756 2012-04-21 Andreas Jaeger <aj@suse.de>
22759 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22761 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22764 * sysdeps/unix/sysv/Versions: Remove file.
22766 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22771 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22775 version from __vm86.
22777 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22779 * sysdeps/unix/common/lxstat.c: Remove file.
22780 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22782 * sysdeps/unix/sysv/Makefile: Remove file.
22784 * sysdeps/unix/sysv/direct.h: Remove file.
22786 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22787 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22788 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22789 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22790 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22791 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22792 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22794 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22796 * sysdeps/unix/xmknod.c: Remove file.
22797 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22799 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22801 * sysdeps/unix/sysv/i386/time.S: Remove file.
22803 * sysdeps/unix/fxstat.c: Remove file.
22804 * sysdeps/unix/xstat.c: Likewise.
22805 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22807 * sysdeps/unix/sysv/sigaction.c: Remove file.
22809 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22810 (sysdep_headers): Remove variable.
22811 [termio.h not in sysdep_headers] (generated): Likewise.
22812 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22813 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22814 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22815 * sysdeps/unix/sysv/tcflow.c: Likewise.
22816 * sysdeps/unix/sysv/tcflush.c: Likewise.
22817 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22818 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22819 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22820 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22821 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22823 * sysdeps/unix/siglist.c: Remove file.
22825 * sysdeps/unix/getppid.S: Remove file.
22827 * sysdeps/unix/mkdir.c: Remove file.
22828 * sysdeps/unix/rmdir.c: Likewise.
22830 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22832 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22834 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22835 errlist-compat value.
22837 2012-04-18 David S. Miller <davem@davemloft.net>
22839 * sysdeps/generic/memcopy.h (reg_char): Delete.
22840 * debug/strcat_chk.c: Use char, not reg_char.
22841 * debug/strcpy_chk.c: Likewise.
22842 * debug/strncat_chk.c: Likewise.
22843 * debug/strncpy_chk.c: Likewise.
22844 * string/memchr.c: Likewise.
22845 * string/memrchr.c: Likewise.
22846 * string/rawmemchr.c: Likewise.
22847 * string/strcat.c: Likewise.
22848 * string/strchr.c: Likewise.
22849 * string/strchrnul.c: Likewise.
22850 * string/strcmp.c: Likewise.
22851 * string/strcpy.c: Likewise.
22852 * string/strncat.c: Likewise.
22853 * string/strncmp.c: Likewise.
22854 * string/strncpy.c: Likewise.
22856 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22858 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22859 __builtin_memcopy is called when src and dest ranges are known to not
22862 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22864 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22865 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22866 fwd_align_merge macro call.
22867 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22868 bwd_align_merge macro call.
22869 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22871 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22873 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22874 bwd_align_merge macros.
22875 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22876 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22879 2012-04-18 David S. Miller <davem@davemloft.net>
22881 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22883 2012-04-18 Andreas Jaeger <aj@suse.de>
22886 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22887 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22888 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22890 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22891 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22892 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22894 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22895 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22896 Adjust for changed ldbl-128 files.
22898 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22899 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22900 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22902 2012-04-17 David S. Miller <davem@davemloft.net>
22904 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22906 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22908 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22909 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22910 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22911 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22912 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22913 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22915 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22918 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22919 * math/libm-test.inc: Add ilogb errno and exception tests.
22920 * math/w_ilogb.c: New file: ilogb wrapper.
22921 * math/w_ilogbf.c: New file: ilogbf wrapper.
22922 * math/w_ilogbl.c: New file: ilogbl wrapper.
22923 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22924 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22925 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22926 exception being thrown with 0.0 as argument.
22927 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22928 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22929 exception being thrown with 0.0 as argument.
22930 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22931 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22932 exception being thrown with 0.0 as argument.
22933 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22934 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22935 exception being thrown with 0.0 as argument.
22936 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22937 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22938 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22939 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22940 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22941 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22942 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22943 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22944 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22946 2012-04-17 Petr Baudis <pasky@ucw.cz>
22948 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22951 2012-04-16 Marek Polacek <polacek@redhat.com>
22953 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22955 2012-04-16 Marek Polacek <polacek@redhat.com>
22957 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22958 operands of fdivp instruction.
22960 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22962 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22963 * elf/tst-auditmod3b.c: Likewise.
22964 * elf/tst-auditmod4b.c: Likewise.
22965 * elf/tst-auditmod5b.c: Likewise.
22966 * elf/tst-auditmod6b.c: Likewise.
22967 * elf/tst-auditmod6c.c: Likewise.
22968 * elf/tst-auditmod7b.c: Likewise.
22969 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22970 * sysdeps/x86_64/preconfigure.in: Likewise.
22971 * sysdeps/x86_64/preconfigure: Regenerated.
22973 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22975 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22978 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22981 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22983 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22986 * locale/iso-639.def: Fix gl language name. Spotted by
22989 2012-04-12 Roland McGrath <roland@hack.frob.com>
22992 * libio/libio.h (__io_write_fn): Update comment.
22994 2012-04-12 Petr Baudis <pasky@ucw.cz>
22997 * stdio.texi (Hook Functions): The user provided writer function
22998 is not allowed to return -1.
23000 2012-04-11 David S. Miller <davem@davemloft.net>
23002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23004 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23006 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23007 Add a leading slash to rtkaio.
23009 2012-04-11 Jim Meyering <meyering@redhat.com>
23012 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23013 It is not necessarily an error to ignore fwrite's return
23014 value. One can reliably use ferror to test for errors after
23017 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23019 * bits/types.h (__snseconds_t): New type.
23020 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23022 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23024 (__SNSECONDS_T_TYPE): Likewise.
23025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23026 (__SNSECONDS_T_TYPE): Likewise.
23027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23028 (__SNSECONDS_T_TYPE): Likewise.
23030 2012-04-10 Andreas Jaeger <aj@suse.de>
23033 * manual/time.texi (Processor Time): Return type of times is
23034 elapsed real time since an arbitrary point in the past.
23035 (CPU Time): Move CLK_TCK from here...
23036 (Processor Time): ...to here. Correct description.
23037 * manual/conf.texi (Constants for Sysconf): Correct description of
23040 2012-04-10 David S. Miller <davem@davemloft.net>
23043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23044 where the is a gap between DT_REL(A) and DT_JMPREL.
23046 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23048 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23049 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23050 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23052 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23054 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23055 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23056 (dl_main): Handle --inhibit-cache.
23057 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23059 * elf/dl-load.c (_dl_map_object): Use it.
23060 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23062 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23065 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23066 (__ieee754_powl): Saturate large exponents rather than testing for
23067 overflow of y*log2(x).
23068 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23069 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23073 * math/s_ctan.c: Include <float.h>.
23074 (__ctan): Avoid internal overflow or cancellation in calculating
23076 * math/s_ctanf.c: Likewise.
23077 * math/s_ctanl.c: Likewise.
23078 * math/s_ctanh.c: Likewise.
23079 * math/s_ctanhf.c: Likewise.
23080 * math/s_ctanhl.c: Likewise.
23081 * math/libm-test.inc (ctan_test): Add more tests.
23082 (ctanh_test): Likewise.
23083 * sysdeps/i386/fpu/libm-test-ulps: Update.
23084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23086 2012-04-09 Andreas Jaeger <aj@suse.de>
23089 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23090 is an optional BSD extension.
23093 * manual/stdio.texi (Opening Streams): Document additional fopen
23096 2012-04-09 Roland McGrath <roland@hack.frob.com>
23098 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23099 %eax without telling the compiler.
23101 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23104 * manual/install.texi: Use sourceware.org.
23106 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23109 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23110 (__ieee754_pow): Generate overflow and underflow using huge*huge
23111 and tiny*tiny rather than just returning constant infinity or zero
23112 for large exponents.
23113 * math/libm-test.inc (pow_test): Require overflow exceptions for
23114 applicable cases of large exponents.
23117 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23118 (__ieee754_pow): Use iterative multiplication algorithm only for
23119 integer exponents with absolute value below 1024. Check for odd
23120 integer exponents when using algorithm for real exponents.
23121 * math/libm-test.inc (pow_test): Add more tests.
23122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23124 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23127 * math/libm-test.inc (exp_test): Do not allow overflow exception
23130 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23133 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23134 instead of __kernel_standard_f.
23136 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23138 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23139 * sysdeps/x86_64/memset_chk.S: Likewise.
23141 2012-04-08 Andreas Jaeger <aj@suse.de>
23144 * manual/startup.texi (Environment Access): Describe return value
23145 for putenv and setenv.
23148 * manual/filesys.texi (Directory Entries): Add description for
23152 * manual/filesys.texi (Directory Entries): Clarify that it's file
23153 system not operating system in the description of DT_UNKNOWN.
23156 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23158 2012-04-08 Stephen Compall <s11@member.fsf.org>
23161 * manual/llio.texi (Opening and Closing Files): Add cross
23162 reference to explain mode argument.
23164 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23166 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23167 * sysdeps/x86_64/memset_chk.S: Likewise.
23169 2012-04-07 David S. Miller <davem@davemloft.net>
23171 * elf/elf.h (R_SPARC_WDISP10): Define.
23172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23174 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23175 R_SPARC_SIZE64 and R_SPARC_H34.
23177 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23180 conditions and remove no longer applicable assertion.
23182 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23184 * bits/byteswap.h: Include <features.h>.
23185 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23186 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23188 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23190 * bits/byteswap.h (__bswap_16): Removed.
23191 Include <bits/byteswap-16.h> to get __bswap_16.
23192 * sysdeps/i386/bits/byteswap.h: Likewise.
23193 * sysdeps/s390/bits/byteswap.h: Likewise.
23194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23195 * bits/byteswap-16.h: New file.
23196 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23197 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23198 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23199 * string/Makefile (headers): Add bits/byteswap-16.h.
23201 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23204 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23206 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23207 * nss/tst-nss-static.c: New.
23209 2012-04-06 Robert Millan <rmh@gnu.org>
23212 * manual/llio.texi (File Position Primitive): lseek
23213 refers to WHENCE when it really means OFFSET.
23215 2012-04-06 Andreas Jaeger <aj@suse.de>
23217 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23218 strncmp declarations.
23220 * abilist/libc.abilist: Add __poll and __ppoll.
23222 2012-04-05 David S. Miller <davem@davemloft.net>
23224 * scripts/check-local-headers.sh: Accept a host triplet in the
23225 path matched by the exclude regexp.
23227 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23229 * sysdeps/powerpc/powerpc32/dl-machine.h
23230 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23231 * sysdeps/s390/s390-32/dl-machine.h
23232 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23233 * sysdeps/sparc/sparc32/dl-machine.h
23234 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23235 * sysdeps/sparc/sparc64/dl-machine.h
23236 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23238 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23240 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23241 undefined symbol errors.
23243 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23246 2012-04-05 Michael Matz <matz@suse.de>
23249 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23251 2012-04-05 Andreas Jaeger <aj@suse.de>
23254 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23259 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23260 which ROUND is no valid rounding mode.
23262 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23264 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23266 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23268 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23270 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23271 an exception using FPU order intentionally.
23273 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23275 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23276 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23277 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23278 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23280 2012-04-05 Simon Josefsson <simon@josefsson.org>
23283 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23284 EINVAL when BUFLEN is too smal.
23286 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23289 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23290 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23292 2012-04-03 Andreas Jaeger <aj@suse.de>
23295 * manual/setjmp.texi (System V contexts): Fix sentence.
23298 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23299 New macro for this case.
23300 [!__GNUC__] (__bswap_64): New inline function for this case.
23301 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23302 * bits/byteswap.h: Likewise.
23303 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23304 ull, guard with __GLIBC_HAVE_LONG_LONG.
23306 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23307 __GLIBC_HAVE_LONG_LONG.
23309 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23310 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23312 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23315 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23316 inptr and inend, rather than using last_ch.
23318 2012-04-02 David S. Miller <davem@davemloft.net>
23320 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23321 * stdio-common/printf-parse.h (read_int): Change return type to
23322 'int', return -1 on INT_MAX overflow.
23323 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23324 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23325 overflows INT_MAX. Check for overflow of in-format-string precision
23326 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23327 SIZE_MAX not INT_MAX for integer overflow test.
23328 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23329 skip the construct in the format string but do not record anything.
23330 * stdio-common/bug22.c: Adjust to test both width/prevision
23331 INT_MAX overflow as well as total length INT_MAX overflow. Check
23332 explicitly for proper errno values.
23334 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23336 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23338 * string/test-strcmp.c [! WIDE]: Likewise.
23339 * time/tst-mktime2.c: Likewise for INT_MAX.
23340 * string/test-string.h: #include <sys/param.h> for MIN.
23342 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23343 * sysdeps/i386/init-first.c (init): Likewise.
23344 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23345 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23346 * sysdeps/sh/init-first.c (init): Likewise.
23348 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23350 * po/ru.po: Update from translation team.
23351 * po/vi.po: Likewise.
23353 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23355 * resolv/nss_dns/dns-host.c: Merge copyright years.
23357 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23359 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23360 Optimize memcpy with prefetch if
23361 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23362 src, dst pointers have unequal 16 byte alignments.
23364 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23367 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23368 from a CNAME entry and return the minimum ttl for the query.
23369 (gaih_getanswer_slice): Likewise.
23371 2012-03-30 Jeff Law <law@redhat.com>
23373 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23375 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23376 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23378 * resolv/nss_dns/dns-host.c: Update copyright year.
23380 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23382 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23383 requests to save a system call. Fix check that all bytes are sent.
23385 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23386 comments for sendmmsg.
23388 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23391 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23392 with only 1 character between 0x0041 and 0x01b0.
23393 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23394 * wcsmbs/tst-mbsnrtowcs.c: New file.
23396 2012-03-29 David S. Miller <davem@davemloft.net>
23398 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23399 small copies by hand.
23401 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23404 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23405 _nss_compat_initgroups_dyn): Fall back to malloc/free
23406 for large group memberships.
23408 2012-03-28 David S. Miller <davem@davemloft.net>
23410 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23411 that branches into memcpy.
23412 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23415 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23418 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23419 implementation too.
23420 * sysdeps/sparc/mempcpy.S: New file.
23422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23423 the IFUNC routine in the libc case.
23424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23426 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23427 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23428 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23429 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23430 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23431 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23432 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23433 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23435 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23436 loop to 256 bytes instead of 64 bytes and fix test signedness.
23438 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23439 * sysdeps/sparc/sparc32/Makefile: rather than here...
23440 * sysdeps/sparc/sparc64/Makefile: and here.
23442 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23444 * malloc/mallocbug.c: Avoid warnings about unused variables.
23446 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23449 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23450 in the right place. Discard and retry query if response is
23451 larger than input buffer size.
23453 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23458 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23459 x for large integer exponent.
23460 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23461 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23462 sign of result as needed afterwards.
23463 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23464 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23465 result for underflowing pow the same as for overflow.
23466 (__kernel_standard_l): Handle powl overflow and underflow here
23467 rather than calling __kernel_standard.
23468 * math/libm-test.inc (pow_test): Add more tests.
23483 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23484 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23485 (__kernel_standard_l): New function.
23486 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23488 * math/w_acosl.c (__acosl): Likewise.
23489 * math/w_asinl.c (__asinl): Likewise.
23490 * math/w_atan2l.c (__atan2l): Likewise.
23491 * math/w_atanhl.c (__atanhl): Likewise.
23492 * math/w_coshl.c (__coshl): Likewise.
23493 * math/w_exp10l.c (__exp10l): Likewise.
23494 * math/w_exp2l.c (__exp2l): Likewise.
23495 * math/w_fmodl.c (__fmodl): Likewise.
23496 * math/w_hypotl.c (__hypotl): Likewise.
23497 * math/w_j0l.c (__j0l, __y0l): Likewise.
23498 * math/w_j1l.c (__j1l, __y1l): Likewise.
23499 * math/w_jnl.c (__jnl, __ynl): Likewise.
23500 * math/w_lgammal.c (__lgammal): Likewise.
23501 * math/w_log10l.c (__log10l): Likewise.
23502 * math/w_log2l.c (__log2l): Likewise.
23503 * math/w_logl.c (__logl): Likewise.
23504 * math/w_powl.c (__powl): Likewise.
23505 * math/w_remainderl.c (__remainderl): Likewise.
23506 * math/w_scalbl.c (sysv_scalbl): Likewise.
23507 * math/w_sinhl.c (__sinhl): Likewise.
23508 * math/w_sqrtl.c (__sqrtl): Likewise.
23509 * math/w_tgammal.c (__tgammal): Likewise.
23510 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23511 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23512 * math/libm-test.inc (acos_test): Add more tests.
23513 (acosh_test): Likewise.
23514 (asin_test): Likewise.
23515 (atanh_test): Likewise.
23516 (exp_test): Likewise.
23517 (exp10_test): Likewise.
23518 (exp2_test): Likewise.
23519 (expm1_test): Likewise.
23520 (lgamma_test): Likewise.
23521 (log_test): Likewise.
23522 (log10_test): Likewise.
23523 (log1p_test): Likewise.
23524 (log2_test): Likewise.
23525 (pow_test): Do not allow some spurious overflow exceptions.
23526 (sqrt_test): Add more tests.
23527 (tgamma_test): Likewise.
23528 (y0_test): Likewise.
23529 (y1_test): Likewise.
23530 (yn_test): Likewise.
23532 2012-03-27 Anton Blanchard <anton@samba.org>
23534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23536 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23537 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23540 2012-03-27 David S. Miller <davem@davemloft.net>
23542 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23544 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23545 have-as-vis3 check.
23547 2012-03-27 Andreas Jaeger <aj@suse.de>
23549 * sysdeps/x86_64/elf/configure.in: Moved to ...
23550 * sysdeps/x86_64/configure.in: ... here.
23551 * sysdeps/x86_64/elf/start.S: Moved to ...
23552 * sysdeps/x86_64/start.S: ... here.
23553 * sysdeps/x86_64/elf/configure: Delete.
23555 * sysdeps/x86_64/configure.in: Merge contents from
23556 sysdeps/i386/configure.in (without i686 check).
23558 * sysdeps/i386/elf/Versions: Merge into ...
23559 * sysdeps/i386/Versions: ... this.
23560 * sysdeps/i386/elf/Versions: Delete file.
23561 * sysdeps/i386/elf/start.S: Moved to ...
23562 * sysdeps/i386/start.S: ...here.
23563 * sysdeps/i386/elf/configure.in: Merge into...
23564 * sysdeps/i386/configure.in: ...here.
23565 * sysdeps/i386/elf/configure.in: Delete file.
23566 * sysdeps/i386/elf/configure: Delete file.
23568 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23569 * debug/backtracesyms.c: ... here.
23570 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23571 * debug/backtracesymsfd.c: ... here.
23572 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23573 * sysdeps/generic/ifunc-sel.h: ... here.
23575 * sysdeps/unix/i386/start.c: Delete file.
23576 * sysdeps/unix/sparc/start.c: Delete file.
23577 * sysdeps/unix/start.c: Delete file.
23579 * sysdeps/sh/elf/configure.in: Moved to ...
23580 * sysdeps/sh/configure.in: ... here.
23581 * sysdeps/sh/elf/start.S: Moved to ...
23582 * sysdeps/sh/start.S: ... here.
23583 * sysdeps/sh/elf/configure: Delete file.
23585 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23586 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23587 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23588 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23589 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23590 * sysdeps/powerpc/powerpc64/start.S: here.
23591 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23592 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23593 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23594 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23595 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23597 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23598 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23599 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23600 * sysdeps/powerpc/powerpc32/start.S: ... here.
23601 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23602 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23603 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23605 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23606 * sysdeps/powerpc/ifunc-sel.h: ... here.
23607 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23608 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23610 * sysdeps/sparc/elf/configure.in: Moved to ...
23611 * sysdeps/sparc/configure.in: ... here.
23612 * sysdeps/sparc/elf/configure: Delete file.
23613 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23614 * sysdeps/sparc/sparc32/start.S: ... here.
23615 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23616 * sysdeps/sparc/sparc64/start.S: ... here.
23617 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23618 * sysdeps/sparc/sparc32/Makefile: ... this.
23619 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23620 * sysdeps/sparc/sparc64/Makefile: ... this.
23622 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23623 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23624 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23625 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23626 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23627 * sysdeps/s390/s390-32/setjmp.S: ... here.
23628 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23629 * sysdeps/s390/s390-32/configure.in: ... here.
23630 * sysdeps/s390/s390-32/elf/configure: Delete file.
23631 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23632 * sysdeps/s390/s390-32/start.S: ... here.
23634 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23635 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23636 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23637 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23638 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23639 * sysdeps/s390/s390-64/setjmp.S: ... here.
23640 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23641 * sysdeps/s390/s390-64/configure.in: ... here
23642 * sysdeps/s390/s390-64/elf/configure: Delete file.
23643 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23644 * sysdeps/s390/s390-64/start.S: ... here.
23645 * sysdeps/s390/s390-64/elf/configure: Delete.
23647 * configure.in: Remove support for elf directories in sysdeps.
23649 * configure: Regenerated.
23650 * sysdeps/i386/configure: Regenerated.
23651 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23652 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23653 * sysdeps/s390/s390-32/configure: Regenerated.
23654 * sysdeps/s390/s390-64/configure: Regenerated.
23655 * sysdeps/sh/configure: Regenerated.
23656 * sysdeps/sparc/configure: Regenerated.
23657 * sysdeps/x86_64/configure: Regenerated.
23659 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23663 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23664 denormal result into account.
23666 2012-03-25 Roland McGrath <roland@hack.frob.com>
23668 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23669 Reported by Allan McRae <allan@archlinux.org>.
23671 2012-03-23 Jeff Law <law@redhat.com>
23673 * nss/getnssent.c (__nss_getent): Fix typo.
23675 2012-03-23 David S. Miller <davem@davemloft.net>
23677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23679 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23681 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23682 to pad to uint64_t for each field.
23683 (dl_tls_index): Replace unsigned long with uint64_t.
23685 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23686 Paul Pluzhnikov <ppluzhnikov@google.com>
23689 * grp/Makefile (otherlibs): Don't set it.
23690 * inet/Makefile (otherlibs): Likewise.
23691 * login/Makefile (otherlibs): Likewise.
23692 * nscd/Makefile (otherlibs): Likewise.
23693 * posix/Makefile (otherlibs): Likewise.
23694 * pwd/Makefile (otherlibs): Likewise.
23695 * rt/Makefile (otherlibs): Likewise.
23696 * sunrpc/Makefile (otherlibs): Likewise.
23697 * nss/Makefile (otherlibs): Likewise.
23698 Add libnss_files to routines and static-only-routines.
23699 ($(objpfx)getent): Remove rule.
23700 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23701 static-only-routines.
23703 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23706 * math/s_cexp.c: Include <float.h>.
23707 (__cexp): Handle exp result overflowing not necessarily
23708 overflowing both real and imaginary parts of result.
23709 * math/s_cexpf.c: Likewise.
23710 * math/s_cexpl.c: Likewise.
23711 * math/libm-test.inc (cexp_test): Add more tests.
23712 * sysdeps/i386/fpu/libm-test-ulps: Update.
23713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23717 * include/link.h (ELFW): New macro.
23718 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23719 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23723 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23726 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23728 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23730 (struct La_x32_retval): Likewise.
23732 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23734 * sysdeps/x86_64/preconfigure.in: New file.
23735 * sysdeps/x86_64/preconfigure: New generated file.
23737 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23740 * math/e_exp2l.c: Include <float.h>.
23741 (__ieee754_exp2l): Handle overflow and underflow cases
23742 separately. Only pass fractional part of argument to
23744 * math/libm-test.inc (exp2_test): Add more tests.
23746 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23747 negating x to take absolute value.
23748 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23750 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23753 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23754 computing low part if x was negated.
23755 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23757 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23759 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23760 la_x32_gnu_pltexit.
23761 (pltexit): Cast int_retval to ptrdiff_t.
23762 * elf/tst-auditmod3b.c: Likewise.
23763 * elf/tst-auditmod4b.c: Likewise.
23764 * elf/tst-auditmod5b.c: Likewise.
23765 * elf/tst-auditmod6b.c: Likewise.
23766 * elf/tst-auditmod6c.c: Likewise.
23767 * elf/tst-auditmod7b.c: Likewise.
23769 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23770 and x32_gnu_pltexit.
23772 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23773 __ELF_NATIVE_CLASS.
23774 (La_x32_regs): New macro.
23775 (La_x32_retval): Likewise.
23776 (la_x32_gnu_pltenter): New function prototype.
23777 (la_x32_gnu_pltexit): Likewise.
23779 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23786 * configure.in (libc_cv_cc_nofma): Check for option to disable
23787 generation of FMA instructions.
23788 * configure: Regenerate.
23789 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23790 * sysdeps/ieee754/dbl-64/Makefile: New file.
23791 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23792 Remove brandred-fma4.
23793 (CFLAGS-brandred-fma4.c): Remove.
23794 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23800 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23802 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23803 LLONG_MAX != LONG_MAX.
23804 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23805 (_fitoa_word): Likewise.
23806 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23807 LLONG_MAX != LONG_MAX.
23808 * stdio-common/_itowa.h: Include <_itoa.h>.
23809 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23810 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23811 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23812 only if not defined.
23813 (_ITOA_WORD_TYPE): Likewise.
23814 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23815 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23817 2012-03-21 David S. Miller <davem@davemloft.net>
23819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23821 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23823 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23824 of x86_64 when setting libc_cv_slibdir, libdir and
23826 * sysdeps/unix/sysv/linux/configure: Regenerated.
23828 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23830 * manual/lang.texi (Old Varargs): Remove section.
23831 (How Variadic): Update menu.
23832 (va_start): Do not mention varargs.h.
23834 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23835 Joseph Myers <joseph@codesourcery.com>
23837 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23839 * configure: Regenerated.
23841 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23843 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23844 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23847 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23850 * Makefile (files-for-dist): Remove NOTES.
23851 (NOTES): Remove rule.
23852 * README: Don't refer to NOTES.
23853 * manual/creature.texi: Don't include macros.texi.
23854 * manual/intro.texi (creature.texi): Remove comment referring to
23857 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23858 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23859 * configure: Regenerated.
23860 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23861 LIBC_TRY_CC_OPTION.
23862 (libc_cv_as_i686): Likewise.
23863 (libc_cv_cc_avx): Likewise.
23864 (libc_cv_cc_sse2avx): Likewise.
23865 (libc_cv_cc_fma4): Likewise.
23866 (libc_cv_cc_novzeroupper): Likewise.
23867 * sysdeps/i386/configure: Regenerated.
23870 * sysdeps/i386/fpu/s_cexp.S: Remove.
23871 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23872 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23873 * math/libm-test.inc (cexp_test): Add more tests.
23874 * sysdeps/i386/fpu/libm-test-ulps: Update.
23875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23877 2012-03-21 Allan McRae <allan@archlinux.org>
23879 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23881 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23884 * math/w_exp2.c: Do not include <float.h>.
23885 (o_threshold, u_threshold): Remove.
23886 (__exp2): Calculate result before checking finiteness and calling
23888 * math/w_exp2f.c: Likewise.
23889 * math/w_exp2l.c: Likewise.
23890 * math/libm-test.inc (exp2_test): Require overflow exception for
23894 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23895 range of signed 64-bit integers before using fistpll. Remove
23896 checks for whether integers fit in mantissa bits.
23897 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23898 the range of signed 32-bit integers before using fistpl. Remove
23899 checks for whether integers fit in mantissa bits.
23900 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23901 (__ieee754_powl): Test for y outside the range of signed 64-bit
23902 integers before using fistpll. Reduce 64-bit values to 63-bit
23904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23905 divide-by-zero is raised for zero to large negative powers.
23906 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23907 (__ieee754_powl): Test for y outside the range of signed 64-bit
23908 integers before using fistpll. Reduce 64-bit values to 63-bit
23910 * math/libm-test.inc (pow_test): Add more tests.
23912 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23914 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23915 <stdio-common/_itoa.h>.
23916 * debug/segfault.c: Likewise.
23917 * elf/dl-cache.c: Likewise.
23918 * elf/dl-minimal.c: Likewise.
23919 * elf/dl-misc.c: Likewise.
23920 * elf/dl-sysdep.c: Likewise.
23921 * elf/dl-version.c: Likewise.
23922 * elf/rtld.c: Likewise.
23923 * hurd/hurdsock.c: Likewise.
23924 * hurd/lookup-retry.c: Likewise.
23925 * malloc/malloc.c: Likewise.
23926 * malloc/mtrace.c: Likewise.
23927 * nscd/nscd_getgr_r.c: Likewise.
23928 * nscd/nscd_getpw_r.c: Likewise.
23929 * nscd/nscd_getserv_r.c: Likewise.
23930 * posix/getopt_init.c: Likewise.
23931 * posix/wordexp.c: Likewise.
23932 * stdio-common/_itoa.c: Likewise.
23933 * stdio-common/printf_fphex.c: Likewise.
23934 * stdio-common/vfprintf.c: Likewise.
23935 * string/_strerror.c: Likewise.
23936 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23937 * sysdeps/i386/i686/hp-timing.h: Likewise.
23938 * sysdeps/mach/_strerror.c: Likewise.
23939 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23940 * sysdeps/mach/hurd/sethostid.c: Likewise.
23941 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23942 * sysdeps/mach/xpg-strerror.c: Likewise.
23943 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23944 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23945 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23946 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23947 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23948 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23950 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23951 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23952 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23953 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23954 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23955 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23956 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23957 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23958 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23959 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23960 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23961 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23962 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23963 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23965 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23967 * stdio-common/_itoa.h: Moved to ...
23968 * sysdeps/generic/_itoa.h: Here.
23970 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23972 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23973 instead of "_itoa.h" and "_itowa.h".
23974 * stdio-common/vfprintf.: Likewise.
23976 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23978 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23980 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23981 (__signbit): Likwise.
23982 (llrintf): Likwise.
23985 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23987 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23990 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23992 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23993 OVERFLOW_EXCEPTION_OK.
23994 * math/libm-test.inc ("Philosophy"): Update comment about
23996 (OVERFLOW_EXCEPTION): Define.
23997 (OVERFLOW_EXCEPTION_OK): Likewise.
23998 (INVALID_EXCEPTION_OK): Renumber.
23999 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24000 (IGNORE_ZERO_INF_SIGN): Likewise.
24001 (test_exceptions): Handle FE_OVERFLOW.
24002 (exp10_test): Expect overflow exceptions.
24003 (exp2_test): Likewise.
24004 (expm1_test): Likewise.
24005 (nextafter_test): Likewise.
24006 (pow_test): Likewise.
24007 (scalbn_test): Likewise.
24008 (scalbln_test): Likewise.
24010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24012 * sysdeps/x86_64/bits/atomic.h
24013 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24015 (atomic_exchange_acq): Likewise.
24016 (__arch_exchange_and_add_body): Likewise.
24017 (__arch_add_body): Likewise.
24018 (atomic_add_negative): Likewise.
24019 (atomic_add_zero): Likewise.
24021 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24023 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24024 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24026 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24028 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24029 Check __x86_64__ instead of __WORDSIZE.
24031 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24033 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24035 2012-03-19 David S. Miller <davem@davemloft.net>
24037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24039 * sysdeps/sparc/fpu/fenv_private.h: New file.
24040 * sysdeps/sparc/fpu/math_private.h: Use it.
24041 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24043 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24044 (libc_feholdexcept_setroundl): Remove.
24045 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24047 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24048 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24052 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24053 int64_t instead of long int.
24054 (INSERT_WORDS64): Likwise.
24056 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24058 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24059 _Unwind_GetCFA return to _Unwind_Ptr first.
24061 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24064 * math/s_clog.c: Include <float.h>.
24065 (__clog): Scale large or subnormal inputs.
24066 * math/s_clogf.c: Likewise.
24067 * math/s_clogl.c: Likewise.
24068 * math/s_clog10.c: Include <float.h>.
24069 (M_LOG10_2): Define.
24070 (__clog10): Scale large or subnormal inputs.
24071 * math/s_clog10f.c: Likewise.
24072 * math/s_clog10l.c: Likewise.
24073 * math/libm-test.inc (clog_test): Add more tests.
24074 (clog10_test): Likewise.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24079 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24081 * math/libm-test.inc (atan2_test): Add another test.
24083 * Makerules (common-objdir-compile): Remove.
24084 * sysdeps/unix/Makefile (config-generated): Do not add
24085 $(unix-generated) to variable.
24086 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24087 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24089 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24091 [generic bits/local_lim.h] (before-compile): Do not append to
24093 [generic bits/local_lim.h] (common-generated): Likewise.
24094 [generic sys/param.h] (before-compile): Do not append to variable.
24095 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24096 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24097 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24098 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24100 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24101 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24102 [generic sys/param.h] ($(addprefix
24103 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24104 [generic sys/param.h] (common-generated): Do not append to
24106 [generic sys/param.h] (sysdep_headers): Likewise.
24107 [generic bits/errno.h] (before-compile): Do not append to
24109 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24111 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24112 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24113 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24114 [generic bits/errno.h] (common-generated): Do not append to
24116 [generic bits/ioctls.h] (before-compile): Do not append to
24118 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24120 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24121 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24122 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24124 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24125 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24126 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24127 [generic bits/ioctls.h] (common-generated): Do not append to
24129 [generic sys/syscall.h] (syscall.h): Remove variable.
24130 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24132 [generic sys/syscall.h] (before-compile): Do not append to
24134 [generic sys/syscall.h] (common-generated): Likewise.
24135 * sysdeps/unix/errnos-tmpl.c: Remove file.
24136 * sysdeps/unix/errnos.awk: Likewise.
24137 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24138 * sysdeps/unix/ioctls.awk: Likewise.
24139 * sysdeps/unix/mk-local_lim.c: Likewise.
24140 * sysdeps/unix/snarf-ioctls: Likewise.
24142 2012-03-19 Richard Henderson <rth@twiddle.net>
24144 * sysdeps/i386/fpu/fenv_private.h: New file.
24145 * sysdeps/i386/fpu/math_private.h: Use it.
24146 (math_opt_barrier, math_force_eval): Remove.
24147 (libc_feholdexcept_setround_53bit): Remove.
24148 (libc_feupdateenv_53bit): Remove.
24149 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24150 (math_opt_barrier, math_force_eval): Remove.
24151 (libc_feholdexcept): Remove.
24152 (libc_feholdexcept_setround): Remove.
24153 (libc_fetestexcept, libc_fesetenv): Remove.
24154 (libc_feupdateenv_test): Remove.
24155 (libc_feupdateenv, libc_feholdsetround): Remove.
24156 (libc_feresetround): Remove.
24158 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24159 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24161 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24162 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24163 (libc_feupdateenv_testl): New.
24164 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24165 (libc_feupdateenv_testf): New.
24166 (libc_feupdateenv): Use libc_feupdateenv_test.
24167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24168 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24170 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24171 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24172 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24173 (libc_feresetround_noex): New.
24174 (libc_feresetround_noexf): New.
24175 (libc_feresetround_noexl): New.
24176 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24177 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24178 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24179 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24184 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24185 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24186 SET_RESTORE_ROUND_NOEX.
24187 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24188 SET_RESTORE_ROUND_NOEXF.
24189 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24190 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24191 (libc_feholdsetroundf): New.
24192 (libc_feresetround, libc_feresetroundf): New.
24194 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24195 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24196 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24198 * sysdeps/generic/math_private.h: Include <fenv.h>.
24199 (default_libc_feholdexcept): New.
24200 (default_libc_feholdexcept_setround): New.
24201 (default_libc_fesetenv, default_libc_feupdateenv): New.
24202 (libc_feholdexcept): Only define if undefined.
24203 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24205 (libc_feholdexcept_setroundl): Likewise.
24206 (libc_feholdexcept_setround_53bit): Likewise.
24207 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24210 (libc_feupdateenv_53bit): Likewise.
24211 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24212 (libc_feholdexcept): Convert from macro to inline function.
24213 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24214 (libc_fesetenv, libc_feupdateenv): Likewise.
24216 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24217 not previously defined.
24218 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24219 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24220 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24221 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24222 * sysdeps/ieee754/flt-32/math_private.h: New file.
24223 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24224 math_private.h below SET_FLOAT_WORD.
24225 (__isnan, __isinf_ns, __finite): Remove.
24226 (__isnanf, __isinf_nsf, __finitef): Remove.
24228 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24232 2012-03-17 David S. Miller <davem@davemloft.net>
24235 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24238 2012-03-16 David S. Miller <davem@davemloft.net>
24240 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24244 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24246 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24247 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24248 sysdep_routines when subdir is sysvipc.
24249 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24250 __getshmlba helper.
24252 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24254 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24256 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24259 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24261 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24262 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24263 (__lround): Renamed to ...
24264 (__llround): This. Replace long int with long long int.
24265 Define lround functions as aliases of llround functions.
24266 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24268 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24270 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24271 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24272 adresses to uintptr_t. Replace "long int" and "unsigned long
24273 int" with "greg_t" on va_arg.
24275 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24277 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24278 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24280 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24281 Move e_machine check before EI_CLASS check. Handle x32
24282 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24283 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24284 SKIP_EM_IA_64 and include
24285 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24287 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24288 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24289 (add_system_dir): New macro.
24291 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24292 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24294 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24305 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24307 * math/w_j0f.c (j0f): Likewise.
24309 * math/w_j0l.c (__j0l): Likewise.
24311 * math/w_j1.c (j1): Likewise.
24313 * math/w_j1f.c (j1f): Likewise.
24315 * math/w_j1l.c (__j1l): Likewise.
24317 * math/w_jn.c (jn): Likewise.
24319 * math/w_jnf.c (jnf): Likewise.
24321 * math/w_jnl.c (__jnl): Likewise.
24323 * math/libm-test.inc (j0_test): Add more tests.
24324 (j1_test): Likewise.
24325 (jn_test): Likewise. Add trailing semicolon to existing test.
24326 (y0_test): Likewise.
24327 (y1_test): Likewise.
24328 * sysdeps/i386/fpu/libm-test-ulps: Update.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24333 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24334 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24335 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24336 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24337 (__tanl): Set errno for infinite argument.
24338 * sysdeps/i386/fpu/mptan.c: Remove.
24339 * sysdeps/i386/fpu/s_tan.S: Likewise.
24340 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24341 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24342 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24343 * math/libm-test.inc (tan_test): Add more tests and enable more
24344 tests for double and long double.
24345 * sysdeps/i386/fpu/libm-test-ulps: Update.
24346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24348 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24350 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24351 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24353 2012-03-16 Roland McGrath <roland@hack.frob.com>
24355 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24356 * configure.in: Use it for both main tree and add-ons.
24357 * configure: Regenerated.
24359 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24361 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24363 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24365 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24369 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24370 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24375 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24377 != 0 for prec == 2.
24378 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24379 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24380 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24381 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24382 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24383 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24384 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24385 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24386 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24387 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24388 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24389 * math/libm-test.inc (cos_test): Add more tests and enable more
24390 tests for long double.
24391 (sin_test): Likewise.
24392 (sincos_test): Likewise.
24393 * sysdeps/i386/fpu/libm-test-ulps: Update.
24394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24396 2012-03-16 David S. Miller <davem@davemloft.net>
24398 * sysdeps/sparc/fpu/math_private.h: New file.
24400 2012-03-15 David S. Miller <davem@davemloft.net>
24402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24416 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24417 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24419 * sysdeps/sparc/sparc-ifunc.h: New file.
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24465 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24467 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24471 2012-03-15 Andreas Jaeger <aj@suse.de>
24474 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24475 ieee754/flt-32 implementation for sin, cos and sincos.
24476 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24477 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24478 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24479 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24480 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24481 ieee754/flt-32 implementation for tan.
24483 * math/libm-test.inc (cos_test): Enable some large input tests for
24485 (sin_test): Likewise.
24486 (sincos_test): Likewise.
24487 (tan_test): Add tests for large input.
24489 * sysdeps/i386/fpu/libm-test-ulps: Update.
24491 2012-03-15 Andreas Jaeger <aj@suse.de>
24494 * math/libm-test.inc (cos_test): Add more test cases.
24495 (sin_test): Likewise.
24496 (sincos_test): Likewise.
24498 2012-03-15 Andreas Jaeger <aj@suse.de>
24501 * math/libm-test.inc (cos_test): Add a test case for large input
24503 (sin_test): Likewise.
24504 (sincos_test): Likewise.
24506 2012-03-15 Andreas Jaeger <aj@suse.de>,
24507 Joseph Myers <joseph@codesourcery.com>
24510 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24511 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24512 * sysdeps/i386/fpu/branred.c: Likewise.
24513 * sysdeps/i386/fpu/dosincos.c: Likewise.
24514 * sysdeps/i386/fpu/mpa.c: Likewise.
24515 * sysdeps/i386/fpu/s_cos.S: Likewise.
24516 * sysdeps/i386/fpu/s_sin.S: Likewise.
24517 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24518 * sysdeps/i386/fpu/sincos32.c: Likewise.
24520 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24522 (libc_feupdateenv_53bit): Define.
24523 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24525 (libc_feupdateenv_53bit): Define.
24527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24528 53 bit (without extend i386 double precision).
24530 * math/libm-test.inc (sincos_test): Add tests for large input.
24534 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24536 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24540 2012-03-15 David S. Miller <davem@davemloft.net>
24542 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24543 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24544 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24545 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24570 fmin/fmax sysdep routines.
24571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24573 2012-03-14 David S. Miller <davem@davemloft.net>
24575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24647 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24652 * sysdeps/sparc/configure.in: New file.
24653 * sysdeps/sparc/configure: Generate.
24654 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24655 * configure: Regenerate.
24656 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24657 * config.make.in (have-as-vis3): New.
24658 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24659 available use -Av9d instead of -Av9a.
24660 * sysdeps/sparc/sparc64/Makefile: Likewise.
24661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24676 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24677 fzeros/fnegs to load 0x80000000 into a float register instead of
24679 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24681 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24685 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24686 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24687 ($(inst_includedir)/bits/syscall.h): Remove rule.
24688 ($(objpfx)bits/syscall.d): Include instead of
24689 $(objpfx)syscall-list.d.
24690 (generated): Change syscall-list.h and syscall-list.d to
24691 bits/syscall.h and bits/syscall.d.
24693 2012-03-14 Roland McGrath <roland@hack.frob.com>
24696 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24698 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24701 * math/s_csqrt.c: Include <float.h>.
24702 (__csqrt): Scale large or subnormal inputs.
24703 * math/s_csqrtf.c: Likewise.
24704 * math/s_csqrtl.c: Likewise.
24705 * math/libm-test.inc (csqrt_test): Add more tests.
24706 * sysdeps/i386/fpu/libm-test-ulps: Update.
24707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24710 * math/libm-test.inc (hypot_test): Add more tests.
24712 2012-03-13 David S. Miller <davem@davemloft.net>
24715 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24716 double-precision for the calculation instead of scaling.
24718 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24720 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24721 manipulate bits before adding and subtracting TWO52[sx].
24722 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24725 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24727 2012-03-13 David S. Miller <davem@davemloft.net>
24729 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24730 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24732 rtld-global-offsets.h
24733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24735 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24738 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24740 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24741 'err' in the ifdef scope in which it is actually used.
24743 * nss/nss_db/db-init.c: Include string.h
24745 2012-03-12 David S. Miller <davem@davemloft.net>
24747 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24748 masking out of the most significant byte of random value used.
24749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24750 Fix coding style in previous change.
24752 * sysdeps/unix/sysv/linux/kernel-features.h
24753 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24754 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24756 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24759 2012-03-11 David S. Miller <davem@davemloft.net>
24761 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24762 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24764 for 'resultvar' otherwise things get truncated on 64-bit.
24766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24767 Fix masking out of the most significant byte of random value used.
24769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24771 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24775 2012-03-09 David S. Miller <davem@davemloft.net>
24777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24778 variables with appropriate CPP guards.
24779 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24780 frame pointer, not the stack pointer. Correct layout comments. Fix test
24781 on resulting framesize and the management of the outregs buffer for pltexit.
24782 Preserve floating point return values across _dl_call_pltexit call.
24783 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24784 framesize and the management of the outregs buffer for pltexit.
24785 Preserve floating point return values across _dl_call_pltexit
24787 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24788 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24789 (print_exit): Fix format string for return register value.
24791 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24793 * sunrpc/Makefile (others): Add rpcgen.
24794 ($(objpfx)rpcgen): Remove special build rule and dependency on
24796 * sunrpc/rpcgen.c: New file.
24798 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24801 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24802 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24803 * sysdeps/i386/crti.S: Likewise.
24804 * sysdeps/i386/crtn.S: Likewise.
24805 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24806 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24809 * sysdeps/sh/crti.S: Likewise.
24810 * sysdeps/sh/crtn.S: Likewise.
24811 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24814 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24816 * locale/programs/locfile-kw.gperf: Likewise.
24817 * locale/programs/charmap-kw.h: Regenerated.
24818 * locale/programs/locfile-kw.h: Likewise.
24821 * intl/plural.y: Replace FSF snail mail address with URL.
24822 * intl/plural.c: Regenerated.
24824 2012-03-09 Richard Henderson <rth@twiddle.net>
24826 * include/math_private.h: Remove file.
24827 * math/math_private.h: Move file ...
24828 * sysdeps/generic/math_private.h: ... here.
24830 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24831 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24832 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24834 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24835 and <math_private.h>.
24836 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24837 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24838 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24839 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24840 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24869 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24889 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24892 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24893 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24894 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24895 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24896 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24897 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24898 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24900 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24902 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24903 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24904 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24905 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24906 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24910 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24915 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24917 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24919 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24923 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24924 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24925 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24926 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24927 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24928 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24929 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24930 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24931 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24932 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24933 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24934 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24936 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24937 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24938 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24939 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24940 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24941 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24942 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24943 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24944 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24945 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24946 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24947 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24948 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24949 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24950 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24951 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24952 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24953 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24954 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24955 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24956 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24957 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24958 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24959 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24960 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24961 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24962 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24963 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24964 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24965 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24966 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24967 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24968 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24969 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24970 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24971 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24972 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24973 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24974 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24975 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24976 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24977 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24978 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24979 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24980 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24981 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24982 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24983 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24984 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24985 * sysdeps/ieee754/k_standard.c: Likewise.
24986 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24989 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24990 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24992 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24995 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24996 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24998 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24999 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25000 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25001 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25002 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25003 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25004 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25006 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25008 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25011 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25012 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25018 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25019 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25020 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25021 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25022 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25023 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25024 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25025 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25027 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25028 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25031 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25032 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25033 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25035 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25037 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25042 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25077 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25089 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25090 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25091 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25092 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25095 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25101 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25103 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25104 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25108 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25112 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25113 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25114 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25121 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25131 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25134 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25135 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25136 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25137 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25138 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25144 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25146 * sysdeps/ieee754/s_lib_version.c: Likewise.
25147 * sysdeps/ieee754/s_matherr.c: Likewise.
25148 * sysdeps/ieee754/s_signgam.c: Likewise.
25149 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25150 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25151 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25152 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25153 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25154 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25155 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25156 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25157 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25158 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25159 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25160 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25161 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25162 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25163 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25164 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25165 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25166 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25167 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25171 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25173 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25174 * sunrpc/rpc_main.c: Likewise.
25175 * sunrpc/rpc_svcout.c: Likewise.
25177 2012-03-09 David S. Miller <davem@davemloft.net>
25179 * include/math_private.h: New file.
25181 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25183 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25184 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25185 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25186 from <bits/socket_type.h>.
25187 (enum __socket_type): Don't define here.
25188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25190 bits/socket_type.h.
25193 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25194 checking __USE_GNU.
25196 * Makerules ($(inst_includedir)/%.h): New rule.
25197 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25198 (install-others): Remove variable setting.
25199 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25201 2012-03-08 Richard Henderson <rth@twiddle.net>
25203 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25204 from macro to inline function; merge with the
25205 !__LIBC_INTERNAL_MATH_INLINES version.
25206 (__ieee754_sqrtf): Likewise.
25208 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25209 to inline function.
25210 (__rintf, __floor, __floorf): Likewise.
25212 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25213 macro to inline function.
25214 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25216 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25217 not <math/math_private.h>.
25219 2012-03-08 David S. Miller <davem@davemloft.net>
25221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25223 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25225 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25227 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25229 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25230 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25232 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25234 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25235 be defined individually, they must be defined as a block. Define
25236 S for printing a string instead of hidint the different by using a
25237 macro for adding the 'l'.
25238 * stdio-common/tst-fphex-wide.c: Adjust.
25240 2012-03-07 Marek Polacek <polacek@redhat.com>
25242 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25244 2012-03-08 Marek Polacek <polacek@redhat.com>
25247 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25248 * stdio-common/tst-fphex.c: Define a few macros to make the
25249 test reusable. Use them.
25250 * stdio-common/tst-fphex-wide.c: New file.
25252 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25255 * manual/macros.texi (gnusystems): New macro.
25256 (nongnusystems): Likewise.
25257 (gnulinuxhurdsystems): Likewise.
25258 (gnuhurdsystems): Likewise..
25259 (gnulinuxsystems): Likewise.
25260 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25261 variants of the GNU system, not "GNU system".
25262 * manual/conf.texi: Likewise.
25263 * manual/errno.texi: Likewise. Update example of errno macro
25265 * manual/filesys.texi: Likewise.
25266 (getumask): Document as specific to GNU/Hurd.
25267 * manual/install.texi: Likewise. Reword some references to
25269 * manual/intro.texi: Likewise.
25270 * manual/io.texi: Likewise.
25271 (File Name Portability): Detail which constraints are inapplicable
25272 to all GNU systems and which are only inapplicable to GNU/Hurd.
25273 * manual/job.texi: Likewise.
25274 * manual/llio.texi: Likewise.
25275 (O_NOCTTY): Document as present on GNU/Linux.
25276 * manual/maint.texi: Likewise.
25277 * manual/memory.texi: Likewise.
25278 * manual/pattern.texi: Likewise.
25279 * manual/pipe.texi: Likewise.
25280 * manual/process.texi: Likewise.
25281 * manual/resource.texi: Likewise.
25282 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25284 * manual/setjmp.texi: Likewise.
25285 * manual/signal.texi: Likewise.
25286 * manual/startup.texi: Likewise.
25287 * manual/stdio.texi: Likewise.
25288 * manual/terminal.texi: Likewise.
25289 (ONLCR): Document as POSIX.
25290 (OXTABS): Document availability on GNU/Linux as XTABS.
25291 (ONOEOT): Document availability separately from other bits.
25292 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25293 * manual/time.texi: Likewise.
25294 * manual/users.texi: Likewise.
25295 * INSTALL: Regenerated.
25296 * sysdeps/gnu/errlist.c: Regenerated.
25298 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25299 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25300 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25302 * configure: Regenerated.
25304 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25306 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25307 default includes instead of AC_HEADER_CHECK.
25308 * sysdeps/i386/configure: Regenerated.
25311 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25312 * math/s_cacoshf.c (__cacoshf): Likewise.
25313 * math/s_cacoshl.c (__cacoshl): Likewise.
25314 * math/s_casinh.c (__casinh): Set signs of result from argument.
25315 * math/s_casinhf.c (__casinhf): Likewise.
25316 * math/s_casinhl.c (__casinhl): Likewise.
25317 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25318 (casinh_test): Add more tests.
25319 * sysdeps/i386/fpu/libm-test-ulps: Update.
25320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25322 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25324 * po/zh_TW.po: Update from translation team.
25326 * login/Makefile (distribute): Remove variable.
25327 * catgets/Makefile: Likewise.
25328 * mach/Makefile: Likewise.
25329 * malloc/Makefile: Likewise.
25330 * misc/Makefile: Likewise.
25331 * iconv/Makefile: Likewise.
25332 * nscd/Makefile: Likewise.
25333 * hurd/Makefile: Likewise.
25334 * manual/Makefile: Likewise.
25335 * locale/Makefile: Likewise.
25336 * intl/Makefile: Likewise.
25337 * conform/Makefile: Likewise.
25338 * nss/Makefile: Likewise.
25339 * time/Makefile: Likewise.
25340 * soft-fp/Makefile: Likewise.
25341 * dirent/Makefile: Likewise.
25342 * gmon/Makefile: Likewise.
25343 * po/Makefile: Likewise.
25344 * rt/Makefile: Likewise.
25345 * socket/Makefile: Likewise.
25346 * math/Makefile: Likewise.
25347 * signal/Makefile: Likewise.
25348 * debug/Makefile: Likewise.
25349 * elf/Makefile: Likewise.
25350 * timezone/Makefile: Likewise.
25351 * stdlib/Makefile: Likewise.
25352 * iconvdata/Makefile: Likewise.
25353 * sunrpc/Makefile: Likewise.
25354 * io/Makefile: Likewise.
25355 * argp/Makefile: Likewise.
25356 * inet/Makefile: Likewise.
25357 * hesiod/Makefile: Likewise.
25358 * grp/Makefile: Likewise.
25359 * csu/Makefile: Likewise.
25360 * wctype/Makefile: Likewise.
25361 * crypt/Makefile: Likewise.
25362 * libio/Makefile: Likewise.
25363 * string/Makefile: Likewise.
25364 * nis/Makefile: Likewise.
25365 * resolv/Makefile: Likewise.
25366 * stdio-common/Makefile: Likewise.
25367 * wcsmbs/Makefile: Likewise.
25368 * dlfcn/Makefile: Likewise.
25369 * posix/Makefile: Likewise.
25372 * timezone/Makefile: Don't install timezone files, just the programs
25375 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25377 * nss/databases.def: Add missing gshadow entry.
25379 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25381 2012-03-06 Marek Polacek <polacek@redhat.com>
25384 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25385 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25386 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25387 * stdio-common/tst-long-dbl-fphex.c: New file.
25389 2012-03-06 David S. Miller <davem@davemloft.net>
25391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25392 (set_obp_int): New function.
25393 (get_obp_int): New function.
25394 (__get_clockfreq_via_dev_openprom): Likewise.
25395 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25396 Avoid unused variable warnings on 'val' and use builtin_expect.
25397 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25399 (INLINE_CLONE_SYSCALL): Likewise.
25401 2012-03-05 David S. Miller <davem@davemloft.net>
25403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25405 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25410 only for |x| >= 40.
25411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25413 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25416 Replace gettimeofday with __vdso_gettimeofday.
25418 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25419 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25420 __vdso_clock_gettime and __vdso_getcpu.
25422 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25423 time with __vdso_time.
25425 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25427 * manual/lang.texi (size_t): Note types to which size_t may be
25428 equivalent with the GNU C Library, but do not describe when
25429 differences between them are significant.
25431 2012-03-05 Andreas Jaeger <aj@suse.de>
25433 * sysdeps/i386/fpu/libm-test-ulps: Update.
25435 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25438 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25439 (__ieee754_pow): Save and restore rounding mode and use
25440 round-to-nearest for main computations.
25441 * math/libm-test.inc (pow_test_tonearest): New function.
25442 (pow_test_towardzero): Likewise.
25443 (pow_test_downward): Likewise.
25444 (pow_test_upward): Likewise.
25445 (main): Call the new functions.
25446 * sysdeps/i386/fpu/libm-test-ulps: Update.
25447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25450 * math/libm-test.inc (cosh_test_tonearest): New function.
25451 (cosh_test_towardzero): Likewise.
25452 (cosh_test_downward): Likewise.
25453 (cosh_test_upward): Likewise.
25454 (sinh_test_tonearest): Likewise.
25455 (sinh_test_towardzero): Likewise.
25456 (sinh_test_downward): Likewise.
25457 (sinh_test_upward): Likewise.
25458 (main): Call the new functions.
25459 * sysdeps/i386/fpu/libm-test-ulps: Update.
25460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25462 2012-03-05 Tom de Vries <tom@codesourcery.com>
25464 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25465 default stack guard is set in last bytes.
25466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25468 2012-03-05 Kees Cook <keescook@chromium.org>
25470 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25473 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25474 possibly allocate from heap instead of stack.
25475 * stdio-common/bug-vfprintf-nargs.c: New file.
25476 * stdio-common/Makefile (tests): Add nargs overflow test.
25478 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25482 2012-03-03 Marek Polacek <polacek@redhat.com>
25484 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25485 * math/math_private.h: Likewise.
25486 * stdlib/tst-strtod.c: Likewise.
25487 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25488 * sysdeps/x86_64/bits/atomic.h: Likewise.
25490 2012-03-02 David S. Miller <davem@davemloft.net>
25492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25496 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25497 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25498 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25499 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25501 2012-03-02 Roland McGrath <roland@hack.frob.com>
25504 * manual/examples/README: New file, says the example source files
25505 can be used under GPL>=2.
25506 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25507 line containing just "*/".
25508 * manual/examples/add.c: Add copyright header (GPL>=2).
25509 * manual/examples/argp-ex1.c: Likewise.
25510 * manual/examples/argp-ex2.c: Likewise.
25511 * manual/examples/argp-ex3.c: Likewise.
25512 * manual/examples/argp-ex4.c: Likewise.
25513 * manual/examples/atexit.c: Likewise.
25514 * manual/examples/db.c: Likewise.
25515 * manual/examples/dir.c: Likewise.
25516 * manual/examples/dir2.c: Likewise.
25517 * manual/examples/execinfo.c: Likewise.
25518 * manual/examples/filecli.c: Likewise.
25519 * manual/examples/filesrv.c: Likewise.
25520 * manual/examples/fmtmsgexpl.c: Likewise.
25521 * manual/examples/genpass.c: Likewise.
25522 * manual/examples/inetcli.c: Likewise.
25523 * manual/examples/inetsrv.c: Likewise.
25524 * manual/examples/isockad.c: Likewise.
25525 * manual/examples/longopt.c: Likewise.
25526 * manual/examples/memopen.c: Likewise.
25527 * manual/examples/memstrm.c: Likewise.
25528 * manual/examples/mkfsock.c: Likewise.
25529 * manual/examples/mkisock.c: Likewise.
25530 * manual/examples/mygetpass.c: Likewise.
25531 * manual/examples/pipe.c: Likewise.
25532 * manual/examples/popen.c: Likewise.
25533 * manual/examples/rprintf.c: Likewise.
25534 * manual/examples/search.c: Likewise.
25535 * manual/examples/select.c: Likewise.
25536 * manual/examples/setjmp.c: Likewise.
25537 * manual/examples/sigh1.c: Likewise.
25538 * manual/examples/sigusr.c: Likewise.
25539 * manual/examples/stpcpy.c: Likewise.
25540 * manual/examples/strdupa.c: Likewise.
25541 * manual/examples/strftim.c: Likewise.
25542 * manual/examples/strncat.c: Likewise.
25543 * manual/examples/subopt.c: Likewise.
25544 * manual/examples/swapcontext.c: Likewise.
25545 * manual/examples/termios.c: Likewise.
25546 * manual/examples/testopt.c: Likewise.
25547 * manual/examples/testpass.c: Likewise.
25548 * manual/examples/timeval_subtract.c: Likewise.
25551 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25553 * manual/timeval_subtract.c.texi: ... here, new file.
25555 2012-03-02 David S. Miller <davem@davemloft.net>
25557 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25559 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25562 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25563 (__sin): Save and restore rounding mode and use round-to-nearest
25564 for all computations.
25565 (__cos): Save and restore rounding mode and use round-to-nearest
25566 for all computations.
25567 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25569 (tan): Save and restore rounding mode and use round-to-nearest for
25571 * math/libm-test.inc (cos_test_tonearest): New function.
25572 (cos_test_towardzero): Likewise.
25573 (cos_test_downward): Likewise.
25574 (cos_test_upward): Likewise.
25575 (sin_test_tonearest): Likewise.
25576 (sin_test_towardzero): Likewise.
25577 (sin_test_downward): Likewise.
25578 (sin_test_upward): Likewise.
25579 (tan_test_tonearest): Likewise.
25580 (tan_test_towardzero): Likewise.
25581 (tan_test_downward): Likewise.
25582 (tan_test_upward): Likewise.
25583 (main): Call the new functions.
25584 * sysdeps/i386/fpu/libm-test-ulps: Update.
25585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25588 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25589 small n, then large n, before computing and testing k+n.
25590 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25593 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25595 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25596 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25599 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25600 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25603 * math/libm-test.inc (scalbn_test): Add more tests.
25604 (scalbln_test): Likewise.
25606 * manual/filesys.texi (mode_t): Describe constraints on size and
25607 signedness, not exact equivalence to a particular type.
25609 (ino64_t): Likewise.
25611 (nlink_t): Likewise.
25612 (blkcnt_t): Likewise.
25613 (blkcnt64_t): Likewise.
25614 * manual/llio.texi (off_t): Likewise.
25617 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25618 (__ieee754_exp): Save and restore rounding mode and use
25619 round-to-nearest for all computations.
25620 * math/libm-test.inc (exp_test_tonearest): New function.
25621 (exp_test_towardzero): Likewise.
25622 (exp_test_downward): Likewise.
25623 (exp_test_upward): Likewise.
25624 (main): Call the new functions.
25625 * sysdeps/i386/fpu/libm-test-ulps: Update.
25626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25628 2012-03-01 Chris Demetriou <cgd@google.com>
25630 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25631 have predictable order.
25633 2012-03-01 David S. Miller <davem@davemloft.net>
25635 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25637 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25638 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25639 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25640 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25642 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25643 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25644 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25646 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25647 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25648 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25649 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25650 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25654 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25655 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25656 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25658 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25659 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25660 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25661 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25662 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25665 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25666 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25667 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25668 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25671 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25672 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25674 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25675 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25676 * sysdeps/sparc/elf/configure: Regenerated.
25678 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25680 * configure.in (AS, LD): Require binutils 2.20 or later.
25681 * configure: Regenerated.
25682 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25683 as required minimum version.
25684 * INSTALL: Regenerated.
25688 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25689 before squaring exponent.
25690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25691 bottom long double and 27 bits of top long double before squaring
25693 * math/libm-test.inc (erfc_test): Add more tests.
25694 * sysdeps/i386/fpu/libm-test-ulps: Update.
25695 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25698 2012-03-01 Kai Tietz <ktietz@redhat.com>
25700 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25701 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25702 containing bit-fields.
25703 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25704 * soft-fp/single.h (_FP_UNION_S): Likewise.
25705 * soft-fp/double.h (_FP_UNION_D): Likewise.
25707 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25710 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25711 not include ../strcmp.S.
25712 [USE_AS_STRNCASECMP_L]: Likewise.
25713 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25714 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25715 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25716 (__strncasecmp_l_ia32): Define as alias to
25717 __strncasecmp_l_nonascii.
25720 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25721 * sysdeps/i386/fpu/libm-test-ulps: Update.
25722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25724 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25727 2012-02-29 Jeff Law <law@redhat.com>
25729 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25730 out of bounds read.
25732 2012-02-29 Marek Polacek <polacek@redhat.com>
25735 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25736 * elf/Makefile: Add rules to run tst-unused-dep.out.
25738 2012-02-28 David S. Miller <davem@davemloft.net>
25740 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25741 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25742 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25744 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25745 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25747 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25749 * math/libm-test.inc (llround_test): Move one test from
25750 lround_test. Use TEST_f_L in moved test.
25751 (lround_test): Move misplaced test to llround_test. Add testcase
25754 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25756 * sysdeps/x86_64/fpu/e_expf.S: New file.
25757 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25759 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25762 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25763 of remain_len that may cause incomplete multi-byte character and
25765 * posix/bug-regex33.c: New file.
25766 * posix/Makefile (tests): Add bug-regex33.
25768 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25770 * manual/macros.texi: New file.
25771 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25772 * manual/libc.texinfo: Include macros.texi.
25773 * manual/creatute.texi: Likewise.
25774 * manual/install.texi: Likewise.
25775 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25776 @glibcadj{} in references to the GNU C Library.
25777 * manual/charset.texi: Likewise.
25778 * manual/conf.texi: Likewise.
25779 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25780 when not using those macros.
25781 * manual/creature.texi: Likewise.
25782 * manual/crypt.texi: Likewise.
25783 * manual/errno.texi: Likewise.
25784 * manual/filesys.texi: Likewise.
25785 * manual/header.texi: Likewise.
25786 * manual/install.texi: Likewise.
25787 * manual/intro.texi: Likewise.
25788 * manual/io.texi: Likewise.
25789 * manual/job.texi: Likewise.
25790 * manual/lang.texi: Likewise.
25791 * manual/libc.texiinfo: Likewise.
25792 * manual/llio.texi: Likewise.
25793 * manual/locale.texi: Likewise.
25794 * manual/maint.texi: Likewise.
25795 * manual/math.texi: Likewise.
25796 * manual/memory.texi: Likewise.
25797 * manual/message.texi: Likewise.
25798 * manual/nss.texi: Likewise.
25799 * manual/pattern.texi: Likewise.
25800 * manual/process.texi: Likewise.
25801 * manual/resource.texi: Likewise.
25802 * manual/search.texi: Likewise.
25803 * manual/setjmp.texi: Likewise.
25804 * manual/signal.texi: Likewise.
25805 * manual/socket.texi: Likewise.
25806 * manual/startup.texi: Likewise.
25807 * manual/stdio.texi: Likewise.
25808 * manual/string.texi: Likewise.
25809 * manual/sysinfo.texi: Likewise.
25810 * manual/syslog.texi: Likewise.
25811 * manual/terminal.texi: Likewise.
25812 * manual/time.texi: Likewise.
25813 * manual/users.texi: Likewise.
25814 * INSTALL: Regenerated.
25815 * NOTES: Regenerated.
25816 * sysdeps/gnu/errlist.c: Regenerated.
25818 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25820 * include/dirent.h: Include <dirstream.h> before
25823 2012-02-28 David S. Miller <davem@davemloft.net>
25825 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25826 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25827 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25828 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25830 2012-02-27 David S. Miller <davem@davemloft.net>
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25834 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25835 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25838 frame pointer instead of stack pointer relative arg slot.
25839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25843 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25846 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25848 2012-02-27 David S. Miller <davem@davemloft.net>
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25854 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25855 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25856 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25857 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25859 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25861 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25862 later. Allow versions 5-9.
25863 * configure: Regenerated.
25864 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25865 required minimum version and 4.6 as recommended version. Do not
25866 mention bugs in GCC 2.7 and 2.8.
25867 * INSTALL: Regenerated.
25869 2012-02-27 David S. Miller <davem@davemloft.net>
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25875 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25876 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25877 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25878 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25880 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25881 manipulate bits before adding and subtracting TWO112[sx].
25882 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25884 2012-02-27 Roland McGrath <roland@hack.frob.com>
25887 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25888 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25889 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25890 being in POSIX, because they are in 1003.1-2008.
25892 * rt/tst-aio.c: Include <fcntl.h>.
25893 * rt/tst-aio7.c: Likewise.
25894 * rt/tst-aio64.c: Likewise.
25896 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25898 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25900 * manual/install.texi (--with-headers): Describe headers as
25901 interface headers, not private headers.
25902 (Specific advice for GNU/Linux systems): Describe use of headers
25903 from "make headers_install", not private headers from older
25905 * INSTALL: Regenerated.
25906 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25908 * sysdeps/unix/sysv/linux/configure: Regenerated.
25910 * manual/llio.texi (fclean): Remove documentation.
25912 * manual/Makefile (libc-texi-generated): New variable. Include
25914 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25915 $(libc-texi-generated), not duplicated list of files.
25916 (version.texi, stamp-version): New rules.
25917 (realclean): Remove $(libc-texi-generated), not individual files
25918 from that list. Do not remove dir-add.texinfo.
25919 * manual/libc.texinfo: Comment out uses of edition numbers and
25920 references to printed manual. Remove last-updated dates.
25921 (EDITION): Comment out.
25923 (VERSION, UPDATED): Remove.
25924 (version.texi): Include.
25926 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25928 * sysdeps/posix/spawni.c: Include <signal.h>.
25929 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25930 * sysdeps/pthread/aio_fsync.c: Likewise.
25932 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25934 * conform/Makefile (tests): Run only when not cross-compiling and
25935 when fast-check is not defined.
25937 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25938 * conform/data/limits.h-data: Fixes for POSIX2008.
25939 * conform/run-conformtest.sh: Run all tests.
25940 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25942 * include/bits/dlfcn.h: Likewise.
25943 * include/langinfo.h: Likewise.
25944 * include/monetary.h: Likewise.
25945 * include/sys/poll.h: Likewise.
25947 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25949 * posix/spawn.h: Define __need_sigset_t.
25950 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25951 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25952 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25953 to get sigevent_t only.
25954 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25955 only for __USE_GNU.
25956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25957 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25958 process_vm_writev only for __USE_GNU.
25959 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25961 * conform/Makefile: For now ignore errors from run-conformtest.
25962 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25963 POSIX to avoid namespace pollution. Don't prepend headers.
25964 * conform/data/aio.h-data: Fixes for POSIX testing.
25965 * conform/data/fcntl.h-data: Likewise.
25966 * conform/data/glob.h-data: Likewise.
25967 * conform/data/grp.h-data: Likewise.
25968 * conform/data/pthread.h-data: Likewise.
25969 * conform/data/pwd.h-data: Likewise.
25970 * conform/data/signal.h-data: Likewise.
25971 * conform/data/spawn.h-data: Likewise.
25972 * conform/data/stdio.h-data: Likewise.
25973 * conform/data/stdlib.h-data: Likewise.
25974 * conform/data/stropts.h-data: Likewise.
25975 * conform/data/sys/mman.h-data: Likewise.
25976 * conform/data/sys/stat.h-data: Likewise.
25977 * conform/data/sys/types.h-data: Likewise.
25978 * conform/data/sys/wait.h-data: Likewise.
25979 * conform/data/time.h-data: Likewise.
25980 * conform/data/unistd.h-data: Likewise.
25981 * conform/data/utime.h-data: Likewise.
25983 * io/sys/stat.h: fchmod was always in POSIX.
25984 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25985 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25986 * rt/aio.h: Define __need_timespec before including <time.h>.
25987 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25988 struct. Add forward declaration of pthread_attr_t and use it in
25990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25992 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25993 always remove CLK_TCK definition.
25995 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25997 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25999 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26001 * conform/run-conformtest.sh: New file.
26002 * conform/Makefile: Run run-conformtest for tests.
26003 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26006 * conform/data/uchar.h-data: New file.
26007 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26008 * conform/data/arpa/inet.h-data: Likewise.
26009 * conform/data/assert.h-data: Likewise.
26010 * conform/data/complex.h-data: Likewise.
26011 * conform/data/cpio.h-data: Likewise.
26012 * conform/data/ctype.h-data: Likewise.
26013 * conform/data/dirent.h-data: Likewise.
26014 * conform/data/dlfcn.h-data: Likewise.
26015 * conform/data/errno.h-data: Likewise.
26016 * conform/data/fcntl.h-data: Likewise.
26017 * conform/data/float.h-data: Likewise.
26018 * conform/data/fmtmsg.h-data: Likewise.
26019 * conform/data/fnmatch.h-data: Likewise.
26020 * conform/data/ftw.h-data: Likewise.
26021 * conform/data/glob.h-data: Likewise.
26022 * conform/data/grp.h-data: Likewise.
26023 * conform/data/iconv.h-data: Likewise.
26024 * conform/data/inttypes.h-data: Likewise.
26025 * conform/data/langinfo.h-data: Likewise.
26026 * conform/data/libgen.h-data: Likewise.
26027 * conform/data/limits.h-data: Likewise.
26028 * conform/data/locale.h-data: Likewise.
26029 * conform/data/math.h-data: Likewise.
26030 * conform/data/monetary.h-data: Likewise.
26031 * conform/data/mqueue.h-data: Likewise.
26032 * conform/data/ndbm.h-data: Likewise.
26033 * conform/data/net/if.h-data: Likewise.
26034 * conform/data/netdb.h-data: Likewise.
26035 * conform/data/netinet/in.h-data: Likewise.
26036 * conform/data/nl_types.h-data: Likewise.
26037 * conform/data/poll.h-data: Likewise.
26038 * conform/data/pthread.h-data: Likewise.
26039 * conform/data/pwd.h-data: Likewise.
26040 * conform/data/regex.h-data: Likewise.
26041 * conform/data/sched.h-data: Likewise.
26042 * conform/data/search.h-data: Likewise.
26043 * conform/data/semaphore.h-data: Likewise.
26044 * conform/data/setjmp.h-data: Likewise.
26045 * conform/data/signal.h-data: Likewise.
26046 * conform/data/spawn.h-data: Likewise.
26047 * conform/data/stdarg.h-data: Likewise.
26048 * conform/data/stdio.h-data: Likewise.
26049 * conform/data/stdlib.h-data: Likewise.
26050 * conform/data/string.h-data: Likewise.
26051 * conform/data/strings.h-data: Likewise.
26052 * conform/data/stropts.h-data: Likewise.
26053 * conform/data/sys/ipc.h-data: Likewise.
26054 * conform/data/sys/mman.h-data: Likewise.
26055 * conform/data/sys/msg.h-data: Likewise.
26056 * conform/data/sys/resource.h-data: Likewise.
26057 * conform/data/sys/select.h-data: Likewise.
26058 * conform/data/sys/sem.h-data: Likewise.
26059 * conform/data/sys/shm.h-data: Likewise.
26060 * conform/data/sys/socket.h-data: Likewise.
26061 * conform/data/sys/stat.h-data: Likewise.
26062 * conform/data/sys/statvfs.h-data: Likewise.
26063 * conform/data/sys/time.h-data: Likewise.
26064 * conform/data/sys/timeb.h-data: Likewise.
26065 * conform/data/sys/times.h-data: Likewise.
26066 * conform/data/sys/types.h-data: Likewise.
26067 * conform/data/sys/uio.h-data: Likewise.
26068 * conform/data/sys/un.h-data: Likewise.
26069 * conform/data/sys/utsname.h-data: Likewise.
26070 * conform/data/sys/wait.h-data: Likewise.
26071 * conform/data/syslog.h-data: Likewise.
26072 * conform/data/tar.h-data: Likewise.
26073 * conform/data/termios.h-data: Likewise.
26074 * conform/data/utime.h-data: Likewise.
26075 * conform/data/utmpx.h-data: Likewise.
26076 * conform/data/varargs.h-data: Likewise.
26077 * conform/data/wchar.h-data: Likewise.
26078 * conform/data/wctype.h-data: Likewise.
26079 * conform/data/wordexp.h-data: Likewise.
26081 * include/stropts.h: New file.
26082 * include/uchar.h: New file.
26083 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26084 * include/assert.h: Likewise.
26085 * include/ctype.h: Likewise.
26086 * include/dirent.h: Likewise.
26087 * include/dlfcn.h: Likewise.
26088 * include/fcntl.h: Likewise.
26089 * include/fnmatch.h: Likewise.
26090 * include/glob.h: Likewise.
26091 * include/grp.h: Likewise.
26092 * include/libio.h: Likewise.
26093 * include/locale.h: Likewise.
26094 * include/math.h: Likewise.
26095 * include/net/if.h: Likewise.
26096 * include/netdb.h: Likewise.
26097 * include/netinet/in.h: Likewise.
26098 * include/pthread.h: Likewise.
26099 * include/pwd.h: Likewise.
26100 * include/regex.h: Likewise.
26101 * include/sched.h: Likewise.
26102 * include/search.h: Likewise.
26103 * include/setjmp.h: Likewise.
26104 * include/signal.h: Likewise.
26105 * include/stdio.h: Likewise.
26106 * include/stdlib.h: Likewise.
26107 * include/string.h: Likewise.
26108 * include/sys/cdefs.h: Likewise.
26109 * include/sys/mman.h: Likewise.
26110 * include/sys/msg.h: Likewise.
26111 * include/sys/resource.h: Likewise.
26112 * include/sys/select.h: Likewise.
26113 * include/sys/socket.h: Likewise.
26114 * include/sys/stat.h: Likewise.
26115 * include/sys/statvfs.h: Likewise.
26116 * include/sys/time.h: Likewise.
26117 * include/sys/times.h: Likewise.
26118 * include/sys/uio.h: Likewise.
26119 * include/sys/utsname.h: Likewise.
26120 * include/sys/wait.h: Likewise.
26121 * include/termios.h: Likewise.
26122 * include/time.h: Likewise.
26123 * include/ulimit.h: Likewise.
26124 * include/unistd.h: Likewise.
26125 * include/utime.h: Likewise.
26126 * include/wchar.h: Likewise.
26127 * include/wctype.h: Likewise.
26128 * include/wordexp.h: Likewise.
26130 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26132 * time/time.h: TIME_UTC must be a macro.
26133 Make timespec_get available for ISO C11 only as well.
26135 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26137 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26138 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26140 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26142 * configure.in: Use -o not -a in test for unsupported multi-arch.
26144 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26146 * manual/texinfo.tex: Update to version 2012-01-19.16.
26148 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26150 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26152 2012-02-24 Roland McGrath <roland@hack.frob.com>
26155 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26156 * manual/fdl-1.3.texi: New file.
26157 * manual/fdl-1.1.texi: File removed.
26160 * manual/libc.texinfo (FDL_VERSION): New @set.
26161 Use it for mention of FDL in cover text.
26162 (Documentation License): Use it in @include file name.
26164 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26165 Roland McGrath <roland@hack.frob.com>
26168 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26169 not LONG_LONG_MAX and LONG_LONG_MIN.
26170 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26171 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26173 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26175 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26179 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26180 manipulate bits before adding and subtracting TWO23[sx].
26181 * math/libm-test.inc (nearbyint_test): Add more tests.
26183 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26186 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26187 bits before adding and subtracting TWO23[sx].
26188 * math/libm-test.inc (rint_test): Add more tests.
26189 (rint_test_tonearest): Likewise.
26190 (rint_test_towardzero): Likewise.
26191 (rint_test_downward): Likewise.
26192 (rint_test_upward: Likewise.
26194 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26197 * include/stdc-predef.h: New file. Extracted from features.h.
26198 * include/features.h: Include stdc-predef.h.
26199 * Makefile (headers): Add stdc-predef.h.
26200 * CONFORMANCE (Compiler limitations): Update.
26202 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26204 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26206 2012-02-21 David S. Miller <davem@davemloft.net>
26208 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26209 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26211 2012-02-20 David S. Miller <davem@davemloft.net>
26213 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26214 using a normal save/restore sequence, rather than allocating a
26215 dummy stack frame just to store a frame pointer and restore.
26216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26218 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26220 * manual/install.texi: Fix stray word in line-wrapped comment.
26222 2012-02-20 David S. Miller <davem@davemloft.net>
26224 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26225 both binutils and gcc support GOTDATA.
26227 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26228 "rd %pc" in the PIC register setup sequences.
26230 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26231 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26232 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26233 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26234 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26237 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26239 (SYSCALL_ERROR_HANDLER): Likewise.
26240 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26241 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26243 (SYSCALL_ERROR_HANDLER): Likewise.
26245 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26246 (HAVE_GCC_GOTDATA): New.
26247 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26248 relocation support in both binutils and gcc.
26249 * sysdeps/sparc/elf/configure: Regenerate.
26251 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26252 * sysdeps/sparc/sparc32/elf/configure: Delete.
26253 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26254 * sysdeps/sparc/sparc64/elf/configure: Delete.
26255 * sysdeps/sparc/elf/configure.in: New file.
26256 * sysdeps/sparc/elf/configure: Generate.
26258 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26259 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26260 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26261 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26262 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26264 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26266 * manual/install.texi: Do not mention specific glibc version
26268 * manual/libc.texinfo (VERSION, UPDATED): Update.
26269 (@copying): Use @copyright{} and range of years.
26271 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26274 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26275 [crti.S not in sysdirs] (generated): Do not append.
26276 [crti.S not in sysdirs] (omit-deps): Likewise.
26277 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26278 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26279 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26280 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26281 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26283 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26284 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26285 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26286 * csu/defs.awk: Remove file.
26287 * sysdeps/generic/initfini.c: Likewise.
26288 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26290 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26293 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26295 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26296 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26297 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26299 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26300 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26302 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26303 (__EPOLL_PACKED): Define to empty if not defined by
26305 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26309 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26311 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26312 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26313 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26314 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26316 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26320 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26322 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26325 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26326 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26329 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26334 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26336 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26337 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26339 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26341 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26344 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26346 * math/w_acos.c: Use non-signaling floating-point comparisons.
26347 * math/w_acosf.c: Likewise.
26348 * math/w_acosh.c: Likewise.
26349 * math/w_acoshf.c: Likewise.
26350 * math/w_acoshl.c: Likewise.
26351 * math/w_acosl.c: Likewise.
26352 * math/w_asin.c: Likewise.
26353 * math/w_asinf.c: Likewise.
26354 * math/w_asinl.c: Likewise.
26355 * math/w_atanh.c: Likewise.
26356 * math/w_atanhf.c: Likewise.
26357 * math/w_atanhl.c: Likewise.
26358 * math/w_exp2.c: Likewise.
26359 * math/w_exp2f.c: Likewise.
26360 * math/w_exp2l.c: Likewise.
26361 * math/w_j0.c: Likewise.
26362 * math/w_j0f.c: Likewise.
26363 * math/w_j0l.c: Likewise.
26364 * math/w_j1.c: Likewise.
26365 * math/w_j1f.c: Likewise.
26366 * math/w_j1l.c: Likewise.
26367 * math/w_jn.c: Likewise.
26368 * math/w_jnf.c: Likewise.
26369 * math/w_log.c: Likewise.
26370 * math/w_log10.c: Likewise.
26371 * math/w_log10f.c: Likewise.
26372 * math/w_log10l.c: Likewise.
26373 * math/w_log2.c: Likewise.
26374 * math/w_log2f.c: Likewise.
26375 * math/w_log2l.c: Likewise.
26376 * math/w_logf.c: Likewise.
26377 * math/w_logl.c: Likewise.
26378 * math/w_sqrt.c: Likewise.
26379 * math/w_sqrtf.c: Likewise.
26380 * math/w_sqrtl.c: Likewise.
26381 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26382 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26384 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26385 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26387 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26390 * manual/string.texi (strnlen): Use correct parameter name in
26391 equivalent expression.
26393 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26396 * manual/users.texi (seteuid): Consistently use neweuid for
26399 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26402 * manual/nss.texi (Services in the NSS configuration): Correct
26403 list of services in example configuration file.
26405 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26408 * manual/arith.texi: Remove statements about negative zero
26409 behaving identically to zero.
26411 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26414 * manual/install.texi: Do not document upgrading from libc5.
26416 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26419 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26421 2012-02-18 David S. Miller <davem@davemloft.net>
26423 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26424 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26425 %o7 across the call.
26426 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26429 SETUP_PIC_REG_LEAF.
26430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26431 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26432 * sysdeps/sparc/crtn.S: Likewise.
26434 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26436 * aout/Makefile: Remove.
26438 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26441 * manual/examples/argp-ex1.c (main): Format definition in GNU
26443 * manual/examples/argp-ex2.c (main): Likewise.
26444 * manual/examples/argp-ex3.c (main): Likewise.
26445 * manual/examples/argp-ex4.c (main): Likewise.
26446 * manual/examples/longopt.c (main): Use new-style prototype
26448 * manual/examples/strncat.c (main): Specify return type and use
26449 (void) for arguments.
26450 * manual/examples/subopt.c (main): Use char **argv argument.
26452 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26455 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26458 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26461 * manual/string.texi (strchr): Change when strchrnul is
26464 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26467 * manual/locale.texi (setlocale): Document LOCPATH.
26469 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26472 * manual/process.texi (execle): Move @dots{} before last argument.
26474 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26477 * manual/charset.texi (Generic Charset Conversion): Fix typo
26478 (LC_TYPE -> LC_CTYPE).
26480 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26483 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26484 (scalbnf): Likewise.
26485 (scalbnl): Likewise.
26486 (scalbln): Likewise.
26487 (scalblnf): Likewise.
26488 (scalblnl): Likewise.
26489 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26490 (vwarnx): Likewise.
26493 * manual/filesys.texi (telldir): Use braces around return type.
26494 * manual/llio.texi (mmap): Add space after comma.
26495 (mmap64): Likewise.
26496 * manual/math.texi (jn): Use @var{} on parameter names.
26502 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26504 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26506 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26507 (sched_get_priority_max): Likewise.
26508 * manual/signal.texi (sigvec): Add space after comma.
26509 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26511 (if_indextoname): Likewise.
26512 (if_freenameindex): Likewise.
26513 (sendto): Use ',' instead of '.' in prototype.
26514 * manual/startup.texi (syscall): Use @dots{} instead of literal
26516 * manual/stdio.texi (__fpending): Separate initial words of
26517 paragraph from @deftypefun line.
26518 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26520 (vsyslog): Use @var{} on parameter names.
26521 * manual/terminal.texi (stty): Use @var{} on parameter names.
26522 * manual/users.texi (getutmp): Use @var{} on parameter names.
26523 (getutmpx): Likewise.
26525 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26528 * manual/stdio.texi (fopen): Fix typos in description of
26531 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26534 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26535 get clock_id definition.
26537 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26540 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26541 (madvise): Cast every argument to void on its own.
26543 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26546 * manual/startup.texi (Exit Status): Fix typo.
26548 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26551 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26552 * manual/examples/argp-ex2.c: Likewise.
26553 * manual/examples/argp-ex3.c: Likewise.
26555 2012-02-16 Richard Henderson <rth@redhat.com>
26557 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26558 * sysdeps/s390/s390-32/initfini.c: Remove.
26559 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26560 * sysdeps/s390/s390-64/initfini.c: Remove.
26562 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26564 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26565 compiler output for sysdeps/generic/initfini.c.
26566 * sysdeps/sh/elf/initfini.c: Remove file.
26568 2012-02-16 David S. Miller <davem@davemloft.net>
26571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26573 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26574 * sysdeps/sparc/crti.S: New file.
26575 * sysdeps/sparc/crtn.S: New file.
26576 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26577 * sysdeps/sparc/sparc64/Makefile: Likewise.
26579 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26582 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26584 2012-02-15 Roland McGrath <roland@hack.frob.com>
26587 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26589 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26590 (write, read, close): Likewise.
26591 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26593 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26595 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26596 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26597 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26598 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26600 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26604 2012-02-14 Marek Polacek <polacek@redhat.com>
26606 * sysdeps/x86_64/crti.S: New file.
26607 * sysdeps/x86_64/crtn.S: New file.
26608 * sysdeps/x86_64/elf/initfini.c: Remove file.
26610 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26612 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26613 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26614 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26615 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26617 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26621 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26623 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26624 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26625 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26626 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26628 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26632 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26634 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26635 __feraiseexcept instead of feraiseexcept.
26637 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26638 nanosleep invocations.
26639 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26640 strings, and add error checking for a nanosleep invocations.
26642 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26644 Replace FSF snail mail address with URLs, as per GNU coding standards.
26645 Most of the snail mail addresses were wrong anyway, and omitting
26646 them makes the source code easier to maintain. Almost all of the
26647 changes are to license notices and to locale LC_IDENTIFICATION
26648 addresses, except for this one:
26649 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26650 not its snail mail address.
26652 2012-02-09 Richard Henderson <rth@twiddle.net>
26654 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26655 of kernel-features.h.
26657 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26659 2012-02-08 Marek Polacek <polacek@redhat.com>
26661 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26662 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26663 * sysdeps/gnu/_G_config.h: Likewise.
26664 * sysdeps/generic/_G_config.h: Likewise.
26666 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26668 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26672 * sysdeps/powerpc/powerpc32/crti.S: New file.
26673 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26674 * sysdeps/powerpc/powerpc64/crti.S: New file.
26675 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26677 * Makeconfig (have-initfini): Don't set.
26678 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26679 * configure.in (nopic_initfini): Don't substitute.
26680 * config.h.in (HAVE_INITFINI): Don't #undef.
26681 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26682 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26684 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26686 Support crti.S and crtn.S provided directly by architectures.
26687 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26688 [crti.S in sysdirs] (omit-deps): Likewise.
26689 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26690 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26691 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26692 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26693 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26694 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26695 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26696 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26697 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26698 compiler output for sysdeps/generic/initfini.c.
26699 * sysdeps/i386/elf/Makefile: Remove file.
26700 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26702 2012-02-07 Marek Polacek <polacek@redhat.com>
26704 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26705 * sysdeps/gnu/_G_config.h: Likewise.
26706 * sysdeps/mach/hurd/_G_config.h: Likewise.
26708 2012-02-07 Marek Polacek <polacek@redhat.com>
26710 * math/Makefile (tests): Add tst-CMPLX2.
26711 * math/tst-CMPLX2.c: New file.
26713 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26715 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26717 * math/libm-test.inc (jn_test): Add missing L suffix.
26719 2012-02-06 Marek Polacek <polacek@redhat.com>
26721 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26722 * sysdeps/i386/fpu/e_powf.S: Likewise.
26723 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26724 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26725 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26726 * sysdeps/i386/fpu/e_pow.S: Likewise.
26727 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26728 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26729 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26730 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26731 * sysdeps/i386/fpu/e_log2.S: Likewise.
26732 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26733 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26734 * sysdeps/i386/fpu/e_powl.S: Likewise.
26735 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26736 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26737 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26738 * sysdeps/i386/fpu/e_logl.S: Likewise.
26739 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26740 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26741 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26742 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26743 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26744 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26745 * sysdeps/i386/fpu/e_log.S: Likewise.
26746 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26748 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26749 * sysdeps/i386/fpu/e_logf.S: Likewise.
26750 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26752 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26753 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26754 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26755 * sysdeps/i386/fpu/e_log10.S: Likewise.
26756 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26757 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26758 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26759 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26760 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26761 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26762 * sysdeps/i386/asm-syntax.h: Likewise.
26763 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26765 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26766 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26767 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26768 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26769 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26770 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26772 * sysdeps/powerpc/sysdep.h: Likewise.
26773 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26774 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26776 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26781 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26783 * sysdeps/i386/sysdep.h: Include <features.h>.
26784 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26787 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26789 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26791 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26794 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26796 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26797 (SETUP_PIC_REG): Use GET_PC_THUNK.
26798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26801 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26803 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26804 for non-PIC compilation.
26805 (SETUP_PIC_REG): Add .p2align directive.
26806 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26807 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26808 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26809 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26810 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26811 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26812 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26813 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26814 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26815 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26816 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26817 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26818 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26819 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26820 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26821 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26822 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26823 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26824 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26825 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26827 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26828 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26829 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26830 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26832 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26833 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26834 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26835 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26836 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26838 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26839 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26840 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26841 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26842 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26843 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26844 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26845 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26846 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26848 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26850 * math/tst-CMPLX.c: Include <stdio.h>.
26852 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26854 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26856 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26857 * sysdeps/sparc/bits/mathdef.h: Likewise.
26859 2012-01-31 Marek Polacek <polacek@redhat.com>
26861 * libio/libio.h: Don't define _PARAMS.
26862 * locale/programs/config.h: Don't define PARAMS.
26863 * stdlib/strtol_l.c: Likewise.
26864 (__strtol_l): Remove PARAMS from the prototype.
26866 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26868 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26869 names. Just use the correct names. Remove unnecessary wrapper
26871 * malloc/arena.c: Likewise.
26872 * malloc/hooks.c: Likewise.
26874 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26875 ARENA_TEST says not to. Simplify test for creation of a new arena.
26876 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26878 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26880 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26882 (update_get_addr): New function.
26883 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26884 GET_ADDR_MODULE parameter.
26886 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26888 * crypt/cert.c: Remove __STDC__ conditionals.
26889 * crypt/crypt-entry.c: Likewise.
26890 * crypt/crypt_util.c: Likewise.
26891 * libio/filedoalloc.c: Likewise.
26892 * libio/fileops.c: Likewise.
26893 * libio/genops.c: Likewise.
26894 * libio/iofclose.c: Likewise.
26895 * libio/iofdopen.c: Likewise.
26896 * libio/iofopen.c: Likewise.
26897 * libio/iofopen64.c: Likewise.
26898 * libio/iogetdelim.c: Likewise.
26899 * libio/iopopen.c: Likewise.
26900 * libio/obprintf.c: Likewise.
26901 * libio/oldfileops.c: Likewise.
26902 * libio/oldiofclose.c: Likewise.
26903 * libio/oldiofdopen.c: Likewise.
26904 * libio/oldiofopen.c: Likewise.
26905 * libio/oldiopopen.c: Likewise.
26906 * libio/wfiledoalloc.c: Likewise.
26907 * libio/wgenops.c: Likewise.
26908 * locale/programs/xmalloc.c: Likewise.
26909 * misc/syslog.c: Likewise.
26910 * stdio-common/xbug.c: Likewise.
26911 * string/memchr.c: Likewise.
26912 * string/memcmp.c: Likewise.
26913 * string/memrchr.c: Likewise.
26914 * string/rawmemchr.c: Likewise.
26915 * sysdeps/posix/getcwd.c: Likewise.
26916 * time/strftime_l.c: Likewise.
26918 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26920 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26921 * config.make.in (config-cflags-sse2avx): Define.
26922 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26925 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26927 * scripts/config.guess: Update from upstream config git repository.
26928 * scripts/config.sub: Likewise.
26930 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26932 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26934 (R_TILEPRO_*, R_TILEGX_*): New macros.
26936 * scripts/firstversions.awk: Fix bug in version range handling.
26938 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26940 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26942 * include/sys/epoll.h: New file.
26943 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26946 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26948 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26949 Avoid unnecessary __WORDSIZE == 64 test.
26950 (fmaxf): Use VEX format if possible.
26955 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26956 * math/math_private.h: Remove libc_fegetround* and
26958 * sysdeps/i386/configure.in: Check for -msse2avx.
26959 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26960 also if SSE2AVX is defined.
26961 Remove libc_fegetround* and libc_fesetround*.
26962 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26963 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26964 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26967 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26968 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26969 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26972 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26974 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26976 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26980 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26983 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26985 * Makeconfig (libm): Define.
26986 * elf/Makefile: Add rules to build and run tst-relsort1.
26987 * elf/tst-relsort1.c: New file.
26988 * elf/tst-relsort1mod1.c: New file.
26989 * elf/tst-relsort1mod2.c: New file.
26991 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26993 * math/s_ldexp.c: Remove __STDC__ conditionals.
26994 * math/s_ldexpf.c: Likewise.
26995 * math/s_ldexpl.c: Likewise.
26996 * math/s_nextafter.c: Likewise.
26997 * math/s_nexttowardf.c: Likewise.
26998 * math/s_significand.c: Likewise.
26999 * math/s_significandf.c: Likewise.
27000 * math/s_significandl.c: Likewise.
27001 * math/w_jnl.c: Likewise.
27002 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27003 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27004 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27005 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27006 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27023 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27024 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27026 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27027 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27028 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27029 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27030 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27031 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27032 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27033 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27034 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27035 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27036 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27037 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27038 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27039 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27040 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27041 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27042 * sysdeps/ieee754/k_standard.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27072 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27074 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27088 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27092 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27093 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27098 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27100 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27101 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27110 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27112 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27113 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27114 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27115 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27118 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27119 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27120 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27121 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27122 * sysdeps/ieee754/s_matherr.c: Likewise.
27123 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27124 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27128 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27130 * crypt/md5.h: Remove __STDC__ conditionals.
27131 * libio/libioP.h: Likewise.
27132 * locale/programs/config.h: Likewise.
27133 * sysdeps/generic/sysdep.h: Likewise.
27134 * sysdeps/i386/asm-syntax.h: Likewise.
27135 * sysdeps/s390/asm-syntax.h: Likewise.
27136 * sysdeps/unix/sysdep.h: Likewise.
27137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27140 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27142 * libio/libio.h: Remove __STDC__ conditionals.
27143 * malloc/obstack.h: Likewise.
27144 * math/complex.h: Likewise.
27145 * math/math.h: Likewise.
27146 * sysdeps/generic/_G_config.h: Likewise.
27147 * sysdeps/gnu/_G_config.h: Likewise.
27148 * sysdeps/mach/hurd/_G_config.h: Likewise.
27149 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27150 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27151 * sysdeps/sparc/bits/mathdef.h: Likewise.
27153 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27156 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27157 Clean up HAS_* macros.
27158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27159 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27164 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27165 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27166 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27167 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27169 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27171 * elf/tst-unique3.cc (gets): Remove declaration.
27172 * elf/tst-unique3lib.cc (gets): Likewise.
27173 * elf/tst-unique3lib2.cc (gets): Likewise.
27174 * elf/tst-unique4.cc (gets): Likewise.
27176 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27178 * include/stdio.h: Add C++ protection. Add gets declarations and
27180 * debug/tst-chk1.c: Don't declare gets here.
27181 * stdio-common/tst-gets.c: Likewise.
27183 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27185 * posix/glob: Remove directory.
27187 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27189 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27191 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27193 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27194 of the non-standard EPFNOSUPPORT.
27196 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27198 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27199 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27200 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27202 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27204 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27206 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27208 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27210 * nscd/grpcache.c (cache_addgr): Likewise.
27211 * nscd/hstcache.c (cache_addhst): Likewise.
27212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27213 * nscd/pwdcache.c (cache_addpw): Likewise.
27214 * nscd/servicescache.c (cache_addserv): Likewise.
27216 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27218 * malloc/malloc.c: Various cleanups.
27219 * malloc/hooks.c: Likewise.
27221 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27222 * stdlib/bug-fmtmsg1.c: New file.
27224 * stdlib/fmtmsg.c (init): Add missing unlock.
27225 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27227 2012-01-12 Marek Polacek <polacek@redhat.com>
27229 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27232 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27234 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27235 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27236 macro to ensure uniqueness of label name.
27237 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27238 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27240 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27242 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27244 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27245 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27249 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27251 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27253 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27254 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27257 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27259 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27260 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27264 * math/bits/math-finite.h: Add ldexp support.
27266 2012-01-10 Marek Polacek <polacek@redhat.com>
27268 * locale/programs/localedef.h (show_archive_content): Add noreturn
27271 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27273 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27275 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27277 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27279 * io/Makefile (headers): Add bits/poll2.h.
27281 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27284 typo #include statement.
27286 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27288 * include/sys/cdefs.h: Define __attribute_alloc_size.
27289 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27290 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27291 * elf/pldd.c: Likewise.
27292 * iconv/iconv_charmap.c: Likewise.
27293 * iconv/iconvconfig.c: Likewise.
27294 * iconv/strtab.c: Likewise.
27295 * locale/programs/locale.c: Likewise.
27296 * locale/programs/localedef.h: Likewise.
27297 * locale/programs/simple-hash.c: Likewise.
27298 * nscd/nscd.h: Likewise.
27299 * nss/makedb.c: Likewise.
27300 * sysdeps/generic/ldconfig.h: Likewise.
27301 * locale/programs/localedef.c: Remove xmalloc prototype.
27302 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27304 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27306 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27309 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27311 * math/Makefile (tests): Add tst-CMPLX.
27312 * math/tst-CMPLX.c: New file.
27314 * math/complex.h (CMPLXL): Fix typo.
27316 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27317 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27319 * debug/tst-chk1.c: Add poll and ppoll tests.
27320 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27321 * include/sys/poll.h: Add hidden proto for ppoll.
27322 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27323 * sysdeps/mach/hurd/ppoll.c: Likewise.
27324 * io/ppoll.c: Likewise.
27325 * debug/poll_chk.c: New file.
27326 * debug/ppoll_chk.c: New file.
27327 * include/bits/poll2.h: New file.
27328 * io/bits/poll2.h: New file.
27331 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27333 * configure.in: static is always set to yes. Remove.
27334 * config.make.in: Don't set build-static.
27335 * Makeconfig: Remove use of build-static.
27336 * dlfcn/Makefile: Likewise.
27337 * elf/Makefile: Likewise.
27338 * math/Makefile: Likewise.
27339 * misc/Makefile: Likewise.
27340 * nptl/Makefile: Likewise.
27341 * sysdeps/mach/hurd/Makefile: Likewise.
27343 * configure.in: PWD_P is not used anymore.
27344 * config.make.in: Remove PWD_P entry.
27346 * configure.in: Remove last remnants of RANLIB.
27347 No need to check for signed size_t anymore.
27348 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27350 Remove __builtin_expect test because we require at least gcc 3.4.
27351 * aclocal.m4: Likewise.
27353 * wcsmbs/mbrtoc16.c: Implement using towc function.
27354 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27355 * wcsmbs/wcsmbsload.c: Likewise.
27356 * iconv/gconv_simple.c: Likewise.
27357 * iconv/gconv_int.h: Likewise.
27358 * iconv/gconv_builtin.h: Likewise.
27359 * iconv/iconv_prog.c: Remove CHAR16 handling.
27361 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27363 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27365 * configure.in: Remove --with-elf and --enable-bounded options.
27366 Dont set base_machine for ia64. More non-ELF conditions removed.
27367 Remove testing and setting of leading underscore information.
27368 * config.make.in (build-bounded): Set to no.
27369 * config.h.in: Remove NO_UNDERSCORES entry.
27370 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27372 * csu/start.c: Remove !NO_UNDERSCORE code.
27373 * locale/localeinfo.h: Likewise.
27374 * sysdeps/generic/machine-gmon.h: Likewise.
27375 * sysdeps/generic/sysdep.h: Likewise.
27376 * sysdeps/i386/sysdep.h: Likewise.
27377 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27378 * sysdeps/mach/sysdep.h: Likewise.
27379 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27381 * sysdeps/sh/sysdep.h: Likewise.
27382 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27383 * sysdeps/unix/i386/sysdep.S: Likewise.
27384 * sysdeps/unix/sparc/start.c: Likewise.
27385 * sysdeps/unix/sparc/sysdep.S: Likewise.
27386 * sysdeps/unix/sparc/sysdep.h: Likewise.
27387 * sysdeps/unix/start.c: Likewise.
27388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27389 * sysdeps/x86_64/sysdep.h: Likewise.
27391 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27394 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27396 * argp/argp-fmtstream.h: Use const instead __const.
27397 * argp/argp.h: Likewise.
27398 * assert/assert.h: Likewise.
27399 * bits/fenv.h: Likewise.
27400 * bits/sched.h: Likewise.
27401 * bits/sigset.h: Likewise.
27402 * bits/sigthread.h: Likewise.
27403 * catgets/nl_types.h: Likewise.
27404 * conform/data/pthread.h-data: Likewise.
27405 * crypt/crypt-private.h: Likewise.
27406 * crypt/crypt.h: Likewise.
27407 * crypt/crypt_util.c: Likewise.
27408 * ctype/ctype.h: Likewise.
27409 * debug/execinfo.h: Likewise.
27410 * debug/mbsnrtowcs_chk.c: Likewise.
27411 * debug/mbsrtowcs_chk.c: Likewise.
27412 * debug/wcsnrtombs_chk.c: Likewise.
27413 * debug/wcsrtombs_chk.c: Likewise.
27414 * debug/wcstombs_chk.c: Likewise.
27415 * dirent/dirent.h: Likewise.
27416 * dlfcn/dlfcn.h: Likewise.
27417 * elf/neededtest4.c: Likewise.
27418 * grp/grp.h: Likewise.
27419 * gshadow/gshadow.h: Likewise.
27420 * iconv/gconv.h: Likewise.
27421 * iconv/gconv_int.h: Likewise.
27422 * iconv/gconv_simple.c: Likewise.
27423 * iconv/iconv.h: Likewise.
27424 * iconv/loop.c: Likewise.
27425 * iconv/skeleton.c: Likewise.
27426 * include/aio.h: Likewise.
27427 * include/aliases.h: Likewise.
27428 * include/argz.h: Likewise.
27429 * include/arpa/inet.h: Likewise.
27430 * include/assert.h: Likewise.
27431 * include/dirent.h: Likewise.
27432 * include/dlfcn.h: Likewise.
27433 * include/execinfo.h: Likewise.
27434 * include/fcntl.h: Likewise.
27435 * include/fenv.h: Likewise.
27436 * include/glob.h: Likewise.
27437 * include/grp.h: Likewise.
27438 * include/libintl.h: Likewise.
27439 * include/mntent.h: Likewise.
27440 * include/netdb.h: Likewise.
27441 * include/pwd.h: Likewise.
27442 * include/rpc/netdb.h: Likewise.
27443 * include/sched.h: Likewise.
27444 * include/search.h: Likewise.
27445 * include/shadow.h: Likewise.
27446 * include/signal.h: Likewise.
27447 * include/stdio.h: Likewise.
27448 * include/stdlib.h: Likewise.
27449 * include/string.h: Likewise.
27450 * include/sys/socket.h: Likewise.
27451 * include/sys/stat.h: Likewise.
27452 * include/sys/statfs.h: Likewise.
27453 * include/sys/statvfs.h: Likewise.
27454 * include/sys/syslog.h: Likewise.
27455 * include/sys/time.h: Likewise.
27456 * include/sys/uio.h: Likewise.
27457 * include/time.h: Likewise.
27458 * include/unistd.h: Likewise.
27459 * include/utmp.h: Likewise.
27460 * include/wchar.h: Likewise.
27461 * include/wctype.h: Likewise.
27462 * inet/aliases.h: Likewise.
27463 * inet/arpa/inet.h: Likewise.
27464 * inet/netinet/ether.h: Likewise.
27465 * inet/netinet/in.h: Likewise.
27466 * intl/libintl.h: Likewise.
27467 * io/bits/fcntl2.h: Likewise.
27468 * io/fcntl.h: Likewise.
27469 * io/ftw.h: Likewise.
27470 * io/sys/poll.h: Likewise.
27471 * io/sys/stat.h: Likewise.
27472 * io/sys/statfs.h: Likewise.
27473 * io/sys/statvfs.h: Likewise.
27474 * io/utime.h: Likewise.
27475 * libio/bits/stdio.h: Likewise.
27476 * libio/bits/stdio2.h: Likewise.
27477 * libio/libio.h: Likewise.
27478 * libio/libioP.h: Likewise.
27479 * libio/stdio.h: Likewise.
27480 * locale/lc-ctype.c: Likewise.
27481 * locale/locale.h: Likewise.
27482 * login/utmp.h: Likewise.
27483 * malloc/arena.c: Likewise.
27484 * malloc/malloc.c: Likewise.
27485 * malloc/malloc.h: Likewise.
27486 * malloc/mcheck.c: Likewise.
27487 * malloc/mtrace.c: Likewise.
27488 * math/bits/mathcalls.h: Likewise.
27489 * math/fenv.h: Likewise.
27490 * math/math_private.h: Likewise.
27491 * misc/bits/error.h: Likewise.
27492 * misc/bits/syslog.h: Likewise.
27493 * misc/err.h: Likewise.
27494 * misc/error.h: Likewise.
27495 * misc/fstab.h: Likewise.
27496 * misc/mntent.h: Likewise.
27497 * misc/regexp.h: Likewise.
27498 * misc/search.h: Likewise.
27499 * misc/sgtty.h: Likewise.
27500 * misc/sys/mman.h: Likewise.
27501 * misc/sys/syslog.h: Likewise.
27502 * misc/sys/uio.h: Likewise.
27503 * misc/sys/xattr.h: Likewise.
27504 * misc/ttyent.h: Likewise.
27505 * nis/rpcsvc/ypclnt.h: Likewise.
27506 * nss/nss.h: Likewise.
27507 * posix/bits/unistd.h: Likewise.
27508 * posix/fnmatch.h: Likewise.
27509 * posix/glob.h: Likewise.
27510 * posix/sched.h: Likewise.
27511 * posix/spawn.h: Likewise.
27512 * posix/sys/wait.h: Likewise.
27513 * posix/unistd.h: Likewise.
27514 * posix/wordexp.h: Likewise.
27515 * pwd/pwd.h: Likewise.
27516 * resolv/netdb.h: Likewise.
27517 * resource/sys/resource.h: Likewise.
27518 * rt/aio.h: Likewise.
27519 * rt/bits/mqueue2.h: Likewise.
27520 * rt/mqueue.h: Likewise.
27521 * shadow/shadow.h: Likewise.
27522 * signal/signal.h: Likewise.
27523 * socket/send.c: Likewise.
27524 * socket/sendto.c: Likewise.
27525 * socket/sys/socket.h: Likewise.
27526 * stdio-common/printf.h: Likewise.
27527 * stdlib/bits/stdlib.h: Likewise.
27528 * stdlib/fmtmsg.h: Likewise.
27529 * stdlib/monetary.h: Likewise.
27530 * stdlib/stdlib.h: Likewise.
27531 * stdlib/ucontext.h: Likewise.
27532 * streams/stropts.h: Likewise.
27533 * string/argz.h: Likewise.
27534 * string/bits/string2.h: Likewise.
27535 * string/string.h: Likewise.
27536 * string/strings.h: Likewise.
27537 * sunrpc/rpc/auth.h: Likewise.
27538 * sunrpc/rpc/auth_des.h: Likewise.
27539 * sunrpc/rpc/clnt.h: Likewise.
27540 * sunrpc/rpc/netdb.h: Likewise.
27541 * sunrpc/rpc/pmap_clnt.h: Likewise.
27542 * sunrpc/rpc/xdr.h: Likewise.
27543 * sysdeps/generic/inttypes.h: Likewise.
27544 * sysdeps/generic/net/if.h: Likewise.
27545 * sysdeps/generic/sys/swap.h: Likewise.
27546 * sysdeps/gnu/net/if.h: Likewise.
27547 * sysdeps/gnu/utmpx.h: Likewise.
27548 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27549 * sysdeps/i386/i486/bits/string.h: Likewise.
27550 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27551 * sysdeps/s390/bits/string.h: Likewise.
27552 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27553 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27554 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27555 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27556 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27557 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27558 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27559 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27560 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27561 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27562 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27563 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27564 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27565 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27566 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27567 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27568 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27570 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27571 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27574 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27575 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27576 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27577 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27578 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27580 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27582 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27583 * sysvipc/sys/ipc.h: Likewise.
27584 * sysvipc/sys/msg.h: Likewise.
27585 * sysvipc/sys/sem.h: Likewise.
27586 * sysvipc/sys/shm.h: Likewise.
27587 * termios/termios.h: Likewise.
27588 * time/sys/time.h: Likewise.
27589 * time/time.h: Likewise.
27590 * wcsmbs/bits/wchar2.h: Likewise.
27591 * wcsmbs/uchar.h: Likewise.
27592 * wcsmbs/wchar.h: Likewise.
27593 * wctype/wctype.h: Likewise.
27596 * Makeconfig: Remove all but ELF support including AIX support.
27597 * Makerules: Likewise.
27598 * config.h.in: Likewise.
27599 * config.make.in: Likewise.
27600 * configure: Likewise.
27601 * configure.in: Likewise.
27602 * csu/Makefile: Likewise.
27603 * csu/version.c: Likewise.
27604 * debug/Makefile: Likewise.
27605 * dlfcn/Makefile: Likewise.
27606 * elf/Makefile: Likewise.
27607 * extra-lib.mk: Likewise.
27608 * iconv/Makefile: Likewise.
27609 * include/libc-symbols.h: Likewise.
27610 * include/shlib-compat.h: Likewise.
27611 * resolv/Makefile: Likewise.
27612 * resolv/res_libc.c: Likewise.
27613 * rt/Makefile: Likewise.
27614 * sysdeps/i386/asm-syntax.h: Likewise.
27615 * sysdeps/i386/sysdep.h: Likewise.
27616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27617 * sysdeps/mach/sysdep.h: Likewise.
27618 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27619 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27620 * sysdeps/s390/asm-syntax.h: Likewise.
27621 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27623 * sysdeps/sh/sysdep.h: Likewise.
27624 * sysdeps/unix/sparc/sysdep.h: Likewise.
27625 * sysdeps/wordsize-32/divdi3.c: Likewise.
27626 * sysdeps/x86_64/sysdep.h: Likewise.
27628 * argp/Versions: Remove _argp_unlock_xxx.
27631 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27632 * abilist/libBrokenLocale.abilist: Likewise.
27633 * abilist/libanl.abilist: Likewise.
27634 * abilist/libc.abilist: Likewise.
27635 * abilist/libcrypt.abilist: Likewise.
27636 * abilist/libdl.abilist: Likewise.
27637 * abilist/libm.abilist: Likewise.
27638 * abilist/libnsl.abilist: Likewise.
27639 * abilist/libpthread.abilist: Likewise.
27640 * abilist/libresolv.abilist: Likewise.
27641 * abilist/librt.abilist: Likewise.
27642 * abilist/libthread_db.abilist: Likewise.
27643 * abilist/libutil.abilist: Likewise.
27644 * abilist/libnss_db.abilist: New file.
27646 * scripts/abilist.awk: Add support for indirect functions.
27648 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27650 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27652 * shlib-versions: Remove entries for ports architectures.
27654 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27656 * elf/stackguard-macros.h: Remove support for IA-64.
27657 * elf/tst-auditmod1.c: Likewise.
27658 * sysdeps/generic/ldsodefs.h: Likewise.
27660 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27661 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27665 * configure.in: Remove --enable-omitfp support.
27667 * config.make.in: Likewise.
27668 * Makeconfig: Likewise.
27669 * manual/install.texi: Likewise.
27671 In case anyone cares, the IA-64 architecture could move to ports.
27672 * sysdeps/ia64/*: Removed.
27673 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27674 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27677 * configure.in: Remove entries for unsupported architectures.
27680 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27681 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27683 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27684 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27685 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27686 fall back to using wcrtomb.
27687 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27688 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27690 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27691 * wcsmbs/tst-c16c32-1.c: New file.
27693 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27696 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27698 * elf/tst-unique3.cc: Add explicit declaration of gets.
27699 * elf/tst-unique3lib.cc: Likewise.
27700 * elf/tst-unique3lib2.cc: Likewise.
27701 * elf/tst-unique4.cc: Likewise.
27703 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27705 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27708 * assert/assert.h (static_assert): Don't define for C++.
27709 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27710 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27712 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27714 * iconv/loop.c (single loop): Fix assertion in storing of
27717 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27719 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27721 * posix/getconf.c: Update copyright year.
27722 * nss/getent.c: Likewise.
27723 * nss/makedb.c: Likewise.
27724 * iconv/iconvconfig.c: Likewise.
27725 * iconv/iconv_prog.c: Likewise.
27726 * elf/ldconfig.c: Likewise.
27727 * elf/pldd.c: Likewise.
27728 * elf/sotruss.ksh: Likewise.
27729 * catgets/gencat.c: Likewise.
27730 * csu/version.c: Likewise.
27731 * elf/ldd.bash.in: Likewise.
27732 * elf/sprof.c (print_version): Likewise.
27733 * locale/programs/locale.c: Likewise.
27734 * locale/programs/localedef.c: Likewise.
27735 * login/programs/pt_chown.c: Likewise.
27736 * nscd/nscd.c (print_version): Likewise.
27737 * debug/xtrace.sh: Likewise.
27738 * malloc/memusage.sh: Likewise.
27739 * malloc/mtrace.pl: Likewise.
27740 * debug/catchsegv.sh: Likewise.
27742 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27744 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27747 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27750 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27751 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27753 * iconv/gconv_int.h: Likewise.
27754 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27755 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27756 from libc for GLIBC_2.16.
27757 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27758 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27759 * wcsmbs/uchar.h: Really define mbstate_t.
27760 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27761 * wcsmbs/c16rtomb.c: New file.
27762 * wcsmbs/mbrtoc16.c: New file.
27763 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27764 for C/POSIX locale.
27765 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27766 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27768 * wcsmbs/wchar.h: Add missing __restrict.
27770 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27773 * time/Makefile (routines): Add timespec_get.
27774 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27775 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27776 timespec for ISO C11.
27777 * time/timespec_get.c: New file.
27778 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27779 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27782 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27783 * stdlib/stdlib.h: Declare aligned_alloc.
27784 * Versions.def: Add GLIBC_2.16 for libc.
27785 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27788 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27791 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27795 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27798 * assert/assert.h (static_assert): Define.
27800 * version.h: Update for 2.16 development version.
27803 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27806 * version.h (RELEASE): Bump for 2.15 release.
27807 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27809 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27810 Patch by Marek Polacek <mpolacek@redhat.com>.
27812 * bits/byteswap.h: Protect long long constants with __extension__.
27813 * sysdeps/i386/bits/byteswap.h: Likewise.
27814 * sysdeps/ia64/bits/byteswap.h: Likewise.
27815 * sysdeps/s390/bits/byteswap.h: Likewise.
27816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27818 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27821 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27822 destination buffer.
27823 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27825 2011-12-23 Marek Polacek <polacek@redhat.com>
27827 * elf/dl-addr.c (determine_info): Add inline keyword.
27828 * elf/tst-auditmod4b.c (check_avx): Likewise.
27829 * elf/tst-auditmod6b.c (check_avx): Likewise.
27830 * elf/tst-auditmod6c.c (check_avx): Likewise.
27831 * elf/tst-auditmod7b.c (check_avx): Likewise.
27833 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27835 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27838 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27841 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27842 processing for last bytes.
27844 2011-08-06 Bruno Haible <bruno@clisp.org>
27847 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27848 U+0385, not to U+1FEE.
27851 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27852 entry for U+00A5 U+0301.
27854 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27857 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27858 buffer for the output is too small.
27860 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27864 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27865 SSE flags if possible.
27867 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27871 processing for last bytes.
27873 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27875 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27876 (syscall-list-default-options, syscall-list-default-condition)
27877 (syscall-list-includes): Define.
27878 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27879 list of ABIs and options and #if conditions for each ABI. Do not
27880 handle common syscalls between ABIs specially.
27881 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27883 (syscall-list-variants, syscall-list-32bit-options)
27884 (syscall-list-32bit-condition, syscall-list-64bit-options)
27885 (syscall-list-64bit-condition): Define.
27886 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27887 (syscall-list-variants, syscall-list-32bit-options)
27888 (syscall-list-32bit-condition, syscall-list-64bit-options)
27889 (syscall-list-64bit-condition): Define.
27890 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27892 (syscall-list-variants, syscall-list-32bit-options)
27893 (syscall-list-32bit-condition, syscall-list-64bit-options)
27894 (syscall-list-64bit-condition): Define.
27895 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27897 (syscall-list-variants, syscall-list-32bit-options)
27898 (syscall-list-32bit-condition, syscall-list-64bit-options)
27899 (syscall-list-64bit-condition): Define.
27901 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27903 * locale/iso-639.def: Add brx entry.
27906 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27907 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27909 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27910 __feraiseexcept_renamed.
27912 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27915 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27916 EPOLLET with unsigned values.
27917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27918 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27920 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27921 to large cancellation.
27922 * math/s_cacoshf.c: Likewise.
27923 * math/s_cacoshl.c: Likewise.
27925 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27929 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27930 * math/s_cacoshf.c: Likewise.
27931 * math/s_cacoshl.c: Likewise.
27933 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27936 * iconv/gconv.h: Define __GCONV_SWAP.
27937 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27938 * iconvdata/utf-16.c: Likewise.
27939 * iconvdata/utf-32.c: Likewise.
27941 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27945 numerator after shifting it by one limb.
27947 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27949 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27950 under [__USE_EXTERN_INLINES].
27952 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27955 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27957 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27959 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27960 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27962 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27963 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27964 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27965 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27966 for strncasecmp/strncasecmp_l compilation.
27967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27968 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27970 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27973 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27976 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27979 * time/tzfile.c (__tzfile_read): Check values from file header.
27981 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27983 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27984 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27985 * powerpc/powerpc32/dl-start.S: Likewise.
27986 * powerpc/powerpc32/elf/start.S: Likewise.
27987 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27988 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27989 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27990 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27991 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27992 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27993 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27994 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27995 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27996 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27997 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27998 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27999 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28000 * powerpc/powerpc32/memset.S: Likewise.
28001 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28002 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28003 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28004 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28005 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28006 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28007 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28008 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28009 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28010 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28011 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28012 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28013 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28015 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28017 * math/libm-test.inc: Added more nearbyint tests.
28018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28020 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28023 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28025 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28028 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28030 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28031 Add wcscpy-ssse3 wcscpy-c.
28032 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28033 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28034 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28035 * sysdeps/x86_64/wcschr.S: New file.
28036 * sysdeps/x86_64/wcsrchr.S: New file.
28037 * string/test-strcmp.c: Remove checking of wcscmp function for
28039 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28040 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28041 wcsrchr-sse2 wcsrchr-c.
28042 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28043 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28044 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28045 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28046 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28047 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28048 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28049 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28050 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28051 * wcsmbc/wcschr.c (WCSCHR): New macro.
28053 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28055 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28056 * wcsmbs/test-wcsrchr.c: New file.
28057 * string/test-strrchr.c: Add wcsrchr support.
28059 * wcsmbs/test-wcscpy.c: New file.
28060 * string/test-strcpy.c: Add wcscpy support.
28063 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28065 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28068 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28071 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28073 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28075 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28076 Minor optimizations.
28078 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28079 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28080 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28082 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28084 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28085 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28086 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28087 for gcc to avoid warnings.
28088 * inet/Makefile (tests): Add tst-checks.
28089 * inet/tst-checks.c: New file.
28091 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28094 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28097 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28098 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28100 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28102 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28104 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28107 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28109 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28111 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28112 conditional on GCC version.
28113 (__arch_compare_and_exchange_val_8_acq)
28114 (__arch_compare_and_exchange_val_16_acq)
28115 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28116 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28117 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28119 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28121 * sysdeps/sh/backtrace.c: New file.
28123 2011-12-02 Andreas Schwab <schwab@redhat.com>
28125 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28128 2011-12-01 Andreas Schwab <schwab@redhat.com>
28130 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28131 falling back to utime.
28133 2011-11-30 Andreas Schwab <schwab@redhat.com>
28135 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28136 expectations for float.
28138 2011-11-29 Andreas Schwab <schwab@redhat.com>
28140 * locale/weight.h (findidx): Add parameter len.
28141 * locale/weightwc.h (findidx): Likewise.
28142 * posix/fnmatch_loop.c (FCT): Adjust caller.
28143 * posix/regcomp.c (build_equiv_class): Likewise.
28144 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28145 * posix/regexec.c (check_node_accept_bytes): Likewise.
28146 * string/strcoll_l.c (STRCOLL): Likewise.
28147 * string/strxfrm_l.c (STRXFRM): Likewise.
28149 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28151 * Makefile.in: Remove CVSOPT handling.
28152 * configure.in: Remove use of AC_REVISION.
28153 * iconvdata/Makefile (distribute): No need to filter out CVS.
28154 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28157 2011-11-16 Andreas Schwab <schwab@redhat.com>
28159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28160 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28161 [USE_AS_STRNCASECMP_L]: Likewise.
28162 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28163 NO_TLS_DIRECT_SEG_REFS.
28164 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28165 Fix argument offsets for non-PIC.
28166 [USE_AS_STRNCASECMP_L]: Likewise.
28167 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28168 NO_TLS_DIRECT_SEG_REFS.
28170 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28172 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28174 * locale/loadlocale.c (_nl_load_locale): Likewise.
28176 2011-11-15 Andreas Schwab <schwab@redhat.com>
28178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28179 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28180 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28181 (SYSCALL_GETTIME): Set errno on error.
28183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28184 count references to noai6ai_cached.
28186 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28188 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28190 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28191 FD_CLOEXEC for /proc/self/maps.
28193 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28194 FD_CLOEXEC for /proc/meminfo.
28196 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28199 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28200 FD_CLOEXEC for given file.
28202 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28204 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28205 FD_CLOEXEC for /etc/hosts.
28206 (_gethtent): Likewise.
28208 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28210 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28211 cancellation and set FD_CLOEXEC for /etc/netgroup.
28213 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28214 reading /etc/publickey.
28216 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28217 allow cancellation when reading /etc/group.
28219 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28221 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28223 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28224 when using data file.
28226 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28228 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28229 (write_nis_obj): Use "c" and "e" in fopen.
28231 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28233 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28235 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28237 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28239 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28242 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28244 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28246 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28248 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28249 file parsing and set FD_CLOEXEC.
28251 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28253 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28255 2011-11-14 Andreas Schwab <schwab@redhat.com>
28257 * malloc/arena.c (arena_get2): Don't call reused_arena when
28258 _int_new_arena failed.
28260 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28262 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28263 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28264 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28265 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28266 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28267 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28268 to compile strcasecmp and strncasecmp.
28269 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28270 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28274 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28276 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28277 locale-defines.sym to gen-as-const-headers.
28278 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28279 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28281 to compile strcasecmp and strncasecmp.
28282 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28283 strcasecmp_l and strncasecmp_l.
28284 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28285 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28286 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28287 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28288 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28289 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28290 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28291 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28292 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28293 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28294 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28296 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28298 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28299 result of SYSDEP_GETTIME_CPU to retval.
28300 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28301 parameter list to macro. Remove trailing semicolon. Adjust users.
28303 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28306 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28308 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28310 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28311 from unused variable.
28313 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28315 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28318 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28321 * sunrpc/rpc_prot.c (rejected): Fix case value.
28323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28324 unsigned long long int to avoid warnings in shift.
28326 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28328 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28331 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28332 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28333 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28335 * nis/nis_table.c (nis_list): Use variable of correct type for
28336 result of __follow_path call.
28338 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28340 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28341 of math functions ceil, trunc, floor, round, and sqrt, when
28342 avaliable on the platform.
28343 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28345 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28346 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28347 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28349 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28351 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28352 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28354 2011-11-11 Roland McGrath <roland@hack.frob.com>
28356 * include/unistd.h: Fix __readlink return type.
28357 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28359 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28361 * stdlib/ucontext.h: Undo last change for makecontext.
28363 2011-11-11 Andreas Schwab <schwab@redhat.com>
28365 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28367 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28368 * setjmp/setjmp.h: Mark functions as non-leaf.
28369 * setjmp/bits/setjmp2.h: Likewise.
28370 * stdlib/ucontext.h: Likewise.
28372 2011-11-10 Andreas Schwab <schwab@redhat.com>
28374 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28375 (reused_arena): Don't check arena limit.
28376 (arena_get2): Atomically check arena limit.
28378 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28380 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28381 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28386 2011-11-07 Andreas Schwab <schwab@redhat.com>
28388 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28389 handler when locking.
28391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28392 Fix size of allocated buffer.
28394 2011-11-04 Andreas Schwab <schwab@redhat.com>
28397 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28398 declarations for long double functions.
28399 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28401 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28403 2011-11-03 Andreas Schwab <schwab@redhat.com>
28405 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28408 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28411 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28413 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28415 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28417 * include/alloca.h (stackinfo_alloca_round): Define.
28418 (extend_alloca): Use it.
28419 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28420 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28423 * scripts/check-local-headers.sh: Ignore libaudit.h.
28425 * nscd/Makefile (extra-objs): Make recursively expanded.
28427 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28429 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28430 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28432 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28433 * posix/tst-rfc3484-2.c: Likewise.
28434 * posix/tst-rfc3484-3.c: Likewise.
28436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28438 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28440 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28441 process_vm_writev from libc using GLIBC_2.15 version.
28443 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28445 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28447 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28450 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28453 * nss/getent.c (initgroups_keys): Show error message in case no group
28456 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28457 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28458 __bump_nl_timestamp.
28459 * nscd/connections (nscd_init): When host database is served open
28460 netlink socket and request notification about configuration changes.
28461 (main_loop_poll): Track netlink file descriptor and bump timestamp
28462 in case data becomes available.
28463 (main_loop_epoll): Likewise.
28464 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28465 (database_pers_head): Add extra_data fileds.
28466 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28467 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28468 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28471 in6ai data, call __free_in6ai.
28472 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28473 Add -DHAVE_NETLINK.
28474 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28475 interface information. Reuse previous data if netlink timestamp
28477 (__bump_nl_timestamp): New function.
28478 (__free_in6ai): New function.
28480 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28482 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28483 close_not_cancel_no_status here.
28484 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28486 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28489 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28492 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28493 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28494 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28496 2011-07-03 Andreas Jaeger <aj@suse.de>
28499 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28500 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28501 * math/libm-test.inc (sin_test): Add test case.
28503 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28506 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28507 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28509 * elf/chroot_canon.c (chroot_canon): Cleanups.
28511 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28514 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28515 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28517 * string/test-strchr.c: Make usable for strchrnul testing.
28518 * string/test-strchrnul.c: New file.
28519 * string/Makefile (strop-tests): Add strchrnul.
28521 * po/it.po: Update from translation team.
28522 * po/es.po: Likewise.
28524 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28526 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28527 the three constants needed as parameters. Drop the others.
28528 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28529 __m128i_strloadu_tolower.
28530 Create and initialize variable zero and use it in all the places
28531 where _mm_setzero_si128 was used.
28533 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28534 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28535 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28538 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28539 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28540 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28541 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28542 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28543 __mpranred, __mptan.
28544 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28545 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28546 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28547 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28548 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28549 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28551 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28552 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28554 2011-10-28 Andreas Schwab <schwab@redhat.com>
28556 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28557 redefine if SHARED.
28558 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28561 wide char related routines to wcsmbs subdir.
28563 2011-10-27 Andreas Schwab <schwab@redhat.com>
28566 * misc/sys/cdefs.h (__THROWNL): Define.
28567 * posix/unistd.h: Use __THREADNL instead of __THREAD
28568 for memory synchronization functions.
28570 2011-10-26 Roland McGrath <roland@hack.frob.com>
28573 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28575 * manual/stdio.texi (Obstack Streams): Node removed.
28577 2011-10-26 Andreas Schwab <schwab@redhat.com>
28579 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28580 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28583 * math/math_private.h (math_force_eval): Allow non-addressable
28585 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28587 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28590 file is not needed.
28592 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28594 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28595 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28596 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28597 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28598 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28599 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28601 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28602 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28603 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28604 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28605 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28606 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28607 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28608 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28609 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28610 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28611 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28612 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28614 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28615 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28616 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28617 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28618 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28619 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28621 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28622 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28625 place. Use VEX encoding when compiling for AVX.
28627 2011-10-25 Andreas Schwab <schwab@redhat.com>
28629 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28630 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28632 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28634 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28636 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28637 useless if() expression.
28638 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28649 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28650 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28651 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28652 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28654 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28656 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28658 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28660 2011-10-25 Andreas Schwab <schwab@redhat.com>
28662 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28664 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28666 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28668 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28669 .text section. Avoid duplicate constants.
28670 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28678 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28679 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28680 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28681 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28682 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28683 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28684 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28685 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28686 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28687 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28690 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28691 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28692 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28694 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28695 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28696 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28697 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28698 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28699 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28700 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28701 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28702 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28703 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28704 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28705 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28706 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28707 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28708 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28709 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28710 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28711 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28712 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28713 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28714 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28716 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28718 * sysdeps/x86_64/dla.h: Move to ...
28719 * sysdeps/x86_64/fpu/dla.h: ...here.
28720 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28721 situations. Use __builtin_fma only for gcc 4.6 and up.
28723 * config.make.in: Add have-mfma4 entry.
28724 * configure.in: Substitute libc_cv_cc_fma4.
28725 * math/Makefile (dbl-only-routines): Add sincostab.
28726 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28727 Use __sincostab not sincos.
28728 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28735 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28736 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28737 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28738 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28740 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28741 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28743 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28744 define aliases when function name is a macro.
28745 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28746 sysdeps/ieee754/dbl-64/sincos.tbl.
28747 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28748 fma4-enabled routines.
28749 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28750 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28751 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28752 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28753 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28754 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28755 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28756 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28758 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28759 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28761 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28762 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28764 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28765 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28766 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28767 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28769 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28770 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28771 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28774 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28775 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28776 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28777 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28778 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28780 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28791 2011-10-24 Andreas Schwab <schwab@redhat.com>
28793 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28795 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28797 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28799 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28801 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28803 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28804 Remove unused variable magic_bits.
28805 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28807 * string/strnlen.c: Define and use STRNLEN macro.
28808 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28809 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28811 * wcsmbs/wcslen.c: Define and use WCSLEN.
28812 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28813 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28814 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28815 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28816 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28817 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28818 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28820 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28823 strnlen-sse2-no-bsf.
28824 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28826 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28827 Add strnlen support.
28828 (USE_AS_STRNLEN): New macro.
28829 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28830 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28831 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28832 * sysdeps/x86_64/wcslen.S: New file.
28834 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28837 XMM-moves are used for copying on small sizes.
28839 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28841 * wcsmbs/Makefile (strop-tests): Add wcschr.
28842 * wcsmbs/test-wcschr.c: New file.
28843 * string/test-strchr.c: Update.
28844 Add wcschr support.
28847 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28849 * wcsmbs/Makefile (strop-tests): Add wcslen.
28850 * wcsmbs/test-wcslen.c: New file.
28851 * string/test-strlen.c: Update.
28852 Add wcslen support.
28855 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28857 * po/it.po: Update from translation team.
28859 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28861 * sysdeps/x86_64/wcscmp.S: Update.
28862 Fix wrong comparison semantics.
28863 wcscmp shall use signed comparison not unsigned.
28864 Don't use substraction to avoid overflow bug.
28865 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28866 * wcsmbc/wcscmp.c: Likewise.
28867 * string/test-strcmp.c: Likewise.
28868 Add new tests to check cases with negative values.
28870 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28872 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28873 * sysdeps/x86_64/dla.h: ...here. New file.
28874 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28884 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28887 __ynl_finite aliases.
28889 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28893 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28895 [DLA_FMA] (EMULV): Use DLA_FMA.
28896 [DLA_FMA] (MUL12): Use EMULV.
28897 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28898 that are not needed.
28899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28907 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28909 * math/s_nan.c: Undef __nan.
28910 * math/s_nanf.c: Undef __nanf.
28911 * math/s_nanl.c: Undef __nanl.
28912 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28915 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28917 * math/s_catan.c: Add branch predictions.
28918 * math/s_catanf.c: Likewise.
28919 * math/s_catanh.c: Likewise.
28920 * math/s_catanhf.c: Likewise.
28921 * math/s_catanhl.c: Likewise.
28922 * math/s_catanl.c: Likewise.
28923 * math/s_cexp.c: Likewise.
28924 * math/s_cexpf.c: Likewise.
28925 * math/s_cexpl.c: Likewise.
28926 * math/s_clog.c: Likewise.
28927 * math/s_clog10.c: Likewise.
28928 * math/s_clog10f.c: Likewise.
28929 * math/s_clog10l.c: Likewise.
28930 * math/s_clogf.c: Likewise.
28931 * math/s_clogl.c: Likewise.
28932 * math/s_csqrt.c: Likewise.
28933 * math/s_csqrtf.c: Likewise.
28934 * math/s_csqrtl.c: Likewise.
28935 * math/s_ctanf.c: Likewise.
28936 * math/s_ctanh.c: Likewise.
28937 * math/s_ctanhf.c: Likewise.
28938 * math/s_ctanhl.c: Likewise.
28939 * math/s_ctanl.c: Likewise.
28941 * math/math_private.h: Define __nan, __nanf, __nanl.
28942 * math/s_cacosh.c: Include <math_private.h>.
28943 * math/s_cacoshl.c: Likewise.
28944 * math/s_casinh.c: Likewise.
28945 * math/s_casinhf.c: Likewise.
28946 * math/s_casinhl.c: Likewise.
28947 * math/s_ccos.c: Rely entire on ccosh.
28948 * math/s_ccosf.c: Rely entire on ccoshf.
28949 * math/s_ccosl.c: Rely entirely on ccoshl.
28950 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28951 Remove tests for FE_INVALID.
28952 * math/s_ccoshf.c: Likewise.
28953 * math/s_ccoshl.c: Likewise.
28954 * math/s_csin.c: Likewise.
28955 * math/s_csinf.c: Likewise.
28956 * math/s_csinh.c Likewise.
28957 * math/s_csinhf.c: Likewise.
28958 * math/s_csinhl.c: Likewise.
28959 * math/s_csinl.c: Likewise.
28960 * math/s_ctan.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28962 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28963 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28965 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28968 compilation problems.
28970 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28973 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28975 * sysdeps/i386/configure.in: Test for -mfma4 option.
28976 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28977 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28978 COMMON_CPUID_INDEX_80000001.
28979 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28980 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28981 use it if FMA3 is not supported.
28982 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28984 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28985 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28987 2011-10-20 Andreas Schwab <schwab@redhat.com>
28990 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28991 it would create a cycle with a link time dependency.
28993 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28995 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28997 * string/Makefile (strop-tests): Add rawmemchr.
28998 * string/test-rawmemchr.c: New file.
29000 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29002 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29003 when compiling str{,n}casecmp and when AVX is available. Hook up
29004 new optimized code in initializers.
29006 2011-10-19 Andreas Schwab <schwab@redhat.com>
29008 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29009 __feraiseexcept instead of feraiseexcept.
29011 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29013 * math/math_private.h: Define defaults for libc_fetestexcept and
29015 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29016 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29017 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29018 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29019 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29020 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29021 libc_fetestexcept and libc_feupdateenv.
29023 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29024 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29025 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29026 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29027 libc_feholdexcept_setround.
29029 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29030 Add s_nearbyint-c and s_nearbyintf-c.
29031 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29032 nearbyintf inlines.
29033 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29034 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29035 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29036 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29038 * math/math_private.h: Define defaults for libc_fegetround,
29039 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29040 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29041 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29042 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29043 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29044 standard functions.
29045 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29046 Remove comments and hacks for old compiler versions.
29047 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29048 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29049 libc_feholdexceptl.
29051 2011-10-18 Andreas Schwab <schwab@redhat.com>
29053 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29054 (__feraiseexcept_renamed): Add __NTH.
29055 (feraiseexcept): Add __NTH. Rename local variables to fix
29056 namespace violations.
29058 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29060 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29062 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29064 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29065 recently added interfaces.
29066 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29068 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29069 about macro parameter expansion.
29071 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29072 __NO_MATH_INLINES is defined. Cleanups.
29074 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29075 and __floorf is target has SSE4.1.
29076 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29078 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29079 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29081 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29083 (floorf): Likewise.
29085 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29087 2011-10-17 Andreas Schwab <schwab@redhat.com>
29089 * misc/sys/cdefs.h: Fix last change.
29091 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29094 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29096 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29098 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29104 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29107 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29108 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29109 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29110 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29111 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29112 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29113 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29114 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29115 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29116 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29117 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29118 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29119 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29121 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29122 ceil, ceilf, floor, floorf.
29124 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29125 Perform IRELATIVE relocations last.
29127 * elf/do-rel.h: Add another parameter nrelative, replacing the
29128 local variable with the same name. Change name of the function
29129 to end in Rel or Rela (uppercase).
29130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29131 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29132 elf_dynamic_do_##reloc function.
29134 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29136 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29137 is sufficient, at least on modern CPUs.
29139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29141 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29142 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29144 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29146 * math/bits/math-finite.h: Add entries for exp.
29147 * math/e_expl.c: Add __*_finite alias.
29148 * sysdeps/i386/fpu/e_exp.S: Likewise.
29149 * sysdeps/i386/fpu/e_expf.S: Likewise.
29150 * sysdeps/i386/fpu/e_expl.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29156 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29157 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29159 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29160 is sufficient, at least on modern CPUs.
29162 * ctype/ctype-info.c (__ctype_init): Define.
29163 * include/ctype.h (__ctype_init): Declare.
29164 (__ctype_b_loc): The variable is always initialized.
29165 (__ctype_toupper_loc): Likewise.
29166 (__ctype_tolower_loc): Likewise.
29167 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29168 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29170 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29172 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29174 * configure.in: Also look in $cxxmachine/include for C++ system
29177 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29179 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29180 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29181 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29182 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29183 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29184 (USE_AS_WMEMCMP): New macro.
29186 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29187 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29188 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29189 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29191 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29192 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29193 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29194 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29195 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29196 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29197 (USE_AS_WMEMCMP): New macro.
29198 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29199 * sysdeps/string/test-memcmp.c: Update.
29200 Fix simple_wmemcmp.
29202 * wcsmbs/wmemcmp.c: Update.
29203 (WMEMCMP): New macro.
29206 2011-10-12 Andreas Jaeger <aj@suse.de>
29209 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29211 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29213 * libio/iofwide.c (do_length): Avoid warning.
29215 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29217 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29219 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29221 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29222 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29223 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29224 * sysdeps/i386/i686/fpu/e_log.S: New file.
29225 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29226 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29228 * ctype/ctype.h: Add support for inlined isXXX functions when
29229 compiling C++ code.
29231 2011-10-14 Andreas Schwab <schwab@redhat.com>
29233 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29237 2011-10-13 Roland McGrath <roland@hack.frob.com>
29240 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29242 2011-10-13 Andreas Schwab <schwab@redhat.com>
29244 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29245 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29248 * sysdeps/x86_64/memrchr.S: Check for zero size.
29250 * string/stratcliff.c: Add memrchr tests.
29252 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29255 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29256 rawmemchr-sse2 rawmemchr-sse2-bsf.
29257 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29258 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29259 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29260 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29261 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29262 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29263 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29264 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29265 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29266 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29267 * string/memrchr.c (MEMRCHR): New macro.
29269 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29271 Add integration with gcc's -ffinite-math-only and optimize wrapper
29273 * Versions.def: Define GLIBC_2.15 version for libm.
29274 * math/Makefile (headers): Add bits/math-finite.h.
29275 * math/bits/math-finite.h: New file.
29276 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29277 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29278 * math/e_acoshl.c: Add __*_finite alias.
29279 * math/e_acosl.c: Likewise.
29280 * math/e_asinl.c: Likewise.
29281 * math/e_atan2l.c: Likewise.
29282 * math/e_atanhl.c: Likewise.
29283 * math/e_coshl.c: Likewise.
29284 * math/e_exp10.c: Likewise.
29285 * math/e_exp10f.c: Likewise.
29286 * math/e_exp10l.c: Likewise.
29287 * math/e_exp2l.c: Likewise.
29288 * math/e_fmodl.c: Likewise.
29289 * math/e_gammal_r.c: Likewise.
29290 * math/e_hypotl.c: Likewise.
29291 * math/e_j0l.c: Likewise.
29292 * math/e_j1l.c: Likewise.
29293 * math/e_jnl.c: Likewise.
29294 * math/e_lgammal_r.c: Likewise.
29295 * math/e_log10l.c: Likewise.
29296 * math/e_log2l.c: Likewise.
29297 * math/e_logl.c: Likewise.
29298 * math/e_powl.c: Likewise.
29299 * math/e_sinhl.c: Likewise.
29300 * math/e_sqrtl.c: Likewise.
29301 * math/e_scalb.c: Completely rewritten and optimized.
29302 * math/e_scalbf.c: Likewise.
29303 * math/e_scalbl.c: Likewise.
29304 * math/w_acos.c: Likewise.
29305 * math/w_acosf.c: Likewise.
29306 * math/w_acosl.c: Likewise.
29307 * math/w_acosh.c: Likewise.
29308 * math/w_acoshf.c: Likewise.
29309 * math/w_acoshl.c: Likewise.
29310 * math/w_asin.c: Likewise.
29311 * math/w_asinf.c: Likewise.
29312 * math/w_asinl.c: Likewise.
29313 * math/w_atan2.c: Likewise.
29314 * math/w_atan2f.c: Likewise.
29315 * math/w_atan2l.c: Likewise.
29316 * math/w_atanh.c: Likewise.
29317 * math/w_atanhf.c: Likewise.
29318 * math/w_atanhl.c: Likewise.
29319 * math/w_exp10.c: Likewise.
29320 * math/w_exp10f.c: Likewise.
29321 * math/w_exp10l.c: Likewise.
29322 * math/w_fmod.c: Likewise.
29323 * math/w_fmodf.c: Likewise.
29324 * math/w_fmodl.c: Likewise.
29325 * math/w_j0.c: Likewise.
29326 * math/w_j0f.c: Likewise.
29327 * math/w_j0l.c: Likewise.
29328 * math/w_j1.c: Likewise.
29329 * math/w_j1f.c: Likewise.
29330 * math/w_j1l.c: Likewise.
29331 * math/w_jn.c: Likewise.
29332 * math/w_jnf.c: Likewise.
29333 * math/w_log.c: Likewise.
29334 * math/w_logf.c: Likewise.
29335 * math/w_logl.c: Likewise.
29336 * math/w_log10.c: Likewise.
29337 * math/w_log10f.c: Likewise.
29338 * math/w_log10l.c: Likewise.
29339 * math/w_log2.c: Likewise.
29340 * math/w_log2f.c: Likewise.
29341 * math/w_log2l.c: Likewise.
29342 * math/w_pow.c: Likewise.
29343 * math/w_powf.c: Likewise.
29344 * math/w_powl.c: Likewise.
29345 * math/w_remainder.c: Likewise.
29346 * math/w_remainderf.c: Likewise.
29347 * math/w_remainderl.c: Likewise.
29348 * math/w_scalb.c: Likewise.
29349 * math/w_scalbf.c: Likewise.
29350 * math/w_scalbl.c: Likewise.
29351 * math/w_sqrt.c: Likewise.
29352 * math/w_sqrtf.c: Likewise.
29353 * math/w_sqrtl.c: Likewise.
29354 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29355 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29357 * math/math_private.h: Declare __kernel_standard_f.
29358 * math/w_cosh.c: Remove cruft and optimize a bit.
29359 * math/w_coshf.c: Likewise.
29360 * math/w_coshl.c: Likewise.
29361 * math/w_exp2.c: Likewise.
29362 * math/w_exp2f.c: Likewise.
29363 * math/w_exp2l.c: Likewise.
29364 * math/w_hypot.c: Likewise.
29365 * math/w_hypotf.c: Likewise.
29366 * math/w_hypotl.c: Likewise.
29367 * math/w_lgamma.c: Likewise.
29368 * math/w_lgamma_r.c: Likewise.
29369 * math/w_lgammaf.c: Likewise.
29370 * math/w_lgammaf_r.c: Likewise.
29371 * math/w_lgammal.c: Likewise.
29372 * math/w_lgammal_r.c: Likewise.
29373 * math/w_sinh.c: Likewise.
29374 * math/w_sinhf.c: Likewise.
29375 * math/w_sinhl.c: Likewise.
29376 * math/w_tgamma.c: Likewise.
29377 * math/w_tgammaf.c: Likewise.
29378 * math/w_tgammal.c: Likewise.
29379 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29380 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29381 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29382 Minor optimizations. Pretty printing. Remove cruft.
29383 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29384 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29385 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29387 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29388 * sysdeps/i386/fpu/e_asin.S: Likewise.
29389 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29390 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29391 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29392 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29394 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29395 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29396 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29397 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29398 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29399 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29400 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29401 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29402 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29403 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29404 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29405 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29406 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29407 * sysdeps/i386/fpu/e_log.S: Likewise.
29408 * sysdeps/i386/fpu/e_log10.S: Likewise.
29409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29410 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29411 * sysdeps/i386/fpu/e_log2.S: Likewise.
29412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29414 * sysdeps/i386/fpu/e_logf.S: Likewise.
29415 * sysdeps/i386/fpu/e_logl.S: Likewise.
29416 * sysdeps/i386/fpu/e_pow.S: Likewise.
29417 * sysdeps/i386/fpu/e_powf.S: Likewise.
29418 * sysdeps/i386/fpu/e_powl.S: Likewise.
29419 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29420 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29421 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29422 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29425 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29426 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29427 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29428 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29431 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29432 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29433 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29434 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29435 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29436 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29437 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29438 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29439 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29441 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29442 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29444 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29445 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29446 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29448 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29449 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29450 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29451 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29452 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29453 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29454 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29455 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29456 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29457 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29458 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29459 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29460 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29461 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29462 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29463 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29464 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29465 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29466 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29467 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29468 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29469 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29480 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29483 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29484 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29499 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29500 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29511 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29512 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29513 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29514 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29515 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29516 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29518 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29519 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29520 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29521 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29522 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29523 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29524 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29525 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29526 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29527 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29528 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29529 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29530 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29531 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29532 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29533 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29536 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29537 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29538 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29539 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29540 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29541 (__isnanf): Likewise.
29542 (__isinf_ns): Likewise.
29543 (__isinf_nsf): Likewise.
29544 (__finite): Likewise.
29545 (__finitef): Likewise.
29546 (__ieee754_sqrt): Define as macro.
29547 (__ieee754_sqrtf): Define as macro.
29548 (__ieee754_sqrtl): Define as macro.
29549 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29551 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29552 __FINITE_MATH_ONLY__ consistent.
29553 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29555 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29557 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29560 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29562 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29564 * po/ja.po: Update from translation team.
29566 2011-10-08 Roland McGrath <roland@hack.frob.com>
29568 * locale/programs/locarchive.c (prepare_address_space): New function.
29569 (create_archive, enlarge_archive, open_archive): Use it.
29571 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29572 inside [SHARED], where it is used.
29574 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29576 * nss/getent.c (netgroup_keys): Remove unused variable.
29577 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29579 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29581 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29582 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29584 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29585 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29586 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29587 * math/Makefile (libm-calls): Add s_isinf_ns.
29588 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29589 * math/multc3.c: Likewise.
29590 * math/s_casin.c: Likewise.
29591 * math/s_casinf.c: Likewise.
29592 * math/s_casinl.c: Likewise.
29593 * math/s_ccos.c: Likewise.
29594 * math/s_ccosf.c: Likewise.
29595 * math/s_ccosl.c: Likewise.
29596 * math/s_ctan.c: Likewise.
29597 * math/s_ctanf.c: Likewise.
29598 * math/s_ctanh.c: Likewise.
29599 * math/s_ctanhf.c: Likewise.
29600 * math/s_ctanhl.c: Likewise.
29601 * math/s_ctanl.c: Likewise.
29602 * math/w_fmod.c: Likewise.
29603 * math/w_fmodf.c: Likewise.
29604 * math/w_fmodl.c: Likewise.
29605 * math/w_remainder.c: Likewise.
29606 * math/w_remainderf.c: Likewise.
29607 * math/w_remainderl.c: Likewise.
29608 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29609 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29612 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29613 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29614 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29615 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29617 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29619 * stdio-common/printf_fphex.c: Likewise.
29620 * stdio-common/printf_size.c: Likewise.
29622 * math/e_exp10.c: Include math_private.h using <...> not "...".
29623 * math/e_exp10f.c: Likewise.
29624 * math/e_exp10l.c: Likewise.
29625 * math/e_exp2l.c: Likewise.
29626 * math/e_j0l.c: Likewise.
29627 * math/e_j1l.c: Likewise.
29628 * math/e_jnl.c: Likewise.
29629 * math/e_lgammal_r.c: Likewise.
29630 * math/e_rem_pio2l.c: Likewise.
29631 * math/e_scalb.c: Likewise.
29632 * math/e_scalbf.c: Likewise.
29633 * math/e_scalbl.c: Likewise.
29634 * math/k_cosl.c: Likewise.
29635 * math/k_sinl.c: Likewise.
29636 * math/k_tanl.c: Likewise.
29637 * math/s_cacoshf.c: Likewise.
29638 * math/s_catan.c: Likewise.
29639 * math/s_catanf.c: Likewise.
29640 * math/s_catanh.c: Likewise.
29641 * math/s_catanhf.c: Likewise.
29642 * math/s_catanhl.c: Likewise.
29643 * math/s_catanl.c: Likewise.
29644 * math/s_ccosh.c: Likewise.
29645 * math/s_ccoshf.c: Likewise.
29646 * math/s_ccoshl.c: Likewise.
29647 * math/s_cexp.c: Likewise.
29648 * math/s_cexpf.c: Likewise.
29649 * math/s_cexpl.c: Likewise.
29650 * math/s_clog.c: Likewise.
29651 * math/s_clog10.c: Likewise.
29652 * math/s_clog10f.c: Likewise.
29653 * math/s_clog10l.c: Likewise.
29654 * math/s_clogf.c: Likewise.
29655 * math/s_clogl.c: Likewise.
29656 * math/s_csin.c: Likewise.
29657 * math/s_csinf.c: Likewise.
29658 * math/s_csinh.c: Likewise.
29659 * math/s_csinhf.c: Likewise.
29660 * math/s_csinhl.c: Likewise.
29661 * math/s_csinl.c: Likewise.
29662 * math/s_csqrt.c: Likewise.
29663 * math/s_csqrtf.c: Likewise.
29664 * math/s_csqrtl.c: Likewise.
29665 * math/s_ctan.c: Likewise.
29666 * math/s_ctanf.c: Likewise.
29667 * math/s_ctanh.c: Likewise.
29668 * math/s_ctanhf.c: Likewise.
29669 * math/s_ctanhl.c: Likewise.
29670 * math/s_ctanl.c: Likewise.
29671 * math/s_ldexp.c: Likewise.
29672 * math/s_ldexpf.c: Likewise.
29673 * math/s_ldexpl.c: Likewise.
29674 * math/s_significand.c: Likewise.
29675 * math/s_significandf.c: Likewise.
29676 * math/s_significandl.c: Likewise.
29677 * math/w_acos.c: Likewise.
29678 * math/w_acosf.c: Likewise.
29679 * math/w_acosh.c: Likewise.
29680 * math/w_acoshf.c: Likewise.
29681 * math/w_acoshl.c: Likewise.
29682 * math/w_acosl.c: Likewise.
29683 * math/w_asin.c: Likewise.
29684 * math/w_asinf.c: Likewise.
29685 * math/w_asinl.c: Likewise.
29686 * math/w_atan2.c: Likewise.
29687 * math/w_atan2f.c: Likewise.
29688 * math/w_atan2l.c: Likewise.
29689 * math/w_atanh.c: Likewise.
29690 * math/w_atanhf.c: Likewise.
29691 * math/w_atanhl.c: Likewise.
29692 * math/w_cosh.c: Likewise.
29693 * math/w_coshf.c: Likewise.
29694 * math/w_coshl.c: Likewise.
29695 * math/w_dremf.c: Likewise.
29696 * math/w_exp10.c: Likewise.
29697 * math/w_exp10f.c: Likewise.
29698 * math/w_exp10l.c: Likewise.
29699 * math/w_exp2.c: Likewise.
29700 * math/w_exp2f.c: Likewise.
29701 * math/w_fmod.c: Likewise.
29702 * math/w_fmodf.c: Likewise.
29703 * math/w_fmodl.c: Likewise.
29704 * math/w_hypot.c: Likewise.
29705 * math/w_hypotf.c: Likewise.
29706 * math/w_hypotl.c: Likewise.
29707 * math/w_j0.c: Likewise.
29708 * math/w_j0f.c: Likewise.
29709 * math/w_j0l.c: Likewise.
29710 * math/w_j1.c: Likewise.
29711 * math/w_j1f.c: Likewise.
29712 * math/w_j1l.c: Likewise.
29713 * math/w_jn.c: Likewise.
29714 * math/w_jnf.c: Likewise.
29715 * math/w_jnl.c: Likewise.
29716 * math/w_lgamma.c: Likewise.
29717 * math/w_lgamma_r.c: Likewise.
29718 * math/w_lgammaf.c: Likewise.
29719 * math/w_lgammaf_r.c: Likewise.
29720 * math/w_lgammal.c: Likewise.
29721 * math/w_lgammal_r.c: Likewise.
29722 * math/w_log.c: Likewise.
29723 * math/w_log10.c: Likewise.
29724 * math/w_log10f.c: Likewise.
29725 * math/w_log10l.c: Likewise.
29726 * math/w_log2.c: Likewise.
29727 * math/w_log2f.c: Likewise.
29728 * math/w_log2l.c: Likewise.
29729 * math/w_logf.c: Likewise.
29730 * math/w_logl.c: Likewise.
29731 * math/w_pow.c: Likewise.
29732 * math/w_powf.c: Likewise.
29733 * math/w_powl.c: Likewise.
29734 * math/w_remainder.c: Likewise.
29735 * math/w_remainderf.c: Likewise.
29736 * math/w_remainderl.c: Likewise.
29737 * math/w_scalb.c: Likewise.
29738 * math/w_scalbf.c: Likewise.
29739 * math/w_scalbl.c: Likewise.
29740 * math/w_sinh.c: Likewise.
29741 * math/w_sinhf.c: Likewise.
29742 * math/w_sinhl.c: Likewise.
29743 * math/w_sqrt.c: Likewise.
29744 * math/w_sqrtf.c: Likewise.
29745 * math/w_sqrtl.c: Likewise.
29746 * math/w_tgamma.c: Likewise.
29747 * math/w_tgammaf.c: Likewise.
29748 * math/w_tgammal.c: Likewise.
29750 * po/ja.po: Update from translation team.
29752 2011-09-29 Andreas Jaeger <aj@suse.de>
29755 * sunrpc/netname.c (netname2host): Fix logic.
29759 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29761 * math/w_remainder.c (__remainder): Likewise.
29762 * math/w_remainderf.c (__remainderf): Likewise.
29763 * math/libm-test.inc (remainder_test): Add test cases.
29765 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29767 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29770 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29772 * string/test-memcmp.c: Avoid unncessary #defines.
29773 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29775 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29777 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29778 Use new sse2 version for core i3 - i7 as it's faster
29779 than sse42 version.
29780 (bit_Prefer_PMINUB_for_stringop): New.
29781 * sysdeps/x86_64/rawmemchr.S: Update.
29782 Replace with faster SSE2 version.
29783 * sysdeps/x86_64/memrchr.S: New file.
29784 * sysdeps/x86_64/memchr.S: Update.
29785 Replace with faster SSE2 version.
29787 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29789 * elf/dl-load.c (lose): Add cast to avoid warning.
29791 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29793 * po/ca.po: Update from translation team.
29795 * inet/getnetgrent_r.c: Hook up nscd.
29796 * nscd/Makefile (routines): Add nscd_netgroup.
29797 (nscd-modules): Add netgroupcache.
29798 (CFLAGS-netgroupcache.c): Define.
29799 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29800 (cache_search): Add const to second parameter.
29801 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29803 (dbs): Add netgrdb entry.
29804 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29805 (verify_persistent_db): Handle netgrdb.
29806 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29807 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29809 (netgroup_response_header): Define.
29810 (innetgroup_response_header): Define.
29811 (datahead): Add netgroup_response_header and innetgroup_response_header
29813 * nscd/nscd.conf: Add entries for netgroup cache.
29814 * nscd/nscd.h (dbtype): Add netgrdb.
29815 (_PATH_NSCD_NETGROUP_DB): Define.
29816 (netgroup_iov_disabled): Declare.
29817 (xmalloc, xcalloc, xrealloc): Move declarations here.
29818 (cache_search): Adjust prototype.
29819 Add netgroup-related prototypes.
29820 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29821 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29822 (__nscd_innetgr): Declare.
29823 * nscd/selinux.c (perms): Use access_vector_t as element type and
29824 add netgroup-related initializers.
29825 * nscd/netgroupcache.c: New file.
29826 * nscd/nscd_netgroup.c: New file.
29827 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29828 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29829 For four parameters use innetgr.
29830 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29831 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29832 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29833 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29835 * nscd/connections.c (register_traced_file): Don't register file
29836 for disabled databases.
29838 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29840 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29842 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29843 from tree and freeing node.
29845 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29847 * nss/nsswitch.c (__nss_database_lookup): Handle
29848 nss_parse_service_list out of memory case.
29850 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29852 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29853 out of memory case.
29855 2011-10-04 Andreas Schwab <schwab@redhat.com>
29857 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29858 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29860 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29861 elf_machine_rela, elf_machine_lazy_rel.
29862 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29863 (ELF_DYNAMIC_DO_REL): Likewise.
29864 (ELF_DYNAMIC_DO_RELA): Likewise.
29865 (ELF_DYNAMIC_RELOCATE): Likewise.
29866 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29867 to ELF_DYNAMIC_DO_REL.
29868 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29869 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29870 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29872 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29873 skip_ifunc, don't call ifunc function if non-zero.
29874 (elf_machine_rela): Likewise.
29875 (elf_machine_lazy_rel): Likewise.
29876 (elf_machine_lazy_rela): Likewise.
29877 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29878 (elf_machine_lazy_rel): Likewise.
29879 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29881 (elf_machine_lazy_rel): Likewise.
29882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29884 (elf_machine_lazy_rel): Likewise.
29885 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29886 (elf_machine_lazy_rel): Likewise.
29887 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29888 (elf_machine_lazy_rel): Likewise.
29889 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29890 (elf_machine_lazy_rel): Likewise.
29891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29892 (elf_machine_lazy_rel): Likewise.
29893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29894 (elf_machine_lazy_rel): Likewise.
29895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29896 (elf_machine_lazy_rel): Likewise.
29898 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29900 * nss/nss_files/files-init.c (_nss_files_init): Use static
29901 initialization for all the *_traced_file variables.
29903 2011-09-28 Andreas Schwab <schwab@redhat.com>
29905 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29907 2011-09-27 Roland McGrath <roland@hack.frob.com>
29910 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29912 2011-09-27 Andreas Schwab <schwab@redhat.com>
29914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29915 Reread the line before reparsing it.
29917 2011-09-26 Andreas Schwab <schwab@redhat.com>
29919 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29921 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29922 Maxim Kuvyrkov <maxim@codesourcery.com>
29923 Joseph Myers <joseph@codesourcery.com>
29925 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29926 if needed for __stack_chk_guard.
29928 2011-09-19 Roland McGrath <roland@hack.frob.com>
29930 * sysdeps/posix/spawni.c (script_execute): Always define it.
29931 It will be optimized away if unused.
29932 (maybe_script_execute): New function.
29933 (__spawni): Call it.
29935 * Makerules: Don't include tls.make.
29936 (config-tls): Always set to thread.
29937 * tls.make.c: File removed.
29939 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29941 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29942 * config.make.in (CPPFLAGS-config): New substituted variable.
29944 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29946 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29949 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29950 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29952 2011-09-15 Roland McGrath <roland@hack.frob.com>
29954 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29955 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29957 (CALL_FAIL): Likewise.
29958 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29959 (CALL_FAIL): Macro removed.
29960 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29962 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29964 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29965 for __FINITE_MATH_ONLY__ == 1.
29967 2011-09-15 Andreas Schwab <schwab@redhat.com>
29969 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29970 __ieee754_sqrt instead of sqrt.
29971 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29972 __ieee754_sqrtf instead of sqrtf.
29973 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29974 __floorf instead of floorf.
29975 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29976 __floorf, __truncf instead of floorf, truncf.
29978 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29980 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29982 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29983 __extern_always_inline.
29984 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29987 2011-09-14 Andreas Schwab <schwab@redhat.com>
29989 * elf/rtld.c (dl_main): Also relocate in dependency order when
29990 doing symbol dependency testing.
29992 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29995 Always define `refsym'.
29997 2011-09-13 Andreas Schwab <schwab@redhat.com>
29999 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30000 (__FD_ELT): Renamed from __FDELT.
30001 * misc/bits/select2.h (__FD_ELT): Likewise.
30002 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30003 __FD_MASK instead of __FDELT, __FDMASK.
30004 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30006 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30009 * elf/Makefile (gen-ldd): Fix pattern.
30011 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30012 (init_tls): Likewise.
30014 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30018 2011-09-12 Andreas Schwab <schwab@redhat.com>
30020 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30021 `struct cmsghdr *' instead of `void *'.
30022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30025 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30027 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30029 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30030 ldd_rewrite_script.
30032 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30034 * configure.in: Remove --with-tls option.
30035 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30036 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30037 out in case it is missing.
30038 * sysdeps/ia64/elf/configure.in: Likewise.
30039 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30040 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30041 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30042 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30043 * sysdeps/sh/elf/configure.in: Likewise.
30044 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30045 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30046 * sysdeps/x86_64/elf/configure.in: Likewise.
30047 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30048 * sysdeps/mach/hurd/tls.h: Likewise.
30051 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30054 * configure.in: Fix use of AC_INIT.
30056 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30058 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30060 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30062 * malloc/hooks.c: Likewise.
30065 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30066 variables statically.
30067 (narenas): Initialize.
30068 (list_lock): Initialize.
30069 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30070 initializtion of main_arena and list_lock. Small cleanups.
30071 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30072 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30073 Add initializers to main_arena and mp_.
30074 (malloc_state): Remove pagesize member. Change all users to use
30077 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30078 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30079 is always initialized.
30081 * malloc/malloc.c: Removed unused configurations and dead code.
30082 * malloc/arena.c: Likewise.
30083 * malloc/hooks.c: Likewise.
30084 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30086 * include/tls.h: Removed. USE___THREAD must always be defined.
30087 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30088 * elf/dl-libc.c: Likewise.
30089 * elf/dl-tsd.c: Likewise.
30090 * include/errno.h: Likewise.
30091 * include/netdb.h: Likewise.
30092 * include/resolv.h: Likewise.
30093 * inet/herrno-loc.c: Likewise.
30094 * inet/herrno.c: Likewise.
30095 * malloc/arena.c: Likewise.
30096 * malloc/hooks.c: Likewise.
30097 * malloc/malloc.c: Likewise.
30098 * resolv/res-state.c: Likewise.
30099 * resolv/res_libc.c: Likewise.
30100 * sysdeps/i386/dl-machine.h: Likewise.
30101 * sysdeps/ia64/dl-machine.h: Likewise.
30102 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30103 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30104 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30105 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30106 * sysdeps/sh/dl-machine.h: Likewise.
30107 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30108 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30109 * sysdeps/unix/i386/sysdep.S: Likewise.
30110 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30111 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30120 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30121 * sysdeps/x86_64/dl-machine.h: Likewise.
30122 * tls.make.c: Likewise.
30124 * configure.in: Remove --with-__thread option. Make tests for
30125 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30126 tls_model attribute fail if no support is available. Remove
30128 * Makeconfig: Adjust for dropped configure option. All features are
30130 * Makerules: Likewise.
30131 * Versions.def: Likewise.
30132 * argp/argp-fmtstream.c: Likewise.
30133 * argp/argp-fmtstream.h: Likewise.
30134 * argp/argp-help.c: Likewise.
30135 * assert/assert.c: Likewise.
30136 * config.h.in: Likewise.
30137 * config.make.in: Likewise.
30138 * configure: Likewise.
30139 * configure.in: Likewise.
30140 * csu/Versions: Likewise.
30141 * csu/init.c: Likewise.
30142 * elf/tst-audit2.c: Likewise.
30143 * elf/tst-tls10.c: Likewise.
30144 * elf/tst-tls10.h: Likewise.
30145 * elf/tst-tls11.c: Likewise.
30146 * elf/tst-tls12.c: Likewise.
30147 * elf/tst-tls14.c: Likewise.
30148 * elf/tst-tlsmod11.c: Likewise.
30149 * elf/tst-tlsmod12.c: Likewise.
30150 * elf/tst-tlsmod13.c: Likewise.
30151 * elf/tst-tlsmod13a.c: Likewise.
30152 * elf/tst-tlsmod14a.c: Likewise.
30153 * elf/tst-tlsmod15b.c: Likewise.
30154 * elf/tst-tlsmod16a.c: Likewise.
30155 * elf/tst-tlsmod16b.c: Likewise.
30156 * elf/tst-tlsmod7.c: Likewise.
30157 * elf/tst-tlsmod8.c: Likewise.
30158 * elf/tst-tlsmod9.c: Likewise.
30159 * gmon/gmon.c: Likewise.
30160 * grp/fgetgrent_r.c: Likewise.
30161 * grp/putgrent.c: Likewise.
30162 * hurd/fopenport.c: Likewise.
30163 * include/libc-symbols.h: Likewise.
30164 * include/tls.h: Likewise.
30165 * intl/gettextP.h: Likewise.
30166 * intl/loadinfo.h: Likewise.
30167 * locale/global-locale.c: Likewise.
30168 * locale/localeinfo.h: Likewise.
30169 * mach/devstream.c: Likewise.
30170 * malloc/arena.c: Likewise.
30171 * malloc/set-freeres.c: Likewise.
30172 * misc/err.c: Likewise.
30173 * misc/getttyent.c: Likewise.
30174 * misc/mntent_r.c: Likewise.
30175 * posix/getopt.c: Likewise.
30176 * posix/wordexp.c: Likewise.
30177 * pwd/fgetpwent_r.c: Likewise.
30178 * resolv/Versions: Likewise.
30179 * resolv/res_hconf.c: Likewise.
30180 * shadow/fgetspent_r.c: Likewise.
30181 * shadow/putspent.c: Likewise.
30182 * stdio-common/printf_fphex.c: Likewise.
30183 * stdio-common/tmpfile.c: Likewise.
30184 * stdlib/abort.c: Likewise.
30185 * stdlib/fmtmsg.c: Likewise.
30186 * sunrpc/auth_unix.c: Likewise.
30187 * sunrpc/clnt_perr.c: Likewise.
30188 * sunrpc/clnt_tcp.c: Likewise.
30189 * sunrpc/clnt_udp.c: Likewise.
30190 * sunrpc/clnt_unix.c: Likewise.
30191 * sunrpc/openchild.c: Likewise.
30192 * sunrpc/svc_simple.c: Likewise.
30193 * sunrpc/svc_tcp.c: Likewise.
30194 * sunrpc/svc_udp.c: Likewise.
30195 * sunrpc/svc_unix.c: Likewise.
30196 * sunrpc/xdr.c: Likewise.
30197 * sunrpc/xdr_array.c: Likewise.
30198 * sunrpc/xdr_rec.c: Likewise.
30199 * sunrpc/xdr_ref.c: Likewise.
30200 * sunrpc/xdr_stdio.c: Likewise.
30202 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30204 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30206 2011-07-03 Andreas Jaeger <aj@suse.de>
30208 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30209 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30210 regenerate with gen-libm-tests.pl.
30212 2010-05-12 Petr Baudis <pasky@suse.cz>
30215 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30216 around j0() zero points by switching to j1().
30217 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30218 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30222 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30224 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30226 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30229 Patch in part by Pavel Roskin <proski@gnu.org>.
30232 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30234 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30235 Free memory block if necessary.
30238 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30239 be NULL. Don't lock in this case.
30241 2011-09-09 Roland McGrath <roland@hack.frob.com>
30243 * elf/elf.h (ELFOSABI_GNU): New macro.
30244 (ELFOSABI_LINUX): Define to that.
30246 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30248 * string/strncat.c (strncat): Undef the symbol in case it has been
30249 defined in bits/string.h.
30251 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30253 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30255 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30258 2011-08-17 Andreas Jaeger <aj@suse.de>
30260 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30262 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30263 Ian Lance Taylor <iant@google.com>
30265 * math/libm-test.inc (lround_test): New testcase.
30266 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30268 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30270 * Makefile: Remove support for automatic cvs check-ins.
30271 * Makerules: Likewise.
30272 * config.make.in: Likewise.
30273 * configure.in: Likewise.
30274 * intl/Makefile: Likewise.
30275 * locale/Makefile: Likewise.
30276 * po/Makefile: Likewise.
30277 * posix/Makefile: Likewise.
30278 * sysdeps/gnu/Makefile: Likewise.
30279 * sysdeps/mach/hurd/Makefile: Likewise.
30280 * sysdeps/sparc/sparc32/Makefile: Likewise.
30283 * posix/Makefile (bug-regex32-ENV): Define.
30284 Patch by John Stanley <jpsinthemix@verizon.net>.
30286 * misc/Makefile (headers): Add bits/select2.h.
30287 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30288 * misc/bits/select2.h: New file.
30289 * include/bits/select2.h: New file.
30290 * debug/Makefile (routines): Add fdelt_chk.
30291 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30292 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30294 * debug/fdelt_chk.c: New file.
30296 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30297 * wcsmbs/test-wmemcmp.c: Likewise.
30298 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30299 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30301 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30303 * string/Makefile (strop-tests): Add memcmp.
30304 * string/test-wmemcmp.c: New file.
30305 * string/test-memcmp.c: Add wmemcmp support.
30307 2011-09-08 Roland McGrath <roland@hack.frob.com>
30310 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30313 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30314 garbage value in a __mach_port_mod_refs call in the cases of the
30315 task-self and thread-self ports.
30317 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30319 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30321 2011-09-08 Andreas Schwab <schwab@redhat.com>
30323 * elf/dl-load.c (lose): Check for non-null L.
30325 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30327 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30329 * elf/dl-libc.c (dlerror_run): Pass back error code from
30333 * elf/dl-load.c (lose): Free l_origin if it is valid.
30335 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30337 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30338 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30340 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30341 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30342 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30344 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30346 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30347 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30348 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30349 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30350 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30351 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30352 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30353 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30354 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30355 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30357 2011-08-15 Alan Modra <amodra@gmail.com>
30360 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30361 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30362 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30363 ppc_mcount to static-only-routines.
30364 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30366 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30367 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30369 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30371 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30372 for finite and infinity parameters.
30374 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30377 and add nop instructions for throughput optimization.
30378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30380 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30382 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30383 aligned copy for power7 with vector-scalar instructions.
30384 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30386 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30391 2011-09-07 Andreas Schwab <schwab@redhat.com>
30394 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30397 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30399 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30400 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30401 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30402 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30405 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30407 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30408 Forgot to demangle the pointer.
30410 * sysdeps/i386/sysdep.h: Define atom_text_section.
30411 * sysdeps/x86_64/sysdep.h: Likewise.
30412 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30413 section with atom_text_section.
30414 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30415 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30416 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30418 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30420 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30421 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30422 already be defined. Change to take two parameters and don't assign
30423 result to variable. Adjust all users.
30424 Define INTERNAL_GETTIME if not already defined.
30425 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30428 HAVE_CLOCK_GETTIME_VSYSCALL.
30429 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30432 gettimeofday vsyscall, just use time.
30434 2011-09-06 Andreas Schwab <schwab@redhat.com>
30436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30439 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30441 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30445 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30446 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30447 syscall if possible.
30449 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30451 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30452 e_ident. Don't pass to find_mapsXX.
30453 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30455 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30458 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30459 * sysdeps/x86_64/multiarch/strchr.S: Update.
30460 Check bit_slow_BSF bit.
30461 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30462 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30463 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30465 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30468 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30470 (tryshell): Define.
30471 (__spawni): Change last parameter to be flag. Test
30472 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30473 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30474 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30475 * posix/spawni.c: Likewise.
30476 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30477 * posix/spawnp.c: Likewise. Change normal version to use
30478 SPAWN_XFLAGS_USE_PATH.
30479 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30480 SPAWN_XFLAGS_TRY_SHELL.
30483 * posix/glob.h: Remove gcc 1.x support.
30486 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30488 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30491 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30493 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30494 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30495 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30496 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30497 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30498 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30500 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30502 * sysdeps/x86_64/wcscmp.S: New file.
30504 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30505 wcscmp-c wcscmp-sse2
30506 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30507 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30508 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30509 * wcsmbs/wcscmp.c: Allow renaming.
30511 2011-09-05 David S. Miller <davem@davemloft.net>
30513 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30514 stack slot, rather than the struct return pointer slot.
30515 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30516 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30518 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30520 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30522 * po/ja.po: Update from translation team.
30525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30526 kernel in 64-bit binaries.
30528 2011-09-01 David S. Miller <davem@davemloft.net>
30530 * elf/elf.h (HWCAP_SPARC_*): Move to..
30531 * sysdeps/sparc/sysdep.h: this new file and add new values.
30532 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30533 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30534 _DL_HWCAP_COUNT to 24.
30535 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30537 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30538 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30539 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30541 instead of magic constants.
30542 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30544 2011-08-31 David S. Miller <davem@davemloft.net>
30546 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30548 Reimplement to do errno handling inline.
30549 (SYSCALL_ERROR_HANDLER): New macro.
30550 (__SYSCALL_STRING): Do not do errno handling in asm.
30551 (__CLONE_SYSCALL_STRING): Delete.
30552 (__INTERNAL_SYSCALL_STRING): Delete.
30553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30554 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30555 (PSEUDO): Reimplement to do errno handling inline.
30556 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30557 (SYSCALL_ERROR_HANDLER): New macro.
30558 (__SYSCALL_STRING): Do not do errno handling in asm.
30559 (__CLONE_SYSCALL_STRING): Delete.
30560 (__INTERNAL_SYSCALL_STRING): Delete.
30561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30562 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30564 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30565 (inline_syscall*): Add 'err' argument.
30566 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30567 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30568 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30569 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30571 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30572 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30574 2011-08-30 Andreas Schwab <schwab@redhat.com>
30576 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30578 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30580 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30583 2011-08-24 David S. Miller <davem@davemloft.net>
30585 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30587 2011-08-24 Andreas Schwab <schwab@redhat.com>
30589 * elf/Makefile: Add rules to build and run unload8 test.
30590 * elf/unload8.c: New file.
30591 * elf/unload8mod1.c: New file.
30592 * elf/unload8mod1x.c: New file.
30593 * elf/unload8mod2.c: New file.
30594 * elf/unload8mod3.c: New file.
30596 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30599 2011-08-23 David S. Miller <davem@davemloft.net>
30601 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30602 subtract stack bias.
30603 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30604 %sp not %fp in calculations.
30605 (_JMPBUF_UNWINDS_ADJ): Likewise.
30607 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30608 (aio_suspend): Call it to force an exception region around the
30609 AIO_MISC_WAIT() invocation.
30611 2011-08-23 Andreas Schwab <schwab@redhat.com>
30613 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30616 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30618 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30620 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30621 and <dl-machine.h>.
30622 (Elf64_FuncDesc): Remove.
30624 2011-08-22 David S. Miller <davem@davemloft.net>
30626 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30627 sigaltstack check, add missing cfi directives.
30628 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30629 missing cfi directives, and sigaltstack handling.
30631 2011-08-16 Andreas Schwab <schwab@redhat.com>
30634 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30635 object is seen twice.
30636 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30638 * elf/Makefile (distribute): Add tst-initorder2.c.
30639 (tests): Add tst-initorder2.
30640 (modules-names): Add tst-initorder2a tst-initorder2b
30641 tst-initorder2c tst-initorder2d. Add rules to build them.
30642 ($(objpfx)tst-initorder2.out): New rule.
30643 * elf/tst-initorder2.c: New file.
30644 * elf/tst-initorder2.exp: New file.
30646 2011-08-22 Andreas Schwab <schwab@redhat.com>
30648 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30650 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30651 dependencies back to end of function.
30653 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30654 $(elfobjdir)/ld.so.
30656 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30658 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30659 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30661 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30662 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30663 of __vdso_gettimeofday.
30664 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30665 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30667 (_libc_vdso_platform_setup): Remove initialization of
30668 __vdso_gettimeofday and __vdso_time.
30670 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30672 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30673 and fgetc_unlocked.
30674 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30677 * elf/dl-open.c (add_to_global): Report additions to the global scope
30678 for LD_DEBUG=scopes.
30679 (dl_open_worker): Also print scope of newly loaded dependencies.
30680 (_dl_show_scope): Indicate if there is no scope.
30683 * stdio-common/Makefile (tests): Add bug24.
30684 * stdio-common/bug24.c: New file.
30686 2011-08-19 Andreas Jaeger <aj@suse.de>
30689 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30690 non-existant file when using close-on-exec mode.
30692 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30695 the very first instruction.
30697 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30698 the CFI state in the end.
30699 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30700 inclusion of dl-trampoline.h.
30701 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30703 2011-08-19 Andreas Schwab <schwab@redhat.com>
30705 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30706 expectations for long double.
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30709 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30711 2011-08-14 David S. Miller <davem@davemloft.net>
30713 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30714 artificual limit depends upon the system page size.
30716 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30718 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30719 * resolv/Makefile: Define CFLAGS-libresolv.
30721 2011-08-17 Andreas Schwab <schwab@redhat.com>
30723 * nss/makedb.c (compute_tables): Make variables used in nested
30726 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30728 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30729 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30730 if buffer was too small.
30732 * elf/pldd.c (main): Attach to all threads in the process.
30733 Rewrite /proc handling to use *at functions.
30735 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30737 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30738 specifies first scope to show.
30739 (dl_open_worker): Update callers. Move printing scope of new
30740 object to before the relocation.
30741 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30742 * sysdeps/generic/ldsodefs.h: Update declaration.
30744 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30745 string for the scope number.
30747 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30749 * nscd/servicescache.c (cache_addserv): Make sure written is always
30752 2011-08-14 Roland McGrath <roland@hack.frob.com>
30754 * sysdeps/i386/i486/bits/atomic.h
30755 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30756 statement expression, so as to suppress "set but not used" warning.
30757 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30759 * string/strncat.c (STRNCAT): Use prototype definition.
30761 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30762 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30764 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30765 (localedef-modules): Add localedef.
30766 (locale-modules): Add locale.
30768 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30769 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30770 to avoid a warning.
30772 2011-08-14 David S. Miller <davem@davemloft.net>
30774 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30775 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30777 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30779 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30780 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30781 * elf/rtld.c (dl_main): Set l_name of vDSO.
30782 Call _dl_show_scope when DL_DEBUG_SCOPES.
30783 (process_dl_debug): Recognize scopes flag and also set it for all.
30784 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30785 Declare _dl_show_scope.
30787 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30788 (do_dlopen): Pass caller_dlopen to dl_open.
30789 (__libc_dlopen_mode): Initialize caller_dlopen.
30791 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30792 of libc. Make tolower call locale-independent. Optimize a bit by
30793 using isdigit instead of isalnum.
30794 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30796 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30798 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30799 was a dependency or dynamically loaded.
30801 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30803 * intl/l10nflist.c: Allow architecture-specific pop function.
30804 * sysdeps/x86_64/l10nflist.c: New file.
30806 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30809 2011-08-10 Andreas Schwab <schwab@redhat.com>
30811 * include/dirent.h: Add libc_hidden_proto for scandirat and
30812 scandirat64. Don't declare __scandirat64.
30813 * dirent/scandirat.c: Add libc_hidden_def.
30814 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30815 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30817 2011-08-10 David S. Miller <davem@davemloft.net>
30819 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30825 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30827 * Versions.def [libc]: Add GLIBC_2.15.
30828 * dirent/Makefile (routines): Add scandirat and scandirat64.
30829 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30831 * dirent/dirent.h: Declare scandirat and scandirat64.
30832 * dirent/scandirat.c: New file.
30833 * dirent/scandirat64.c: New file.
30834 * sysdeps/wordsize-64/scandirat.c: New file.
30835 * sysdeps/wordsize-64/scandirat64.c: New file.
30836 * dirent/opendir.c: Define opendirat.
30837 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30839 * dirent/scandir64.c: Adjust for scandir.c change.
30840 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30841 __scandirat64, and __scandir_cancel_handler.
30842 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30843 additional parameter and use openat instead of open (outside of ld.so).
30844 Add new __opendir as wrapper around __opendirat.
30845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30846 here without requiring old scandirat implementation.
30848 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30850 * dirent/scandir.c (cancel_handler): Renamed to
30851 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30852 defined. Adjust users.
30853 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30854 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30856 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30858 * string/test-string.h (IMPL): Use __STRING to expand name and then
30861 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30864 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30866 * string/Makefile: Update.
30867 (strop-tests): Append strncat.
30868 * string/test-wcscmp.c: New file.
30869 New comprehensive test for wcscmp.
30870 * string/test-strcmp.c: Update.
30871 (WIDE): New define.
30873 2011-07-22 Andreas Schwab <schwab@redhat.com>
30875 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30878 2011-07-26 Andreas Schwab <schwab@redhat.com>
30880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30881 encoding to ACE if AI_IDN.
30883 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30886 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30888 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30891 Fix overflow bug in strncat.
30892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30894 * string/test-strncat.c: Update.
30895 Add new tests for checking overflow bugs.
30897 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30900 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30901 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30902 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30903 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30904 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30905 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30906 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30907 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30910 (USE_AS_STRCAT): Define.
30911 Add strcat and strncat support.
30912 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30914 2011-07-25 Andreas Schwab <schwab@redhat.com>
30916 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30917 __n bigger than INT_MAX+1.
30918 (__strncmp_g): Likewise.
30920 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30922 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30923 * libio/stido.h: Likewise.
30925 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30930 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30933 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30937 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30942 (_dl_x86_64_save_sse): Likewise.
30944 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30948 (_dl_x86_64_save_sse): Likewise.
30950 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30952 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30954 2011-07-21 Andreas Schwab <schwab@redhat.com>
30956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30958 (_dl_x86_64_save_sse): Use correct AVX check.
30960 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30962 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30963 bug in strncpy/strncat.
30964 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30966 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30968 * string/tester.c (test_strcat): Add tests for different alignments
30969 of source and destination.
30970 (test_strncat): Likewise.
30972 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30975 * posix/glob.c (glob): Check passed in values before using them in
30976 expressions to avoid some overflows.
30977 (glob_in_dir): Likewise.
30980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30981 check for AVX enablement so that we don't crash with old kernels and
30983 * elf/tst-audit4.c: Add same checks here.
30984 * elf/tst-audit6.c: Likewise.
30986 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30988 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30990 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30992 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30994 * po/cs.po: Update from translation team.
30995 * po/bg.po: Likewise.
30997 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30999 * misc/sys/cdefs.h: Add support for const attribute.
31000 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31001 to gnu_dev_{major,minor,makedev} functions.
31003 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31005 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31007 2011-07-20 Andreas Schwab <schwab@redhat.com>
31009 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31012 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31015 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31016 register in order to avoid conflicts with the soft frame pointer
31017 being held in r11 when necessary.
31018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31019 (INTERNAL_VSYSCALL_NCS): Likewise.
31021 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31023 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31024 * elf/dl-fini.c (_dl_fini): Adjust caller.
31025 * elf/dl-close.c (_dl_close_worker): Likewise.
31026 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31028 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31030 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31031 "aux_cache->nlibs < 0".
31033 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31034 in the reload-count case.
31036 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31039 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31040 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31041 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31042 * sysdeps/x86_64/multiarch/strcat.S: New file.
31043 * sysdeps/x86_64/multiarch/strncat.S: New file.
31044 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31046 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31047 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31048 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31049 (USE_AS_STRCAT): Define.
31050 Add strcat and strncat support.
31051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31053 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31054 * string/strncat.c: Update.
31055 (USE_AS_STRNCAT): Define.
31056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31057 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31059 * sysdeps/x86_64/multiarch/init-arch.h
31060 (bit_Prefer_PMINUB_for_stringop): New.
31061 (index_Prefer_PMINUB_for_stringop): Likewise.
31062 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31063 bit_Prefer_PMINUB_for_stringop.
31065 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31067 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31069 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31070 of casting of buffer.
31071 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31072 buffer32 and buffer64.
31073 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31074 writes instead of casting of buffer.
31075 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31077 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31080 2011-07-19 Andreas Schwab <schwab@redhat.com>
31082 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31084 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31086 * nscd/nscd.c (termination_handler): Don't do anything for a database
31087 if it has not yet been initialized.
31089 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31091 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31093 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31095 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31097 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31099 * po/nl.po: Update from translation team.
31100 * po/sv.po: Likewise.
31102 2011-07-16 Roland McGrath <roland@hack.frob.com>
31104 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31105 now disallowed by GCC.
31107 * configure.in (use-default-link): Default to yes if a test -shared
31108 link meets our qualifications.
31109 * configure: Regenerated.
31111 * config.make.in (output-format): New variable.
31112 * configure.in: Check for ld --print-output-format support.
31113 * configure: Regenerated.
31114 * Makerules ($(common-objpfx)format.lds)
31115 [$(output-format) != unknown]: Just use $(output-format),
31116 instead of the linker-script munging.
31118 2011-07-14 Roland McGrath <roland@hack.frob.com>
31120 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31121 of $(common-objpfx)shlib.lds.
31122 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31124 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31125 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31127 * configure.in (-z relro check): Adjust test code to add a large
31128 writable data section after it.
31129 * configure: Regenerated.
31131 2011-07-11 Roland McGrath <roland@hack.frob.com>
31133 * configure.in (-z relro check): Fix test code to make the variable
31135 * configure: Regenerated.
31137 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31139 * nscd/nscd.h (struct traced_file): Define.
31140 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31141 elements. Add traced_files.
31142 (inotify_fd): Declare.
31143 (register_traced_file): Declare.
31144 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31145 (inotify_fd): Export.
31146 (resolv_conf_descr): Remove.
31147 (nscd_init): Move inotify descriptor creation to main.
31148 Don't register files for notification here.
31149 (register_traced_file): New function.
31150 (invalidate_cache): Don't use reset_res to determine whether to call
31151 res_init, go through the list of registered files.
31152 (main_loop_poll): The inotify descriptors are now stored in the
31153 structures for the traced files.
31154 (main_loop_epoll): Likewise
31155 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31156 to __nss_disable_nscd.
31157 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31158 for a database anymore. Check the records for all the registered
31160 * nss/Makefile (libnss_files-routines): Add files-init.
31161 (libnss_db-routines): Add db-init.
31162 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31163 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31164 * nss/nss_db/db-init.c: New file.
31165 * nss/nss_files/files-init.c: New file.
31166 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31167 __nss_lookup_function.
31168 (__nss_lookup_function): Call nss_load_library.
31169 (nss_load_all_libraries): New function.
31170 (__nss_disable_nscd): Take parameter with callback function for files
31171 to register. Set is_nscd. Load all the DSOs for the NSS modules
31172 used for the cached services.
31173 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31174 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31175 options for features to all the files in nscd.
31177 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31179 2011-07-10 Roland McGrath <roland@hack.frob.com>
31181 * csu/elf-init.c (__libc_csu_init): Comment typo.
31183 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31185 * po/pl.po: Update from translation team.
31186 * po/ja.po: Likewise.
31187 * po/ru.po: Likewise.
31188 * po/ko.po: Likewise.
31189 * po/fr.po: Likewise.
31191 2011-07-09 Roland McGrath <roland@hack.frob.com>
31193 * configure.in (.ctors/.dtors header and trailer check):
31194 Use an empirical test on a built program.
31195 * configure: Regenerated.
31197 * configure.in (-z relro check): Use an empirical test on a built DSO.
31198 Detect, but do not require, on ia64.
31199 * configure: Regenerated.
31201 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31202 Update tests that use readelf to use $READELF instead.
31203 * configure: Regenerated.
31205 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31207 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31208 if the result is not used.
31210 2011-07-05 Andreas Jaeger <aj@suse.de>
31213 * stdlib/tst-strtod.c: Add testcase.
31215 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31217 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31218 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31219 The latter has a higher limit. Take additional parameter to pass to
31221 (__pathconf): Pass file to __statfs_link_max.
31222 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31224 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31228 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31231 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31232 (__statfs_filesize_max): Likewise.
31233 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31235 2011-07-05 Andreas Jaeger <aj@suse.de>
31237 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31239 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31241 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31243 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31246 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31248 * Makefile (strop-tests): Add strncat.
31249 * string/test-strncat.c: New file.
31251 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31253 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31255 2011-06-21 Andreas Jaeger <aj@suse.de>
31257 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31258 Copy rule from iconvdata/Makefile.
31260 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31263 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31264 but no long options are defined, just return 'W'.
31266 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31269 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31271 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31273 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31275 (innetgr): Likewise.
31277 2011-07-05 Roland McGrath <roland@hack.frob.com>
31279 * config.make.in (install_root): Default to $(DESTDIR).
31281 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31283 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31285 2011-07-02 Roland McGrath <roland@hack.frob.com>
31287 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31289 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31290 containing directory rather than embedding absolute directory names.
31292 * scripts/check-local-headers.sh: Rewritten using awk.
31293 Match by word, not by line. Print error messages for matches.
31294 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31296 * Makerules [shlib-lds-flags empty]:
31297 ($(common-objpfx)libc_pic.opts): New target.
31298 ($(common-objpfx)libc_pic.os.clean): New target.
31299 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31301 * config.make.in (OBJCOPY): New variable.
31302 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31303 * configure: Regenerated.
31305 * config.make.in (use-default-link): New variable.
31306 * configure.in (use_default_link): Grok --with-default-link to set it.
31307 * configure: Regenerated.
31308 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31309 (shlib-lds, shlib-lds-flags): Define to empty.
31311 * Makerules (shlib-lds): New variable.
31312 (shlib-lds-flags): New variable.
31313 (build-shlib, build-moduile, build-module-asneeded): Use it.
31314 ($(common-objpfx)libc.so): Use $(shlib-lds).
31315 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31316 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31318 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31319 DT_FLAGS/DT_FLAGS_1 with zero flags.
31321 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31322 linker script munging.
31324 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31326 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31328 * crypt/sha512.c (sha512_process_block): Perform total addition using
31329 128-bit if possible.
31330 (__sha512_finish_ctx): Likewise.
31331 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31333 * crypt/sha256.c (SWAP64): Define.
31334 (sha256_process_block): Perform total addition using 64-bit if
31336 (__sha256_finish_ctx): Likewise.
31338 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31340 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31342 * nscd/hstcache.c (cache_addhst): Likewise.
31343 * nscd/grpcache.c (cache_addgr): Likewise.
31344 * nscd/aicache.c (addhstaiX): Likewise
31345 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31347 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31349 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31351 * nscd/hstcache.c (cache_addhst): Likewise.
31352 * nscd/grpcache.c (cache_addgr): Likewise.
31353 * nscd/aicache.c (addhstaiX): Likewise
31355 2011-07-01 Andreas Schwab <schwab@redhat.com>
31357 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31358 domain only when needed.
31360 2011-06-30 Andreas Schwab <schwab@redhat.com>
31362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31363 is always restored.
31365 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31367 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31368 are re-adding the entry.
31369 * nscd/servicescache.c (cache_addserv): Likewise.
31371 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31373 * sysdeps/generic/dl-irel.h: fix protection against multiple
31375 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31377 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31380 * malloc/memusage.sh: Fix quoting in message.
31381 * debug/xtrace.sh: Likewise.
31383 * configure.in: Remove support for --experimental-malloc option, make
31385 * config.make.in: Likewise.
31386 * malloc/Makefile: Likewise.
31388 2011-06-27 Andreas Schwab <schwab@redhat.com>
31390 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31391 two-byte characters.
31393 2011-06-27 Roland McGrath <roland@hack.frob.com>
31395 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31396 AC_CACHE_CHECK invocation.
31397 * configure: Regenerated.
31399 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31401 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31404 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31405 bit from old_res_options.
31407 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31409 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31410 value type for setfct.
31412 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31415 __gettimeofday instead of gettimeofday.
31417 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31419 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31421 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31423 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31428 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31431 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31432 strcpy-sse2-unaligned strncpy-sse2-unaligned
31433 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31434 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31435 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31436 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31437 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31438 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31440 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31441 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31442 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31443 (STRCPY): Support SSE2 and SSSE3 versions.
31445 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31448 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31449 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31450 kernels which artificially limit size of requests.
31452 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31455 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31456 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31457 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31458 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31459 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31460 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31461 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31464 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31465 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31466 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31467 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31468 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31470 Enable unaligned load optimization for Intel Core i3, i5 and i7
31472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31474 (index_Fast_Unaligned_Load): Define.
31475 (HAS_FAST_UNALIGNED_LOAD): Define.
31477 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31479 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31481 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31485 until it is clear that the information is realy needed.
31486 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31488 2011-06-22 Andreas Schwab <schwab@redhat.com>
31490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31492 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31495 /sys/devices/system/cpu/online if it is usable.
31497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31498 reading the information from the /proc filesystem to once a second.
31500 2011-06-21 Andreas Jaeger <aj@suse.de>
31502 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31503 NULL after inclusion of kernel headers.
31505 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31507 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31508 calls to internal_setent.
31511 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31512 addresses using gethostbyname4_r ignore IPv4 addresses.
31514 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31515 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31517 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31519 2011-06-20 David S. Miller <davem@davemloft.net>
31521 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31523 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31525 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31526 (elf_irel): Use it.
31527 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31528 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31529 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31530 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31531 * sysdeps/x86_64/dl-irel.h: Likewise.
31533 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31534 * elf/dl-sym.c: Likewise.
31536 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31538 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31539 need to dereference resplen2.
31541 2011-06-14 Andreas Schwab <schwab@redhat.com>
31543 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31545 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31547 * Makeconfig: Define vardbdir and inst_vardbdir.
31548 * nss/Makefile: Add rules to install db-Makefile.
31550 * nss/nss_db/db-XXX.c: Cleanup.
31552 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31553 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31555 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31556 * nss/makedb.c: Implement -g option to specify that value strings
31557 are generated and should not be added to table iterated over for
31559 * nss/nss_db/db-initgroups.c: New file.
31561 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31564 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31565 (internal_getgrouplist): Adjust to name change.
31566 Update use_initgroups_entry if this is not the first call.
31567 * nss/databases.def: Add initgroups entry.
31569 * nss/makedb.c (compute_tables): Check result of multiple hash table
31570 sizes to minimize maximum chain length.
31572 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31574 * Versions.def: Add entry for libnss_db.
31575 * shlib-versions: Likewise.
31576 * nss/Makefile: Add rules to build libnss_db.
31577 * nss/Versions: Add libnss_db information. Organize libnss_files
31579 * nss/db-Makefile: Add gshadow support. Change rules for the new
31580 makedb progra. Some minor improvements to generate smaller files.
31581 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31583 * nss/makedb.c: ...here.
31584 Improve database format to be smaller and require less memory at
31586 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31588 * nss/nss_db/db-netgrp.c: Likewise.
31589 * nss/nss_db/db-open.c: Likewise.
31590 * nss/nss_files/flies-XXX.x: Adjust comments.
31591 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31592 * nss/nss_files/files-grp.c: Likewise.
31593 * nss/nss_files/files-hosts.c: Likewise.
31594 * nss/nss_files/files-network.c: Likewise.
31595 * nss/nss_files/files-proto.c: Likewise.
31596 * nss/nss_files/files-pwd.c: Likewise.
31597 * nss/nss_files/files-rpc.c: Likewise.
31598 * nss/nss_files/files-service.c: Likewise.
31599 * nss/nss_files/files-sgrp.c: Likewise.
31600 * nss/nss_files/files-spwd.c: Likewise.
31601 * nss/nss_db/db-alias.c: Removed.
31602 * nss/nss_db/dummy-db.h: Removed.
31604 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31606 * nss/makedb.c: Rewritten to not use database library.
31607 * nss/Makefile: Update to build new makedb program.
31609 2011-06-14 Andreas Jaeger <aj@suse.de>
31611 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31612 memset declaration.
31614 2011-06-10 Andreas Schwab <schwab@redhat.com>
31616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31619 2011-06-10 Roland McGrath <roland@hack.frob.com>
31621 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31622 * elf/Makefile ($(objpfx)ld.so): Likewise.
31624 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31625 Don't list ld.so twice in dependencies.
31627 * posix/bug-regex31.c: Include <stdlib.h>.
31629 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31631 * nis/nss_compat/compat-spwd.c
31632 (getspent_next_nss_netgr): Remove unused variable.
31633 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31635 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31636 nonmembers" output to use the right array.
31638 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31640 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31642 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31643 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31644 * catgets/gencat.c (read_input_file): Likewise.
31645 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31647 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31648 variable definition inside #if's controlling its use.
31650 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31652 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31654 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31656 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31659 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31661 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31662 * configure: Regenerated.
31664 * Makerules: Revert last change.
31665 * elf/Makefile: Likewise.
31667 2011-06-09 Roland McGrath <roland@hack.frob.com>
31669 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31670 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31671 (reloc-link): Likewise.
31673 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31675 * elf/Makefile: Add rules to build pldd.
31676 * elf/pldd.c: New file.
31677 * elf/pldd-xx.c: New file.
31679 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31681 * version.h: Update for 2.15 development version.
31683 2011-06-07 David S. Miller <davem@davemloft.net>
31685 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31687 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31688 elf_machine_lazy_rel): Likewise.
31689 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31691 elf_machine_lazy_rel): Likewise.
31692 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31693 dl_hwcap via passed in argument.
31694 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31697 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31699 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31701 2011-06-06 Roland McGrath <roland@hack.frob.com>
31704 * manual/fdl-1.1.texi: New file, verbatim from:
31705 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31706 * manual/lgpl-2.1.texi: New file, verbatim from:
31707 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31708 * manual/Makefile (licenses): New variable, list those new file names.
31710 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31712 * manual/fdl.texi: File removed.
31713 * manual/lesser.texi: File removed.
31714 * manual/libc.texinfo (Copying, Documentation License):
31715 Use new @include file names, put @appendix directive before @include.
31717 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31720 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31721 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31722 (mq_open): Add __NTH.
31724 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31727 Assume Intel Core i3/i5/i7 processor if AVX is available.
31729 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31734 2011-05-31 Andreas Schwab <schwab@redhat.com>
31736 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31737 memory. Use alloca_account. Fix memory leak when retrying.
31739 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31741 * version.h (RELEASE): Bump for 2.14 release.
31742 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31744 * config.make.in (RANLIB): Remove entry.
31746 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31748 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31749 (libc.pot): Work around missing support for .ksh extension in xgettext.
31752 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31753 if both request failed.
31754 (send_dg): In case of server errors clear resplen or *resplen2.
31757 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31758 when there are multiple maps.
31759 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31760 (_dl_fini): Remove test here.
31762 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31764 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31767 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31768 bit from old_res_options.
31769 (gaih_inet): Likewise.
31772 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31775 * resolv/res_init.c (res_setoptions): Make the code more compact.
31778 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31782 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31784 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31787 * malloc/malloc.h: Declare malloc hook variables as volatile.
31789 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31793 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31794 raise in the comment.
31795 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31797 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31799 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31802 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31803 grow the buffers more if it already has to be sufficient.
31804 (build_wcs_upper_buffer): Likewise.
31805 * posix/regexec.c (check_matching): Likewise.
31806 (clean_state_log_if_needed): Likewise.
31807 (extend_buffers): Don't enlarge buffers beyond size of the input
31809 Patches mostly by Emil Wojak <emil@wojak.eu>.
31810 * posix/bug-regex32.c: New file.
31811 * posix/Makefile (tests): Add bug-regex32.
31813 * locale/findlocale.c (_nl_find_locale): Return right away if
31814 _nl_explode_name failed.
31815 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31817 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31819 * debug/xtrace.sh: Unify messages.
31820 * malloc/memusage.sh: Likewise.
31823 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31824 time symbol from vDSO. Substitute with vsyscall if not available.
31825 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31828 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31829 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31830 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31831 Add sendmmsg and internal_sendmmsg.
31832 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31833 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31834 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31836 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31837 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31840 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31843 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31844 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31846 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31850 * iconvdata/Makefile (tests): Add bug-iconv9.
31851 * iconvdata/bug-iconv9.c: New file.
31853 2011-05-27 Andreas Schwab <schwab@redhat.com>
31856 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31858 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31861 (struct user_regs_struct): Change intcs field back to cs.
31863 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31865 * po/ja.po: Update from translation team.
31867 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31870 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31871 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31873 2011-05-20 Andreas Schwab <schwab@redhat.com>
31875 * stdlib/longlong.h: Update from GCC.
31877 2011-05-23 Andreas Schwab <schwab@redhat.com>
31879 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31881 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31882 Add parameter name.
31883 (__sysconf): Pass it down.
31885 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31888 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31891 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31892 add in in __libc_use_alloca calls. Adjust callers.
31893 (glob): Use malloc in some situations.
31895 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31896 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31899 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31901 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31902 and CLOCK_BOOTTIME_ALARM.
31905 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31908 * string/_strerror.c (__strerror_r): Print negative errors as signed
31912 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31913 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31914 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31916 * configure.in: Fix typo in redirection and correct removal of test
31917 files in two cases.
31920 * locale/setlocale.c (new_composite_name): Fix test to check for
31921 identical name of all categories.
31924 * libio/filedoalloc.c (local_isatty): New function.
31925 (_IO_file_doallocate): Use local_isatty.
31926 * stdio-common/perror.c (perror): In case a new stream is used
31927 forward the stream error.
31928 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31931 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31936 * include/alloca.h (extend_alloca_account): Define.
31939 * posix/regex.h: Fix comments with documentation of user-accessible
31940 fields after compilation and describe correct free'ing of pattern
31941 after re_compile_pattern.
31942 Patch by Reuben Thomas <rrt@sc3d.org>.
31944 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31946 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31947 and -mno-altivec to prevent the compiler from using Altivec and/or
31948 VSX instructions when the corresponding registers are not available.
31950 2011-05-19 Andreas Schwab <schwab@redhat.com>
31952 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31954 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31956 * libio/freopen.c (freopen): Use __dup2, not dup2.
31957 * libio/freopen64.c (freopen64): Likewise.
31959 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31963 * math/Makefile (tests): Add test-powl.
31964 (CFLAGS-test-powl.c): Define.
31965 * math/test-powl.c: New file.
31967 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31969 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31971 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31974 * iconvdata/gb18030.c: Update to GB18020-2005.
31976 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31978 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31979 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31980 Patch by Aharon Robbins <arnold@skeeve.com>.
31983 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31987 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31988 through underflows.
31991 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31992 point to strings before performing equality test for error_one_per_line
31996 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32000 (struct user_fpregs_struct): Avoid __uint*_t types.
32003 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32004 symbol info. Use it instead of calling _dl_addr locally.
32005 (lock_and_info): New function.
32006 (tr_freehook): Call lock_and_info and pass symbol info as additional
32007 parameter to tr_where.
32008 (tr_mallochook): Likewise.
32009 (tr_reallochook): Likewise.
32010 (tr_memalignhook): Likewise.
32012 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32013 used and couldn't be at all thread-safe.
32015 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32017 * libio/freopen.c (freopen): Don't close old file descriptor
32018 before the new one is opened. Instead dup the new file descriptor
32019 to the old one after the new stream is created.
32020 * libio/freopen64.c (freopen64): Likewise.
32021 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32022 * libio/fileops.c (_IO_new_file_close_it): Handle new
32023 _IO_FLAGS2_NOCLOSE flag.
32024 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32025 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32026 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32027 _IO_FLAGS2_NOCLOSE flag.
32028 * include/unistd.h: Add hidden_proto for dup3.
32029 Define __have_dup3.
32030 * io/dup3.c: Define hidden symbol.
32031 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32034 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32035 when an incomplete long option is used.
32036 * posix/tst-getopt_long1.c: New file.
32037 * posix/Makefile (tests): Add tst-getopt_long1.
32040 * scripts/config.guess: Update from autoconf-2.68.
32041 * scripts/config.sub: Likewise.
32044 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32046 (has_cpuclock): ...this. New function.
32047 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32048 macro here based on has_cpuclock code.
32051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32052 First byte (not low byte) is now always NUL.
32053 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32056 Use non-cancelable interfaces.
32059 * locale/iso-639.def: Add entry for Sorani.
32062 * include/stdlib.h: Move include protection to the right place.
32063 Define abort_msg_s. Declare __abort_msg with it.
32064 * stdlib/abort.c (__abort_msg): Adjust type.
32065 * assert/assert.c (__assert_fail_base): New function. Majority
32066 of code from __assert_fail. Allocate memory for __abort_msg with
32068 (__assert_fail): Now call __assert_fail_base.
32069 * assert/assert-perr.c: Remove bulk of implementation. Use
32070 __assert_fail_base.
32071 * include/assert.hL Declare __assert_fail_base.
32072 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32074 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32076 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32080 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32081 until all modules are registered in the DTV.
32082 * elf/Makefile: Add rules to build and run tst-tls19.
32083 * elf/tst-tls19.c: New file.
32084 * elf/tst-tls19mod1.c: New file.
32085 * elf/tst-tls19mod2.c: New file.
32086 * elf/tst-tls19mod3.c: New file.
32087 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32090 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32094 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32095 two-byte sequence errors.
32096 * iconvdata/Makefile (tests): Add bug-iconv8.
32097 * iconvdata/bug-iconv8.c: New file.
32100 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32103 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32106 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32107 (dummy_getcfa): New function.
32108 (init): Get _Unwind_GetCFA address, use dummy if not found.
32109 (backtrace_helper): In recursion check, also check whether CFA changes.
32110 (__backtrace): Completely initialize arg.
32112 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32113 storing incomplete byte sequence in state object. Avoid testing for
32114 guaranteed too small input if we know there is enough data available.
32116 2011-05-11 Andreas Schwab <schwab@redhat.com>
32118 * Makeconfig (+link-pie): Indent.
32119 * Rules (binaries-pie): Define if $(have-fpie) and
32121 (binaries-shared): Also filter out $(binaries-pie).
32122 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32123 * nscd/Makefile (others-pie): Add nscd.
32124 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32125 ($(objpfx)nscd): Remove command override.
32126 * login/Makefile (others-pie): Add pt_chown.
32127 ($(objpfx)pt_chown): Remove command override.
32128 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32129 remove command overrides.
32131 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32133 * libio/tst_putwc.c: Fix error messages.
32136 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32137 currently writing and seek to current position when not.
32138 * libio/Makefile (tests): Add bug-fclose1.
32139 * libio/bug-fclose1.c: New file.
32141 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32144 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32145 don't set DF_1_NODELETE here.
32146 (do_lookup_x): When entering new entry test for copy relocation
32147 and if necessary set DF_1_NODELETE flag.
32148 * elf/tst-unique4.cc: New file.
32149 * elf/tst-unique4.h: New file.
32150 * elf/tst-unique4lib.cc: New file.
32151 * elf/Makefile: Add rules to build and run tst-unique4.
32152 Patch by Piotr Bury <pbury@goahead.com>.
32154 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32157 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32160 * misc/mntent_r.c (addmntent): Flush the stream after the output
32163 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32164 (is_trusted_path_normalize): Skip initial colon. Append slash
32165 to empty buffer. Duplicate is_trusted_path code but allow
32166 constructed patch to be prefix.
32167 (is_dst): Allow $ORIGIN followed by /.
32168 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32169 Correct testing of result of is_trusted_path_normalize
32170 (decompose_rpath): Fix warning.
32172 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32175 * grp/initgroups.c (internal_getgrouplist): When we found the service
32176 list through the initgroups entry in nsswitch.conf do not always
32177 continue on a successful lookup. Don't always use the
32178 __nss_group_database value if it is set.
32179 * nss/nsswitch.conf (initgroups): Change action for successful db
32180 lookup to continue for compatibility.
32182 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32185 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32187 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32189 * iconvdata/tst-tables.sh: Likewise.
32190 * iconvdata/cp770.c: New file.
32191 * iconvdata/cp771.c: New file.
32192 * iconvdata/cp772.c: New file.
32193 * iconvdata/cp773.c: New file.
32194 * iconvdata/cp774.c: New file.
32195 * iconvdata/testdata/CP770: New file.
32196 * iconvdata/testdata/CP770..UTF8: New file.
32197 * iconvdata/testdata/CP771: New file.
32198 * iconvdata/testdata/CP771..UTF8: New file.
32199 * iconvdata/testdata/CP772: New file.
32200 * iconvdata/testdata/CP772..UTF8: New file.
32201 * iconvdata/testdata/CP773: New file.
32202 * iconvdata/testdata/CP773..UTF8: New file.
32203 * iconvdata/testdata/CP774: New file.
32204 * iconvdata/testdata/CP774..UTF8: New file.
32206 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32208 * iconvdata/gen-8bit-gap.sh: Likewise.
32209 * iconvdata/gen-8bit.sh: Likewise.
32211 * locale/iso-639.def: Add ary entry.
32214 * locale/C-translit.h.in: Add U20A1 transliteration.
32217 * locale/iso-639.def: Add wae entry.
32218 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32221 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32225 * locale/C-translit.h.in: Add entry for U20B9.
32226 Patch by pravin.d.s@gmail.com.
32228 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32231 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32232 ENAMETOOLONG use generic getcwd.
32233 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32234 in rtld. Use *stat64.
32235 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32236 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32237 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32238 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32239 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32240 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32241 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32242 __fstatat64 macros.
32243 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32244 * dirent/rewinddir.c: Add libc_hidden_def.
32245 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32246 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32248 * include/dirent.h (__alloc_dir): Add flags parameter.
32249 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32250 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32252 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32253 from fdopendir if O_CLOEXEC is already set.
32255 2011-03-15 Alan Modra <amodra@gmail.com>
32257 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32258 l_tls_firstbyte_offset non-zero. Save padding offset in
32259 l_tls_firstbyte_offset for later use.
32260 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32261 freeing static tls block.
32263 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32265 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32266 where #ifdef was intended. The intent is to prevent ARG_MAX from
32267 being defined by the kernel headers.
32269 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32272 * resolv/resolv.h: Define RES_NOTLDQUERY.
32273 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32274 no-tld-query and set RES_NOTLDQUERY.
32275 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32276 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32277 modern BIND to search name as TLD unless forbidden.
32279 2011-05-07 Petr Baudis <pasky@suse.cz>
32280 Ulrich Drepper <drepper@gmail.com>
32283 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32284 (is_trusted_path): ...to here.
32285 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32286 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32287 using is_trusted_path_normalize() in setuid scripts.
32289 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32291 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32292 __BEGIN/__END_DECLS.
32294 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32297 NSS_STATUS_NOTFOUND if no record was found.
32299 2011-05-05 Andreas Schwab <schwab@redhat.com>
32301 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32302 (headers-not-in-tirpc): Remove rpc/netdb.h
32303 * resolv/netdb.h: Revert last change.
32305 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32307 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32308 circular dependency between libgcc.a and libc.a.
32310 2011-05-05 Andreas Schwab <schwab@redhat.com>
32312 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32313 * nis/Makefile: Don't install rpcsvc/*.
32314 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32315 instead of <rpc/types.h>.
32316 (MAXHOSTNAMELEN): Define.
32318 2011-05-03 Andreas Schwab <schwab@redhat.com>
32320 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32322 2011-04-28 Maciej Babinski <mbabinski@google.com>
32325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32326 gethostbyname4_r when IPv6 results are possible.
32328 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32331 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32332 _PC_PIPE_BUF handling.
32334 2011-04-30 Bruno Haible <bruno@clisp.org>
32337 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32338 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32340 * inet/getnameinfo.c (getnameinfo): Likewise.
32342 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32344 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32345 to groups setting in database lookup.
32346 * nss/nsswitch.conf: Add initgroups entry.
32348 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32351 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32353 Patch by Eric Blake <eblake@redhat.com>.
32355 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32357 * sunrpc/Makefile (need-export-routines): Add svc_run.
32358 (routines): Remove svc_run.
32359 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32360 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32361 * sunrpc/svc_run.c (svc_run): Likewise.
32362 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32364 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32366 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32367 problem in reallocation in last patch.
32369 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32371 * sunrpc/Makefile: Move inclusion of Rules.
32373 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32375 * nss/nss_files/files-initgroups.c: New file.
32376 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32377 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32378 _nss_files_initgroups_dyn.
32380 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32382 * elf/elf.h (R_ARM_IRELATIVE): Define.
32384 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32386 * po/ru.po: Update from translation team.
32388 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32390 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32393 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32396 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32397 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32400 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32402 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32404 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32410 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32413 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32415 * stdlib/bug-getcontext.c: New file.
32416 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32418 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32420 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32421 instructions into .machine "z9-109".
32422 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32423 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32425 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32427 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32428 between environment variables and auxiliary vector.
32430 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32432 * Makefile: Add rules to build linkobj/libc.so.
32433 * include/libc-symbols.h: Define libc_hidden_nolink.
32434 * include/rpc/auth.h: Mark functions which are to be hidden.
32435 * include/rpc/auth_des.h: Likewise.
32436 * include/rpc/auth_unix.h: Likewise.
32437 * include/rpc/clnt.h: Likewise.
32438 * include/rpc/des_crypt.h: Likewise.
32439 * include/rpc/key_prot.h: Likewise.
32440 * include/rpc/pmap_clnt.h: Likewise.
32441 * include/rpc/pmap_prot.h: Likewise.
32442 * include/rpc/pmap_rmt.h: Likewise.
32443 * include/rpc/rpc_msg.h: Likewise.
32444 * include/rpc/svc.h: Likewise.
32445 * include/rpc/svc_auth.h: Likewise.
32446 * include/rpc/xdr.h: Likewise.
32447 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32448 * nss/Makefile: Likewise.
32449 * sunrpc/Makefile: Don't install headers. Build library with normal
32450 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32451 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32452 for the compat linking library. Remove use of INTDEF/INTUSE.
32453 * sunrpc/auth_none.c: Likewise.
32454 * sunrpc/auth_unix.c: Likewise.
32455 * sunrpc/authdes_prot.c: Likewise.
32456 * sunrpc/authuxprot.c: Likewise.
32457 * sunrpc/clnt_gen.c: Likewise.
32458 * sunrpc/clnt_perr.c: Likewise.
32459 * sunrpc/clnt_raw.c: Likewise.
32460 * sunrpc/clnt_simp.c: Likewise.
32461 * sunrpc/clnt_tcp.c: Likewise.
32462 * sunrpc/clnt_udp.c: Likewise.
32463 * sunrpc/clnt_unix.c: Likewise.
32464 * sunrpc/des_crypt.c: Likewise.
32465 * sunrpc/des_soft.c: Likewise.
32466 * sunrpc/get_myaddr.c: Likewise.
32467 * sunrpc/key_call.c: Likewise.
32468 * sunrpc/key_prot.c: Likewise.
32469 * sunrpc/netname.c: Likewise.
32470 * sunrpc/pm_getmaps.c: Likewise.
32471 * sunrpc/pm_getport.c: Likewise.
32472 * sunrpc/pmap_clnt.c: Likewise.
32473 * sunrpc/pmap_prot.c: Likewise.
32474 * sunrpc/pmap_prot2.c: Likewise.
32475 * sunrpc/pmap_rmt.c: Likewise.
32476 * sunrpc/publickey.c: Likewise.
32477 * sunrpc/rpc_cmsg.c: Likewise.
32478 * sunrpc/rpc_common.c: Likewise.
32479 * sunrpc/rpc_dtable.c: Likewise.
32480 * sunrpc/rpc_prot.c: Likewise.
32481 * sunrpc/rpc_thread.c: Likewise.
32482 * sunrpc/rtime.c: Likewise.
32483 * sunrpc/svc.c: Likewise.
32484 * sunrpc/svc_auth.c: Likewise.
32485 * sunrpc/svc_authux.c: Likewise.
32486 * sunrpc/svc_raw.c: Likewise.
32487 * sunrpc/svc_run.c: Likewise.
32488 * sunrpc/svc_simple.c: Likewise.
32489 * sunrpc/svc_tcp.c: Likewise.
32490 * sunrpc/svc_udp.c: Likewise.
32491 * sunrpc/svc_unix.c: Likewise.
32492 * sunrpc/svcauth_des.c: Likewise.
32493 * sunrpc/xcrypt.c: Likewise.
32494 * sunrpc/xdr.c: Likewise.
32495 * sunrpc/xdr_array.c: Likewise.
32496 * sunrpc/xdr_float.c: Likewise.
32497 * sunrpc/xdr_intXX_t.c: Likewise.
32498 * sunrpc/xdr_mem.c: Likewise.
32499 * sunrpc/xdr_rec.c: Likewise.
32500 * sunrpc/xdr_ref.c: Likewise.
32501 * sunrpc/xdr_sizeof.c: Likewise.
32502 * sunrpc/xdr_stdio.c: Likewise.
32504 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32507 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32508 * sysdeps/ia64/dl-tls.h: Likewise.
32509 * sysdeps/powerpc/dl-tls.h: Likewise.
32510 * sysdeps/s390/dl-tls.h: Likewise.
32511 * sysdeps/sh/dl-tls.h: Likewise.
32512 * sysdeps/sparc/dl-tls.h: Likewise.
32513 * sysdeps/x86_64/dl-tls.h: Likewise.
32514 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32516 2011-03-14 Andreas Schwab <schwab@redhat.com>
32518 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32519 rpath element also skip the following colon.
32520 (expand_dynamic_string_token): Add is_path parameter and pass
32521 down to DL_DST_REQUIRED and _dl_dst_substitute.
32522 (decompose_rpath): Call expand_dynamic_string_token with
32523 non-zero is_path. Ignore empty rpaths.
32524 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32527 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32532 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32535 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32536 Patch by Filipe David Manana <fdmanana@apache.org>.
32538 2011-04-07 Andreas Schwab <schwab@redhat.com>
32540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32541 Maintain aligned stack.
32542 (CHECK_RSP): Remove unused macro.
32544 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32546 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32547 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32549 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32551 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32553 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32555 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32558 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32559 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32560 * sysdeps/x86_64/memmove.c: New file.
32561 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32562 (memcpy): Renamed to ...
32563 (__new_memcpy): This.
32564 (memcpy): Provide GLIBC_2_14 memcpy.
32565 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32566 (memcpy): Provide GLIBC_2_2_5 memcpy.
32568 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32571 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32573 2011-03-30 Andreas Schwab <schwab@redhat.com>
32575 * misc/syncfs.c: New file.
32576 * misc/Makefile (routines): Add syncfs.
32577 * posix/unistd.h: Declare syncfs.
32578 * sysdeps/unix/syscalls.list: Add syncfs.
32580 2011-04-01 Andreas Schwab <schwab@redhat.com>
32582 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32584 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32587 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32589 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32592 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32594 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32595 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32596 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32600 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32602 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32603 sync_file_range.c with -fexceptions.
32604 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32605 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32606 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32607 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32608 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32609 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32611 sync_file_range as cancellation point
32612 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32613 now a wrapper around __call_sync_file_range with cancellation handling.
32614 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32615 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32616 function name to __call_sync_file_range.
32617 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32618 Add call_sync_file_range.
32620 2011-04-01 Andreas Schwab <schwab@redhat.com>
32622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32625 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32627 * iconv/iconv.h: Fix typo in comment.
32628 * io/fcntl.h: Likewise.
32629 * libio/stdio.h: Likewise.
32630 * posix/spawn.h: Likewise.
32631 * posix/unistd.h: Likewise.
32632 * stdlib/stdlib.h: Likewise.
32633 * time/time.h: Likewise.
32634 * wcsmbs/wchar.h: Likewise.
32636 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32637 open_by_handle): Add.
32638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32639 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32640 Augment a few comments.
32641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32646 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32649 * io/fcntl.h (AT_EMPTY_PATH): Define.
32651 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32653 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32654 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32655 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32657 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32658 * Versions.def: Add GLIBC_2.14.
32659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32662 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32664 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32666 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32668 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32671 * string/test-strncmp.c (do_page_test): New function.
32672 (check2): Likewise.
32673 (test_main): Call check2.
32674 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32676 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32679 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32680 Handle cache information in CPU leaf 4.
32681 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32683 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32686 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32687 character representation.
32688 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32690 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32692 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32693 END(__isnan) to END(__isnanf) to match function entry point/label
32694 EALIGN(__isnanf,...).
32696 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32698 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32700 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32703 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32704 copy from the symbol referenced in the relocation to initialize the
32706 Patch by Piotr Bury <pbury@goahead.com>.
32707 * elf/Makefile: Add rules to build and tst-unique3.
32708 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32709 * elf/tst-unique3.cc: New file.
32710 * elf/tst-unique3.h: New file.
32711 * elf/tst-unique3lib.cc: New file.
32712 * elf/tst-unique3lib2.cc: New file.
32714 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32716 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32718 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32719 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32722 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32724 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32725 to-be-loaded object along a path to loader is ld.so.
32727 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32728 Ulrich Drepper <drepper@gmail.com>
32730 * sysdeps/x86_64/memset.S: After aligning destination, code
32731 branches to different locations depending on the value of
32732 misalignment, when multiarch is enabled. Fix this.
32734 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32736 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32737 Set _x86_64_preferred_memory_instruction for AMD processsors.
32738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32739 Set bit_Prefer_SSE_for_memop for AMD processors.
32741 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32743 * libio/fmemopen.c (fmemopen): Optimize a bit.
32745 2011-03-03 Andreas Schwab <schwab@redhat.com>
32747 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32749 2011-03-03 Roland McGrath <roland@redhat.com>
32751 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32753 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32755 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32756 __bzero_ultra1 instead of __memset_ultra1.
32758 2011-02-23 Andreas Schwab <schwab@redhat.com>
32759 Ulrich Drepper <drepper@gmail.com>
32762 * include/link.h (struct link_map): Add l_orig_initfini.
32763 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32764 returning unsuccessfully.
32765 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32766 close of a file loaded at startup, restore the original l_initfini
32768 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32769 list, store the pointer.
32770 * elf/Makefile ($(objpfx)noload-mem): New rule.
32771 (noload-ENV): Define.
32772 (tests): Add $(objpfx)noload-mem.
32773 * elf/noload.c: Include <memcheck.h>.
32774 (main): Call mtrace. Close all opened handles.
32776 2011-02-17 Andreas Schwab <schwab@redhat.com>
32779 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32780 dependencies are missing.
32782 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32784 Fix __if_freereq crash: Unlike the generic version which uses free,
32786 * sysdeps/mach/hurd/ifreq.h: New file.
32788 2011-01-27 Petr Baudis <pasky@suse.cz>
32789 Ulrich Drepper <drepper@gmail.com>
32792 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32793 to extend_alloca().
32794 * stdio-common/bug23.c: New file.
32795 * stdio-common/Makefile (tests): Add bug23.
32797 2010-09-28 Andreas Schwab <schwab@redhat.com>
32798 Ulrich Drepper <drepper@gmail.com>
32801 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32802 before performing relro protection. At old place add assertion
32803 to make sure nothing changed.
32805 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32806 Glauber de Oliveira Costa <glommer@gmail.com>
32808 * elf/elf.h: Add new ARM TLS relocs.
32810 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32813 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32815 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32817 * sysdeps/wordsize-64/tst-writev.c: New file.
32819 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32821 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32822 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32823 insns in _dl_start to prevent a TOC reference before relocs are
32826 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32829 * Makeconfig: Remove RANLIB definition.
32830 * Makerules: Don't use RANLIB.
32831 * aclocal.m4: Remove ranlib test.
32832 * configure.in: No need to check for ranlib.
32833 * elf/rtld-Rules: Don't use RANLIB.
32835 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32837 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32839 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32840 inclusion protection macro.
32842 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32843 SIGRTMIN and SIGRTMAX and print information in that case only when
32844 SIGRTMIN is defined.
32846 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32848 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32849 arginfo fn returning -1.
32851 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32852 and thousands string is zero terminated.
32854 2011-02-03 Andreas Schwab <schwab@redhat.com>
32856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32857 sysdeps/unix/sysv/linux/bits/socket.h.
32859 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32861 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32862 (__CPU_COUNT): Remove old macros.
32863 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32864 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32865 (__CPU_ALLOC, __CPU_FREE): Add macros.
32866 (__sched_cpualloc, __sched_cpufree): Add declarations.
32868 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32870 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32871 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32872 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32873 (readdhstai): Return value of addhstaiX call.
32874 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32875 (addgrbyX): Return value returned by cache_addgr.
32876 (readdgrbyname): Return value returned by addgrbyX.
32877 (readdgrbygid): Likewise.
32878 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32879 (addpwbyX): Return value returned by cache_addpw.
32880 (readdpwbyname): Return value returned by addhstbyX.
32881 (readdpwbyuid): Likewise.
32882 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32883 (addservbyX): Return value returned by cache_addserv.
32884 (readdservbyname): Return value returned by addservbyX:
32885 (readdservbyport): Likewise.
32886 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32887 (addhstbyX): Return value returned by cache_addhst.
32888 (readdhstbyname): Return value returned by addhstbyX.
32889 (readdhstbyaddr): Likewise.
32890 (readdhstbynamev6): Likewise.
32891 (readdhstbyaddrv6): Likewise.
32892 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32893 (readdinitgroups): Return value returned by addinitgroupsX.
32894 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32895 (prune_cache): Keep track of timeout value of re-added entries.
32896 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32897 * nscd/nscd.h: Adjust prototypes of readd* functions.
32899 2011-02-04 Roland McGrath <roland@redhat.com>
32901 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32902 (nis_stats): Likewise.
32903 * nis/nis_modify.c (nis_modify): Likewise.
32904 * nis/nis_remove.c (nis_remove): Likewise.
32905 * nis/nis_add.c (nis_add): Likewise.
32907 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32909 * posix/fnmatch_loop.c: Add some consts.
32911 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32913 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32916 * config.make.in (config-cflags-novzeroupper): Define.
32917 * configure.in: Substitute libc_cv_cc_novzeroupper.
32918 * elf/Makefile (AVX-CFLAGS): Define.
32919 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32920 (CFLAGS-tst-auditmod4a.c): Likewise.
32921 (CFLAGS-tst-auditmod4b.c): Likewise.
32922 (CFLAGS-tst-auditmod6b.c): Likewise.
32923 (CFLAGS-tst-auditmod6c.c): Likewise.
32924 (CFLAGS-tst-auditmod7b.c): Likewise.
32925 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32927 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32929 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32930 function to the callback.
32931 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32933 2011-02-02 Andreas Schwab <schwab@redhat.com>
32935 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32938 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32941 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32943 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32945 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32948 * elf/Makefile: Add rules to build and run new test.
32949 * elf/tst-initorder.c: New file.
32950 * elf/tst-initorder.exp: New file.
32951 * elf/tst-initordera1.c: New file.
32952 * elf/tst-initordera2.c: New file.
32953 * elf/tst-initordera3.c: New file.
32954 * elf/tst-initordera4.c: New file.
32955 * elf/tst-initorderb1.c: New file.
32956 * elf/tst-initorderb2.c: New file.
32957 * elf/tst-order-a1.c: New file.
32958 * elf/tst-order-a2.c: New file.
32959 * elf/tst-order-a3.c: New file.
32960 * elf/tst-order-a4.c: New file.
32961 * elf/tst-order-b1.c: New file.
32962 * elf/tst-order-b2.c: New file.
32963 * elf/tst-order-main.c: New file.
32964 New test case by George Gensure <werkt0@gmail.com>.
32966 2010-10-01 Andreas Schwab <schwab@redhat.com>
32968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32969 decoding ACE if AI_CANONIDN.
32971 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32973 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32975 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32977 * version.h (RELEASE): Bump for 2.13 release.
32978 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32980 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32982 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32984 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32985 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32986 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32987 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32989 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32991 * posix/getconf.c: Update copyright year.
32992 * catgets/gencat.c: Likewise.
32993 * csu/version.c: Likewise.
32994 * debug/catchsegv.sh: Likewise.
32995 * debug/xtrace.sh: Likewise.
32996 * elf/ldconfig.c: Likewise.
32997 * elf/ldd.bash.in: Likewise.
32998 * elf/sprof.c (print_version): Likewise.
32999 * iconv/iconv_prog.c: Likewise.
33000 * iconv/iconvconfig.c: Likewise.
33001 * locale/programs/locale.c: Likewise.
33002 * locale/programs/localedef.c: Likewise.
33003 * malloc/memusage.sh: Likewise.
33004 * malloc/mtrace.pl: Likewise.
33005 * nscd/nscd.c (print_version): Likewise.
33006 * nss/getent.c: Likewise.
33008 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33009 PF_CAIF, and PF_ALG.
33010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33012 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33014 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33015 (modules-names): Use them.
33016 (ifunc-test-modules, ifunc-pie-tests): Define.
33017 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33018 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33019 (test-extras): Likewise.
33020 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33021 $(compile-command.c).
33022 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33023 (all-built-dso): Define.
33024 (check-textrel.out, check-execstack.out): Depend on it.
33026 * configure.in: Don't override --enable-multi-arch.
33028 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33031 * nscd/hstcache.c (tryagain): Define.
33032 (cache_addhst): Return tryagain not notfound for temporary errors.
33033 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33036 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33039 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33040 to make the syscall.
33041 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33044 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33045 and fall back to matching as normal character if the string ends before
33046 the matching ']' is found. This is what POSIX requires.
33047 * posix/testfnm.c: Adjust test result.
33048 * posix/globtest.sh: Adjust test result. Add new test.
33049 * posix/tst-fnmatch.input: Likewise.
33050 * posix/tst-fnmatch2.c: Add new test.
33052 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33054 * elf/Makefile (check-execstack): Revert last change. Depend on
33056 (check-execstack.h): New target.
33057 (generated): Add check-execstack.h.
33058 * elf/check-execstack.c: Include "check-execstack.h".
33059 (main): Revert last change.
33060 (handle_file): Return zero if GNU_STACK is absent and
33061 DEFAULT_STACK_PERMS doesn't include PF_X.
33063 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33065 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33066 in child fails because the descriptor is already closed.
33067 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33068 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33069 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33072 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33076 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33077 temporary buffer used to handle multi lookups locally.
33078 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33080 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33082 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33085 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33087 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33088 alignment for SSE2.
33090 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33093 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33094 characters. When rounding increased number of integer digits recompute
33096 * stdio-common/tst-grouping.c: New file.
33097 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33099 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33101 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33102 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33104 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33106 * bits/select.h: Likewise.
33108 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33110 * po/ja.po: Update from translation team.
33112 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33115 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33116 implementation just like for lxstat, fxstatat, et al.
33118 2010-12-27 Jim Meyering <meyering@redhat.com>
33121 * posix/regexec.c (build_trtable): Return failure indication upon
33122 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33124 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33127 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33128 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33129 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33130 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33133 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33136 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33137 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33139 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33141 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33142 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33143 script has SORT_BY_INIT_PRIORITY.
33144 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33145 NO_CTORS_DTORS_SECTIONS is defined.
33146 * elf/soinit.c: Likewise.
33147 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33148 NO_CTORS_DTORS_SECTIONS is defined.
33149 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33150 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33151 * sysdeps/sh/init-first.c: Likewise.
33152 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33154 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33156 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33157 always use the slow path.
33159 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33161 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33162 similar rule which adds the sysdep directories to the header search in
33163 order to pick up the correct platform stackinfo.h.
33164 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33165 perform test if it is, otherwise return successfully without testing.
33166 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33167 DEFAULT_STACK_PERMS define in stackinfo.h.
33168 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33169 defined in stackinfo.h.
33170 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33171 DEFAULT_STACK_PERMS defined in stackinfo.h.
33172 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33173 * sysdeps/ia64/stackinfo.h: Likewise.
33174 * sysdeps/s390/stackinfo.h: Likewise.
33175 * sysdeps/sh/stackinfo.h: Likewise.
33176 * sysdeps/sparc/stackinfo.h: Likewise.
33177 * sysdeps/x86_64/stackinfo.h: Likewise.
33178 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33179 PF_X for powerpc64. Retain PF_X for powerpc32.
33181 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33183 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33185 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33186 GETDENTS_64BIT_ALIGNED.
33188 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33190 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33192 2010-12-10 Andreas Schwab <schwab@redhat.com>
33194 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33197 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33198 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33200 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33201 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33203 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33206 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33209 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33211 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33213 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33215 * po/it.po: Update from translation team.
33217 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33222 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33224 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33226 2010-11-24 Andreas Schwab <schwab@redhat.com>
33228 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33230 (gaih_getanswer_slice): Likewise.
33232 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33236 2010-05-31 Petr Baudis <pasky@suse.cz>
33239 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33240 silently even in the chroot mode.
33242 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33244 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33245 last patch a bit. Pretty printing
33247 2010-05-31 Petr Baudis <pasky@suse.cz>
33250 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33251 initialization of skip_initgroups_dyn.
33253 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33255 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33258 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33260 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33262 2010-11-11 Andreas Schwab <schwab@redhat.com>
33264 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33265 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33266 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33267 ($(objpfx)tst-fnmatch-mem): New rule.
33268 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33269 * posix/tst-fnmatch.c (main): Call mtrace.
33271 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33274 Support Intel processor model 6 and model 0x2c.
33276 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33278 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33281 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33284 * string/test-strncasecmp.c (check_result): New function.
33285 (do_one_test): Use it.
33286 (check1): New function.
33287 (test_main): Use it.
33288 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33289 Support strcasecmp and strncasecmp.
33291 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33294 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33297 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33299 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33303 * sysdeps/x86_64/multiarch/bzero.S: New file.
33304 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33305 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33306 * sysdeps/x86_64/multiarch/memset.S: New file.
33307 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33309 Set bit_Prefer_SSE_for_memop for Intel processors.
33310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33312 (index_Prefer_SSE_for_memop): Define.
33313 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33315 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33317 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33318 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33320 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33323 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33324 (__x86_64_raw_data_cache_size_half): Likewise.
33325 (__x86_64_raw_shared_cache_size): Likewise.
33326 (__x86_64_raw_shared_cache_size_half): Likewise.
33328 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33329 (__x86_64_raw_data_cache_size_half): Likewise.
33330 (__x86_64_raw_shared_cache_size): Likewise.
33331 (__x86_64_raw_shared_cache_size_half): Likewise.
33332 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33333 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33334 and __x86_64_raw_shared_cache_size_half. Round
33335 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33336 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33337 to multiple of 256 bytes.
33339 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33342 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33343 of inacessible symlinks. Verify result of symlink before returning it.
33344 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33345 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33347 2010-10-28 Erich Ritz <erichritz@gmail.com>
33349 * math/math.h (isinf): Fix typo in comment.
33351 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33353 * po/da.po: Update from translation team.
33355 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33357 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33358 is added to the list.
33360 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33361 Ulrich Drepper <drepper@gmail.com>
33363 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33364 the global list here. Move code to...
33365 (_dl_add_to_namespace_list): ...here. New function.
33366 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33367 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33368 * elf/dl-load.c (lose): Don't remove the element from the list.
33369 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33370 (_dl_map_object): Likewise.
33372 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33375 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33376 into all bytes of SSE register.
33377 Patch by Richard Li <richardpku@gmail.com>.
33379 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33382 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33385 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33387 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33388 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33389 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33390 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33395 2010-10-22 Andreas Schwab <schwab@redhat.com>
33397 * include/dlfcn.h (__RTLD_SECURE): Define.
33398 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33399 mode & __RTLD_SECURE instead.
33400 (open_path): Rename preloaded parameter to secure.
33401 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33402 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33403 * elf/dl-deps.c (openaux): Likewise.
33404 * elf/rtld.c (struct map_args): Remove is_preloaded.
33405 (map_doit): Don't use it.
33406 (dl_main): Likewise.
33407 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33408 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33410 2010-09-09 Andreas Schwab <schwab@redhat.com>
33412 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33413 (sysd-rules-targets): Remove duplicates.
33414 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33415 rtld-%.$o dependency.
33417 2010-10-18 Andreas Schwab <schwab@redhat.com>
33419 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33420 _dl_map_object do it.
33422 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33424 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33425 fast fma builtins, define the macros in the C99 standard.
33426 (FP_FAST_FMAF): Likewise.
33427 (FP_FAST_FMAL): Likewise.
33428 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33430 * bits/mathdef.h: Update copyright year.
33431 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33433 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33435 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33436 builtins, define the macros in the C99 standard.
33437 (FP_FAST_FMAF): Likewise.
33438 (FP_FAST_FMAL): Likewise.
33439 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33441 (FP_FAST_FMAF): Likewise.
33443 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33446 * math/libm-test.inc (fma_test): Some new testcases.
33447 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33448 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33449 y and infinite z. Do multiplication by C already in long double.
33450 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33452 y and infinite z. Do bitwise or of inexact bit into u.d.
33453 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33454 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33455 * sysdeps/i386/fpu/s_fma.S: Removed.
33456 * sysdeps/i386/fpu/s_fmal.S: Removed.
33458 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33461 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33463 computation is not scheduled after fetestexcept. Fix value
33464 of minimum denormal long double.
33466 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33469 * math/libm-test.inc (fma_test): Add some more tests.
33470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33473 2010-10-15 Andreas Schwab <schwab@redhat.com>
33475 * scripts/data/localplt-s390-linux-gnu.data: New file.
33476 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33478 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33481 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33482 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33484 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33486 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33488 if one of x and y is very large and the other is subnormal.
33489 * sysdeps/s390/fpu/s_fmaf.c: New file.
33490 * sysdeps/s390/fpu/s_fma.c: New file.
33491 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33492 * sysdeps/powerpc/fpu/s_fma.S: New file.
33493 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33494 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33495 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33497 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33500 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33502 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33503 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33504 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33505 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33506 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33507 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33510 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33513 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33514 * posix/bug-regex31.input: Add test case.
33516 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33518 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33519 * posix/bug-regex31.input: New file.
33522 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33523 (parse_sub_exp): Fix last change, use postorder.
33525 * posix/bug-regex31.c: New file.
33526 * posix/Makefile: Add rules to build and run bug-regex31.
33528 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33531 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33534 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33535 to have entries in sys_siglist.
33538 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33541 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33544 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33545 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33546 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33547 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33548 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33549 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33550 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33551 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33552 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33553 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33554 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33555 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33556 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33557 * math/ftestexcept.c (fetestexcept): Likewise.
33558 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33559 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33560 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33561 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33562 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33563 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33564 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33566 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33569 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33572 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33574 * string/bug-strstr1.c: New file.
33575 * string/Makefile: Add rules to build and run bug-strstr1.
33577 2010-10-05 Eric Blake <eblake@redhat.com>
33580 * string/str-two-way.h (two_way_long_needle): Always clear memory
33581 when skipping input due to the shift table.
33583 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33586 * malloc/mcheck.c: Handle large requests.
33589 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33590 for strncmp and strncasecmp.
33591 * string/stratcliff.c: Add tests for strcmp and strncmp.
33592 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33594 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33596 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33599 2010-09-30 Andreas Jaeger <aj@suse.de>
33601 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33602 (CGROUP_SUPER_MAGIC): Define.
33603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33604 Handle btrfs and cgroup file systems.
33605 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33608 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33610 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33611 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33613 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33616 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33617 trying to locate the ELF header.
33619 2010-09-27 Andreas Schwab <schwab@redhat.com>
33622 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33623 Mask out sign-bit copies when constructing f_fsid.
33625 2010-09-24 Petr Baudis <pasky@suse.cz>
33627 * debug/stack_chk_fail_local.c: Add missing licence exception.
33628 * debug/warning-nop.c: Likewise.
33630 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33632 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33633 implementing getdents64 using getdents syscall, set d_type if
33634 __ASSUME_GETDENTS32_D_TYPE.
33636 2010-09-16 Andreas Schwab <schwab@redhat.com>
33638 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33639 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33641 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33644 * posix/unistd.h: Undo change of feature selection for ftruncate from
33647 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33649 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33652 2010-09-20 Andreas Schwab <schwab@redhat.com>
33654 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33656 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33658 2010-09-14 Andreas Schwab <schwab@redhat.com>
33660 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33661 variables after CHECK_SP call.
33662 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33664 2010-09-13 Andreas Schwab <schwab@redhat.com>
33665 Ulrich Drepper <drepper@redhat.com>
33667 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33668 re-relocationg ld.so.
33669 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33670 _dl_init_paths call.
33671 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33674 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33676 * resolv/res_init.c (__res_vinit): Count the default server we added.
33678 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33679 Ulrich Drepper <drepper@redhat.com>
33682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33683 (____longjmp_chk): Use %ebx for saving value across system call.
33686 2010-09-06 Andreas Schwab <schwab@redhat.com>
33688 * manual/Makefile: Don't mix pattern rules with normal rules.
33690 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33692 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33694 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33695 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33696 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33697 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33698 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33701 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33704 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33705 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33707 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33709 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33710 * sysdeps/x86_64/addmul_1.S: Likewise.
33711 * sysdeps/x86_64/lshift.S: Likewise.
33712 * sysdeps/x86_64/mul_1.S: Likewise.
33713 * sysdeps/x86_64/rshift.S: Likewise.
33714 * sysdeps/x86_64/sub_n.S: Likewise.
33715 * sysdeps/x86_64/submul_1.S: Likewise.
33717 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33719 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33720 Define __sched_param instead of SCHED_* and sched_param when
33721 <bits/sched.h> is included with __need_schedparam defined.
33722 * bits/sched.h [__need_schedparam]
33723 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33724 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33725 (__defined_schedparam): Define to 1.
33726 (__sched_param): New structure, identical to sched_param.
33727 (__need_schedparam): Undefine.
33729 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33731 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33732 (epoll_create1): Declare.
33734 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33736 2010-08-31 Andreas Schwab <schwab@redhat.com>
33739 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33740 shifting retval into place.
33742 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33744 * nis/rpcsvc/nis.h: Update copyright notice.
33745 * nis/rpcsvc/nis.x: Likewise.
33746 * nis/rpcsvc/nis_callback.h: Likewise.
33747 * nis/rpcsvc/nis_callback.x: Likewise.
33748 * nis/rpcsvc/nis_object.x: Likewise.
33749 * nis/rpcsvc/nis_tags.h: Likewise.
33750 * nis/rpcsvc/yp.h: Likewise.
33751 * nis/rpcsvc/yp.x: Likewise.
33752 * nis/rpcsvc/ypupd.h: Likewise.
33753 * nis/yp_xdr.c: Likewise.
33754 * nis/ypupdate_xdr.c: Likewise.
33756 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33757 mainly the body of pmap_getport. Add parameters to specify timeouts.
33758 (pmap_getport): Use __libc_rpc_getport.
33759 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33760 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33761 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33763 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33768 2010-08-27 Roland McGrath <roland@redhat.com>
33770 * sysdeps/i386/i686/multiarch/Makefile
33771 (CFLAGS-varshift.c): New variable.
33773 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33775 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33776 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33778 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33780 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33782 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33784 * sysdeps/x86_64/strlen.S: Unroll the loop.
33785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33786 strlen-sse2 strlen-sse2-bsf.
33787 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33788 __strlen_no_bsf if bit_Slow_BSF is set.
33789 (__strlen_sse42): Removed.
33790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33791 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33793 2010-08-25 Roland McGrath <roland@redhat.com>
33795 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33796 * sysdeps/x86_64/multiarch/varshift.c: New file.
33797 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33798 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33799 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33800 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33802 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33805 strlen-sse2 strlen-sse2-bsf.
33806 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33807 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33808 (__strlen_sse2): Removed.
33809 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33812 bit_Slow_BSF for Atom.
33813 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33814 (index_Slow_BSF): Define.
33815 (HAS_SLOW_BSF): Define.
33817 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33820 * resolv/res_init.c (__res_vinit): When no server address at all
33821 is given default to loopback.
33823 2010-08-24 Roland McGrath <roland@redhat.com>
33825 * configure.in: Remove config-name.h generation.
33826 * configure: Regenerated.
33827 * config-name.in: File removed.
33828 * scripts/config-uname.sh: New file.
33829 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33830 ($(objdir)config-name.h): New target.
33832 * sunrpc/rpc_parse.h: Avoid nested comment.
33834 2010-08-24 Richard Henderson <rth@redhat.com>
33835 Ulrich Drepper <drepper@redhat.com>
33836 H.J. Lu <hongjiu.lu@intel.com>
33838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33840 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33841 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33842 _mm_alignr_epi8 with _mm_loadu_si128.
33843 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33844 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33845 (__m128i_shift_right): Removed.
33846 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33847 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33848 * sysdeps/x86_64/multiarch/varshift.h: New file.
33849 * sysdeps/x86_64/multiarch/varshift.S: New file.
33851 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33853 * configure.in: Move assembler checks to before sysdep dir checking.
33855 2010-08-20 Petr Baudis <pasky@suse.cz>
33857 * LICENSES: Sync the sunrpc license.
33859 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33861 * sunrpc/auth_des.c: Update copyright notice once again.
33862 * sunrpc/auth_none.c: Likewise.
33863 * sunrpc/auth_unix.c: Likewise.
33864 * sunrpc/authdes_prot.c: Likewise.
33865 * sunrpc/authuxprot.c: Likewise.
33866 * sunrpc/bindrsvprt.c: Likewise.
33867 * sunrpc/clnt_gen.c: Likewise.
33868 * sunrpc/clnt_perr.c: Likewise.
33869 * sunrpc/clnt_raw.c: Likewise.
33870 * sunrpc/clnt_simp.c: Likewise.
33871 * sunrpc/clnt_tcp.c: Likewise.
33872 * sunrpc/clnt_udp.c: Likewise.
33873 * sunrpc/clnt_unix.c: Likewise.
33874 * sunrpc/des_crypt.c: Likewise.
33875 * sunrpc/des_soft.c: Likewise.
33876 * sunrpc/get_myaddr.c: Likewise.
33877 * sunrpc/getrpcport.c: Likewise.
33878 * sunrpc/key_call.c: Likewise.
33879 * sunrpc/key_prot.c: Likewise.
33880 * sunrpc/openchild.c: Likewise.
33881 * sunrpc/pm_getmaps.c: Likewise.
33882 * sunrpc/pm_getport.c: Likewise.
33883 * sunrpc/pmap_clnt.c: Likewise.
33884 * sunrpc/pmap_prot.c: Likewise.
33885 * sunrpc/pmap_prot2.c: Likewise.
33886 * sunrpc/pmap_rmt.c: Likewise.
33887 * sunrpc/rpc/auth.h: Likewise.
33888 * sunrpc/rpc/auth_unix.h: Likewise.
33889 * sunrpc/rpc/clnt.h: Likewise.
33890 * sunrpc/rpc/des_crypt.h: Likewise.
33891 * sunrpc/rpc/key_prot.h: Likewise.
33892 * sunrpc/rpc/netdb.h: Likewise.
33893 * sunrpc/rpc/pmap_clnt.h: Likewise.
33894 * sunrpc/rpc/pmap_prot.h: Likewise.
33895 * sunrpc/rpc/pmap_rmt.h: Likewise.
33896 * sunrpc/rpc/rpc.h: Likewise.
33897 * sunrpc/rpc/rpc_des.h: Likewise.
33898 * sunrpc/rpc/rpc_msg.h: Likewise.
33899 * sunrpc/rpc/svc.h: Likewise.
33900 * sunrpc/rpc/svc_auth.h: Likewise.
33901 * sunrpc/rpc/types.h: Likewise.
33902 * sunrpc/rpc/xdr.h: Likewise.
33903 * sunrpc/rpc_clntout.c: Likewise.
33904 * sunrpc/rpc_cmsg.c: Likewise.
33905 * sunrpc/rpc_common.c: Likewise.
33906 * sunrpc/rpc_cout.c: Likewise.
33907 * sunrpc/rpc_dtable.c: Likewise.
33908 * sunrpc/rpc_hout.c: Likewise.
33909 * sunrpc/rpc_main.c: Likewise.
33910 * sunrpc/rpc_parse.c: Likewise.
33911 * sunrpc/rpc_parse.h: Likewise.
33912 * sunrpc/rpc_prot.c: Likewise.
33913 * sunrpc/rpc_sample.c: Likewise.
33914 * sunrpc/rpc_scan.c: Likewise.
33915 * sunrpc/rpc_scan.h: Likewise.
33916 * sunrpc/rpc_svcout.c: Likewise.
33917 * sunrpc/rpc_tblout.c: Likewise.
33918 * sunrpc/rpc_util.c: Likewise.
33919 * sunrpc/rpc_util.h: Likewise.
33920 * sunrpc/rpcinfo.c: Likewise.
33921 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33922 * sunrpc/rpcsvc/key_prot.x: Likewise.
33923 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33924 * sunrpc/rpcsvc/mount.x: Likewise.
33925 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33926 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33927 * sunrpc/rpcsvc/rex.x: Likewise.
33928 * sunrpc/rpcsvc/rstat.x: Likewise.
33929 * sunrpc/rpcsvc/rusers.x: Likewise.
33930 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33931 * sunrpc/rpcsvc/spray.x: Likewise.
33932 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33933 * sunrpc/rtime.c: Likewise.
33934 * sunrpc/svc.c: Likewise.
33935 * sunrpc/svc_auth.c: Likewise.
33936 * sunrpc/svc_authux.c: Likewise.
33937 * sunrpc/svc_raw.c: Likewise.
33938 * sunrpc/svc_run.c: Likewise.
33939 * sunrpc/svc_simple.c: Likewise.
33940 * sunrpc/svc_tcp.c: Likewise.
33941 * sunrpc/svc_udp.c: Likewise.
33942 * sunrpc/svc_unix.c: Likewise.
33943 * sunrpc/svcauth_des.c: Likewise.
33944 * sunrpc/xcrypt.c: Likewise.
33945 * sunrpc/xdr.c: Likewise.
33946 * sunrpc/xdr_array.c: Likewise.
33947 * sunrpc/xdr_float.c: Likewise.
33948 * sunrpc/xdr_mem.c: Likewise.
33949 * sunrpc/xdr_rec.c: Likewise.
33950 * sunrpc/xdr_ref.c: Likewise.
33951 * sunrpc/xdr_sizeof.c: Likewise.
33952 * sunrpc/xdr_stdio.c: Likewise.
33954 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33957 2010-08-19 Andreas Schwab <schwab@redhat.com>
33959 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33961 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33963 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33964 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33965 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33966 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33967 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33968 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33969 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33970 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33971 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33972 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33973 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33974 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33975 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33976 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33978 2010-07-26 Anton Blanchard <anton@samba.org>
33980 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33981 * malloc/arena.c (heap_trim): Likewise.
33983 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33985 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33988 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33990 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33992 * sysdeps/i386/elf/Makefile: New file.
33994 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33996 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33997 from fanotify_init.
33998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34001 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34003 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34005 * sysdeps/multiarch/strcmp.S: Likewise.
34007 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34009 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34010 strncase_l-nonascii.
34011 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34012 Add strncase_l-ssse3.
34013 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34014 * sysdeps/x86_64/strcmp.S: Likewise.
34015 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34016 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34017 * sysdeps/x86_64/strncase.S: New file.
34018 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34019 * sysdeps/x86_64/strncase_l.S: New file.
34020 * string/Makefile (strop-tests): Add strncasecmp.
34021 * string/test-strncasecmp.c: New file.
34023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34026 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34027 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34029 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34031 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34033 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34035 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34036 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34037 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34039 2010-05-01 Alan Modra <amodra@gmail.com>
34041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34042 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34043 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34044 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34045 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34046 tidying. Don't tail-call __sigjmp_save for static lib.
34047 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34049 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34050 (CALL_MCOUNT): Add eh info, and nop after bl.
34051 (TAIL_CALL_SYSCALL_ERROR): New macro.
34052 (PSEUDO_RET): Use it.
34053 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34054 Correct save location of integer regs and cr.
34055 (_dl_profile_resolve): Correct cr save location. Delete nops
34056 after bl when SHARED. Reduce cfi size a little by better
34057 placement of cfi directives.
34058 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34059 make a stack frame. Instead use parm save area as a temp.
34060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34061 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34063 Don't make a stack frame for parent, use parm save area.
34064 Increase child stack frame to 112 bytes. Don't save unused reg,
34065 and adjust reg usage. Set up cfi on error recovery and
34066 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34068 (__makecontext): Add dummy nop after jump to exit.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34070 Use correct parm save area and cr save, reduce stack frame.
34071 Correct cfi for possible PSEUDO_RET frame setup.
34072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34073 Branch to local label emitted by PSEUDO_RET rather than
34076 2010-08-12 Andreas Schwab <schwab@redhat.com>
34079 * locale/programs/locale.c (print_assignment): New function.
34080 (show_locale_vars): Use it.
34082 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34084 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34086 (struct statfs64): Likewise.
34087 (_STATFS_F_FLAGS): Define.
34088 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34089 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34090 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34091 (ST_VALID): Define locally.
34092 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34093 __statvfs_getflags, use the provided value.
34094 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34095 __ASSUME_STATFS_F_FLAGS.
34097 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34100 Add sys/fanotify.h.
34101 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34102 fanotify_mask for GLIBC_2.13.
34103 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34104 fanotify_init and fanotify_mark.
34105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34106 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34108 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34110 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34111 prlimit64 for GLIBC_2.13.
34112 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34117 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34118 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34119 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34122 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34125 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34126 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34128 * nss/Makefile: Add rules to build and run tst-nss-test1.
34129 * shlib-versions: Add entry for libnss_test1.
34130 * nss/nss_test1.c: New file.
34131 * nss/tst-nss-test1.c: New file.
34133 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34134 (__nss_configure_lookup): Set appropriate entry in
34135 __nss_configure_lookup to true.
34136 * nss/nsswitch.h: Define enum with indeces of databases in
34137 databases and __nss_database_custom arrays. Declare
34138 __nss_database_custom.
34139 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34140 to avoid using nscd when custom rules are installed.
34141 * nss/getXXbyYY_r.c: Likewise.
34142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34144 * nss/nss_files/files-parse.c: Whitespace fixes.
34146 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34149 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34150 * posix/fnmatch_loop.c: Likewise.
34152 2010-07-17 Andi Kleen <ak@linux.intel.com>
34154 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34155 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34156 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34157 * Versions.def [GLIBC_2.13]: Add.
34159 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34162 Also fail if tpwd after pwuid call is NULL.
34164 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34166 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34167 when converting to ms.
34169 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34171 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34172 EOPNOTSUPP errors with ENOTTY.
34173 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34174 EOPNOTSUPP errors with ENOTTY.
34176 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34178 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34179 Add strcasecmp_l-ssse3.
34180 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34182 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34183 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34184 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34186 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34188 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34190 * string/Makefile (strop-tests): Add strcasecmp.
34191 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34192 strcasecmp_l-nonascii.
34193 (gen-as-const-headers): Add locale-defines.sym.
34194 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34195 * sysdeps/x86_64/strcasecmp.S: New file.
34196 * sysdeps/x86_64/strcasecmp_l.S: New file.
34197 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34198 * sysdeps/x86_64/locale-defines.sym: New file.
34199 * string/test-strcasecmp.c: New file.
34201 * string/test-strcasestr.c: Test both ends of the range of characters.
34202 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34204 2010-07-29 Roland McGrath <roland@redhat.com>
34207 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34209 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34211 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34214 2010-07-27 Andreas Schwab <schwab@redhat.com>
34216 * manual/memory.texi (Malloc Tunable Parameters): Document
34219 2010-07-26 Roland McGrath <roland@redhat.com>
34222 * configure.in (-fgnu89-inline check): Set and substitute
34223 gnu89_inline, not libc_cv_gnu89_inline.
34224 * configure: Regenerated.
34225 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34227 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34229 * string/test-strnlen.c: New file.
34230 * string/Makefile (strop-tests): Add strnlen.
34231 * string/tester.c (test_strnlen): Add a few more test cases.
34232 * string/tst-strlen.c: Better error reporting.
34234 * sysdeps/x86_64/strnlen.S: New file.
34236 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34238 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34239 lower-latency instructions.
34241 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34243 * string/test-strcasestr.c: New file.
34244 * string/test-strstr.c: New file.
34245 * string/Makefile (strop-tests): Add strstr and strcasestr.
34246 * string/str-two-way.h: Don't undefine MAX.
34247 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34249 2010-07-21 Andreas Schwab <schwab@redhat.com>
34251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34252 strcasestr-nonascii.
34253 (CFLAGS-strcasestr-nonascii.c): Define.
34254 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34256 Remove unused attribute.
34258 2010-07-20 Roland McGrath <roland@redhat.com>
34260 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34261 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34262 ld.so.cache was broken. With it, there is no way to disable dsocaps
34263 like LD_HWCAP_MASK can disable hwcaps.
34265 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34267 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34269 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34271 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34272 call in strcasestr.
34273 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34274 __strcasestr_sse42_nonascii.
34275 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34276 strcasestr-nonascii.c.
34277 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34279 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34281 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34284 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34286 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34288 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34291 2010-07-06 Andreas Schwab <schwab@redhat.com>
34294 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34297 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34299 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34300 _PC_PIPE_BUF using F_GETPIPE_SZ.
34302 2010-07-05 Roland McGrath <roland@redhat.com>
34304 * manual/arith.texi (Rounding Functions): Fix rint description
34305 implicit in round description.
34307 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34309 * elf/Makefile: Fix linking for a few tests to make recent linker
34312 2010-06-30 Andreas Schwab <schwab@redhat.com>
34314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34315 $(common-objpfx)libc_nonshared.a.
34317 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34319 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34320 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34321 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34322 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34323 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34324 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34325 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34326 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34341 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34342 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34343 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34344 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34345 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34346 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34347 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34348 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34349 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34350 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34351 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34352 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34368 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34370 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34371 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34372 * string/memmove.c (memmove): Renamed to ...
34373 (MEMMOVE): ...this. Default to memmove.
34374 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34375 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34378 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34379 mempcpy-ssse3-back memmove-ssse3-back.
34380 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34381 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34383 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34384 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34385 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34386 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34387 * sysdeps/x86_64/multiarch/memmove.c: New file.
34388 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34389 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34390 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34391 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34392 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34395 (index_Fast_Copy_Backward): Define.
34396 (HAS_ARCH_FEATURE): Define.
34397 (HAS_FAST_REP_STRING): Define.
34398 (HAS_FAST_COPY_BACKWARD): Define.
34400 2010-06-21 Andreas Schwab <schwab@redhat.com>
34402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34403 Restore proper fallback handling.
34405 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34408 * posix/group_member.c (__group_member): Correct checking loop.
34410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34411 OOM in getpwuid_r correctly. Return error number when the caller
34412 should return, otherwise -1.
34413 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34414 call returning > 0 value.
34415 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34417 2010-06-07 Andreas Schwab <schwab@redhat.com>
34419 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34420 libc_nonshared.a from targets in modules-names.
34422 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34424 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34427 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34429 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34430 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34434 2010-06-02 Andreas Schwab <schwab@redhat.com>
34436 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34438 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34440 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34449 2010-06-14 Roland McGrath <roland@redhat.com>
34451 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34453 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34455 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34456 __REDIRECT followed by __THROW.
34457 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34458 * posix/getopt.h (getopt): Likewise.
34460 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34462 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34463 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34464 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34466 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34467 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34469 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34471 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34473 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34477 Properly check family and model.
34479 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34481 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34483 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34485 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34487 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34489 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34492 2010-05-19 Andreas Schwab <schwab@redhat.com>
34494 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34497 2010-05-21 Andreas Schwab <schwab@redhat.com>
34499 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34500 and internal_recvmmsg.
34501 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34502 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34504 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34506 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34507 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34508 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34510 2010-05-20 Andreas Schwab <schwab@redhat.com>
34512 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34514 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34516 POWER7 optimizations.
34517 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34518 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34520 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34522 * version.h: Update for 2.13 development version.
34524 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34526 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34527 exceptions. Return 0.
34529 2010-05-07 Roland McGrath <roland@redhat.com>
34531 * elf/ldconfig.c (main): Add a const.
34533 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34535 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34536 (args_options): Add no-idn option.
34537 (ahosts_keys_int): Add idn_flags to ai_flags.
34538 (parse_option): Handle 'i' option to clear idn_flags.
34540 * malloc/malloc.c (_int_free): Possible race in the most recently
34541 added check. Only act on the data if no current modification
34544 See ChangeLog.17 for earlier changes.