1 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
33 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62 2013-10-17 Joseph Myers <joseph@codesourcery.com>
65 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
66 make result into a quiet NaN.
68 2013-10-16 Joseph Myers <joseph@codesourcery.com>
70 * soft-fp/adddf3.c: Fix horizontal whitespace.
71 * soft-fp/addsf3.c: Likewise.
72 * soft-fp/addtf3.c: Likewise.
73 * soft-fp/divdf3.c: Likewise.
74 * soft-fp/divsf3.c: Likewise.
75 * soft-fp/divtf3.c: Likewise.
76 * soft-fp/double.h: Likewise.
77 * soft-fp/eqdf2.c: Likewise.
78 * soft-fp/eqsf2.c: Likewise.
79 * soft-fp/eqtf2.c: Likewise.
80 * soft-fp/extenddftf2.c: Likewise.
81 * soft-fp/extended.h: Likewise.
82 * soft-fp/extendsfdf2.c: Likewise.
83 * soft-fp/extendsftf2.c: Likewise.
84 * soft-fp/extendxftf2.c: Likewise.
85 * soft-fp/fixdfdi.c: Likewise.
86 * soft-fp/fixdfsi.c: Likewise.
87 * soft-fp/fixdfti.c: Likewise.
88 * soft-fp/fixsfdi.c: Likewise.
89 * soft-fp/fixsfsi.c: Likewise.
90 * soft-fp/fixsfti.c: Likewise.
91 * soft-fp/fixtfdi.c: Likewise.
92 * soft-fp/fixtfsi.c: Likewise.
93 * soft-fp/fixtfti.c: Likewise.
94 * soft-fp/fixunsdfdi.c: Likewise.
95 * soft-fp/fixunsdfsi.c: Likewise.
96 * soft-fp/fixunsdfti.c: Likewise.
97 * soft-fp/fixunssfdi.c: Likewise.
98 * soft-fp/fixunssfsi.c: Likewise.
99 * soft-fp/fixunssfti.c: Likewise.
100 * soft-fp/fixunstfdi.c: Likewise.
101 * soft-fp/fixunstfsi.c: Likewise.
102 * soft-fp/fixunstfti.c: Likewise.
103 * soft-fp/floatdidf.c: Likewise.
104 * soft-fp/floatdisf.c: Likewise.
105 * soft-fp/floatditf.c: Likewise.
106 * soft-fp/floatsidf.c: Likewise.
107 * soft-fp/floatsisf.c: Likewise.
108 * soft-fp/floatsitf.c: Likewise.
109 * soft-fp/floattidf.c: Likewise.
110 * soft-fp/floattisf.c: Likewise.
111 * soft-fp/floattitf.c: Likewise.
112 * soft-fp/floatundidf.c: Likewise.
113 * soft-fp/floatundisf.c: Likewise.
114 * soft-fp/floatunditf.c: Likewise.
115 * soft-fp/floatunsidf.c: Likewise.
116 * soft-fp/floatunsisf.c: Likewise.
117 * soft-fp/floatunsitf.c: Likewise.
118 * soft-fp/floatuntidf.c: Likewise.
119 * soft-fp/floatuntisf.c: Likewise.
120 * soft-fp/floatuntitf.c: Likewise.
121 * soft-fp/fmadf4.c: Likewise.
122 * soft-fp/fmasf4.c: Likewise.
123 * soft-fp/fmatf4.c: Likewise.
124 * soft-fp/gedf2.c: Likewise.
125 * soft-fp/gesf2.c: Likewise.
126 * soft-fp/getf2.c: Likewise.
127 * soft-fp/ledf2.c: Likewise.
128 * soft-fp/lesf2.c: Likewise.
129 * soft-fp/letf2.c: Likewise.
130 * soft-fp/muldf3.c: Likewise.
131 * soft-fp/mulsf3.c: Likewise.
132 * soft-fp/multf3.c: Likewise.
133 * soft-fp/negdf2.c: Likewise.
134 * soft-fp/negsf2.c: Likewise.
135 * soft-fp/negtf2.c: Likewise.
136 * soft-fp/op-1.h: Likewise.
137 * soft-fp/op-2.h: Likewise.
138 * soft-fp/op-4.h: Likewise.
139 * soft-fp/op-8.h: Likewise.
140 * soft-fp/op-common.h: Likewise.
141 * soft-fp/quad.h: Likewise.
142 * soft-fp/single.h: Likewise.
143 * soft-fp/soft-fp.h: Likewise.
144 * soft-fp/sqrtdf2.c: Likewise.
145 * soft-fp/sqrtsf2.c: Likewise.
146 * soft-fp/sqrttf2.c: Likewise.
147 * soft-fp/subdf3.c: Likewise.
148 * soft-fp/subsf3.c: Likewise.
149 * soft-fp/subtf3.c: Likewise.
150 * soft-fp/truncdfsf2.c: Likewise.
151 * soft-fp/trunctfdf2.c: Likewise.
152 * soft-fp/trunctfsf2.c: Likewise.
153 * soft-fp/trunctfxf2.c: Likewise.
154 * soft-fp/unorddf2.c: Likewise.
155 * soft-fp/unordsf2.c: Likewise.
156 * soft-fp/unordtf2.c: Likewise.
158 2013-10-15 Joseph Myers <joseph@codesourcery.com>
160 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
161 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
163 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
165 * elf/dl-libc.c: Clear initfini list after freeing.
167 2013-10-14 Joseph Myers <joseph@codesourcery.com>
169 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
170 * soft-fp/addsf3.c: Likewise.
171 * soft-fp/addtf3.c: Likewise.
172 * soft-fp/divdf3.c: Likewise.
173 * soft-fp/divsf3.c: Likewise.
174 * soft-fp/divtf3.c: Likewise.
175 * soft-fp/double.h: Likewise.
176 * soft-fp/eqdf2.c: Likewise.
177 * soft-fp/eqsf2.c: Likewise.
178 * soft-fp/eqtf2.c: Likewise.
179 * soft-fp/extenddftf2.c: Likewise.
180 * soft-fp/extended.h: Likewise.
181 * soft-fp/extendsfdf2.c: Likewise.
182 * soft-fp/extendsftf2.c: Likewise.
183 * soft-fp/extendxftf2.c: Likewise.
184 * soft-fp/fixdfdi.c: Likewise.
185 * soft-fp/fixdfsi.c: Likewise.
186 * soft-fp/fixdfti.c: Likewise.
187 * soft-fp/fixsfdi.c: Likewise.
188 * soft-fp/fixsfsi.c: Likewise.
189 * soft-fp/fixsfti.c: Likewise.
190 * soft-fp/fixtfdi.c: Likewise.
191 * soft-fp/fixtfsi.c: Likewise.
192 * soft-fp/fixtfti.c: Likewise.
193 * soft-fp/fixunsdfdi.c: Likewise.
194 * soft-fp/fixunsdfsi.c: Likewise.
195 * soft-fp/fixunsdfti.c: Likewise.
196 * soft-fp/fixunssfdi.c: Likewise.
197 * soft-fp/fixunssfsi.c: Likewise.
198 * soft-fp/fixunssfti.c: Likewise.
199 * soft-fp/fixunstfdi.c: Likewise.
200 * soft-fp/fixunstfsi.c: Likewise.
201 * soft-fp/fixunstfti.c: Likewise.
202 * soft-fp/floatdidf.c: Likewise.
203 * soft-fp/floatdisf.c: Likewise.
204 * soft-fp/floatditf.c: Likewise.
205 * soft-fp/floatsidf.c: Likewise.
206 * soft-fp/floatsisf.c: Likewise.
207 * soft-fp/floatsitf.c: Likewise.
208 * soft-fp/floattidf.c: Likewise.
209 * soft-fp/floattisf.c: Likewise.
210 * soft-fp/floattitf.c: Likewise.
211 * soft-fp/floatundidf.c: Likewise.
212 * soft-fp/floatundisf.c: Likewise.
213 * soft-fp/floatunsidf.c: Likewise.
214 * soft-fp/floatunsisf.c: Likewise.
215 * soft-fp/floatuntidf.c: Likewise.
216 * soft-fp/floatuntisf.c: Likewise.
217 * soft-fp/floatuntitf.c: Likewise.
218 * soft-fp/fmadf4.c: Likewise.
219 * soft-fp/fmasf4.c: Likewise.
220 * soft-fp/fmatf4.c: Likewise.
221 * soft-fp/gedf2.c: Likewise.
222 * soft-fp/gesf2.c: Likewise.
223 * soft-fp/getf2.c: Likewise.
224 * soft-fp/ledf2.c: Likewise.
225 * soft-fp/lesf2.c: Likewise.
226 * soft-fp/letf2.c: Likewise.
227 * soft-fp/muldf3.c: Likewise.
228 * soft-fp/mulsf3.c: Likewise.
229 * soft-fp/multf3.c: Likewise.
230 * soft-fp/negdf2.c: Likewise.
231 * soft-fp/negsf2.c: Likewise.
232 * soft-fp/negtf2.c: Likewise.
233 * soft-fp/op-1.h: Likewise.
234 * soft-fp/op-2.h: Likewise.
235 * soft-fp/op-4.h: Likewise.
236 * soft-fp/op-8.h: Likewise.
237 * soft-fp/op-common.h: Likewise.
238 * soft-fp/quad.h: Likewise.
239 * soft-fp/single.h: Likewise.
240 * soft-fp/soft-fp.h: Likewise.
241 * soft-fp/sqrtdf2.c: Likewise.
242 * soft-fp/sqrtsf2.c: Likewise.
243 * soft-fp/sqrttf2.c: Likewise.
244 * soft-fp/subdf3.c: Likewise.
245 * soft-fp/subsf3.c: Likewise.
246 * soft-fp/subtf3.c: Likewise.
247 * soft-fp/truncdfsf2.c: Likewise.
248 * soft-fp/trunctfdf2.c: Likewise.
249 * soft-fp/trunctfsf2.c: Likewise.
250 * soft-fp/trunctfxf2.c: Likewise.
251 * soft-fp/unorddf2.c: Likewise.
252 * soft-fp/unordsf2.c: Likewise.
253 * soft-fp/unordtf2.c: Likewise.
255 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
258 * misc/error.c (error_tail): Fix possible buffer overflow.
260 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
263 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
266 2013-10-14 P. J. McDermott <pj@pehjota.net>
269 * elf/ldd.bash.in (try_trace): New function. Delete previous code
270 testing pipefail option.
272 2013-10-12 Joseph Myers <joseph@codesourcery.com>
274 * soft-fp/double.h: Indent preprocessor directives inside #if.
275 * soft-fp/extended.h: Likewise.
276 * soft-fp/op-2.h: Likewise.
277 * soft-fp/op-4.h: Likewise.
278 * soft-fp/op-common.h: Likewise.
279 * soft-fp/quad.h: Likewise.
280 * soft-fp/single.h: Likewise.
281 * soft-fp/soft-fp.h: Likewise.
283 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
285 * iconv/iconv_prog.c: Fix typos.
286 * stdio-common/psiginfo-data.h: Likewise.
288 2013-10-12 Reuben Thomas <rrt@sc3d.org>
291 * locale/setlocale.c: Fix typo.
293 2013-10-12 Joseph Myers <joseph@codesourcery.com>
296 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
297 signaling NaN arguments.
298 * soft-fp/unordsf2.c (__unordsf2): Likewise.
299 * soft-fp/unordtf2.c (__unordtf2): Likewise.
302 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
304 * soft-fp/gesf2.c (__gesf2): Likewise.
305 * soft-fp/getf2.c (__getf2): Likewise.
306 * soft-fp/ledf2.c (__ledf2): Likewise.
307 * soft-fp/lesf2.c (__lesf2): Likewise.
308 * soft-fp/letf2.c (__letf2): Likewise.
310 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
311 * soft-fp/eqsf2.c (__eqsf2): Likewise.
312 * soft-fp/eqtf2.c (__eqtf2): Likewise.
313 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
314 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
315 * soft-fp/fixdfti.c (__fixdfti): Likewise.
316 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
317 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
318 * soft-fp/fixsfti.c (__fixsfti): Likewise.
319 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
320 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
321 * soft-fp/fixtfti.c (__fixtfti): Likewise.
322 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
323 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
324 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
325 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
326 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
327 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
328 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
329 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
330 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
331 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
332 * soft-fp/floatdisf.c (__floatdisf): Likewise.
333 * soft-fp/floatsisf.c (__floatsisf): Likewise.
334 * soft-fp/floattidf.c (__floattidf): Likewise.
335 * soft-fp/floattisf.c (__floattisf): Likewise.
336 * soft-fp/floattitf.c (__floattitf): Likewise.
337 * soft-fp/floatundidf.c (__floatundidf): Likewise.
338 * soft-fp/floatundisf.c (__floatundisf): Likewise.
339 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
340 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
341 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
342 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
343 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
344 * soft-fp/gesf2.c (__gesf2): Likewise.
345 * soft-fp/getf2.c (__getf2): Likewise.
346 * soft-fp/ledf2.c (__ledf2): Likewise.
347 * soft-fp/lesf2.c (__lesf2): Likewise.
348 * soft-fp/letf2.c (__letf2): Likewise.
350 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
351 Undefine and redefine.
352 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
353 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
354 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
355 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
356 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
357 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
358 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
359 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
360 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
361 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
362 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
363 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
364 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
365 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
366 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
369 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
370 without decrementing exponent if mantissa >= that for the
372 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
373 denominator, not >. Decrement exponent in < case instead of
374 incrementing in >= case.
375 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
376 without decrementing exponent if mantissa >= that for the
379 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
380 computing saturated result for unsigned overflow.
382 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
383 Jeff Law <law@redhat.com>
385 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
386 (atan2Mp): Add systemtap probe marker.
387 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
388 (__ieee754_log): Add systemtap probe marker.
389 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
390 (atanMp): Add systemtap probe marker.
391 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
392 (tanMp): Add systemtap probe marker.
393 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
394 (__slowexp): Add systemtap probe marker.
395 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
396 (__slowpow): Add systemtap probe marker.
397 * manual/probes.texi: Document probes.
399 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
402 * libio/fileops.c (_IO_new_file_write): Return count of bytes
404 (_IO_new_file_xsputn): Don't return EOF if nothing has been
406 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
407 written to buffer but not flushed.
408 * libio/iofwrite_u.c: Likewise.
409 * libio/iopadn.c: Return bytes returned even if EOF was
411 * libio/iowpadn.c: Likewise.
412 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
413 if _IO_padn does not write the whole buffer.
414 [!COMPILE_WPRINTF] (PAD): Likewise.
416 2013-10-10 David S. Miller <davem@davemloft.net>
418 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
421 2013-10-10 Joseph Myers <joseph@codesourcery.com>
423 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
424 instead of FSF address.
425 * soft-fp/fixdfti.c: Likewise.
426 * soft-fp/fixsfti.c: Likewise.
427 * soft-fp/fixtfti.c: Likewise.
428 * soft-fp/fixunsdfti.c: Likewise.
429 * soft-fp/fixunssfti.c: Likewise.
430 * soft-fp/fixunstfti.c: Likewise.
431 * soft-fp/floattidf.c: Likewise.
432 * soft-fp/floattisf.c: Likewise.
433 * soft-fp/floattitf.c: Likewise.
434 * soft-fp/floatuntidf.c: Likewise.
435 * soft-fp/floatuntisf.c: Likewise.
436 * soft-fp/floatuntitf.c: Likewise.
437 * soft-fp/trunctfxf2.c: Likewise.
439 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
440 * soft-fp/fixdfti.c: Likewise.
441 * soft-fp/fixsfti.c: Likewise.
442 * soft-fp/fixtfti.c: Likewise.
443 * soft-fp/fixunsdfti.c: Likewise.
444 * soft-fp/fixunssfti.c: Likewise.
445 * soft-fp/fixunstfti.c: Likewise.
446 * soft-fp/floattidf.c: Likewise.
447 * soft-fp/floattisf.c: Likewise.
448 * soft-fp/floattitf.c: Likewise.
449 * soft-fp/floatuntidf.c: Likewise.
450 * soft-fp/floatuntisf.c: Likewise.
451 * soft-fp/floatuntitf.c: Likewise.
452 * soft-fp/trunctfxf2.c: Likewise.
454 2013-10-10 David S. Miller <davem@davemloft.net>
456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
458 2013-10-10 Joseph Myers <joseph@codsourcery.com>
460 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
461 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
462 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
463 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
464 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
465 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
466 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
468 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
469 for NaNs before doing comparisons on argument.
470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
473 2013-10-10 Will Newton <will.newton@linaro.org>
475 * malloc/hooks.c (memalign_check): Ensure the value of bytes
476 passed to _int_memalign does not overflow.
478 2013-10-10 Torvald Riegel <triegel@redhat.com>
480 * scripts/bench.pl: Add include-sources directive.
481 * benchtests/README: Update documentation.
483 2013-10-10 Joseph Myers <joseph@codesourcery.com>
485 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
486 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
487 instead of FP_INIT_ROUNDMODE.
488 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
489 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
492 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
493 copy class of input value.
494 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
495 not handle exceptions.
496 * soft-fp/negsf2.c (__negsf2): Likewise.
497 * soft-fp/negtf2.c (__negtf2): Likewise.
498 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
500 2013-10-09 Joseph Myers <joseph@codesourcery.com>
502 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
503 semicolon. From Linux kernel.
505 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
507 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
509 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
512 * manual/socket.texi: Added statement about buffer
513 for gethostbyname2_r.
515 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
517 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
518 Use .p2align directive instead, throughout.
519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
520 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
521 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
524 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
525 * sysdeps/x86_64/strchr.S: Likewise.
526 * sysdeps/x86_64/strrchr.S: Likewise.
528 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
530 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
532 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
534 * sysdeps/generic/math_private.h (__mpsin1): Remove
536 (__mpcos1): Likewise.
537 (__mpsin): New argument __range_reduce.
539 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
540 (slow): Use __mpsin and __mpcos.
553 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
554 range_reduce. Merge in __mpsin1.
557 (__mpcos1): Likewise.
559 2013-10-07 Joseph Myers <joseph@codesourcery.com>
561 * locale/loadlocale.c (_nl_intern_locale_data): Use
563 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
564 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
565 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
566 obstack data is appropriately aligned.
567 (obstack_int32_grow_fast): Likewise.
568 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
569 * locale/programs/locfile.c (add_locale_uint32): Likewise.
570 (add_locale_uint32_array): Likewise.
572 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
574 * benchtests/Makefile: Remove ARGLIST and RET variables.
575 ($(objpfx)bench-%.c): Pass only function name to the script.
576 * benchtests/README: Update documentation.
577 * benchtests/acos-inputs: Add new directives.
578 * benchtests/acosh-inputs: Likewise.
579 * benchtests/asin-inputs: Likewise.
580 * benchtests/asinh-inputs: Likewise.
581 * benchtests/atan-inputs: Likewise.
582 * benchtests/atanh-inputs: Likewise.
583 * benchtests/cos-inputs: Likewise.
584 * benchtests/cosh-inputs: Likewise.
585 * benchtests/exp-inputs: Likewise.
586 * benchtests/log-inputs: Likewise.
587 * benchtests/pow-inputs: Likewise.
588 * benchtests/rint-inputs: Likewise.
589 * benchtests/sin-inputs: Likewise.
590 * benchtests/sinh-inputs: Likewise.
591 * benchtests/tan-inputs: Likewise.
592 * benchtests/tanh-inputs: Likewise.
593 * scripts/bench.pl: Add support for new directives.
595 2013-10-07 Alan Modra <amodra@gmail.com>
597 * README: Fix careless merge.
599 2013-10-05 Alan Modra <amodra@gmail.com>
601 * NEWS: Mention powerpc64le support and bugs fixed.
602 * README: Both big-endian and little-endian powerpc64 supported.
604 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
606 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
607 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
608 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
609 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
611 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
613 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
616 2013-10-04 Joseph Myers <joseph@codesourcery.com>
618 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
619 Move -mhard-float appending from
620 ports/sysdeps/powerpc/powerpc32/Makefile.
621 [$(with-fp) = yes] (ASFLAGS): Likewise.
622 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
623 * sysdeps/powerpc/nofpu: Move directory from
624 ports/sysdeps/powerpc/nofpu.
625 * sysdeps/powerpc/soft-fp: Move directory from
626 ports/sysdeps/powerpc/soft-fp.
627 * sysdeps/powerpc/powerpc32/405: Move directory from
628 ports/sysdeps/powerpc/powerpc32/405.
629 * sysdeps/powerpc/powerpc32/440: Move directory from
630 ports/sysdeps/powerpc/powerpc32/440.
631 * sysdeps/powerpc/powerpc32/464: Move directory from
632 ports/sysdeps/powerpc/powerpc32/464.
633 * sysdeps/powerpc/powerpc32/476: Move directory from
634 ports/sysdeps/powerpc/powerpc32/476.
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
636 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
638 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
640 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
642 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
644 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
645 * README: Update for powerpc-*-linux-gnu software floating point
648 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
649 case to powerpc/powerpc32*.
650 * sysdeps/unix/sysv/linux/configure: Regenerated.
652 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
653 (_FPU_MASK_OM): Define as 0x04.
654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
662 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
665 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
671 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
673 * locale/iso-3166.def: Update iso-1366.def and related occurrences
675 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
677 * manual/threads.texi (Default Thread Attributes): Fix typo.
679 2013-10-04 Will Newton <will.newton@linaro.org>
681 * malloc/Makefile: Add tst-memalign.
682 * malloc/tst-memalign.c: New file.
684 * malloc/tst-posix_memalign.c: Add comments.
685 (do_test): Add comments and call free on all potentially
686 allocated pointers. Add space after cast.
688 * malloc/tst-pvalloc.c: Add comments.
689 (do_test): Add comments and call free on all potentially
690 allocated pointers. Remove duplicate check for NULL pointer.
691 Add space after cast.
693 * malloc/tst-valloc.c: Add comments.
694 (do_test): Add comments and call free on all potentially
695 allocated pointers. Remove duplicate check for NULL pointer.
696 Add space after cast.
698 2013-10-04 Alan Modra <amodra@gmail.com>
700 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
701 Use stdint types in rather than __attribute__((mode())).
702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
704 2013-10-04 Alan Modra <amodra@gmail.com>
706 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
707 Correct handling of unaligned relocs for little-endian.
708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
710 2013-10-04 Alan Modra <amodra@gmail.com>
712 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
713 * configure: Regenerate.
714 * nptl/shlib-versions: Powerpc*le starts at 2.18.
715 * shlib-versions: Likewise.
717 2013-10-04 Alan Modra <amodra@gmail.com>
719 * string/tester.c (test_memrchr): Increment reported test cycle.
721 2013-10-04 Alan Modra <amodra@gmail.com>
723 * string/test-memcpy.c (do_one_test): When reporting errors, print
724 string address and don't overrun end of string.
726 2013-10-04 Alan Modra <amodra@gmail.com>
728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
729 insrdi. Make better use of reg selection to speed exit slightly.
730 Schedule entry path a little better. Remove useless "are we done"
731 checks on entry to main loop. Handle wrapping around zero address.
732 Correct main loop count. Handle single left-over word from main
733 loop inline rather than by using loop_small. Remove extra word
734 case in loop_small caused by wrong loop count. Add little-endian
736 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
737 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
739 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
740 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
741 support. Avoid rlwimi.
742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
744 2013-10-04 Alan Modra <amodra@gmail.com>
746 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
748 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
749 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
750 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
751 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
752 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
753 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
755 2013-10-04 Alan Modra <amodra@gmail.com>
757 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
759 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
760 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
761 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
762 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
763 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
765 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
766 use of regs. Use power7 mtocrf. Tidy function tails.
768 2013-10-04 Alan Modra <amodra@gmail.com>
770 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
771 Formatting. Consistently use rXXX register defines or rN defines.
772 Use early exit labels that avoid restoring unused non-volatile regs.
773 Make cr field use more consistent with rWORDn compares. Rename
774 regs used as shift registers for unaligned loop, using rN defines
775 for short lifetime/multiple use regs.
776 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
777 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
778 addi 1,1,64 to pop stack frame. Simplify return value code.
779 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
781 2013-10-04 Alan Modra <amodra@gmail.com>
783 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
784 support. Correct typos, formatting. Optimize tail. Use insrdi
786 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
787 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
788 little-endian support. Correct typos.
789 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
791 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
792 in loop and entry code to keep "and." results.
793 (strchr): Add little-endian support. Comment. Move cntlzd
795 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
797 2013-10-04 Alan Modra <amodra@gmail.com>
799 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
800 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
801 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
802 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
804 2013-10-04 Alan Modra <amodra@gmail.com>
806 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
807 (rTMP): Define as r11.
808 (strcmp): Add little-endian support. Optimise tail.
809 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
810 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
811 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
817 2013-10-04 Alan Modra <amodra@gmail.com>
819 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
820 little-endian support. Remove unnecessary "are we done" tests.
821 Handle "s" wrapping around zero and extremely large "size".
822 Correct main loop count. Handle single left-over word from main
823 loop inline rather than by using small_loop. Correct comments.
824 Delete "zero" tail, use "end_max" instead.
825 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
827 2013-10-04 Alan Modra <amodra@gmail.com>
829 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
830 support. Don't branch over align.
831 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
832 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
833 support. Rearrange tmp reg use to suit. Comment.
834 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
836 2013-10-04 Alan Modra <amodra@gmail.com>
838 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
840 2013-10-04 Alan Modra <amodra@gmail.com>
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
843 conditional form of branch and link when obtaining pc.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
846 2013-10-04 Alan Modra <amodra@gmail.com>
848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
853 2013-10-04 Alan Modra <amodra@gmail.com>
855 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
856 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
857 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
858 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
859 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
860 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
861 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
862 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
863 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
864 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
866 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
867 Alistair Popple <alistair@ozlabs.au.ibm.com>
868 Alan Modra <amodra@gmail.com>
871 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
872 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
873 _dl_hwcap access for little-endian.
874 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
875 destroy vmx regs when saving unaligned.
876 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
877 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
878 destroy vmx regs when saving unaligned.
880 2013-10-04 Alan Modra <amodra@gmail.com>
882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
883 Don't use a union to pack hi/low value.
885 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
887 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
889 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
891 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
892 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
893 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
895 2013-10-04 Alan Modra <amodra@gmail.com>
897 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
898 constants to usual value for .cst8 section, and remove redundant
900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
901 constant for 0x1p52. Load little-endian words of double from
902 correct stack offsets.
904 2013-10-04 Alan Modra <amodra@gmail.com>
906 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
907 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
908 words of double from correct stack offsets.
909 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
910 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
911 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
916 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
917 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
923 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
924 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
925 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
927 2013-10-04 Alan Modra <amodra@gmail.com>
929 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
930 64-bit int/double union.
931 (_FPU_SETCW): Likewise.
932 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
933 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
935 2013-10-04 Alan Modra <amodra@gmail.com>
937 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
938 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
940 2013-10-04 Alan Modra <amodra@gmail.com>
942 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
943 use vector int constants.
944 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
946 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
948 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
949 array with long long.
950 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
951 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
952 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
953 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
954 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
955 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
956 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
957 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
958 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
959 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
960 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
961 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
962 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
964 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
966 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
967 (__signbit): Likewise. Correct for little-endian.
968 (__signbitl): Call __signbit.
969 (lrint): Correct for little-endian.
970 (lrintf): Call lrint.
972 2013-10-04 Alan Modra <amodra@gmail.com>
974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
975 union 32-bit int array member with 64-bit int array.
976 (t515, tm256): Double rather than long double.
977 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
979 2013-10-04 Alan Modra <amodra@gmail.com>
981 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
983 (IEEE854_LONG_DOUBLE_BIAS): Delete.
984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
985 version of math_ldbl.h.
987 2013-10-04 Alan Modra <amodra@gmail.com>
989 [BZ #15734], [BZ #15735]
990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
991 all uses of ieee875 long double macros and unions. Simplify test
992 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
993 ldbl_extract_mantissa value for ix,iy exponents. Properly
994 normalize after ldbl_extract_mantissa, and don't add hidden bit
995 already handled. Don't treat low word of ieee854 mantissa like
996 low word of IBM long double and mask off bit when testing for
998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
999 all uses of ieee875 long double macros and unions. Simplify tests
1000 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1001 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1002 two1022, instead use their values. Recognise that tests for large
1003 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1004 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1005 Rewrite all uses of ieee875 long double macros and unions. Simplify
1006 test for 0.0L and nan. Correct negation.
1007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1008 ieee875 long double macros and unions. Correct output for large
1009 magnitude x. Correct absolute value calculation.
1010 (__erfcl): Likewise.
1011 * math/libm-test.inc: Add tests for errors discovered in IBM long
1012 double versions of fmodl, remainderl, erfl and erfcl.
1014 2013-10-04 Alan Modra <amodra@gmail.com>
1016 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1017 all uses of ieee854 long double macros and unions. Simplify tests
1018 for long doubles that are fully specified by the high double.
1019 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1021 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1022 Remove dead code too.
1023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1024 (__ieee754_ynl): Likewise.
1025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1026 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1028 Remove dead code too.
1029 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1030 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1031 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1032 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1034 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1036 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1037 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1039 Comment on variable precision.
1040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1043 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1044 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1045 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1046 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1047 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1049 2013-10-04 Alan Modra <amodra@gmail.com>
1051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1053 all uses of ieee854 long double macros and unions.
1054 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1067 Simplify sign and nan test too.
1068 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1070 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1071 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1074 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1077 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1078 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1083 2013-10-04 Alan Modra <amodra@gmail.com>
1085 * stdio-common/printf_size.c (__printf_size): Don't use
1086 union ieee854_long_double in fpnum union.
1087 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1088 signbit macro to retrieve sign from long double.
1089 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1090 retrieve sign from long double.
1091 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1092 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1093 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1094 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1095 * math/test-misc.c (main): Don't use union ieee854_long_double.
1097 2013-10-04 Alan Modra <amodra@gmail.com>
1100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1101 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1102 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1103 calculation. Remove unnecessary test for denormal exponent.
1104 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1105 Correct handling of denormals. Avoid undefined shift behaviour.
1106 Correct normalisation of low mantissa when low double is denormal.
1107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1108 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1109 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1110 Correct normalisation of low mantissa. Test for overflow of high
1111 mantissa and normalise.
1112 (ldbl_nearbyint): Use more readable constant for two52.
1113 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1114 (__mpn_construct_long_double): Fix test for overflow of high
1115 mantissa and correct normalisation. Avoid undefined shift.
1117 2013-10-04 Alan Modra <amodra@gmail.com>
1119 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1120 (union ibm_extended_long_double): Define as an array of ieee754_double.
1121 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1122 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1123 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1124 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1126 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1128 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1130 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1131 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1133 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1135 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1136 page size instead of calling getpagesize.
1138 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1139 (LOCFILE_ALIGN_MASK): Likewise.
1140 (LOCFILE_ALIGN_UP): Likewise.
1141 (LOCFILE_ALIGNED_P): Likewise.
1142 * locale/programs/ld-collate.c (collate_output): Use the new
1143 macros instead of __alignof__ (int32_t).
1144 * locale/weight.h (findidx): Likewise.
1146 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1149 * manual/string.texi: Fix strncat and wcsncat.
1151 2013-10-03 Brooks Moses <bmoses@google.com>
1154 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1155 * Makerules: ...here, and adjust associated comments.
1157 2013-10-02 Will Newton <will.newton@linaro.org>
1159 * malloc/Makefile: Add tst-pvalloc.
1160 * malloc/tst-pvalloc.c: New file.
1162 2013-10-02 Will Newton <will.newton@linaro.org>
1164 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1165 improve test coverage.
1167 2013-10-02 Will Newton <will.newton@linaro.org>
1169 * malloc/Makefile: Add tst-posix_memalign.
1170 * malloc/tst-posix_memalign.c: New file.
1172 2013-10-01 Eric Blake <eblake@redhat.com>
1174 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1175 Use __THROWNL rather than __THROW on static functions.
1177 2013-09-30 Petr Machata <pmachata@redhat.com>
1179 * elf/elf.h (R_AARCH64_ABS16): New macro.
1180 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1181 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1182 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1183 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1184 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1185 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1186 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1187 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1188 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1189 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1190 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1191 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1192 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1193 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1194 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1195 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1196 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1197 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1198 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1199 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1200 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1201 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1202 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1203 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1204 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1205 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1206 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1207 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1208 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1209 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1210 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1211 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1212 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1213 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1214 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1215 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1216 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1217 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1218 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1219 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1220 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1221 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1222 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1223 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1224 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1225 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1226 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1227 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1228 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1229 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1230 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1231 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1232 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1233 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1234 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1235 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1236 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1237 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1238 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1239 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1240 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1241 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1242 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1243 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1244 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1245 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1246 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1247 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1248 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1249 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1250 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1251 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1252 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1253 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1254 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1255 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1256 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1257 (R_AARCH64_TLSDESC_LDR): Likewise.
1258 (R_AARCH64_TLSDESC_ADD): Likewise.
1259 (R_AARCH64_TLSDESC_CALL): Likewise.
1261 2013-09-30 Andreas Schwab <schwab@suse.de>
1264 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1265 the nss database lookup.
1266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1269 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1271 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1273 2013-09-28 P. J. McDermott <pj@pehjota.net>
1275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1276 ${Bash-specific parameter/pattern/string} parameter expansion.
1277 * sysdeps/unix/make-syscalls.sh: Likewise.
1279 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1281 * sysdeps/sh/stackguard-macros.h: New file.
1283 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1287 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1288 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1289 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1290 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1292 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1295 Fix thread ID register.
1297 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1299 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1300 [POSIX || UNIX98]: Require rather than permitting all symbols from
1302 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1303 element of struct sched_param.
1304 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1305 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1306 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1307 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1310 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1312 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1313 argument calculation.
1315 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1317 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1319 [POSIX] (pthread_attr_t): Do not require type.
1320 [POSIX] (pthread_cond_t): Likewise.
1321 [POSIX] (pthread_condattr_t): Likewise.
1322 [POSIX] (pthread_key_t): Likewise.
1323 [POSIX] (pthread_mutex_t): Likewise.
1324 [POSIX] (pthread_mutexattr_t): Likewise.
1325 [POSIX] (pthread_once_t): Likewise.
1326 [POSIX] (pthread_t): Likewise.
1327 [POSIX-based standards] (pthread_atfork): Expect function.
1329 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1330 Richard Sandiford <richard@codesourcery.com>
1332 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1333 (swap_endianness_p): New extern variable.
1334 (set_big_endian): New inline function.
1335 (maybe_swap_uint32): Likewise.
1336 (maybe_swap_uint32_array): Likewise.
1337 (maybe_swap_uint32_obstack): Likewise.
1338 * locale/programs/locfile.c: Include <stdbool.h>.
1339 (swap_endianness_p): New variable.
1340 (add_locale_uint32): Call maybe_swap_uint32.
1341 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1342 (write_locale_data): Call maybe_swap_uint32_array.
1343 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1345 (obstack_int32_grow_fast): Likewise.
1346 (output_weightwc): Call maybe_swap_uint32_obstack.
1347 (collate_output): Likewise.
1348 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1349 (OPT_LITTLE_ENDIAN): Likewise.
1350 (options): Add --little-endian and --big-endian options.
1351 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1352 * locale/programs/locarchive.c: Include "locfile.h".
1356 (create_archive): Use the new macros to access fields of
1357 structures directly mapped from or written to locale archives.
1358 (oldlocrecentcmp): Likewise.
1359 (enlarge_archive): Likewise.
1360 (insert_name): Likewise.
1361 (add_alias): Likewise.
1362 (add_locale): Likewise.
1363 (delete_locales_from_archive): Likewise.
1364 (show_archive_content): Likewise.
1365 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1368 2013-09-24 Roland McGrath <roland@hack.frob.com>
1370 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1371 http://www.gnu.org/doc/freemanuals.texi.
1372 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1374 2013-09-24 Will Newton <will.newton@linaro.org>
1376 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1379 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1381 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1384 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1386 * manual/threads.texi (POSIX Threads): Fix a typo.
1388 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1391 * string/tst-strcoll-overflow.c: New test case.
1392 * string/Makefile (xtests): Add tst-strcoll-overflow.
1393 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1394 cache if string sizes may cause integer overflow.
1397 * string/strcoll_l.c (coll_seq): New members rule, idx,
1398 save_idx and back_us.
1399 (get_next_seq_nocache): New function.
1400 (do_compare_nocache): New function.
1401 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1404 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1407 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1408 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1409 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1412 * elf/Makefile (tests): Add tst-ptrguard1.
1413 (tests-static): Add tst-ptrguard1-static.
1414 (tst-ptrguard1-ARGS): Define.
1415 (tst-ptrguard1-static-ARGS): Define.
1416 * elf/tst-ptrguard1.c: New file.
1417 * elf/tst-ptrguard1-static.c: New file.
1418 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1419 * sysdeps/i386/stackguard-macros.h: Likewise.
1420 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1421 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1422 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1423 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1424 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1425 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1427 2013-09-23 Hector Marco <hecmargi@upv.es>
1428 Ismael Ripoll <iripoll@disca.upv.es>
1429 Carlos O'Donell <carlos@redhat.com>
1432 * sysdeps/generic/stackguard-macros.h: Define
1433 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1434 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1435 Define __pointer_chk_guard_local.
1436 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1437 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1439 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1442 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1444 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1446 * include/string.h (__ffs): Declare as hidden.
1447 * string/ffs.c (__ffs): Define as hidden.
1448 * sysdeps/i386/ffs.c (__ffs): Likewise.
1449 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1450 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1451 * sysdeps/s390/ffs.c (__ffs): Likewise.
1452 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1454 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1456 * NEWS: Mention malloc probes.
1458 * malloc/arena.c (new_heap): New memory_heap_new probe.
1459 (grow_heap): New memory_heap_more probe.
1460 (shrink_heap): New memory_heap_less probe.
1461 (heap_trim): New memory_heap_free probe.
1462 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1463 (systrim): New memory_sbrk_less probe.
1464 * manual/probes.texi: Document them.
1466 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1467 * manual/probes.texi: Document it.
1469 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1470 (__libc_realloc): Add memory_realloc_retry probe.
1471 (__libc_memalign): Add memory_memalign_retry probe.
1472 (__libc_valloc): Add memory_valloc_retry probe.
1473 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1474 (__libc_calloc): Add memory_calloc_retry probe.
1475 * manual/probes.texi: Document them.
1477 * malloc/arena.c (get_free_list): Add probe
1478 memory_arena_reuse_free_list.
1479 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1480 and memory_arena_reuse.
1481 (arena_get2) [!PER_THREAD]: Likewise.
1482 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1483 memory_arena_reuse_realloc.
1484 * manual/probes.texi: Document them.
1486 * malloc/malloc.c (__libc_free): Add
1487 memory_mallopt_free_dyn_thresholds probe.
1488 (__libc_mallopt): Add multiple memory_mallopt probes.
1489 * manual/probes.texi: Document them.
1491 * malloc/malloc.c: Include stap-probe.h.
1492 (__libc_mallopt): Add memory_mallopt probe.
1493 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1494 * manual/probes.texi: New.
1495 * manual/Makefile (chapters): Add probes.
1496 * manual/threads.texi: Set next node.
1498 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1501 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1502 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1503 Add `Chinese' to `nan' entry name.
1505 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1508 (POLYNOMIAL): Likewise.
1509 (TAYLOR_SINCOS): Likewise.
1510 (TAYLOR_SLOW): Likewise.
1511 (__sin): Use TAYLOR_SINCOS.
1513 (slow): Use TAYLOR_SLOW.
1518 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1520 * stdlib/strtod_l.c: Fix buffer overrun.
1522 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1524 * benchtests/Makefile (bench): Add sincos.
1525 * benchtests/bench-sincos.c: New file.
1527 * math/libm-test.inc (cos_test_data): New test inputs.
1528 (sin_test_data): Likewise.
1530 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1538 (bsloww1): Likewise.
1539 (bsloww2): Likewise.
1541 (csloww1): Likewise.
1542 (csloww2): Likewise.
1544 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1553 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1555 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1556 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1557 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1558 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1559 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1560 * elf/cache.c (print_entry): Handle the new cache flags.
1562 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1563 Aldy Hernandez <aldyh@redhat.com>
1565 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1566 Change condition to [_SOFT_FLOAT].
1567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1579 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1582 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1585 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1587 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1588 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1589 (__longjmp): Use LOAD_GP to load saved GPRs.
1590 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1591 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1592 (__sigsetjmp): Use SAVE_GP to save GPRs.
1594 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1595 Do not append -msoft-float.
1596 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1598 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1600 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1602 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1605 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1606 (_FPU_GETCW): Use initial "__" on variable and field names but not
1607 on macro parameter name.
1608 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1609 parentheses around reference to macro parameter.
1611 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1613 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1615 (ctype_startup): Use uint32_t in cast and sizeof for
1618 2013-09-11 Jia Liu <proljc@gmail.com>
1620 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1622 [__FreeBSD__]: Likewise.
1624 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1627 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1628 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1629 (strchr): Remove __strchr_sse42 ifunc selection.
1630 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1631 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1633 2013-09-11 Will Newton <will.newton@linaro.org>
1635 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1636 parameter to RES. Remove hardcoded 1000 value.
1637 * benchtests/bench-skeleton.c (main): Pass RES parameter
1638 to TIMING_INIT and multiply result by 1000.
1640 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1644 2013-09-11 Andreas Schwab <schwab@suse.de>
1646 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1648 (O_TMPFILE) [__USE_GNU]: Define.
1649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1652 2013-09-11 Will Newton <will.newton@linaro.org>
1655 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1658 2013-09-11 Will Newton <will.newton@linaro.org>
1661 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1664 2013-09-11 Will Newton <will.newton@linaro.org>
1667 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1670 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1672 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1673 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1678 2013-09-10 Allan McRae <allan@archlinux.org>
1681 * manual/arith.texi (Parsing of Floats): Clarify
1685 * manual/install.texi (Running make install): Mention
1687 * INSTALL: Regenerated.
1689 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1691 * csu/init-first.c (_init): Remove the !SHARED condition around
1692 FPU control word initialization.
1693 * elf/dl-support.c (_dl_fpu_control): New variable.
1694 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1695 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1696 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1697 * math/test-fpucw-static.c: New file.
1698 * math/test-fpucw-ieee.c: New file.
1699 * math/test-fpucw-ieee-static.c: New file.
1700 * math/Makefile (tests): Add `test-fpucw-ieee' and
1702 (tests-static): New variable.
1703 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1705 [($(build-shared),yes)]
1706 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1708 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1711 2013-09-09 Allan McRae <allan@archlinux.org>
1714 * manual/string.texi (Collation Functions): Fix typo in
1716 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1719 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1722 * libio/memstream.c (open_memstream): Fix memory leak.
1723 * libio/wmemstream.c (open_wmemstream): Likewise.
1726 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1728 2013-09-09 Will Newton <will.newton@linaro.org>
1730 * malloc/Makefile: Add tst-realloc to tests.
1731 * malloc/tst-realloc.c: New file.
1733 2013-09-09 Allan McRae <allan@archlinux.org>
1736 * COPYING: Update from GNU website to fix FSF address.
1737 * COPYING.LIB: Likewise.
1739 2013-09-06 David S. Miller <davem@davemloft.net>
1741 * po/zh_TW.po: Update Chinese (traditional) translation from
1742 translation project.
1744 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1745 Joseph Myers <joseph@codesourcery.com>
1747 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1749 (obstack_chunk_alloc): New macro.
1750 (obstack_chunk_free): Likewise.
1751 (record_offset): New function.
1752 (init_locale_data): Likewise.
1753 (align_locale_data): Likewise.
1754 (add_locale_empty): Likewise.
1755 (add_locale_raw_data): Likewise.
1756 (add_locale_raw_obstack): Likewise.
1757 (add_locale_string): Likewise.
1758 (add_locale_wstring): Likewise.
1759 (add_locale_uint32): Likewise.
1760 (add_locale_uint32_array): Likewise.
1761 (add_locale_char): Likewise.
1762 (start_locale_structure): Likewise.
1763 (end_locale_structure): Likewise.
1764 (start_locale_prelude): Likewise.
1765 (end_locale_prelude): Likewise.
1766 (write_locale_data): Take locale_file structure rather than an
1768 * locale/programs/locfile.h: Include "obstack.h".
1769 (struct locale_file): Change to store locale file contents instead
1771 (init_locale_data): New prototype.
1772 (align_locale_data): Likewise.
1773 (add_locale_empty): Likewise.
1774 (add_locale_raw_data): Likewise.
1775 (add_locale_raw_obstack): Likewise.
1776 (add_locale_string): Likewise.
1777 (add_locale_wstring): Likewise.
1778 (add_locale_uint32): Likewise.
1779 (add_locale_uint32_array): Likewise.
1780 (add_locale_char): Likewise.
1781 (start_locale_structure): Likewise.
1782 (end_locale_structure): Likewise.
1783 (start_locale_prelude): Likewise.
1784 (end_locale_prelude): Likewise.
1785 (write_locale_data): Update prototype.
1786 * locale/programs/3level.h (struct TABLE): Remove result field.
1787 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1788 Use new locale_file interface.
1789 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1790 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1791 * locale/programs/ld-address.c (address_output): Use new
1792 locale_file interface.
1793 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1795 (collate_finish): Don't call collseq_table_finalize.
1796 (collate_output): Use new locale_file interface.
1797 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1799 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1800 (TABLE): Move defines earlier in file.
1801 (ELEMENT): Likewise.
1802 (DEFAULT): Likewise.
1803 (wctrans_table_add): Move macro and inline function earlier in
1805 (struct wctype_table): Move type earlier in file.
1806 (add_locale_wctype_table): New static prototype.
1807 (struct locale_ctype_t): Use logical types instead of struct iovec
1808 pointers for members.
1809 (ctype_output): Use new locale_file interface.
1810 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1811 new locale_file interface.
1812 (allocate_arrays): Update for use of new locale_file interface.
1813 * locale/programs/ld-identification.c (identification_output): Use
1814 new locale_file interface.
1815 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1816 * locale/programs/ld-messages.c (messages_output): Likewise.
1817 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1818 * locale/programs/ld-name.c (name_output): Likewise.
1819 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1820 * locale/programs/ld-paper.c (paper_output): Likewise.
1821 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1822 * locale/programs/ld-time.c (time_output): Likewise.
1824 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1826 * benchtests/Makefile: Add memrchr benchmark.
1827 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1828 benchmark as memrchr.
1829 * benchtests/bench-memrchr-ifunc.c: New file.
1830 * benchtests/bench-memrchr.c: New file.
1832 2013-09-06 Will Newton <will.newton@linaro.org>
1834 * benchtests/Makefile (string-bench): Add memcpy.
1836 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1837 Cong Wang <amwang@redhat.com>
1839 * sysdeps/unix/sysv/linux/bits/in.h
1840 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1841 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1842 before __USE_KERNEL_IPV6_DEFS uses.
1843 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1845 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1846 sockaddr_in6, or ipv6_mreq.
1848 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1850 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1851 memory access for final bytes in some large inputs.
1852 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1854 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856 * string/test-memrchr.c: New file.
1857 * string/test-memrchr-ifunc.c: New file.
1858 * string/Makefile: Add new memrchr testcase.
1860 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1862 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1863 fanotify_init returns EPERM.
1865 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1867 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1869 (top level): Treat second token from macro or constant entries for
1870 allowed headers as allowed.
1871 * include/complex.h: Condition internal declarations on
1873 * include/fenv.h: Condition include of <stdbool.h> and internal
1874 declarations on [!_ISOMAC].
1876 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1879 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1881 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1883 * configure.in (--enable-versioning): Remove configure option.
1884 (libc_cv_asm_symver_directive): Remove configure test.
1885 (libc_cv_ld_version_script_option): Likewise.
1886 (VERSIONING): Remove variable and AC_SUBST.
1887 (DO_VERSIONING): Remove AC_DEFINE.
1888 * configure: Regenerated.
1889 * config.h.in (DO_VERSIONING): Remove macro.
1890 * Makerules [$(versioning) = yes]: Change conditionals to
1891 [$(build-shared) = yes].
1892 * config.make.in (versioning): Remove variable.
1893 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1894 [$(build-shared) = yes].
1895 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1896 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1897 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1898 [$(build-shared) = yes].
1899 * extra-lib.mk [$(versioning) = yes]: Likewise.
1900 * hurd/Makefile [$(versioning) = yes]: Likewise.
1901 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1903 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1905 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1906 [SHARED && !NO_HIDDEN].
1907 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1909 [SHARED && DO_VERSIONING]: Likewise..
1910 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1911 [$(build-shared) = yes].
1912 * manual/install.texi (--disable-versioning): Remove
1914 * INSTALL: Regenerated.
1915 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1917 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1918 [$(build-shared) = yes].
1919 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1920 * sysdeps/i386/i686/multiarch/strstr-c.c
1921 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1922 [SHARED && !NO_HIDDEN].
1923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1924 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1925 * sysdeps/powerpc/powerpc32/dl-machine.c
1926 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1927 * sysdeps/powerpc/powerpc32/sysdep.h
1928 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1929 to [SHARED && PIC && !NO_HIDDEN].
1930 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1931 conditional to [SHARED].
1933 2013-09-04 Will Newton <will.newton@linaro.org>
1935 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1936 * benchtests/bench-string.h: Include bench-timing.h instead
1937 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1938 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1939 call to HP_TIMING_DIFF_INIT.
1940 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1941 instead of hp-timing.h macros.
1942 * benchtests/bench-memchr.c: Likewise.
1943 * benchtests/bench-memcmp.c: Likewise.
1944 * benchtests/bench-memcpy.c: Likewise.
1945 * benchtests/bench-memmem.c: Likewise.
1946 * benchtests/bench-memmove.c: Likewise.
1947 * benchtests/bench-memset.c: Likewise.
1948 * benchtests/bench-rawmemchr.c: Likewise.
1949 * benchtests/bench-strcasecmp.c: Likewise.
1950 * benchtests/bench-strcasestr.c: Likewise.
1951 * benchtests/bench-strcat.c: Likewise.
1952 * benchtests/bench-strchr.c: Likewise.
1953 * benchtests/bench-strcmp.c: Likewise.
1954 * benchtests/bench-strcpy.c: Likewise.
1955 * benchtests/bench-strcpy_chk.c: Likewise.
1956 * benchtests/bench-strlen.c: Likewise.
1957 * benchtests/bench-strncasecmp.c: Likewise.
1958 * benchtests/bench-strncat.c: Likewise.
1959 * benchtests/bench-strncmp.c: Likewise.
1960 * benchtests/bench-strncpy.c: Likewise.
1961 * benchtests/bench-strnlen.c: Likewise.
1962 * benchtests/bench-strpbrk.c: Likewise.
1963 * benchtests/bench-strrchr.c: Likewise.
1964 * benchtests/bench-strspn.c: Likewise.
1965 * benchtests/bench-strstr.c: Likewise.
1967 2013-09-04 Will Newton <will.newton@linaro.org>
1969 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1971 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1974 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1975 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1976 * math/libm-test.inc (lgamma_test_data): Add more tests.
1977 * sysdeps/i386/fpu/libm-test-ulps: Update.
1978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1982 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1986 Add strcmp-sse2-unaligned
1987 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1989 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1991 * Versions.def (libc): Add GLIBC_2.19.
1993 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1995 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1996 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1998 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2002 intermediate calculations in recurrence.
2003 (__ieee754_ynf): Likewise.
2004 * math/libm-test.inc (jn_test_data): Do not allow spurious
2005 underflow exception. Add more tests.
2006 (yn_test_data): Add more tests.
2007 * sysdeps/i386/fpu/libm-test-ulps: Update.
2008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2010 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2012 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2014 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2016 * csu/init-first.c: Fix then/than typos.
2017 * locale/programs/ld-collate.c: Likewise.
2018 * locale/programs/linereader.h: Likewise.
2019 * manual/charset.texi: Likewise.
2020 * manual/filesys.texi: Likewise.
2021 * manual/stdio.texi: Likewise.
2022 * manual/string.texi: Likewise.
2023 * stdlib/fmtmsg.c: Likewise.
2024 * sysdeps/i386/stpncpy.S: Likewise.
2025 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2027 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2028 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2030 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2032 * elf/dl-open.c: Fix typos.
2033 * iconvdata/gbbig5.c: Likewise.
2034 * iconvdata/iso-2022-jp.c: Likewise.
2035 * iconv/gconv_int.h: Likewise.
2036 * iconv/loop.c: Likewise.
2037 * nis/rpcsvc/nis.h: Likewise.
2038 * resolv/ns_name.c: Likewise.
2039 * stdio-common/vfscanf.c: Likewise.
2040 * streams/stropts.h: Likewise.
2041 * sunrpc/rpc_thread.c: Likewise.
2042 * sysdeps/i386/strpbrk.S: Likewise.
2043 * sysdeps/ieee754/k_standard.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2046 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2047 * sysdeps/mach/hurd/profil.c: Likewise.
2048 * sysdeps/s390/dl-procinfo.h: Likewise.
2049 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2050 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2051 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2052 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2053 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2055 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2057 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2060 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2062 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2064 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2067 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2073 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2074 Roland McGrath <roland@hack.frob.com>
2076 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2077 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2079 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2081 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2082 __executable_start symbol instead of _start.
2084 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2086 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2087 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2089 * sysdeps/gnu/ldsodefs.h: ... this new file.
2091 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2092 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2093 instead of ELFOSABI_LINUX.
2095 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2096 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2097 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2098 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2100 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2101 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2104 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2105 (ibm_extended_long_double): Add ieee_nan member.
2106 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2107 (do_test): New function.
2109 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2111 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2112 functions, renamed from truncdfsf_test, trunctfsf_test,
2114 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2116 (do_test): Run all these.
2118 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2120 * argp/argp-help.c: Fix typos.
2121 * argp/argp-parse.c: Likewise.
2122 * debug/backtracesyms.c: Likewise.
2123 * elf/elf.h: Likewise.
2124 * malloc/malloc.c: Likewise.
2125 * nis/nis_print.c: Likewise.
2126 * resolv/res_comp.c: Likewise.
2127 * stdlib/stdlib.h: Likewise.
2128 * sunrpc/clnt_tcp.c: Likewise.
2129 * sunrpc/clnt_udp.c: Likewise.
2130 * sunrpc/clnt_unix.c: Likewise.
2131 * sysdeps/unix/bsd/ptsname.c: Likewise.
2132 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2133 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2140 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2142 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2144 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2147 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2150 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2151 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2152 ($(objpfx)bug-dl-leaf): New rule.
2153 ($(objpfx)bug-dl-leaf.so): Likewise.
2154 ($(objpfx)bug-dl-leaf.out): Likewise.
2155 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2156 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2157 * dlfcn/bug-dl-leaf.c: New test.
2158 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2159 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2160 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2161 (dlclose): Likewise.
2162 (dlmopen): Likewise.
2164 2013-08-27 Roland McGrath <roland@hack.frob.com>
2166 * include/netdb.h [!_ISOMAC]:
2167 Don't include <tls.h>.
2168 (h_errno, __libc_h_errno): Move declaration and macros out of
2171 * include/resolv.h [_RESOLV_H_]:
2172 Don't include <tls.h>.
2173 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2174 * resolv/res_libc.c: Don't include <tls.h>.
2175 (_res): Use __attribute__ ((nocommon)) in place of
2176 __attribute__ ((section (".bss"))).
2178 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2179 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2181 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2183 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2184 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2186 * resolv/res_mkquery.c: Include <sys/time.h>.
2188 * inet/ifreq.c: Moved to ...
2189 * sysdeps/unix/ifreq.c: ... here.
2190 * inet/ifreq.c: New file, true stub version.
2192 * socket/sa_len.c: New file.
2193 * socket/Makefile (aux): Add it.
2194 * sysdeps/unix/sysv/linux/Makefile
2195 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2196 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2197 and #include <socket/sa_len.c>.
2198 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2199 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2201 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2202 * bits/socket.h: ... here.
2204 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2205 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2206 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2208 2013-08-27 Andreas Schwab <schwab@suse.de>
2211 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2212 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2213 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2214 * string/test-strcasecmp.c (test_main): Run tests in several
2216 * string/test-strncasecmp.c (test_main): Likewise.
2218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2219 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2220 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2222 (__strncasecmp_ssse3) [PIC]: Likewise.
2224 2013-08-26 Roland McGrath <roland@hack.frob.com>
2226 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2228 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2229 instead of explicitly declaring xdecrypt.
2230 * nis/nss_nis/nis-publickey.c: Likewise.
2232 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2235 * nscd/aicache.c: Include res_hconf.h.
2236 (addhstaiX): Initialize res_hconf.
2238 2013-08-26 Andreas Schwab <schwab@suse.de>
2240 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2241 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2243 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2245 * nscd/aicache.c (addhstaiX): Fix indentation.
2247 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2249 * configure.ac: Quote $build_pt_chown test.
2250 * configure: Regenerated.
2252 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2255 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2256 * math/s_cexpf.c (__cexpf): Likewise.
2257 * math/s_cexpl.c (__cexpl): Likewise.
2258 * math/libm-test.inc (cexp_test_data): Correct expected return
2259 value for NaN + i0. Add another test.
2261 2013-08-22 David S. Miller <davem@davemloft.net>
2263 * po/ca.po: Update Catalan translation from translation project.
2264 * po/uk.po: Add Ukrainian translations from translation project.
2266 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2269 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2270 is infinite, not alongside NaN test.
2271 * math/s_fdimf.c (__fdimf): Likewise.
2272 * math/s_fdiml.c (__fdiml): Likewise.
2273 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2276 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2278 * argp/argp-help.c: Fix typos.
2279 * crypt/speeds.c: Likewise.
2280 * csu/check_fds.c: Likewise.
2281 * elf/dl-load.c: Likewise.
2282 * elf/dl-open.c: Likewise.
2283 * elf/reldep3.c: Likewise.
2284 * elf/reldep.c: Likewise.
2285 * elf/sprof.c: Likewise.
2286 * iconv/iconv_charmap.c: Likewise.
2287 * iconv/skeleton.c: Likewise.
2288 * iconv/strtab.c: Likewise.
2289 * io/lockf64.c: Likewise.
2290 * libio/libioP.h: Likewise.
2291 * resolv/gai_notify.c: Likewise.
2292 * resolv/ns_name.c: Likewise.
2293 * resolv/ns_samedomain.c: Likewise.
2294 * resolv/res_send.c: Likewise.
2295 * stdlib/random.c: Likewise.
2296 * sunrpc/rpc/xdr.h: Likewise.
2297 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2298 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2300 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2305 * sysdeps/mach/hurd/check_fds.c: Likewise.
2306 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2307 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2310 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2311 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2312 * sysdeps/pthread/aio_notify.c: Likewise.
2313 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2314 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2315 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2317 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2319 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2321 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2322 version if bit_Slow_SSE4_2 is set.
2323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2326 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2329 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2330 trampoline stack frame information.
2331 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2332 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2333 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2334 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2335 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2336 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2337 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2338 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2340 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2341 interrupting a syscall and set with option SA_SIGINFO.
2343 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2346 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2347 argument is infinite.
2348 * math/s_cprojf.c (__cprojf): Likewise.
2349 * math/s_cprojl.c (__cprojl): Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2351 * math/libm-test.inc (cproj_test_data): Add more tests.
2353 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2355 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2356 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2357 size. Use __ffs to determine corresponding shift.
2359 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2360 Roland McGrath <roland@hack.frob.com>
2362 * Makefile (INSTALL): Remove trailing blank lines from output of
2365 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2367 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2368 Align 32 bit compat elf_greg to 8 bytes.
2370 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2372 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2374 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2376 * string/strcoll_l.c (coll_seq): New structure.
2377 (get_next_seq_cached): New function.
2378 (get_next_seq): New function.
2379 (do_compare): New function.
2380 (STRCOLL): Use GNU style definition. Simplify implementation
2381 by using get_next_seq, get_next_seq_cached and do_compare.
2383 2013-08-16 Florian Weimer <fweimer@redhat.com>
2387 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2389 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2391 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2392 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2393 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2395 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2396 GETDENTS_64BIT_ALIGNED.
2397 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2398 * manual/filesys.texi (Reading/Closing Directory): Document
2399 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2401 * manual/conf.texi (Limits for Files): Add portability note to
2403 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2405 2013-08-13 Andreas Schwab <schwab@suse.de>
2408 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2410 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2411 LDBL_MAX_EXP >= 16384]: Add tests for it.
2413 2013-08-12 David S. Miller <davem@davemloft.net>
2415 * version.h (RELEASE): Set to "development".
2416 (VERSION): Set to "2.18.90".
2417 * NEWS: Add 2.19 section.
2419 2013-08-03 David S. Miller <davem@davemloft.net>
2421 * po/ko.po: Update Korean translation from translation project.
2423 2013-08-01 David S. Miller <davem@davemloft.net>
2425 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2426 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2429 2013-07-30 David S. Miller <davem@davemloft.net>
2431 * po/fr.po: Update French translation from translation project.
2433 2013-07-28 David S. Miller <davem@davemloft.net>
2435 * po/cs.po: Update Czech translation from translation project.
2437 * po/sv.po: Update Swedish translation from translation project.
2439 2013-07-27 David S. Miller <davem@davemloft.net>
2441 * po/eo.po: Update Esperanto translation from translation project.
2443 * po/vi.po: Update Vietnamese translation from translation project.
2445 * po/de.po: Update German translation from translation project.
2447 2013-07-26 David S. Miller <davem@davemloft.net>
2449 * po/bg.po: Update Bulgarian translation from translation project.
2451 * po/nl.po: Update Dutch translation from translation project.
2452 * po/pl.po: Update Polish translation from translation project.
2453 * po/ru.po: Update Russian translation from translation project.
2455 2013-07-24 David S. Miller <davem@davemloft.net>
2457 * po/libc.pot: Update.
2459 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2463 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2464 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2465 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2467 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2469 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2471 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2472 Andreas Schwab <schwab@suse.de>
2473 Roland McGrath <roland@hack.frob.com>
2474 Joseph Myers <joseph@codesourcery.com>
2475 Carlos O'Donell <carlos@redhat.com>
2478 * config.h.in: Define HAVE_PT_CHOWN.
2479 * config.make.in (build-pt-chown): New variable.
2480 * configure.in (--enable-pt_chown): New configure option.
2481 * configure: Regenerate.
2482 * login/Makefile: Include Makeconfig. Build pt_chown only if
2483 build-pt-chown is enabled.
2484 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2485 pt_chown to fix pty ownership.
2486 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2488 * manual/install.texi (Configuring and compiling): Mention
2489 --enable-pt_chown. Add @findex for grantpt.
2490 * INSTALL: Regenerate.
2492 2013-07-20 David S. Miller <davem@davemloft.net>
2494 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2495 difference between 32-bit and 64-bit.
2497 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2500 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2501 Avoid system header dependency with -ffreestanding.
2502 ($(objpfx)bits/syscall%d): Likewise.
2504 2013-07-13 David S. Miller <davem@davemloft.net>
2506 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2507 underflows from atanl/atan2l due to bug 15319.
2508 (casinh_test_data): Likewise.
2510 2013-07-07 David S. Miller <davem@davemloft.net>
2512 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2514 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2516 * sysdeps/i386/fpu/libm-test-ulps: Update.
2517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2519 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2521 * configure.in (--enable-lock-elision): Fix message text.
2522 * INSTALL: Regenerate.
2523 * configure: Regenerate.
2525 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2529 2013-07-03 Andreas Jaeger <aj@suse.de>
2531 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2533 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2534 (ptrace_peeksiginfo_args): Add.
2535 (__ptrace_peeksiginfo_flags): Add.
2536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2537 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2540 2013-07-03 Allan McRae <allan@archlinux.org>
2542 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 2013-07-02 David S. Miller <davem@davemloft.net>
2546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2548 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2552 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2554 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2557 2013-07-02 Andi Kleen <ak@linux.intel.com>
2559 * config.h.in (ENABLE_LOCK_ELISION): Add.
2560 * configure.in (--enable-lock-elision): Add option.
2561 * manual/install.texi: Document --enable lock elision.
2562 * configure: Regenerate
2563 * INSTALL: Regenerate.
2565 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2567 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2568 SSE4.2 strcasecmp for libc.a.
2569 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2571 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2574 * soft-fp/op-common.h (_FP_FMA): New macro.
2575 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2576 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2577 (_FP_MUL_MEAT_1_imm): ... here.
2578 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2579 (_FP_MUL_MEAT_1_wide): ... here.
2580 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2581 (_FP_MUL_MEAT_1_hard): ... here.
2582 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2583 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2584 (_FP_MUL_MEAT_2_wide): ... here.
2585 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2586 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2587 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2588 (_FP_MUL_MEAT_2_gmp): ... here.
2589 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2590 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2591 (_FP_MUL_MEAT_4_wide): ... here.
2592 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2593 (_FP_MUL_MEAT_4_gmp): ... here.
2594 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2595 (_FP_WFRACBITS_DW_S): Likewise.
2596 (_FP_WFRACXBITS_DW_S): Likewise.
2597 (_FP_HIGHBIT_DW_S): Likewise.
2598 (FP_FMA_S): Likewise.
2599 (_FP_FRAC_HIGH_DW_S): Likewise.
2600 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2601 (_FP_WFRACBITS_DW_D): Likewise.
2602 (_FP_WFRACXBITS_DW_D): Likewise.
2603 (_FP_HIGHBIT_DW_D): Likewise.
2604 (FP_FMA_D): Likewise.
2605 (_FP_FRAC_HIGH_DW_D): Likewise.
2606 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2607 (_FP_WFRACBITS_DW_E): Likewise.
2608 (_FP_WFRACXBITS_DW_E): Likewise.
2609 (_FP_HIGHBIT_DW_E): Likewise.
2610 (FP_FMA_E): Likewise.
2611 (_FP_FRAC_HIGH_DW_E): Likewise.
2612 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2613 (_FP_WFRACBITS_DW_Q): Likewise.
2614 (_FP_WFRACXBITS_DW_Q): Likewise.
2615 (_FP_HIGHBIT_DW_Q): Likewise.
2616 (FP_FMA_Q): Likewise.
2617 (_FP_FRAC_HIGH_DW_Q): Likewise.
2618 * soft-fp/fmasf4.c: New file.
2619 * soft-fp/fmadf4.c: Likewise.
2620 * soft-fp/fmatf4.c: Likewise.
2622 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2625 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2629 (index_Slow_SSE4_2): Likewise.
2630 (index_Prefer_PMINUB_for_stringop): Likewise.
2631 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2632 bit_Slow_SSE4_2 is set.
2633 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2636 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2638 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2639 rtld_global._dl_hwcap2.
2640 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2642 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2643 POWER8 feature descriptions defined in _dl_hwcap2.
2644 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2645 string handling for POWER8 feature bits.
2646 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2647 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2648 _dl_powerpc_cap_flags.
2649 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2650 * sysdeps/powerpc/rtld-global-offsets.sym
2651 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2652 _dl_hwcap2 in the rtld_global_ro structure.
2654 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2656 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2657 hardware capabilities in support of AT_HWCAP2.
2658 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2659 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2661 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2662 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2663 explicitly the unknown a_type display mechanism is used.
2664 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2665 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2667 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2668 to macro prototype for AT_HWCAP2 support.
2669 * sysdeps/i386/dl-procinfo.h: Likewise.
2670 * sysdeps/s390/dl-procinfo.h: Likewise.
2671 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2672 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2673 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2674 return -1 for unknown a_type display fallback.
2675 * sysdeps/sparc/dl-procinfo.h: Likewise.
2676 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2677 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2679 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2681 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2682 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2684 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2687 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2688 mprotect making __stack_prot writable.
2690 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2691 Joseph Myers <joseph@codesourcery.com>
2693 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2694 as being properly aligned.
2696 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2698 * dlfcn/modstatic5.c: New file.
2699 * dlfcn/tststatic5.c: New file.
2700 * dlfcn/Makefile (tests): Add tststatic5.
2701 (tests-static): Likewise.
2702 (modules-names): Add modstatic5.
2703 (tststatic5-ENV): New variable.
2704 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2707 * elf/dl-support.c (_dl_main_map): New variable.
2708 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2709 (_dl_nns, _dl_load_adds): Set to 1.
2710 (_dl_initial_searchlist): Refer to _dl_main_map.
2711 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2712 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2713 call to _dl_get_origin.
2714 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2716 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2717 * dlfcn/modstatic3.c: New file.
2718 * dlfcn/tststatic3.c: New file.
2719 * dlfcn/tststatic4.c: New file.
2720 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2721 (tests-static): Likewise.
2722 (modules-names): Add modstatic3.
2723 (tststatic3-ENV, tststatic4-ENV): New variables.
2724 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2725 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2727 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2729 * configure.in (CC): Require GCC version 4.4 or later.
2730 * configure: Regenerated.
2731 * manual/install.texi (Tools for Compilation): Update GCC version
2733 * INSTALL: Regenerated.
2735 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2738 * string/test-memcmp.c (check2): New.
2739 (main): Call check2.
2741 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2743 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2746 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2748 (dl_open_worker) [!SHARED]: ... here.
2750 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2752 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2754 2013-06-25 Richard Henderson <rth@redhat.com>
2756 * locale/programs/locarchive.c: Include <libc-internal.h>
2758 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2760 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2761 trailing whitespace removed.
2763 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2766 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2767 * locale/programs/locarchive.c: Include libc-mmap.h.
2768 (prepare_address_space): Take two new outputs (the mmap base and len).
2769 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2771 (create_archive): Declare new mmap base and len values for
2772 prepare_address_space, and store the result in ah.
2773 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2774 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2775 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2776 Declare new mmap base and len values for
2777 prepare_address_space, and store the result in new_ah.
2778 (open_archive): Declare new mmap base and len values for
2779 prepare_address_space, and store the result in ah.
2780 (close_archive): If ah->mmap_base is not NULL, use that and
2781 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2782 * sysdeps/generic/libc-mmap.h: New file.
2784 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2786 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2787 (ALIGN_UP): Likewise.
2788 (PTR_ALIGN_DOWN): Likewise.
2789 (PTR_ALIGN_UP): Likewise.
2791 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2793 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2794 entry mapped to PPC_PLATFORM_POWER8.
2795 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2797 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2798 (_dl_string_platform): Add case for exporting platform position for
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2801 search path to sysdeps/powerpc/powerpc32/power8 directory.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2803 search path to sysdeps/powerpc/powerpc64/power8 directory.
2804 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2806 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2809 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2811 * INSTALL: Regenerate.
2813 * nscd/connections.c (nscd_init): Fix comment.
2815 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2817 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2820 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2821 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2823 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2825 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2827 (DL_DST_REQ_STATIC): Remove macro.
2829 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2832 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2833 with a shift of 0 bits.
2835 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2837 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2840 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2843 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2845 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2847 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2848 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2849 accepts -fno-tree-loop-distribute-patterns.
2850 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2851 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2853 * string/memset.c (memset): Likewise.
2854 * string/test-memmove.c (simple_memmove): Disable loop transformation
2856 * string/test-memset.c (simple_memset): Likewise.
2857 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2858 * benchtests/bench-memset.c (simple_memset): Likewise.
2859 * configure: Regenerated.
2861 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2863 * math/test-misc.c (main): Ignore fesetround failure when failures
2864 of subsequent rounding tests would be ignored.
2867 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2868 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2869 * math/fegetenv.c (__fegetenv): Return 0.
2870 * math/fegetexcept.c (fegetexcept): Return 0.
2871 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2873 * math/feholdexcpt.c (feholdexcept): Return 0.
2874 * math/fesetenv.c (__fesetenv): Return 0.
2875 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2876 argument FE_TONEAREST.
2877 * math/feupdateenv.c (__feupdateenv): Return 0.
2878 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2880 2013-06-18 Roland McGrath <roland@hack.frob.com>
2882 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2883 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2884 ($(objpfx)rtld-%.os rules): Use them.
2886 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2888 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2891 2013-06-17 Roland McGrath <roland@hack.frob.com>
2893 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2894 length of target pattern, then descending length of dependency pattern.
2895 * configure.in (AWK): Require gawk 3.1.2 or newer.
2896 * manual/install.texi (Tools for Compilation): Say that we do.
2897 * configure: Regenerated.
2899 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2900 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2901 * scripts/sysd-rules.awk: ... this new script.
2902 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2903 than a glob-style pattern.
2905 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2907 * math/test-misc.c (main): Do not treat incorrectly rounded
2908 conversions as failure unless ROUNDING_TESTS passes.
2910 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2913 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2914 restore exception state around main square root computation, then
2915 check for inexactness explicitly.
2917 * math/libm-test.inc (fma_test_data): Add another test.
2919 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2921 * manual/threads.texi (Non-POSIX Extensions): New document
2922 node. Document pthread_getattr_default_np and
2923 pthread_setattr_default_np.
2925 * Versions.def (libpthread): Add GLIBC_2.18.
2926 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2935 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2946 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2949 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2951 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2952 H.J. Lu <hjl.tools@gmail.com>
2955 * sysdeps/x86_64/rtld-memset.c: Remove file.
2956 * sysdeps/x86_64/rtld-memset.S: New file.
2958 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2960 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2961 (test_in_one_mode): Take arguments for whether the rounding mode
2962 is supported for each floating-point type.
2963 (do_test): Pass new arguments to test_in_one_mode using
2966 2013-06-13 Roland McGrath <roland@hack.frob.com>
2968 * posix/tst-waitid.c (do_test): Distinguish different instances of
2969 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2970 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2971 before entering the kernel for waitpid.
2973 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2975 * NEWS: Fix note on clock function precision. Text by Roland
2978 2013-06-13 Roland McGrath <roland@hack.frob.com>
2980 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2981 it into place only when and if the sanity check passes.
2983 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2985 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2986 output for whether conversion result is exact. Take argument
2987 indicating whether type is IBM long double.
2988 (round_for_all): Change need_exact field to ibm_ld.
2989 * stdlib/tst-strtod-round.c (struct exactness): New type.
2990 (struct test): Change bool ld_ok field to struct exactness exact.
2991 (TEST): Update all definitions for change to field.
2992 (tests): Regenerate array contents.
2993 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2994 field value. Check for IBM long double here.
2995 (do_test): Update calls to test_in_one_mode.
2997 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3000 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3001 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3003 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3006 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3007 generated by the compiler on loop optimizations.
3008 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3009 general definitions.
3011 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3013 * math/bug-nextafter.c: Include <math-tests.h>.
3014 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3016 * math/bug-nexttoward.c: Include <math-tests.h>.
3017 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3019 * math/test-misc.c: Include <math-tests.h>.
3020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3023 2013-06-12 Andreas Jaeger <aj@suse.de>
3025 * po/ia.po: Update Interlingua translation from translation
3028 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3030 * include/fenv.h: Include stdbool.h.
3031 (struct rm_ctx): New structure.
3032 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3034 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3035 (SET_RESTORE_ROUNDF): Likewise.
3036 (SET_RESTORE_ROUNDL): Likewise.
3037 (SET_RESTORE_ROUND_NOEX): Likewise.
3038 (SET_RESTORE_ROUND_NOEXF): Likewise.
3039 (SET_RESTORE_ROUND_NOEXL): Likewise.
3040 (SET_RESTORE_ROUND_53BIT): Likewise.
3041 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3042 (libc_feresetround_noexf_ctx): Likewise.
3043 (libc_feresetround_noexl_ctx): Likewise.
3044 (libc_feholdsetround_53bit_ctx): Likewise.
3045 (libc_feresetround_53bit_ctx): Likewise.
3046 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3047 (libc_feholdexcept_setround_sse_ctx): New function.
3048 (libc_fesetenv_sse_ctx): Likewise.
3049 (libc_feupdateenv_sse_ctx): Likewise.
3050 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3051 (libc_feholdexcept_setround_387_ctx): Likewise.
3052 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3053 (libc_feholdsetround_387_prec_ctx): Likewise.
3054 (libc_feholdsetround_387_ctx): Likewise.
3055 (libc_feholdsetround_387_53bit_ctx): Likewise.
3056 (libc_feholdsetround_sse_ctx): Likewise.
3057 (libc_feresetround_sse_ctx): Likewise.
3058 (libc_feresetround_387_ctx): Likewise.
3059 (libc_feupdateenv_387_ctx): Likewise.
3060 (libc_feholdexcept_setroundf_ctx): Define macro.
3061 (libc_fesetenvf_ctx): Likewise.
3062 (libc_feupdateenvf_ctx): Likewise.
3063 (libc_feholdsetroundf_ctx): Likewise.
3064 (libc_feresetroundf_ctx): Likewise.
3065 (libc_feholdexcept_setround_ctx): Likewise.
3066 (libc_fesetenv_ctx): Likewise.
3067 (libc_feupdateenv_ctx): Likewise.
3068 (libc_feholdsetround_ctx): Likewise.
3069 (libc_feresetround_ctx): Likewise.
3070 (libc_feholdexcept_setroundl_ctx): Likewise.
3071 (libc_feupdateenvl_ctx): Likewise.
3072 (libc_feholdsetroundl_ctx): Likewise.
3073 (libc_feresetroundl_ctx): Likewise.
3074 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3075 (libc_feresetround_53bit_ctx): Likewise.
3077 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3079 * locale/iso-639.def: Convert to UTF-8.
3081 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3083 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3084 (EXCEPTION_TESTS_double): Likewise.
3085 (EXCEPTION_TESTS_long_double): Likewise.
3086 (EXCEPTION_TESTS): Likewise.
3087 * math/libm-test.inc (test_exceptions): Only test exceptions if
3088 EXCEPTION_TESTS (FLOAT).
3090 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3092 * benchtests/Makefile (string-bench): Add strcpy_chk and
3094 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3095 * benchtests/bench-stpcpy_chk.c: New file.
3096 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3097 * benchtests/bench-strcpy_chk.c: New file.
3098 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3100 (do_test): Likewise.
3102 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3104 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3105 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3106 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3107 with tabs where appropriate.
3108 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3110 [PPC_PLATFORM_PPC440]: Likewise.
3111 [PPC_PLATFORM_PPC464]: Likewise.
3112 [PPC_PLATFORM_PPC476]: Likewise.
3113 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3114 ppc464, and ppc476 platform strings merging from ports/
3117 2013-06-11 Andreas Schwab <schwab@suse.de>
3120 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3121 (from_ucs4_idx): Regenerate.
3122 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3123 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3124 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3125 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3126 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3127 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3128 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3129 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3130 from FROM_LOOP and TO_LOOP specific macros.
3131 (BODY): Handle combining characters.
3132 * iconvdata/BIG5HKSCS.irreversible: Update.
3133 * iconvdata/BIG5HKSCS.precomposed: New file.
3134 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3136 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3138 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3140 * include/sys/time.h: Fix indentation and add copyright header.
3142 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3143 (do_test): Likewise.
3144 * string/test-memchr.c (do_one_test): Likewise.
3145 (do_test): Likewise.
3146 * string/test-memcmp.c (do_one_test): Likewise.
3147 (do_test): Likewise.
3148 * string/test-memcpy.c (do_one_test): Likewise.
3149 (do_test): Likewise.
3150 * string/test-memmem.c (do_one_test): Likewise.
3151 (do_test): Likewise.
3152 (do_random_tests): Likewise.
3153 * string/test-memmove.c (do_one_test): Likewise.
3154 (do_test): Likewise.
3155 * string/test-memset.c (do_one_test): Likewise.
3156 (do_test): Likewise.
3157 * string/test-rawmemchr.c (do_one_test): Likewise.
3158 (do_test): Likewise.
3159 * string/test-strcasecmp.c (do_one_test): Likewise.
3160 (do_test): Likewise.
3161 * string/test-strcasestr.c (do_one_test): Likewise.
3162 (do_test): Likewise.
3163 * string/test-strcat.c (do_one_test): Likewise.
3164 (do_test): Likewise.
3165 * string/test-strchr.c (do_one_test): Likewise.
3166 (do_test): Likewise.
3167 * string/test-strcmp.c (do_one_test): Likewise.
3168 (do_test): Likewise.
3169 * string/test-strcpy.c (do_one_test): Likewise.
3170 (do_test): Likewise.
3171 * string/test-string.h: Likewise.
3172 (test_init): Likewise.
3173 * string/test-strlen.c (do_one_test): Likewise.
3174 (do_test): Likewise.
3175 * string/test-strncasecmp.c (do_one_test): Likewise.
3176 (do_test): Likewise.
3177 * string/test-strncat.c (do_one_test): Likewise.
3178 (do_test): Likewise.
3179 * string/test-strncmp.c (do_one_test): Likewise.
3180 (do_test_limit): Likewise.
3181 (do_test): Likewise.
3182 * string/test-strncpy.c (do_one_test): Likewise.
3183 (do_test): Likewise.
3184 * string/test-strnlen.c (do_one_test): Likewise.
3185 (do_test): Likewise.
3186 * string/test-strpbrk.c (do_one_test): Likewise.
3187 (do_test): Likewise.
3188 * string/test-strrchr.c (do_one_test): Likewise.
3189 (do_test): Likewise.
3190 * string/test-strspn.c (do_one_test): Likewise.
3191 (do_test): Likewise.
3192 * string/test-strstr.c (do_one_test): Likewise.
3193 (do_test): Likewise.
3195 * benchtests/Makefile (string-bench): Add string benchmarks.
3196 * benchtests/bench-bcopy-ifunc.c: New file.
3197 * benchtests/bench-bcopy.c: New file.
3198 * benchtests/bench-bzero-ifunc.c: New file.
3199 * benchtests/bench-bzero.c: New file.
3200 * benchtests/bench-memccpy-ifunc.c: New file.
3201 * benchtests/bench-memccpy.c: New file.
3202 * benchtests/bench-memchr-ifunc.c: New file.
3203 * benchtests/bench-memchr.c: New file.
3204 * benchtests/bench-memcmp-ifunc.c: New file.
3205 * benchtests/bench-memcmp.c: New file.
3206 * benchtests/bench-memmem-ifunc.c: New file.
3207 * benchtests/bench-memmem.c: New file.
3208 * benchtests/bench-memmove-ifunc.c: New file.
3209 * benchtests/bench-memmove.c: New file.
3210 * benchtests/bench-mempcpy-ifunc.c: New file.
3211 * benchtests/bench-mempcpy.c: New file.
3212 * benchtests/bench-memset-ifunc.c: New file.
3213 * benchtests/bench-memset.c: New file.
3214 * benchtests/bench-rawmemchr-ifunc.c: New file.
3215 * benchtests/bench-rawmemchr.c: New file.
3216 * benchtests/bench-stpcpy-ifunc.c: New file.
3217 * benchtests/bench-stpcpy.c: New file.
3218 * benchtests/bench-stpncpy-ifunc.c: New file.
3219 * benchtests/bench-stpncpy.c: New file.
3220 * benchtests/bench-strcasecmp-ifunc.c: New file.
3221 * benchtests/bench-strcasecmp.c: New file.
3222 * benchtests/bench-strcasestr-ifunc.c: New file.
3223 * benchtests/bench-strcasestr.c: New file.
3224 * benchtests/bench-strcat-ifunc.c: New file.
3225 * benchtests/bench-strcat.c: New file.
3226 * benchtests/bench-strchr-ifunc.c: New file.
3227 * benchtests/bench-strchr.c: New file.
3228 * benchtests/bench-strchrnul-ifunc.c: New file.
3229 * benchtests/bench-strchrnul.c: New file.
3230 * benchtests/bench-strcmp-ifunc.c: New file.
3231 * benchtests/bench-strcmp.c: New file.
3232 * benchtests/bench-strcpy-ifunc.c: New file.
3233 * benchtests/bench-strcpy.c: New file.
3234 * benchtests/bench-strcspn-ifunc.c: New file.
3235 * benchtests/bench-strcspn.c: New file.
3236 * benchtests/bench-strlen-ifunc.c: New file.
3237 * benchtests/bench-strlen.c: New file.
3238 * benchtests/bench-strncasecmp-ifunc.c: New file.
3239 * benchtests/bench-strncasecmp.c: New file.
3240 * benchtests/bench-strncat-ifunc.c: New file.
3241 * benchtests/bench-strncat.c: New file.
3242 * benchtests/bench-strncmp-ifunc.c: New file.
3243 * benchtests/bench-strncmp.c: New file.
3244 * benchtests/bench-strncpy-ifunc.c: New file.
3245 * benchtests/bench-strncpy.c: New file.
3246 * benchtests/bench-strnlen-ifunc.c: New file.
3247 * benchtests/bench-strnlen.c: New file.
3248 * benchtests/bench-strpbrk-ifunc.c: New file.
3249 * benchtests/bench-strpbrk.c: New file.
3250 * benchtests/bench-strrchr-ifunc.c: New file.
3251 * benchtests/bench-strrchr.c: New file.
3252 * benchtests/bench-strspn-ifunc.c: New file.
3253 * benchtests/bench-strspn.c: New file.
3254 * benchtests/bench-strstr-ifunc.c: New file.
3255 * benchtests/bench-strstr.c: New file.
3257 * benchtests/Makefile: Disable parallel execution of targets.
3258 (string-bench): Add memcpy.
3259 (benchset): New variable to store a list of benchmark sets.
3260 (bench-func): Renamed from bench.
3261 (bench-set): New target.
3262 (bench): Depend on bench-func and bench-set.
3263 * benchtests/README: Add section on benchmark sets.
3264 * benchtests/bench-memcpy-ifunc.c: New file.
3265 * benchtests/bench-memcpy.c: New file.
3266 * benchtests/bench-string.h: New file.
3268 2013-06-11 Andreas Schwab <schwab@suse.de>
3271 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3272 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3273 values in the triple.
3274 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3275 terminator in the group key.
3277 2013-06-11 Andreas Jaeger <aj@suse.de>
3279 * po/zh_TW.po: Update Chinese (traditional) translation from
3280 translation project.
3282 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3284 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3285 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3286 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3287 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3288 (clock_getcpuclockid): Likewise.
3289 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3290 Add weak_alias and libc_hidden_def.
3291 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3292 * rt/clock_gettime.c (clock_gettime): Rename to
3293 __clock_gettime. Add weak_alias and libc_hidden_def.
3294 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3295 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3296 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3297 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3298 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3300 * rt/clock_settime.c (clock_settime): Rename to
3301 __clock_settime. Add weak_alias and libc_hidden_def.
3302 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3304 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3306 * mach/err_boot.sub: Remove trailing whitespace.
3307 * mach/err_ipc.sub: Likewise.
3308 * mach/err_mach.sub: Likewise.
3310 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3311 (ROUNDING_TESTS_double): Likewise.
3312 (ROUNDING_TESTS_long_double): Likewise.
3313 (ROUNDING_TESTS): Likewise.
3314 * math/libm-test.inc: Include <math-tests.h>.
3315 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3316 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3317 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3318 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3320 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3322 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3325 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3327 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3328 otherwise empty TRANS lines.
3329 * sysdeps/gnu/errlist.c: Regenerated.
3331 * catgets/gencat.c (error_print): Use (void) in function
3333 * crypt/crypt_util.c (__init_des): Likewise.
3334 * crypt/speeds.c (Stop): Likewise.
3336 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3337 * inet/ruserpass.c (token): Likewise.
3338 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3339 * intl/localealias.c (extend_alias_table): Likewise.
3340 * intl/plural-exp.c (init_germanic_plural): Likewise.
3341 * libio/fcloseall.c (__fcloseall): Likewise.
3342 * libio/genops.c (_IO_flush_all): Likewise.
3343 (_IO_flush_all_linebuffered): Likewise.
3344 (_IO_cleanup): Likewise.
3345 (_IO_iter_begin): Likewise.
3346 (_IO_iter_end): Likewise.
3347 (_IO_list_lock): Likewise.
3348 (_IO_list_unlock): Likewise.
3349 (_IO_list_resetlock): Likewise.
3350 * libio/getchar.c (getchar): Likewise.
3351 * libio/getchar_u.c (getchar_unlocked): Likewise.
3352 * libio/getwchar.c (getwchar): Likewise.
3353 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3354 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3355 * login/getpt.c (__getpt): Likewise.
3356 * login/tst-utmp.c (main): Likewise.
3357 * malloc/hooks.c (__malloc_check_init): Likewise.
3358 * malloc/malloc.c (__malloc_stats): Likewise.
3359 * malloc/mtrace.c (tr_break): Likewise.
3361 (muntrace): Likewise.
3362 * misc/fstab.c (endfsent): Likewise.
3363 * misc/getclktck.c (__getclktck): Likewise.
3364 * misc/getdtsz.c (__getdtablesize): Likewise.
3365 * misc/gethostid.c (gethostid): Likewise.
3366 * misc/getpagesize.c (__getpagesize): Likewise.
3367 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3368 (__get_nprocs): Likewise.
3369 (__get_phys_pages): Likewise.
3370 (__get_avphys_pages): Likewise.
3371 * misc/getttyent.c (getttyent): Likewise.
3372 (setttyent): Likewise.
3373 (endttyent): Likewise.
3374 * misc/getusershell.c (getusershell): Likewise.
3375 (endusershell): Likewise.
3376 (setusershell): Likewise.
3377 (initshells): Likewise.
3378 * misc/hsearch.c (__hdestroy): Likewise.
3379 * misc/sync.c (sync): Likewise.
3380 * misc/syslog.c (closelog_internal): Likewise.
3381 (closelog): Likewise.
3382 * misc/ttyslot.c (ttyslot): Likewise.
3383 * misc/vhangup.c (vhangup): Likewise.
3384 * posix/fork.c (__fork): Likewise.
3385 * posix/getegid.c (__getegid): Likewise.
3386 * posix/geteuid.c (__geteuid): Likewise.
3387 * posix/getgid.c (__getgid): Likewise.
3388 * posix/getpid.c (__getpid): Likewise.
3389 * posix/getppid.c (__getppid): Likewise.
3390 * posix/getuid.c (__getuid): Likewise.
3391 * posix/pause.c (pause): Likewise.
3392 * posix/setpgrp.c (setpgrp): Likewise.
3393 * posix/setsid.c (__setsid): Likewise.
3394 * posix/test-vfork.c (noop): Likewise.
3395 * resolv/gethnamaddr.c (_endhtent): Likewise.
3396 (_gethtent): Likewise.
3397 (ht_endhostent): Likewise.
3398 (gethostent): Likewise.
3399 (dns_service): Likewise.
3400 * stdlib/drand48.c (drand48): Likewise.
3401 * stdlib/lrand48.c (lrand48): Likewise.
3402 * stdlib/mrand48.c (mrand48): Likewise.
3403 * stdlib/rand.c (rand): Likewise.
3404 * stdlib/random.c (__random): Likewise.
3405 * stdlib/setenv.c (clearenv): Likewise.
3406 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3407 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3408 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3409 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3410 (__get_nprocs): Likewise.
3411 (__get_phys_pages): Likewise.
3412 (__get_avphys_pages): Likewise.
3413 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3414 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3415 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3416 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3417 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3418 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3419 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3420 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3421 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3422 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3423 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3424 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3425 * sysdeps/posix/clock.c (clock): Likewise.
3426 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3427 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3428 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3429 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3430 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3432 (__get_nprocs_conf): Likewise.
3433 (__get_phys_pages): Likewise.
3434 (__get_avphys_pages): Likewise.
3435 * time/clock.c (clock): Likewise.
3436 * time/tzset.c (__tzname_max): Likewise.
3438 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3440 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3441 (__bswap_32): Do not use "register".
3442 * crypt/crypt.c (_ufc_doit_r): Likewise.
3443 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3444 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3445 * gmon/gmon.c (__monstartup): Likewise.
3446 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3447 * hurd/hurdmalloc.c (more_memory): Likewise.
3450 (realloc): Likewise.
3451 (malloc_fork_prepare): Likewise.
3452 (malloc_fork_parent): Likewise.
3453 (malloc_fork_child): Likewise.
3454 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3455 (_svcauth_des): Likewise.
3456 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3457 * inet/inet_net.c (inet_network): Likewise.
3458 * inet/inet_netof.c (inet_netof): Likewise.
3459 * inet/rcmd.c (__validuser2_sa): Likewise.
3460 * io/fts.c (fts_open): Likewise.
3461 (fts_load): Likewise.
3462 (fts_close): Likewise.
3463 (fts_read): Likewise.
3464 (fts_children): Likewise.
3465 (fts_build): Likewise.
3466 (fts_stat): Likewise.
3467 (fts_sort): Likewise.
3468 (fts_alloc): Likewise.
3469 (fts_lfree): Likewise.
3470 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3471 (_IO_file_xsgetn): Likewise.
3472 (_IO_file_xsgetn_mmap): Likewise.
3473 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3474 (_IO_cookie_write): Likewise.
3475 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3476 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3477 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3478 * malloc/obstack.c (_obstack_begin): Likewise.
3479 (_obstack_begin_1): Likewise.
3480 (_obstack_newchunk): Likewise.
3481 (_obstack_allocated_p): Likewise.
3482 (obstack_free): Likewise.
3483 (_obstack_memory_used): Likewise.
3484 * misc/getttyent.c (getttynam): Likewise.
3485 (getttyent): Likewise.
3488 * misc/getusershell.c (initshells): Likewise.
3489 * misc/syslog.c (__vsyslog_chk): Likewise.
3490 * misc/ttyslot.c (ttyslot): Likewise.
3491 * nis/nis_hash.c (__nis_hash): Likewise.
3492 * posix/fnmatch_loop.c (FCT): Likewise.
3493 * posix/getconf.c (print_all): Likewise.
3495 * posix/getopt.c (exchange): Likewise.
3496 * posix/glob.c (globfree): Likewise.
3497 (prefix_array): Likewise.
3498 (__glob_pattern_type): Likewise.
3499 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3500 (NS_GET32): Likewise.
3501 (NS_PUT16): Likewise.
3502 (NS_PUT32): Likewise.
3503 * resolv/gethnamaddr.c (getanswer): Likewise.
3504 (gethostbyname2): Likewise.
3505 (gethostbyaddr): Likewise.
3506 (_gethtent): Likewise.
3507 (_gethtbyname2): Likewise.
3508 (_gethtbyaddr): Likewise.
3509 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3510 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3511 * resolv/res_init.c (__res_vinit): Likewise.
3512 (net_mask): Likewise.
3513 * resolv/res_mkquery.c (outchar): Likewise.
3515 * stdio-common/printf_fp.c (outchar): Likewise.
3517 * stdio-common/printf_fphex.c (outchar): Likewise.
3519 * stdio-common/printf_size.c (outchar): Likewise.
3521 * stdio-common/test_rdwr.c (main): Likewise.
3522 * stdio-common/tfformat.c (matches): Likewise.
3523 * stdio-common/vfprintf.c (outchar): Likewise.
3524 (printf_unknown): Likewise.
3525 (buffered_vfprintf): Likewise.
3526 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3527 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3528 (ReadFile): Likewise.
3529 * stdlib/qsort.c (SWAP): Likewise.
3530 (_quicksort): Likewise.
3531 * stdlib/setenv.c (__add_to_environ): Likewise.
3532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3533 * stdlib/strtol_l.c (__strtol_l): Likewise.
3534 * stdlib/tst-strtod.c (main): Likewise.
3535 * stdlib/tst-strtol.c (main): Likewise.
3536 * stdlib/tst-strtoll.c (main): Likewise.
3537 * string/bits/string2.h (__strcmp_cc): Likewise.
3538 (__strcmp_cg): Likewise.
3539 (__strcspn_c1): Likewise.
3540 (__strcspn_c2): Likewise.
3541 (__strcspn_c3): Likewise.
3542 (__strspn_c1): Likewise.
3543 (__strspn_c2): Likewise.
3544 (__strspn_c3): Likewise.
3545 (__strsep_1c): Likewise.
3546 (__strsep_2c): Likewise.
3547 (__strsep_3c): Likewise.
3548 * string/memccpy.c (__memccpy): Likewise.
3549 * string/stpcpy.c (__stpcpy): Likewise.
3550 * string/strcmp.c (strcmp): Likewise.
3551 * string/strrchr.c (strrchr): Likewise.
3552 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3554 * sysdeps/mach/hurd/getcwd.c
3555 (_hurd_canonicalize_directory_name_internal): Likewise.
3556 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3557 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3558 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3559 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3560 Likewise, in both definitions.
3561 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3563 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3564 64] (__bswap_64): Likewise.
3565 * time/test_time.c (main): Likewise.
3566 * time/tzfile.c (__tzfile_read): Likewise.
3567 (__tzfile_compute): Likewise.
3568 * time/tzset.c (__tzset_parse_tz): Likewise.
3569 (tzset_internal): Likewise.
3570 (compute_change): Likewise.
3571 * wcsmbs/wcscat.c (__wcscat): Likewise.
3572 * wcsmbs/wcschr.c (wcschr): Likewise.
3573 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3574 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3575 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3576 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3577 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3578 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3579 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3580 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3581 * wcsmbs/wmemset.c (wmemset): Likewise.
3583 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3585 * scripts/config.guess: Update to version 2013-05-16.
3586 * scripts/config.sub: Update to version 2013-04-24.
3587 * scripts/install-sh: Update to version 2011-11-20.07.
3588 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3589 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3591 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3593 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3594 * elf/sln.c: Likewise.
3595 * hurd/hurd/ioctl.h: Likewise.
3596 * hurd/hurdmalloc.c: Likewise.
3597 * hurd/xattr.c: Likewise.
3598 * include/shlib-compat.h: Likewise.
3599 * inet/ruserpass.c: Likewise.
3600 * libio/iofgets_u.c: Likewise.
3601 * libio/iofgetws_u.c: Likewise.
3602 * locale/programs/ld-identification.c: Likewise.
3603 * locale/programs/ld-time.c: Likewise.
3604 * mach/msg-destroy.c: Likewise.
3605 * nss/nss_files/files-netgrp.c: Likewise.
3606 * resolv/res_data.c: Likewise.
3607 * soft-fp/op-1.h: Likewise.
3608 * soft-fp/op-2.h: Likewise.
3609 * soft-fp/op-4.h: Likewise.
3610 * soft-fp/op-common.h: Likewise.
3611 * stdio-common/printf_fphex.c: Likewise.
3612 * stdlib/strtod_l.c: Likewise.
3613 * sunrpc/rpc/clnt.h: Likewise.
3614 * sysdeps/generic/framestate.c: Likewise.
3615 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3616 * sysdeps/i386/bsd-setjmp.S: Likewise.
3617 * sysdeps/i386/__longjmp.S: Likewise.
3618 * sysdeps/i386/setjmp.S: Likewise.
3619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3620 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3637 * sysdeps/ieee754/support.c: Likewise.
3638 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3639 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3640 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3641 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3642 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3643 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3644 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3645 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3646 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3647 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3648 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3649 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3650 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3651 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3652 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3653 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3654 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3657 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3659 * posix/transbug.c: Remove executable mode.
3661 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3663 * crypt/speeds.c: Remove trailing whitespace.
3664 * dlfcn/default.c: Likewise.
3665 * elf/ifuncdep2.c: Likewise.
3666 * elf/ifuncmain1.c: Likewise.
3667 * elf/ifuncmain1vis.c: Likewise.
3668 * elf/testobj.h: Likewise.
3669 * elf/tst-stackguard1.c: Likewise.
3670 * gmon/sys/gmon.h: Likewise.
3671 * hurd/hurdmsg.c: Likewise.
3672 * hurd/new-fd.c: Likewise.
3673 * hurd/ports-get.c: Likewise.
3674 * iconvdata/ibm1008_420.c: Likewise.
3675 * inet/tst-getni1.c: Likewise.
3676 * inet/tst-getni2.c: Likewise.
3677 * libio/ioungetc.c: Likewise.
3678 * libio/wfiledoalloc.c: Likewise.
3679 * manual/libm-err-tab.pl: Likewise.
3680 * math/w_dremf.c: Likewise.
3681 * misc/ftruncate.c: Likewise.
3682 * posix/bug-glob2.c: Likewise.
3683 * posix/tst-pcre.c: Likewise.
3684 * posix/wait4.c: Likewise.
3685 * resolv/README: Likewise.
3686 * resolv/res_debug.h: Likewise.
3687 * resolv/tst-inet_ntop.c: Likewise.
3688 * setjmp/bug269-setjmp.c: Likewise.
3689 * soft-fp/extended.h: Likewise.
3690 * soft-fp/op-1.h: Likewise.
3691 * soft-fp/op-2.h: Likewise.
3692 * soft-fp/op-4.h: Likewise.
3693 * soft-fp/op-8.h: Likewise.
3694 * soft-fp/testit.c: Likewise.
3695 * stdio-common/bug16.c: Likewise.
3696 * stdlib/random.c: Likewise.
3697 * sunrpc/rpcsvc/rquota.x: Likewise.
3698 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3699 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3701 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3702 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3703 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3704 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3706 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3707 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3708 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3727 * sysdeps/ieee754/s_lib_version.c: Likewise.
3728 * sysdeps/mach/hurd/check_fds.c: Likewise.
3729 * sysdeps/mach/hurd/getsockname.c: Likewise.
3730 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3731 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3732 * sysdeps/powerpc/bits/link.h: Likewise.
3733 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3734 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3735 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3736 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3737 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3738 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3739 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3740 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3741 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3742 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3743 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3744 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3745 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3746 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3747 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3748 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3749 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3751 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3754 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3755 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3756 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3757 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3765 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3767 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3768 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3769 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3770 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3771 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3772 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3773 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3774 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3775 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3780 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3781 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3782 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3785 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3789 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3790 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3791 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3792 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3793 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3794 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3795 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3796 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3797 * sysdeps/powerpc/sysdep.h: Likewise.
3798 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3799 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3800 * sysdeps/sh/dl-trampoline.S: Likewise.
3801 * sysdeps/sh/memset.S: Likewise.
3802 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3803 * sysdeps/sh/strlen.S: Likewise.
3804 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3805 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3806 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3807 * sysdeps/sparc/sparc32/rem.S: Likewise.
3808 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3809 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3810 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3811 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3812 * sysdeps/sparc/sparc32/urem.S: Likewise.
3813 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3814 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3815 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3816 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3817 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3818 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3819 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3820 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3821 * sysdeps/unix/bsd/times.c: Likewise.
3822 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3823 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3827 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3829 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3830 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3831 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3833 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3834 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3835 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3836 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3837 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3838 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3839 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3840 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3841 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3842 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3843 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3844 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3845 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3850 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3851 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3852 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3853 * sysdeps/x86_64/strcspn.S: Likewise.
3855 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3857 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3858 generated file. Regenerate properly from gen-translit.pl.
3859 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3860 locale/C-translit.h.
3862 2013-06-05 Andreas Schwab <schwab@suse.de>
3865 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3866 week as 6 instead of -1.
3867 * time/tst-strptime.c (day_tests): Add test case.
3869 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3871 * sysdeps/generic/math_private.h
3872 (libc_feholdexcept_setround_53bit): Replace with
3873 libc_feholdsetround_53bit.
3874 (libc_feupdateenv_53bit): Replace with
3875 libc_feresetround_53bit.
3876 (SET_RESTORE_ROUND_53BIT): Adjust.
3878 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3880 * string/test-strchrnul.c: Add copyright header.
3882 * posix/tst-getaddrinfo4.c: Increase test timeout.
3884 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3887 * math/libm-test.inc (MAX_EXP): Remove
3889 (ulp): Use MIN_EXP - MANT_DIG.
3890 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3892 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3894 * po/be.po: Revert last change.
3895 * po/zh_CN.po: Likewise.
3896 * po/header.pot: Likewise.
3898 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3900 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3901 link-libc-deps to empty as target-specific variable.
3902 * Makerules (link-libc-args): New variable.
3903 (libc-for-link): Likewise.
3904 (link-libc-deps): Likewise.
3905 (lib%.so): Depend on $(link-libc-deps). Link with
3907 (build-module): Link with $(link-libc-args).
3908 (build-module-asneeded): Likewise.
3909 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3911 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3912 target-specific variable.
3913 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3914 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3915 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3917 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3919 ($(objpfx)libpcprofile.so): Likewise.
3920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3922 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3923 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3924 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3926 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3927 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3928 * login/Makefile ($(objpfx)libutil.so): Likewise.
3929 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3930 * math/Makefile ($(objpfx)libm.so): Likewise.
3931 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3932 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3933 variable instead of depending directly on libc.
3934 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3935 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3937 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3939 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3940 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3941 ($(objpfx)libanl.so): Likewise.
3942 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3944 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3946 * sysdeps/i386/fpu/Makefile: Remove file.
3947 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3948 ($(objpfx)libm.so): Remove dependency on ld.so.
3950 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3953 * nis/yp_xdr.c (XDRMAXNAME): Define.
3954 (XDRMAXRECORD): Define.
3955 (xdr_domainname): Use XDRMAXNAME.
3956 (xdr_mapname): Likewise.
3957 (xdr_peername): Likewise.
3958 (xdr_keydat): Use XDRMAXRECORD.
3959 (xdr_valdat): Likewise.
3961 2013-05-30 Jeff Law <law@redhat.com>
3964 * manual/errno.texi (ESTALE): Update to account for more than
3965 just NFS file systems.
3966 * sysdeps/gnu/errlist.c: Regenerated.
3968 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3971 * elf/Makefile (tests): Add tst-null-argv.
3972 (modules-names): Add tst-null-argv-lib.
3973 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3974 (tst-null-argv-ENV): Set environment for tst-null-argv.
3975 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3976 (RTLD_PROGNAME): New macro.
3977 * elf/tst-null-argv.c: New test case.
3978 * elf/tst-null-argv-lib.c: Library for test case.
3979 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3980 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3981 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3982 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3983 * elf/dl-init.c (call_init): Likewise.
3984 (_dl_init): Likewise.
3985 * elf/dl-load.c (print_search_path): Likewise.
3986 (_dl_map_object): Likewise.
3987 * elf/dl-lookup.c (do_lookup_x): Likewise.
3988 (add_dependency): Likewise.
3989 (_dl_lookup_symbol_x): Likewise.
3990 (_dl_debug_bindings): Likewise.
3991 * elf/dl-open.c (_dl_show_scope): Likewise.
3992 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3993 * elf/dl-version.c (match_symbol): Likewise.
3994 (_dl_check_map_versions): Likewise.
3995 * elf/rtld.c (dl_main): Likewise.
3996 (print_unresolved): Use RTLD_PROGNAME.
3997 (print_missing_version): Likewise.
3998 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3999 (elf_machine_rela): Likewise.
4000 * sysdeps/powerpc/powerpc32/dl-machine.c
4001 (__process_machine_rela): Likewise.
4002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4004 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4006 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4008 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4015 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4017 * po/be.po: Add descriptive title.
4018 * po/zh_CN.po: Likewise.
4019 * po/header.pot: Likewise.
4021 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4023 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4025 (enlarge_archive): Likewise.
4027 2013-05-28 Ben North <ben@redfrontdoor.org>
4029 * manual/arith.texi (frexp): It is the magnitude of the return
4030 value which lies in [0.5, 1), not the return value itself.
4032 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4036 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4038 * stdio-common/bug26.c (main): Correct fscanf template.
4040 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4041 declare _dl_skip_args.
4043 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4046 * manual/platform.texi: Add missing @end deftypefun.
4048 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4051 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4052 bit of mantissa of 2^16382.
4053 * math/libm-test.inc (hypot_test_data): Add more tests.
4055 * math/libm-test.inc: Add drem and pow10 to list of tested
4057 (pow10_test): New function.
4058 (drem_test): Likewise.
4059 (drem_test_tonearest): Likewise.
4060 (drem_test_towardzero): Likewise.
4061 (drem_test_downward): Likewise.
4062 (drem_test_upward): Likewise.
4063 (main): Call the new functions.
4065 * math/libm-test.inc (finite_test_data): Remove.
4066 (finite_test): Run tests from isfinite_test_data.
4067 (gamma_test_data): Remove.
4068 (gamma_test): Run tests from lgamma_test_data.
4069 * sysdeps/i386/fpu/libm-test-ulps: Update.
4070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4072 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4074 * manual/platform.texi: Add PowerPC PPR function set documentation.
4075 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4078 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4080 * math/libm-test.inc (MAX_EXP): Define.
4082 (ulp): New function.
4083 (check_float_internal): Use ULPDIFF.
4084 (cpow_test): Disable failing test.
4085 (check_ulp): Test ulp() implemetnation.
4086 (main): Call check_ulp before starting tests.
4088 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4090 * math/gen-libm-test.pl (generate_testfile): Do not handle
4091 START_DATA and END_DATA.
4092 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4094 (acos_tonearest_test_data): Likewise.
4095 (acos_towardzero_test_data): Likewise.
4096 (acos_downward_test_data): Likewise.
4097 (acos_upward_test_data): Likewise.
4098 (acosh_test_data): Likewise.
4099 (asin_test_data): Likewise.
4100 (asin_tonearest_test_data): Likewise.
4101 (asin_towardzero_test_data): Likewise.
4102 (asin_downward_test_data): Likewise.
4103 (asin_upward_test_data): Likewise.
4104 (asinh_test_data): Likewise.
4105 (atan_test_data): Likewise.
4106 (atanh_test_data): Likewise.
4107 (atan2_test_data): Likewise.
4108 (cabs_test_data): Likewise.
4109 (cacos_test_data): Likewise.
4110 (cacosh_test_data): Likewise.
4111 (carg_test_data): Likewise.
4112 (casin_test_data): Likewise.
4113 (casinh_test_data): Likewise.
4114 (catan_test_data): Likewise.
4115 (catanh_test_data): Likewise.
4116 (cbrt_test_data): Likewise.
4117 (ccos_test_data): Likewise.
4118 (ccosh_test_data): Likewise.
4119 (ceil_test_data): Likewise.
4120 (cexp_test_data): Likewise.
4121 (cimag_test_data): Likewise.
4122 (clog_test_data): Likewise.
4123 (clog10_test_data): Likewise.
4124 (conj_test_data): Likewise.
4125 (copysign_test_data): Likewise.
4126 (cos_test_data): Likewise.
4127 (cos_tonearest_test_data): Likewise.
4128 (cos_towardzero_test_data): Likewise.
4129 (cos_downward_test_data): Likewise.
4130 (cos_upward_test_data): Likewise.
4131 (cosh_test_data): Likewise.
4132 (cosh_tonearest_test_data): Likewise.
4133 (cosh_towardzero_test_data): Likewise.
4134 (cosh_downward_test_data): Likewise.
4135 (cosh_upward_test_data): Likewise.
4136 (cpow_test_data): Likewise.
4137 (cproj_test_data): Likewise.
4138 (creal_test_data): Likewise.
4139 (csin_test_data): Likewise.
4140 (csinh_test_data): Likewise.
4141 (csqrt_test_data): Likewise.
4142 (ctan_test_data): Likewise.
4143 (ctan_tonearest_test_data): Likewise.
4144 (ctan_towardzero_test_data): Likewise.
4145 (ctan_downward_test_data): Likewise.
4146 (ctan_upward_test_data): Likewise.
4147 (ctanh_test_data): Likewise.
4148 (ctanh_tonearest_test_data): Likewise.
4149 (ctanh_towardzero_test_data): Likewise.
4150 (ctanh_downward_test_data): Likewise.
4151 (ctanh_upward_test_data): Likewise.
4152 (erf_test_data): Likewise.
4153 (erfc_test_data): Likewise.
4154 (exp_test_data): Likewise.
4155 (exp_tonearest_test_data): Likewise.
4156 (exp_towardzero_test_data): Likewise.
4157 (exp_downward_test_data): Likewise.
4158 (exp_upward_test_data): Likewise.
4159 (exp10_test_data): Likewise.
4160 (exp2_test_data): Likewise.
4161 (expm1_test_data): Likewise.
4162 (fabs_test_data): Likewise.
4163 (fdim_test_data): Likewise.
4164 (finite_test_data): Likewise.
4165 (floor_test_data): Likewise.
4166 (fma_test_data): Likewise.
4167 (fma_towardzero_test_data): Likewise.
4168 (fma_downward_test_data): Likewise.
4169 (fma_upward_test_data): Likewise.
4170 (fmax_test_data): Likewise.
4171 (fmin_test_data): Likewise.
4172 (fmod_test_data): Likewise.
4173 (fpclassify_test_data): Likewise.
4174 (frexp_test_data): Likewise.
4175 (gamma_test_data): Likewise.
4176 (hypot_test_data): Likewise.
4177 (ilogb_test_data): Likewise.
4178 (isfinite_test_data): Likewise.
4179 (isgreater_test_data): Likewise.
4180 (isgreaterequal_test_data): Likewise.
4181 (isinf_test_data): Likewise.
4182 (isless_test_data): Likewise.
4183 (islessequal_test_data): Likewise.
4184 (islessgreater_test_data): Likewise.
4185 (isnan_test_data): Likewise.
4186 (isnormal_test_data): Likewise.
4187 (issignaling_test_data): Likewise.
4188 (isunordered_test_data): Likewise.
4189 (j0_test_data): Likewise.
4190 (j1_test_data): Likewise.
4191 (jn_test_data): Likewise.
4192 (ldexp_test_data): Likewise.
4193 (lgamma_test_data): Likewise.
4194 (lrint_test_data): Likewise.
4195 (lrint_tonearest_test_data): Likewise.
4196 (lrint_towardzero_test_data): Likewise.
4197 (lrint_downward_test_data): Likewise.
4198 (lrint_upward_test_data): Likewise.
4199 (llrint_test_data): Likewise.
4200 (llrint_tonearest_test_data): Likewise.
4201 (llrint_towardzero_test_data): Likewise.
4202 (llrint_downward_test_data): Likewise.
4203 (llrint_upward_test_data): Likewise.
4204 (log_test_data): Likewise.
4205 (log10_test_data): Likewise.
4206 (log1p_test_data): Likewise.
4207 (log2_test_data): Likewise.
4208 (logb_test_data): Likewise.
4209 (logb_downward_test_data): Likewise.
4210 (lround_test_data): Likewise.
4211 (llround_test_data): Likewise.
4212 (modf_test_data): Likewise.
4213 (nearbyint_test_data): Likewise.
4214 (nextafter_test_data): Likewise.
4215 (nexttoward_test_data): Likewise.
4216 (pow_test_data): Likewise.
4217 (pow_tonearest_test_data): Likewise.
4218 (pow_towardzero_test_data): Likewise.
4219 (pow_downward_test_data): Likewise.
4220 (pow_upward_test_data): Likewise.
4221 (remainder_test_data): Likewise.
4222 (remainder_tonearest_test_data): Likewise.
4223 (remainder_towardzero_test_data): Likewise.
4224 (remainder_downward_test_data): Likewise.
4225 (remainder_upward_test_data): Likewise.
4226 (remquo_test_data): Likewise.
4227 (rint_test_data): Likewise.
4228 (rint_tonearest_test_data): Likewise.
4229 (rint_towardzero_test_data): Likewise.
4230 (rint_downward_test_data): Likewise.
4231 (rint_upward_test_data): Likewise.
4232 (round_test_data): Likewise.
4233 (scalb_test_data): Likewise.
4234 (scalbn_test_data): Likewise.
4235 (scalbln_test_data): Likewise.
4236 (signbit_test_data): Likewise.
4237 (sin_test_data): Likewise.
4238 (sin_tonearest_test_data): Likewise.
4239 (sin_towardzero_test_data): Likewise.
4240 (sin_downward_test_data): Likewise.
4241 (sin_upward_test_data): Likewise.
4242 (sincos_test_data): Likewise.
4243 (sinh_test_data): Likewise.
4244 (sinh_tonearest_test_data): Likewise.
4245 (sinh_towardzero_test_data): Likewise.
4246 (sinh_downward_test_data): Likewise.
4247 (sinh_upward_test_data): Likewise.
4248 (sqrt_test_data): Likewise.
4249 (tan_test_data): Likewise.
4250 (tan_tonearest_test_data): Likewise.
4251 (tan_towardzero_test_data): Likewise.
4252 (tan_downward_test_data): Likewise.
4253 (tan_upward_test_data): Likewise.
4254 (tanh_test_data): Likewise.
4255 (tgamma_test_data): Likewise.
4256 (trunc_test_data): Likewise.
4257 (y0_test_data): Likewise.
4258 (y1_test_data): Likewise.
4259 (yn_test_data): Likewise.
4260 (significand_test_data): Likewise.
4262 * math/gen-libm-test.pl (@functions): Remove variable.
4263 (generate_testfile): Don't handle START and END lines.
4264 * math/libm-test.inc (START): New macro.
4266 (END_COMPLEX): Likewise.
4267 (acos_test): Use END macro without arguments.
4268 (acos_test_tonearest): Likewise.
4269 (acos_test_towardzero): Likewise.
4270 (acos_test_downward): Likewise.
4271 (acos_test_upward): Likewise.
4272 (acosh_test): Likewise.
4273 (asin_test): Likewise.
4274 (asin_test_tonearest): Likewise.
4275 (asin_test_towardzero): Likewise.
4276 (asin_test_downward): Likewise.
4277 (asin_test_upward): Likewise.
4278 (asinh_test): Likewise.
4279 (atan_test): Likewise.
4280 (atanh_test): Likewise.
4281 (atan2_test): Likewise.
4282 (cabs_test): Likewise.
4283 (cacos_test): Use END_COMPLEX macro without arguments.
4284 (cacosh_test): Likewise.
4285 (carg_test): Use END macro without arguments.
4286 (casin_test): Use END_COMPLEX macro without arguments.
4287 (casinh_test): Likewise.
4288 (catan_test): Likewise.
4289 (catanh_test): Likewise.
4290 (cbrt_test): Use END macro without arguments.
4291 (ccos_test): Use END_COMPLEX macro without arguments.
4292 (ccosh_test): Likewise.
4293 (ceil_test): Use END macro without arguments.
4294 (cexp_test): Use END_COMPLEX macro without arguments.
4295 (cimag_test): Use END macro without arguments.
4296 (clog_test): Use END_COMPLEX macro without arguments.
4297 (clog10_test): Likewise.
4298 (conj_test): Likewise.
4299 (copysign_test): Use END macro without arguments.
4300 (cos_test): Likewise.
4301 (cos_test_tonearest): Likewise.
4302 (cos_test_towardzero): Likewise.
4303 (cos_test_downward): Likewise.
4304 (cos_test_upward): Likewise.
4305 (cosh_test): Likewise.
4306 (cosh_test_tonearest): Likewise.
4307 (cosh_test_towardzero): Likewise.
4308 (cosh_test_downward): Likewise.
4309 (cosh_test_upward): Likewise.
4310 (cpow_test): Use END_COMPLEX macro without arguments.
4311 (cproj_test): Likewise.
4312 (creal_test): Use END macro without arguments.
4313 (csin_test): Use END_COMPLEX macro without arguments.
4314 (csinh_test): Likewise.
4315 (csqrt_test): Likewise.
4316 (ctan_test): Likewise.
4317 (ctan_test_tonearest): Likewise.
4318 (ctan_test_towardzero): Likewise.
4319 (ctan_test_downward): Likewise.
4320 (ctan_test_upward): Likewise.
4321 (ctanh_test): Likewise.
4322 (ctanh_test_tonearest): Likewise.
4323 (ctanh_test_towardzero): Likewise.
4324 (ctanh_test_downward): Likewise.
4325 (ctanh_test_upward): Likewise.
4326 (erf_test): Use END macro without arguments.
4327 (erfc_test): Likewise.
4328 (exp_test): Likewise.
4329 (exp_test_tonearest): Likewise.
4330 (exp_test_towardzero): Likewise.
4331 (exp_test_downward): Likewise.
4332 (exp_test_upward): Likewise.
4333 (exp10_test): Likewise.
4334 (exp2_test): Likewise.
4335 (expm1_test): Likewise.
4336 (fabs_test): Likewise.
4337 (fdim_test): Likewise.
4338 (finite_test): Likewise.
4339 (floor_test): Likewise.
4340 (fma_test): Likewise.
4341 (fma_test_towardzero): Likewise.
4342 (fma_test_downward): Likewise.
4343 (fma_test_upward): Likewise.
4344 (fmax_test): Likewise.
4345 (fmin_test): Likewise.
4346 (fmod_test): Likewise.
4347 (fpclassify_test): Likewise.
4348 (frexp_test): Likewise.
4349 (gamma_test): Likewise.
4350 (hypot_test): Likewise.
4351 (ilogb_test): Likewise.
4352 (isfinite_test): Likewise.
4353 (isgreater_test): Likewise.
4354 (isgreaterequal_test): Likewise.
4355 (isinf_test): Likewise.
4356 (isless_test): Likewise.
4357 (islessequal_test): Likewise.
4358 (islessgreater_test): Likewise.
4359 (isnan_test): Likewise.
4360 (isnormal_test): Likewise.
4361 (issignaling_test): Likewise.
4362 (isunordered_test): Likewise.
4363 (j0_test): Likewise.
4364 (j1_test): Likewise.
4365 (jn_test): Likewise.
4366 (ldexp_test): Likewise.
4367 (lgamma_test): Likewise.
4368 (lrint_test): Likewise.
4369 (lrint_test_tonearest): Likewise.
4370 (lrint_test_towardzero): Likewise.
4371 (lrint_test_downward): Likewise.
4372 (lrint_test_upward): Likewise.
4373 (llrint_test): Likewise.
4374 (llrint_test_tonearest): Likewise.
4375 (llrint_test_towardzero): Likewise.
4376 (llrint_test_downward): Likewise.
4377 (llrint_test_upward): Likewise.
4378 (log_test): Likewise.
4379 (log10_test): Likewise.
4380 (log1p_test): Likewise.
4381 (log2_test): Likewise.
4382 (logb_test): Likewise.
4383 (logb_test_downward): Likewise.
4384 (lround_test): Likewise.
4385 (llround_test): Likewise.
4386 (modf_test): Likewise.
4387 (nearbyint_test): Likewise.
4388 (nextafter_test): Likewise.
4389 (nexttoward_test): Likewise.
4390 (pow_test): Likewise.
4391 (pow_test_tonearest): Likewise.
4392 (pow_test_towardzero): Likewise.
4393 (pow_test_downward): Likewise.
4394 (pow_test_upward): Likewise.
4395 (remainder_test): Likewise.
4396 (remainder_test_tonearest): Likewise.
4397 (remainder_test_towardzero): Likewise.
4398 (remainder_test_downward): Likewise.
4399 (remainder_test_upward): Likewise.
4400 (remquo_test): Likewise.
4401 (rint_test): Likewise.
4402 (rint_test_tonearest): Likewise.
4403 (rint_test_towardzero): Likewise.
4404 (rint_test_downward): Likewise.
4405 (rint_test_upward): Likewise.
4406 (round_test): Likewise.
4407 (scalb_test): Likewise.
4408 (scalbn_test): Likewise.
4409 (scalbln_test): Likewise.
4410 (signbit_test): Likewise.
4411 (sin_test): Likewise.
4412 (sin_test_tonearest): Likewise.
4413 (sin_test_towardzero): Likewise.
4414 (sin_test_downward): Likewise.
4415 (sin_test_upward): Likewise.
4416 (sincos_test): Likewise.
4417 (sinh_test): Likewise.
4418 (sinh_test_tonearest): Likewise.
4419 (sinh_test_towardzero): Likewise.
4420 (sinh_test_downward): Likewise.
4421 (sinh_test_upward): Likewise.
4422 (sqrt_test): Likewise.
4423 (tan_test): Likewise.
4424 (tan_test_tonearest): Likewise.
4425 (tan_test_towardzero): Likewise.
4426 (tan_test_downward): Likewise.
4427 (tan_test_upward): Likewise.
4428 (tanh_test): Likewise.
4429 (tgamma_test): Likewise.
4430 (trunc_test): Likewise.
4431 (y0_test): Likewise.
4432 (y1_test): Likewise.
4433 (yn_test): Likewise.
4434 (significand_test): Likewise.
4436 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4439 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4441 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4444 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4445 __ppc_mdoio and __ppc_mdoom.
4446 * manual/platform.texi: Document new functions __ppc_yield,
4447 __ppc_mdoio and __ppc_mdoom.
4449 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4451 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4452 (main): Mention "tls" pseudo-hwcap is legacy.
4453 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4455 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4457 * math/gen-libm-test.pl (parse_args): Output only string of
4458 arguments as text for test name, not full call or descriptions of
4459 tests for extra outputs.
4460 (generate_testfile): Do not pass function name to parse_args.
4461 Generate this_func variable from START.
4462 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4464 (struct test_ff_f_data): Likewise.
4465 (test_ff_f_data_nexttoward): Likewise.
4466 (struct test_fi_f_data): Likewise.
4467 (struct test_fl_f_data): Likewise.
4468 (struct test_if_f_data): Likewise.
4469 (struct test_fff_f_data): Likewise.
4470 (struct test_c_f_data): Likewise.
4471 (struct test_f_f1_data): Likewise. Remove field extra_name.
4472 (struct test_fF_f1_data): Likewise.
4473 (struct test_ffI_f1_data): Likewise.
4474 (struct test_c_c_data): Rename test_name field to arg_str.
4475 (struct test_cc_c_data): Likewise.
4476 (struct test_f_i_data): Likewise.
4477 (struct test_ff_i_data): Likewise.
4478 (struct test_f_l_data): Likewise.
4479 (struct test_f_L_data): Likewise.
4480 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4482 (COMMON_TEST_SETUP): New macro.
4483 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4484 (COMMON_TEST_CLEANUP): Likewise.
4485 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4486 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4488 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4489 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4491 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4492 (RUN_TEST_fff_f): Take argument string. Call new setup and
4494 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4495 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4497 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4498 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4500 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4501 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4503 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4504 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4506 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4507 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4509 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4510 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4512 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4513 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4515 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4516 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4518 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4519 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4521 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4522 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4524 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4525 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4527 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4528 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4530 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4531 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4533 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4534 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4536 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4537 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4539 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4541 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4543 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4544 to _sifields.sigfault.
4545 (si_addr_lsb): Define new macro.
4546 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4547 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4548 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4550 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4553 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4555 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4557 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4560 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4562 * math/gen-libm-test.pl (parse_args): Do not include expected
4563 result in test name.
4564 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4566 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4567 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4568 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4571 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4573 * benchtests/Makefile: Sort function entries.
4575 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4576 tanh, asinh, acosh, atanh.
4577 * benchtests/acos-inputs: New file.
4578 * benchtests/acosh-inputs: New file.
4579 * benchtests/asin-inputs: New file.
4580 * benchtests/asinh-inputs: New file.
4581 * benchtests/atanh-inputs: New file.
4582 * benchtests/cosh-inputs: New file.
4583 * benchtests/log-inputs: New file.
4584 * benchtests/sinh-inputs: New file.
4585 * benchtests/tanh-inputs: New file.
4587 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4590 * posix/tst-getaddrinfo4.c: New test.
4591 * posix/Makefile (tests): Add it.
4593 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4596 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4597 when no services were used.
4598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4599 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4601 2013-05-21 Andreas Schwab <schwab@suse.de>
4604 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4605 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4607 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4608 redundant variable declarations and reallocation of buffer when
4609 parsing as IPv6 address. Always set NSS status when called from
4610 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4611 buffer too small. Correct computation of needed size.
4612 * nss/Makefile (tests): Add test-digits-dots.
4613 * nss/test-digits-dots.c: New test.
4615 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4617 * benchtests/Makefile: Remove instructions for adding
4619 * benchtests/README: New file to explain how to execute and
4620 enhance the benchmark tests.
4622 2013-05-21 Andreas Schwab <schwab@suse.de>
4625 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4626 * setjmp/tst-sigsetjmp.c: New test.
4628 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4630 * sysdeps/x86_64/memset.S (memset): New implementation.
4631 (__bzero): Likewise.
4632 (__memset_tail): New function.
4634 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4636 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4637 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4638 __memcpy_sse2_unaligned ifunc selection.
4639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4640 Add memcpy-sse2-unaligned.S.
4641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4642 Add: __memcpy_sse2_unaligned.
4644 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4648 math_force_eval before restoring floating-point envrionment.
4649 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4652 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4654 (__nearbyintl): Use math_force_eval before restoring
4655 floating-point environment.
4656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4658 * math/gen-libm-test.pl (special_functions): Remove.
4659 (parse_args): Don't handle TEST_extra. Handle functions with no
4661 * math/libm-test.inc (struct test_sincos_data): Replace with
4662 struct test_fFF_11_data.
4663 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4664 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4665 (sincos_test_data): Change element type to struct
4666 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4667 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4668 RUN_TEST_LOOP_sincos.
4669 * math/README.libm-test: Don't mention special handling of
4670 individual functions.
4671 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4672 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4673 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4674 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4675 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678 * math/gen-libm-test.pl (get_variable): Remove function.
4679 (parse_args): Don't show pointer parameters to call in test
4680 names. Use "extra output N" in test names for extra outputs
4681 rather than naming variables.
4683 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4686 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4687 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4688 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4690 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4692 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4695 * math/gen-libm-test.pl (@tests): Remove variable.
4697 (new_test): Remove function.
4698 (show_exceptions): New function.
4699 (special_functions): Use show_exceptions instead of new_test.
4700 (parse_args): Likewise.
4701 (generate_testfile): Pass only function name in generated call to
4702 print_max_error or print_complex_max_error.
4703 (get_ulps): Do not handle complex tests specially.
4704 (output_test): Rename to ...
4705 (get_all_ulps_for_test): ... this. Return a string rather than
4706 printing to a file. Require ulps to be present.
4707 (output_ulps): Generate arrays rather than #defines.
4708 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4709 (struct ulp_data): New type.
4710 (BUILD_COMPLEX_ULP): Remove macro.
4711 (compare_ulp_data): New function.
4712 (find_ulps): Likewise.
4713 (find_test_ulps): Likewise.
4714 (find_function_ulps): Likewise.
4715 (find_complex_function_ulps): Likewise.
4716 (print_max_error): Determine allowed ulps using
4718 (print_complex_max_error): Determine allowed ulps using
4719 find_complex_function_ulps.
4720 (check_float_internal): Determine max ulps using find_test_ulps.
4721 (check_float): Do not take max_ulp parameter. Update call to
4722 check_float_internal.
4723 (check_complex): Likewise.
4724 (check_int): Do not take max_ulp parameter.
4725 (check_long): Likewise.
4726 (check_bool): Likewise.
4727 (check_longlong): Likewise.
4728 (struct test_f_f_data): Remove max_ulp field.
4729 (struct test_ff_f_data): Likewise.
4730 (struct test_ff_f_data_nexttoward): Likewise.
4731 (struct test_fi_f_data): Likewise.
4732 (struct test_fl_f_data): Likewise.
4733 (struct test_if_f_data): Likewise.
4734 (struct test_fff_f_data): Likewise.
4735 (struct test_c_f_data): Likewise.
4736 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4737 (struct test_fF_f1_data): Likewise.
4738 (struct test_ffI_f1_data): Likewise.
4739 (struct test_c_c_data): Remove max_ulp field.
4740 (struct test_cc_c_data): Likewise.
4741 (struct test_f_i_data): Likewise.
4742 (struct test_ff_i_data): Likewise.
4743 (struct test_f_l_data): Likewise.
4744 (struct test_f_L_data): Likewise.
4745 (struct test_sincos_data): Likewise.
4746 (RUN_TEST_f_f): Do not handle ulps.
4747 (RUN_TEST_LOOP_f_f): Likewise.
4748 (RUN_TEST_2_f): Likewise.
4749 (RUN_TEST_LOOP_2_f): Likewise.
4750 (RUN_TEST_fff_f): Likewise.
4751 (RUN_TEST_LOOP_fff_f): Likewise.
4752 (RUN_TEST_c_f): Likewise.
4753 (RUN_TEST_LOOP_c_f): Likewise.
4754 (RUN_TEST_f_f1): Likewise.
4755 (RUN_TEST_LOOP_f_f1): Likewise.
4756 (RUN_TEST_fF_f1): Likewise.
4757 (RUN_TEST_LOOP_fF_f1): Likewise.
4758 (RUN_TEST_fI_f1): Likewise.
4759 (RUN_TEST_LOOP_fI_f1): Likewise.
4760 (RUN_TEST_ffI_f1): Likewise.
4761 (RUN_TEST_LOOP_ffI_f1): Likewise.
4762 (RUN_TEST_c_c): Likewise.
4763 (RUN_TEST_LOOP_c_c): Likewise.
4764 (RUN_TEST_cc_c): Likewise.
4765 (RUN_TEST_LOOP_cc_c): Likewise.
4766 (RUN_TEST_f_i): Likewise.
4767 (RUN_TEST_LOOP_f_i): Likewise.
4768 (RUN_TEST_f_i_tg): Likewise.
4769 (RUN_TEST_LOOP_f_i_tg): Likewise.
4770 (RUN_TEST_ff_i_tg): Likewise.
4771 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4772 (RUN_TEST_f_b): Likewise.
4773 (RUN_TEST_LOOP_f_b): Likewise.
4774 (RUN_TEST_f_b_tg): Likewise.
4775 (RUN_TEST_LOOP_f_b_tg): Likewise.
4776 (RUN_TEST_f_l): Likewise.
4777 (RUN_TEST_LOOP_f_l): Likewise.
4778 (RUN_TEST_f_L): Likewise.
4779 (RUN_TEST_LOOP_f_L): Likewise.
4780 (RUN_TEST_sincos): Likewise.
4781 (RUN_TEST_LOOP_sincos): Likewise.
4783 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4787 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4788 main case of finite arguments, set rounding mode to FE_TONEAREST
4789 and discard exceptions.
4790 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4792 (remainder_tonearest_test_data): New variable.
4793 (remainder_test_tonearest): New function.
4794 (remainder_towardzero_test_data): New variable.
4795 (remainder_test_towardzero): New function.
4796 (remainder_downward_test_data): New variable.
4797 (remainder_test_downward): New function.
4798 (remainder_upward_test_data): New variable.
4799 (remainder_test_upward): New function.
4800 (main): Call the new test functions.
4802 * math/libm-test.inc (struct test_f_f1_data): Remove field
4804 (struct test_fF_f1_data): Likewise.
4805 (struct test_ffI_f1_data): Likewise.
4806 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4807 based on value of EXTRA_EXPECTED.
4808 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4809 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4810 EXTRA_VAR based on value of EXTRA_EXPECTED.
4811 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4812 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4813 EXTRA_VAR based on value of EXTRA_EXPECTED.
4814 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4815 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4816 EXTRA_VAR based on value of EXTRA_EXPECTED.
4817 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4818 * math/gen-libm-test.pl (parse_args): Don't output initializers
4819 for extra output values.
4821 * math/libm-test.inc (check_int): Expect result to be exactly
4822 equal to expected value and do not handle ulps.
4823 (check_long): Likewise.
4824 (check_longlong): Likewise.
4826 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4828 (cimag_test_data): Likewise.
4829 (conj_test_data): Likewise.
4830 (copysign_test_data): Likewise.
4831 (cproj_test_data): Likewise.
4832 (creal_test_data): Likewise.
4833 (fabs_test_data): Likewise.
4834 (fdim_test_data): Likewise.
4835 (finite_test_data): Likewise.
4836 (floor_test_data): Likewise.
4837 (fmax_test_data): Likewise.
4838 (fmin_test_data): Likewise.
4839 (fmod_test_data): Likewise.
4840 (fpclassify_test_data): Likewise.
4841 (frexp_test_data): Likewise.
4842 (ilogb_test_data): Likewise.
4843 (isfinite_test_data): Likewise.
4844 (isgreater_test_data): Likewise.
4845 (isgreaterequal_test_data): Likewise.
4846 (isinf_test_data): Likewise.
4847 (isless_test_data): Likewise.
4848 (islessequal_test_data): Likewise.
4849 (islessgreater_test_data): Likewise.
4850 (isnan_test_data): Likewise.
4851 (isnormal_test_data): Likewise.
4852 (issignaling_test_data): Likewise.
4853 (isunordered_test_data): Likewise.
4854 (ldexp_test_data): Likewise.
4855 (lrint_test_data): Likewise.
4856 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4857 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4858 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4859 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4860 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4861 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4863 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4864 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4865 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4866 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4868 (lrint_downward_test_data): Test for "inexact" exceptions.
4869 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4870 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4871 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4873 (lrint_upward_test_data): Test for "inexact" exceptions.
4874 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4876 (llrint_test_data): Test for "inexact" exceptions.
4877 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4878 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4879 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4880 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4881 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4882 (llrint_downward_test_data): Test for "inexact" exceptions.
4883 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4884 (llrint_upward_test_data): Test for "inexact" exceptions.
4885 (logb_test_data): Likewise.
4886 (logb_downward_test_data): Likewise.
4887 (nextafter_test_data): Likewise.
4888 (nexttoward_test_data): Likewise.
4889 (remainder_test_data): Likewise.
4890 (remquo_test_data): Likewise.
4891 (scalbn_test_data): Likewise.
4892 (scalbln_test_data): Likewise.
4893 (signbit_test_data): Likewise.
4894 (sqrt_test_data): Likewise.
4895 (significand_test_data): Likewise.
4897 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 * benchtests/bench-modf.c (struct args): Mark arg0 as
4902 * scripts/bench.pl: Mark members of struct args as volatile.
4904 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4908 negative infinity on POWER6 or lower.
4909 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4911 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4914 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4915 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4916 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4917 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4918 (_FP_SETQNAN): New macro.
4919 (_FP_SETQNAN_SEMIRAW): Likewise.
4920 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4921 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4922 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4923 (FP_EXTEND): Use _FP_FRAC_SNANP.
4924 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4925 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4927 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4929 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4932 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4934 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4935 with DIVIDE_BY_ZERO_EXCEPTION.
4936 (gamma_test_data): Likewise.
4937 (lgamma_test_data): Likewise.
4938 (log_test_data): Likewise.
4939 (log10_test_data): Likewise.
4940 (log2_test_data): Likewise.
4941 (tgamma_test_data): Likewise.
4943 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4944 (acos_test_tonearest): Likewise.
4945 (acos_test_towardzero): Likewise.
4946 (acos_test_downward): Likewise.
4947 (acos_test_upward): Likewise.
4948 (acosh_test): Likewise.
4949 (asin_test): Likewise.
4950 (asin_test_tonearest): Likewise.
4951 (asin_test_towardzero): Likewise.
4952 (asin_test_downward): Likewise.
4953 (asin_test_upward): Likewise.
4954 (asinh_test): Likewise.
4955 (atan_test): Likewise.
4956 (atanh_test): Likewise.
4957 (atan2_test): Likewise.
4958 (cabs_test): Likewise.
4959 (cacos_test): Likewise.
4960 (cacosh_test): Likewise.
4961 (casin_test): Likewise.
4962 (casinh_test): Likewise.
4963 (catan_test): Likewise.
4964 (catanh_test): Likewise.
4965 (cbrt_test): Likewise.
4966 (ccos_test): Likewise.
4967 (ccosh_test): Likewise.
4968 (cexp_test): Likewise.
4969 (clog_test): Likewise.
4970 (clog10_test): Likewise.
4971 (cos_test): Likewise.
4972 (cos_test_tonearest): Likewise.
4973 (cos_test_towardzero): Likewise.
4974 (cos_test_downward): Likewise.
4975 (cos_test_upward): Likewise.
4976 (cosh_test): Likewise.
4977 (cosh_test_tonearest): Likewise.
4978 (cosh_test_towardzero): Likewise.
4979 (cosh_test_downward): Likewise.
4980 (cosh_test_upward): Likewise.
4981 (cpow_test): Likewise.
4982 (csin_test): Likewise.
4983 (csinh_test): Likewise.
4984 (csqrt_test): Likewise.
4985 (ctan_test): Likewise.
4986 (ctan_test_tonearest): Likewise.
4987 (ctan_test_towardzero): Likewise.
4988 (ctan_test_downward): Likewise.
4989 (ctan_test_upward): Likewise.
4990 (ctanh_test): Likewise.
4991 (ctanh_test_tonearest): Likewise.
4992 (ctanh_test_towardzero): Likewise.
4993 (ctanh_test_downward): Likewise.
4994 (ctanh_test_upward): Likewise.
4995 (erf_test): Likewise.
4996 (erfc_test): Likewise.
4997 (exp_test): Likewise.
4998 (exp_test_tonearest): Likewise.
4999 (exp_test_towardzero): Likewise.
5000 (exp_test_downward): Likewise.
5001 (exp_test_upward): Likewise.
5002 (exp10_test): Likewise.
5003 (exp2_test): Likewise.
5004 (expm1_test): Likewise.
5005 (fmod_test): Likewise.
5006 (gamma_test): Likewise.
5007 (hypot_test): Likewise.
5008 (j0_test): Likewise.
5009 (j1_test): Likewise.
5010 (jn_test): Likewise.
5011 (lgamma_test): Likewise.
5012 (log_test): Likewise.
5013 (log10_test): Likewise.
5014 (log1p_test): Likewise.
5015 (log2_test): Likewise.
5016 (logb_test_downward): Likewise.
5017 (pow_test): Likewise.
5018 (pow_test_tonearest): Likewise.
5019 (pow_test_towardzero): Likewise.
5020 (pow_test_downward): Likewise.
5021 (pow_test_upward): Likewise.
5022 (remainder_test): Likewise.
5023 (remquo_test): Likewise.
5024 (sin_test): Likewise.
5025 (sin_test_tonearest): Likewise.
5026 (sin_test_towardzero): Likewise.
5027 (sin_test_downward): Likewise.
5028 (sin_test_upward): Likewise.
5029 (sincos_test): Likewise.
5030 (sinh_test): Likewise.
5031 (sinh_test_tonearest): Likewise.
5032 (sinh_test_towardzero): Likewise.
5033 (sinh_test_downward): Likewise.
5034 (sinh_test_upward): Likewise.
5035 (sqrt_test): Likewise.
5036 (tan_test): Likewise.
5037 (tan_test_tonearest): Likewise.
5038 (tan_test_towardzero): Likewise.
5039 (tan_test_downward): Likewise.
5040 (tan_test_upward): Likewise.
5041 (tanh_test): Likewise.
5042 (tgamma_test): Likewise.
5043 (y0_test): Likewise.
5044 (y1_test): Likewise.
5045 (yn_test): Likewise.
5047 * math/gen-libm-test.pl (adjust_arg): Remove function.
5048 (special_function): Remove argument $in_func. Only handle
5049 generating output for tables of tests, not inside functions.
5050 (parse_args): Likewise.
5051 (generate_testfile): Remove variable $in_func. Update call to
5053 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5054 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5055 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5056 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5057 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5058 (MAX_VALUE_INIT): Rename macro to max_value.
5059 (MIN_VALUE_INIT): Rename macro to min_value.
5060 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5061 (plus_zero): Remove variable.
5062 (minus_zero): Likewise.
5063 (plus_infty): Likewise.
5064 (minus_infty): Likewise.
5065 (qnan_value): Likewise.
5066 (max_value): Likewise.
5067 (min_value): Likewise.
5068 (min_subnorm_value): Likewise.
5070 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5072 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5073 uint64_t or uint32_t usage.
5074 * crypt/sha256-block.c: Likewise.
5075 * crypt/sha256-crypt.c: Likewise.
5076 * crypt/sha256.c: Likewise.
5077 * crypt/sha512-block.c: Likewise.
5078 * crypt/sha512-crypt.c: Likewise.
5079 * crypt/sha512.c: Likewise.
5080 * debug/backtrace-tst.c: Likewise.
5081 * debug/pcprofiledump.c: Likewise.
5082 * elf/cache.c: Likewise.
5083 * elf/dl-cache.c: Likewise.
5084 * elf/dl-misc.c: Likewise.
5085 * elf/dl-profile.c: Likewise.
5086 * elf/dl-support.c: Likewise.
5087 * elf/ldconfig.c: Likewise.
5088 * elf/sprof.c: Likewise.
5089 * iconv/dummy-repertoire.c: Likewise.
5090 * iconv/iconv_charmap.c: Likewise.
5091 * iconv/skeleton.c: Likewise.
5092 * iconvdata/8bit-generic.c: Likewise.
5093 * iconvdata/cp737.h: Likewise.
5094 * iconvdata/cp775.h: Likewise.
5095 * iconvdata/ibm1008.h: Likewise.
5096 * iconvdata/ibm1025.h: Likewise.
5097 * iconvdata/ibm1046.h: Likewise.
5098 * iconvdata/ibm1097.h: Likewise.
5099 * iconvdata/ibm1112.h: Likewise.
5100 * iconvdata/ibm1122.h: Likewise.
5101 * iconvdata/ibm1123.h: Likewise.
5102 * iconvdata/ibm1124.h: Likewise.
5103 * iconvdata/ibm1129.h: Likewise.
5104 * iconvdata/ibm1130.h: Likewise.
5105 * iconvdata/ibm1132.h: Likewise.
5106 * iconvdata/ibm1133.h: Likewise.
5107 * iconvdata/ibm1137.h: Likewise.
5108 * iconvdata/ibm1140.h: Likewise.
5109 * iconvdata/ibm1141.h: Likewise.
5110 * iconvdata/ibm1142.h: Likewise.
5111 * iconvdata/ibm1143.h: Likewise.
5112 * iconvdata/ibm1144.h: Likewise.
5113 * iconvdata/ibm1145.h: Likewise.
5114 * iconvdata/ibm1146.h: Likewise.
5115 * iconvdata/ibm1147.h: Likewise.
5116 * iconvdata/ibm1148.h: Likewise.
5117 * iconvdata/ibm1149.h: Likewise.
5118 * iconvdata/ibm1153.h: Likewise.
5119 * iconvdata/ibm1154.h: Likewise.
5120 * iconvdata/ibm1155.h: Likewise.
5121 * iconvdata/ibm1156.h: Likewise.
5122 * iconvdata/ibm1157.h: Likewise.
5123 * iconvdata/ibm1158.h: Likewise.
5124 * iconvdata/ibm1160.h: Likewise.
5125 * iconvdata/ibm1161.h: Likewise.
5126 * iconvdata/ibm1162.h: Likewise.
5127 * iconvdata/ibm1163.h: Likewise.
5128 * iconvdata/ibm1164.h: Likewise.
5129 * iconvdata/ibm1166.h: Likewise.
5130 * iconvdata/ibm1167.h: Likewise.
5131 * iconvdata/ibm12712.h: Likewise.
5132 * iconvdata/ibm1390.h: Likewise.
5133 * iconvdata/ibm1399.h: Likewise.
5134 * iconvdata/ibm16804.h: Likewise.
5135 * iconvdata/ibm4517.h: Likewise.
5136 * iconvdata/ibm4899.h: Likewise.
5137 * iconvdata/ibm4909.h: Likewise.
5138 * iconvdata/ibm4971.h: Likewise.
5139 * iconvdata/ibm5347.h: Likewise.
5140 * iconvdata/ibm803.h: Likewise.
5141 * iconvdata/ibm856.h: Likewise.
5142 * iconvdata/ibm901.h: Likewise.
5143 * iconvdata/ibm902.h: Likewise.
5144 * iconvdata/ibm9030.h: Likewise.
5145 * iconvdata/ibm9066.h: Likewise.
5146 * iconvdata/ibm921.h: Likewise.
5147 * iconvdata/ibm922.h: Likewise.
5148 * iconvdata/ibm9448.h: Likewise.
5149 * iconvdata/isiri-3342.h: Likewise.
5150 * iconvdata/jis0201.h: Likewise.
5151 * include/link.h: Likewise.
5152 * include/netdb.h: Likewise.
5153 * inet/check_native.c: Likewise.
5154 * inet/check_pf.c: Likewise.
5155 * inet/getipv4sourcefilter.c: Likewise.
5156 * inet/getnameinfo.c: Likewise.
5157 * inet/getsourcefilter.c: Likewise.
5158 * inet/htonl.c: Likewise.
5159 * inet/setipv4sourcefilter.c: Likewise.
5160 * inet/setsourcefilter.c: Likewise.
5161 * inet/test-inet6_opt.c: Likewise.
5162 * inet/tst-network.c: Likewise.
5163 * locale/C-collate.c: Likewise.
5164 * locale/C-ctype.c: Likewise.
5165 * locale/C-time.c: Likewise.
5166 * locale/C-translit.h: Likewise.
5167 * locale/loadarchive.c: Likewise.
5168 * locale/programs/3level.h: Likewise.
5169 * locale/programs/charmap.c: Likewise.
5170 * locale/programs/charmap.h: Likewise.
5171 * locale/programs/ld-address.c: Likewise.
5172 * locale/programs/ld-collate.c: Likewise.
5173 * locale/programs/ld-ctype.c: Likewise.
5174 * locale/programs/ld-identification.c: Likewise.
5175 * locale/programs/ld-measurement.c: Likewise.
5176 * locale/programs/ld-messages.c: Likewise.
5177 * locale/programs/ld-monetary.c: Likewise.
5178 * locale/programs/ld-name.c: Likewise.
5179 * locale/programs/ld-numeric.c: Likewise.
5180 * locale/programs/ld-paper.c: Likewise.
5181 * locale/programs/ld-telephone.c: Likewise.
5182 * locale/programs/ld-time.c: Likewise.
5183 * locale/programs/linereader.c: Likewise.
5184 * locale/programs/locale.c: Likewise.
5185 * locale/programs/locarchive.c: Likewise.
5186 * locale/programs/locfile.h: Likewise.
5187 * locale/programs/repertoire.c: Likewise.
5188 * locale/programs/simple-hash.c: Likewise.
5189 * locale/programs/simple-hash.h: Likewise.
5190 * malloc/memusage.c: Likewise.
5191 * malloc/memusagestat.c: Likewise.
5192 * nis/nis_defaults.c: Likewise.
5193 * nis/nis_hash.c: Likewise.
5194 * nis/nis_print.c: Likewise.
5195 * nis/nis_xdr.c: Likewise.
5196 * nscd/connections.c: Likewise.
5197 * nscd/hstcache.c: Likewise.
5198 * nscd/nscd_gethst_r.c: Likewise.
5199 * nscd/nscd_getserv_r.c: Likewise.
5200 * nscd/nscd_helper.c: Likewise.
5201 * nscd/servicescache.c: Likewise.
5202 * nss/makedb.c: Likewise.
5203 * nss/nss_db/db-XXX.c: Likewise.
5204 * nss/nss_db/db-initgroups.c: Likewise.
5205 * nss/nss_db/db-netgrp.c: Likewise.
5206 * nss/nss_files/files-network.c: Likewise.
5207 * nss/nss_files/files-parse.c: Likewise.
5208 * posix/bug-regex5.c: Likewise.
5209 * posix/fnmatch_loop.c: Likewise.
5210 * posix/regcomp.c: Likewise.
5211 * posix/regexec.c: Likewise.
5212 * posix/tst-rfc3484-2.c: Likewise.
5213 * posix/tst-rfc3484-3.c: Likewise.
5214 * posix/tst-rfc3484.c: Likewise.
5215 * resolv/nss_dns/dns-canon.c: Likewise.
5216 * resolv/nss_dns/dns-network.c: Likewise.
5217 * resolv/res_init.c: Likewise.
5218 * resolv/res_mkquery.c: Likewise.
5219 * resolv/tst-aton.c: Likewise.
5220 * stdlib/cxa_atexit.c: Likewise.
5221 * stdlib/cxa_finalize.c: Likewise.
5222 * stdlib/gen-fpioconst.c: Likewise.
5223 * stdlib/strtol_l.c: Likewise.
5224 * string/tst-endian.c: Likewise.
5225 * sunrpc/auth_des.c: Likewise.
5226 * sunrpc/clnt_udp.c: Likewise.
5227 * sunrpc/rtime.c: Likewise.
5228 * sunrpc/svcauth_des.c: Likewise.
5229 * sunrpc/xdr.c: Likewise.
5230 * sunrpc/xdr_intXX_t.c: Likewise.
5231 * sunrpc/xdr_rec.c: Likewise.
5232 * sysdeps/generic/ldconfig.h: Likewise.
5233 * sysdeps/generic/ldsodefs.h: Likewise.
5234 * sysdeps/generic/memusage.h: Likewise.
5235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5245 * sysdeps/posix/getaddrinfo.c: Likewise.
5246 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5248 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5249 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5250 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5251 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5252 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5253 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5254 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5255 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5256 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5257 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5258 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5259 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5260 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5261 * sysdeps/x86_64/dl-tls.h: Likewise.
5262 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5263 * time/alt_digit.c: Likewise.
5264 * time/era.c: Likewise.
5265 * wcsmbs/tst-c16c32-1.c: Likewise.
5267 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5269 * math/libm-test.inc (struct test_sincos_data): New type.
5270 (RUN_TEST_LOOP_sincos): New macro.
5271 (sincos_test_data): New variable.
5272 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5274 2013-05-16 Richard Henderson <rth@redhat.com>
5276 * math/atest-exp2.c (LIMB64): New macro.
5277 (CONSTSZ): New macro.
5278 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5280 (print_mpn_fp): ... to function scope.
5281 (read_mpn_hex): Remove.
5283 (exp2_mpn): Use mp_log2.
5284 (main): Use mp_exp1.
5286 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5288 * math/libm-test.inc: Remove comment about not testing "inexact"
5290 (INEXACT_EXCEPTION): New macro.
5291 (NO_INEXACT_EXCEPTION): Likewise.
5292 (INVALID_EXCEPTION_OK): Update value.
5293 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5294 (OVERFLOW_EXCEPTION_OK): Likewise.
5295 (UNDERFLOW_EXCEPTION_OK): Likewise.
5296 (IGNORE_ZERO_INF_SIGN): Likewise.
5297 (ERRNO_UNCHANGED): Likewise.
5298 (ERRNO_EDOM): Likewise.
5299 (ERRNO_ERANGE): Likewise.
5300 (test_exceptions): Handle testing "inexact" exceptions.
5301 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5302 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5303 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5304 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5306 (rint_towardzero_test_data): Likewise.
5307 (rint_downward_test_data): Likewise.
5308 (rint_upward_test_data): Likewise.
5310 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5311 with OVERFLOW_EXCEPTION.
5312 (exp10_test_data): Likewise.
5313 (exp2_test_data): Likewise.
5314 (expm1_test_data): Likewise.
5315 (lgamma_test_data): Likewise.
5316 (pow_test_data): Likewise.
5317 (tgamma_test_data): Likewise.
5318 (yn_test_data): Remove duplicate test of overflow.
5320 * math/libm-test.inc (struct test_cc_c_data): New type.
5321 (RUN_TEST_LOOP_cc_c): New macro.
5322 (cpow_test_data): New variable.
5323 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5325 * math/libm-test.inc (struct test_f_L_data): New type.
5326 (RUN_TEST_LOOP_f_L): New macro.
5327 (llrint_test_data): New variable.
5328 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5329 (llrint_tonearest_test_data): New variable.
5330 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5331 (llrint_towardzero_test_data): New variable.
5332 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5333 (llrint_downward_test_data): New variable.
5334 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5335 (llrint_upward_test_data): New variable.
5336 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5337 (llround_test_data): New variable.
5338 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5340 2013-05-13 Peter Collingbourne <pcc@google.com>
5342 * math/atest-exp2.c (get_log2): Remove const attribute.
5344 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5346 * math/libm-test.inc (struct test_f_l_data): New type.
5347 (RUN_TEST_LOOP_f_l): New macro.
5348 (lrint_test_data): New variable.
5349 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5350 (lrint_tonearest_test_data): New variable.
5351 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5352 (lrint_towardzero_test_data): New variable.
5353 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5354 (lrint_downward_test_data): New variable.
5355 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5356 (lrint_upward_test_data): New variable.
5357 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5358 (lround_test_data): New variable.
5359 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5361 2013-05-15 Peter Collingbourne <pcc@google.com>
5363 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5364 (EXTRACT_WORDS64) Use where appropriate.
5365 (INSERT_WORDS64) Likewise.
5367 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5368 constraints with x constraints.
5369 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5371 * malloc/obstack.c (_obstack_compat): Add initializer.
5373 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5376 si_trapno and add si_addr_lsb to _sifields.sigfault.
5377 (si_trapno): Remove macro.
5378 (si_addr_lsb): Define new macro.
5379 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5381 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5383 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5384 instead of TEST_f_l.
5385 (llrint_test_tonearest): Likewise.
5386 (llrint_test_towardzero): Likewise.
5387 (llrint_test_downward): Likewise.
5388 (llrint_test_upward): Likewise.
5389 (llround_test): Likewise.
5391 * math/libm-test.inc (struct test_f_i_data): Add comment.
5392 (RUN_TEST_LOOP_f_b): New macro.
5393 (RUN_TEST_LOOP_f_b_tg): Likewise.
5394 (finite_test_data): New variable.
5395 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5396 (isfinite_test_data): New variable.
5397 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5398 (isinf_test_data): New variable.
5399 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5400 (isnan_test_data): New variable.
5401 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5402 (isnormal_test_data): New variable.
5403 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5404 (issignaling_test_data): New variable.
5405 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5406 (signbit_test_data): New variable.
5407 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5409 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5410 with INVALID_EXCEPTION.
5411 (acosh_test_data): Likewise.
5412 (asin_test_data): Likewise.
5413 (atanh_test_data): Likewise.
5414 (fmod_test_data): Likewise.
5415 (log_test_data): Likewise.
5416 (log10_test_data): Likewise.
5417 (log2_test_data): Likewise.
5418 (pow_test_data): Likewise.
5419 (sqrt_test_data): Likewise.
5420 (y0_test_data): Likewise.
5421 (y1_test_data): Likewise.
5422 (yn_test_data): Likewise.
5424 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5427 * math/libm-test.inc (struct test_ff_i_data): New type.
5428 (RUN_TEST_LOOP_ff_i_tg): New macro.
5429 (isgreater_test_data): New variable.
5430 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5431 (isgreaterequal_test_data): New variable.
5432 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5433 (isless_test_data): New variable.
5434 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5435 (islessequal_test_data): New variable.
5436 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5437 (islessgreater_test_data): New variable.
5438 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5439 (isunordered_test_data): New variable.
5440 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5442 2013-05-14 David S. Miller <davem@davemloft.net>
5444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5446 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5448 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5450 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5452 (struct test_f_i_data): Change type of max_ulp to int.
5454 * math/libm-test.inc (test_ffI_f1_data): New type.
5455 (RUN_TEST_LOOP_ffI_f1): New macro.
5456 (remquo_test_data): New variable.
5457 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5459 * setjmp/tst-setjmp-fp.c: New file.
5460 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5461 (link-libm): New variable.
5462 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5464 * math/libm-test.inc (struct test_f_i_data): New type.
5465 (RUN_TEST_LOOP_f_i): New macro.
5466 (RUN_TEST_LOOP_f_i_tg): Likewise.
5467 (fpclassify_test_data): New variable.
5468 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5469 (ilogb_test_data): New variable.
5470 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5472 * math/libm-test.inc (scalbln_test): Correct function name in END
5475 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5476 (RUN_TEST_LOOP_fI_f1): New macro.
5477 (frexp_test_data): New variable.
5478 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5480 * math/libm-test.inc (struct test_fF_f1_data): New type.
5481 (RUN_TEST_LOOP_fF_f1): New macro.
5482 (modf_test_data): New variable.
5483 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5485 * math/libm-test.inc (struct test_f_f1_data): New type.
5486 (RUN_TEST_LOOP_f_f1): New macro.
5487 (gamma_test_data): New variable.
5488 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5489 (lgamma_test_data): New variable.
5490 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5492 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5494 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5495 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5496 (main): Comment "tls" pseudo-hwcap.
5498 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5500 * math/libm-test.inc (struct test_fl_f_data): New type.
5501 (RUN_TEST_LOOP_fl_f): New variable.
5502 (scalbln_test_data): New variable.
5503 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5505 * math/libm-test.inc (struct test_fi_f_data): New type.
5506 (RUN_TEST_LOOP_fi_f): New macro.
5507 (ldexp_test_data): New variable.
5508 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5509 (scalbn_test_data): New variable.
5510 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5512 * math/libm-test.inc (struct test_c_f_data): New type.
5513 (RUN_TEST_LOOP_c_f): New macro.
5514 (cabs_test_data): New variable.
5515 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5516 (carg_test_data): New variable.
5517 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5518 (cimag_test_data): New variable.
5519 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5520 (creal_test_data): New variable.
5521 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5523 * math/libm-test.inc (struct test_if_f_data): New type.
5524 (RUN_TEST_LOOP_if_f): New macro.
5525 (jn_test_data): New variable.
5526 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5527 (yn_test_data): New variable.
5528 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5530 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5532 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5534 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5535 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5537 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5539 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5540 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5541 (bench-deps): Add bench-timing.h.
5542 * benchtests-bench-skeleton.c: Include bench-timing.h.
5543 (main): Use TIMING_* macros instead of clock_gettime.
5544 * benchtests/bench-timing.h: New file.
5547 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5548 Renamed from _LIB_VERSION.
5549 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5551 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5553 * math/libm-test.inc (struct test_fff_f_data): New type.
5554 (RUN_TEST_LOOP_fff_f): New macro.
5555 (fma_test_data): New variable.
5556 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5557 (fma_towardzero_test_data): New variable.
5558 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5559 (fma_downward_test_data): New variable.
5560 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5561 (fma_upward_test_data): New variable.
5562 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5564 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5565 (struct test_c_c_data): New type.
5566 (RUN_TEST_LOOP_c_c): New macro.
5567 (cacos_test_data): New variable.
5568 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5569 (cacosh_test_data): New variable.
5570 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5571 (casin_test_data): New variable.
5572 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5573 (casinh_test_data): New variable.
5574 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5575 (catan_test_data): New variable.
5576 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5577 (catanh_test_data): New variable.
5578 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5579 (ccos_test_data): New variable.
5580 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5581 (ccosh_test_data): New variable.
5582 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5583 (cexp_test_data): New variable.
5584 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5585 (clog_test_data): New variable.
5586 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5587 (clog10_test_data): New variable.
5588 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5589 (conj_test_data): New variable.
5590 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5591 (cproj_test_data): New variable.
5592 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5593 (csin_test_data): New variable.
5594 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5595 (csinh_test_data): New variable.
5596 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5597 (csqrt_test_data): New variable.
5598 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5599 (ctan_test_data): New variable.
5600 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5601 (ctan_tonearest_test_data): New variable.
5602 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5603 (ctan_towardzero_test_data): New variable.
5604 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5605 (ctan_downward_test_data): New variable.
5606 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5607 (ctan_upward_test_data): New variable.
5608 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5609 (ctanh_test_data): New variable.
5610 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5611 (ctanh_tonearest_test_data): New variable.
5612 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5613 (ctanh_towardzero_test_data): New variable.
5614 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5615 (ctanh_downward_test_data): New variable.
5616 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5617 (ctanh_upward_test_data): New variable.
5618 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5619 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5622 * math/libm-test.inc (struct test_ff_f_data): New type.
5623 (struct test_ff_f_data_nexttoward): Likewise.
5624 (RUN_TEST_LOOP_2_f): New macro.
5625 (RUN_TEST_LOOP_ff_f): Likewise.
5626 (atan2_test_data): New variable.
5627 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5628 (copysign_test_data): New variable.
5629 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5630 (fdim_test_data): New variable.
5631 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5632 (fmax_test_data): New variable.
5633 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5634 (fmin_test_data): New variable.
5635 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5636 (fmod_test_data): New variable.
5637 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5638 (hypot_test_data): New variable.
5639 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5640 (nextafter_test_data): New variable.
5641 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5642 (nexttoward_test_data): New variable.
5643 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5644 (pow_test_data): New variable.
5645 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5646 (pow_tonearest_test_data): New variable.
5647 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5648 (pow_towardzero_test_data): New variable.
5649 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5650 (pow_downward_test_data): New variable.
5651 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5652 (pow_upward_test_data): New variable.
5653 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5654 (remainder_test_data): New variable.
5655 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5656 (scalb_test_data): New variable.
5657 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5658 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5662 * math/libm-test.inc (fma_test): Use max_value instead of local
5664 (nextafter_test): Likewise.
5666 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5667 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5668 (acos_downward_test_data): New variable.
5669 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5670 (acos_upward_test_data): New variable.
5671 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5672 (acosh_test_data): New variable.
5673 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5674 (asin_test_data): New variable.
5675 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5676 (asin_tonearest_test_data): New variable.
5677 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5678 (asin_towardzero_test_data): New variable.
5679 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5680 (asin_downward_test_data): New variable.
5681 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5682 (asin_upward_test_data): New variable.
5683 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5684 (asinh_test_data): New variable.
5685 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5686 (atan_test_data): New variable.
5687 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5688 (atanh_test_data): New variable.
5689 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5690 (cbrt_test_data): New variable.
5691 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5692 (ceil_test_data): New variable.
5693 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5694 (cos_test_data): New variable.
5695 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5696 (cos_tonearest_test_data): New variable.
5697 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5698 (cos_towardzero_test_data): New variable.
5699 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5700 (cos_downward_test_data): New variable.
5701 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5702 (cos_upward_test_data): New variable.
5703 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5704 (cosh_test_data): New variable.
5705 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5706 (cosh_tonearest_test_data): New variable.
5707 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5708 (cosh_towardzero_test_data): New variable.
5709 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5710 (cosh_downward_test_data): New variable.
5711 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5712 (cosh_upward_test_data): New variable.
5713 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5714 (erf_test_data): New variable.
5715 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5716 (erfc_test_data): New variable.
5717 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5718 (exp_test_data): New variable.
5719 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5720 (exp_tonearest_test_data): New variable.
5721 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5722 (exp_towardzero_test_data): New variable.
5723 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5724 (exp_downward_test_data): New variable.
5725 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5726 (exp_upward_test_data): New variable.
5727 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5728 (exp10_test_data): New variable.
5729 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5730 (exp2_test_data): New variable.
5731 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5732 (expm1_test_data): New variable.
5733 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5734 (fabs_test_data): New variable.
5735 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5736 (floor_test_data): New variable.
5737 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5738 (j0_test_data): New variable.
5739 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5740 (j1_test_data): New variable.
5741 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5742 (log_test_data): New variable.
5743 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5744 (log10_test_data): New variable.
5745 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5746 (log1p_test_data): New variable.
5747 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5748 (log2_test_data): New variable.
5749 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5750 (logb_test_data): New variable.
5751 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5752 (logb_downward_test_data): New variable.
5753 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5754 (nearbyint_test_data): New variable.
5755 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5756 (rint_test_data): New variable.
5757 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5758 (rint_tonearest_test_data): New variable.
5759 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5760 (rint_towardzero_test_data): New variable.
5761 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5762 (rint_downward_test_data): New variable.
5763 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5764 (rint_upward_test_data): New variable.
5765 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5766 (round_test_data): New variable.
5767 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5768 (sin_test_data): New variable.
5769 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5770 (sin_tonearest_test_data): New variable.
5771 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5772 (sin_towardzero_test_data): New variable.
5773 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5774 (sin_downward_test_data): New variable.
5775 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5776 (sin_upward_test_data): New variable.
5777 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5778 (sinh_test_data): New variable.
5779 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5780 (sinh_tonearest_test_data): New variable.
5781 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5782 (sinh_towardzero_test_data): New variable.
5783 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5784 (sinh_downward_test_data): New variable.
5785 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5786 (sinh_upward_test_data): New variable.
5787 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5788 (sqrt_test_data): New variable.
5789 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5790 (tan_test_data): New variable.
5791 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5792 (tan_tonearest_test_data): New variable.
5793 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5794 (tan_towardzero_test_data): New variable.
5795 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5796 (tan_downward_test_data): New variable.
5797 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5798 (tan_upward_test_data): New variable.
5799 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5800 (tanh_test_data): New variable.
5801 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5802 (tgamma_test_data): New variable.
5803 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5804 (trunc_test_data): New variable.
5805 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5806 (y0_test_data): New variable.
5807 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5808 (y1_test_data): New variable.
5809 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5810 (significand_test_data): New variable.
5811 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5813 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5816 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5818 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5820 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5822 2013-05-10 Andreas Jaeger <aj@suse.de>
5825 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5826 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5828 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5830 * math/gen-libm-test.pl (adjust_arg): New function.
5831 (special_functions): Handle generating output in both functions
5833 (parse_args): Likewise.
5834 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5835 $in_func argument to parse_args.
5836 * math/libm-test.inc (struct test_f_f_data): New type.
5837 (IF_ROUND_INIT_): New macro.
5838 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5839 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5840 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5841 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5842 (ROUND_RESTORE_): Likewise.
5843 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5844 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5845 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5846 (ROUND_RESTORE_FE_UPWARD): Likewise.
5847 (RUN_TEST_LOOP_f_f): New macro.
5848 (acos_test_data): New variable.
5849 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5850 (acos_tonearest_test_data): New variable.
5851 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5853 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5855 * benchtests/bench-skeleton.c (startup): Fix coding style.
5857 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5860 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5861 negative infinity argument.
5862 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5863 negative infinity argument.
5864 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5865 negative infinity argument.
5866 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5869 2013-05-10 Florian Weimer <fweimer@redhat.com>
5871 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5872 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5873 * iconv/iconv_prog.c (main): Likewise.
5874 * locale/programs/charmap-dir.c (charmap_readdir)
5875 (fopen_uncompressed): Likewise.
5876 * locale/programs/locfile.c (siblings_uncached)
5877 (write_locale_data): Use lstat64 instead of lstat.
5878 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5881 2013-05-10 Andreas Jaeger <aj@suse.de>
5884 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5888 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5890 * elf/dl-close.c (_dl_close_worker): Add comments.
5892 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5897 (__ieee754_rem_pio2l): Update comments.
5900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5902 (__ieee754_rem_pio2l): Update comments.
5904 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5905 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5907 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5910 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5911 (M_PI_34_LOG10El): Likewise.
5912 (M_PI2_LOG10El): Likewise.
5913 (M_PI4_LOG10El): Likewise.
5914 (M_PI_LOG10El): Likewise.
5916 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5920 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5922 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5923 (MINUS_ZERO_INIT): Likewise.
5924 (PLUS_INFTY_INIT): Likewise.
5925 (MINUS_INFTY_INIT): Likewise.
5926 (QNAN_VALUE_INIT): Likewise.
5927 (MAX_VALUE_INIT): Likewise.
5928 (MIN_VALUE_INIT): Likewise.
5929 (MIN_SUBNORM_VALUE_INIT): Likewise.
5930 (plus_zero): Initialize with PLUS_ZERO_INIT.
5931 (minus_zero): Initialize with MINUS_ZERO_INIT.
5932 (plus_infty): Initialize with PLUS_INFTY_INIT.
5933 (minus_infty): Initialize with MINUS_INFTY_INIT.
5934 (qnan_value): Initialize with QNAN_VALUE_INIT.
5935 (max_value): Initialize with MAX_VALUE_INIT.
5936 (min_value): Initialize with MIN_VALUE_INIT.
5937 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5939 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5940 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5941 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5942 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5944 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5945 (RUN_TEST_2_f): Likewise.
5946 (RUN_TEST_ff_f): Likewise.
5947 (RUN_TEST_fi_f): Likewise.
5948 (RUN_TEST_fl_f): Likewise.
5949 (RUN_TEST_fff_f): Likewise.
5950 (RUN_TEST_c_f): Likewise.
5951 (RUN_TEST_f_f1): Likewise.
5952 (RUN_TEST_fF_f1): Likewise.
5953 (RUN_TEST_fI_f1): Likewise.
5954 (RUN_TEST_ffI_f1): Likewise.
5955 (RUN_TEST_c_c): Likewise.
5956 (RUN_TEST_cc_c): Likewise.
5957 (RUN_TEST_f_i): Likewise.
5958 (RUN_TEST_f_i_tg): Likewise.
5959 (RUN_TEST_ff_i_tg): Likewise.
5960 (RUN_TEST_f_b): Likewise.
5961 (RUN_TEST_f_b_tg): Likewise.
5962 (RUN_TEST_f_l): Likewise.
5963 (RUN_TEST_f_L): Likewise.
5964 (RUN_TEST_sincos): Likewise.
5965 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5966 whether to show exceptions. Do not include ");\n" in return
5968 (special_functions): Output call to RUN_TEST_sincos instead of
5969 check_float calls. Update calls to new_test.
5970 (parse_args): Output call to single RUN_TEST_* macro instead of
5971 check_* calls and other assignments. Update calls to new_test.
5977 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5978 input to result for tgamma overflow.
5979 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5980 (gamma_coeff): New variable.
5981 (NCOEFF): New macro.
5982 (gamma_positive): New function.
5983 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5984 underflow here. Use gamma_positive instead of exp (lgamma) for
5986 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5987 (gamma_coeff): New variable.
5988 (NCOEFF): New macro.
5989 (gammaf_positive): New function.
5990 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5991 underflow here. Use gamma_positive instead of exp (lgamma) for
5993 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5994 (gamma_coeff): New variable.
5995 (NCOEFF): New macro.
5996 (gammal_positive): New function.
5997 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5998 underflow here. Use gamma_positive instead of exp (lgamma) for
6000 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6001 (gamma_coeff): New variable.
6002 (NCOEFF): New macro.
6003 (gammal_positive): New function.
6004 (__ieee754_gammal_r): Handle positive infinity, overflow and
6005 underflow here. Handle NaN the same as positive infinity. Remove
6006 check x < 0xffffffff for negative integers. Use gamma_positive
6007 instead of exp (lgamma) for other arguments.
6008 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6009 (gamma_coeff): New variable.
6010 (NCOEFF): New macro.
6011 (gammal_positive): New function.
6012 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6013 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6016 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6017 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6018 * sysdeps/generic/math_private.h (__gamma_productf): New
6020 (__gamma_product): Likewise.
6021 (__gamma_productl): Likewise.
6022 * math/Makefile (libm-calls): Add gamma_product.
6023 * math/libm-test.inc (tgamma_test): Add more tests.
6024 * sysdeps/i386/fpu/libm-test-ulps: Update.
6025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6027 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6029 * benchtests/bench-skeleton.c (main): Preheat CPU.
6031 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6033 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6035 2013-05-07 Roland McGrath <roland@hack.frob.com>
6037 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6038 and _dl_skip_args_internal.
6040 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6042 * manual/message.texi (Message Translation): Talk about users.
6043 Message to key mapping impacts design.
6045 2013-05-06 Roland McGrath <roland@hack.frob.com>
6047 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6049 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6051 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6052 * sysdeps/wordsize-64/glob64.c: ... here.
6054 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6055 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6058 * debug/getlogin_r_chk.c: Moved to ...
6059 * login/getlogin_r_chk.c: ... here.
6060 * debug/Makefile (routines): Move getlogin_r_chk to ...
6061 * login/Makefile (routines): ... here.
6062 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6063 * login/Versions (libc: GLIBC_2.4): ... here.
6065 * io/poll.c (__poll): Renamed from poll.
6066 Add libc_hidden_def.
6067 (poll): Define as weak alias.
6069 * debug/ptsname_r_chk.c: Moved to ...
6070 * login/ptsname_r_chk.c: ... here.
6071 * debug/Makefile (routines): Move ptsname_r_chk to ...
6072 * login/Makefile (routines): ... here.
6073 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6074 * login/Versions (libc: GLIBC_2.4): ... here.
6076 * posix/getlogin.c: Moved to ...
6077 * login/getlogin.c: ... here.
6078 * posix/getlogin_r.c: Moved to ...
6079 * login/getlogin_r.c: ... here.
6080 * posix/getlogin_r.c: Moved to ...
6081 * login/getlogin_r.c: ... here.
6082 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6083 * login/Makefile (routines): ... here.
6084 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6085 * login/Versions (libc: GLIBC_2.0): ... here.
6087 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6088 (setrlimit): Define as weak alias.
6090 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6091 Call __ names for open, ftruncate, and close.
6092 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6093 (truncate): Define as weak alias.
6095 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6097 * math/gen-libm-test.pl (parse_args): Initialize x before each
6098 test of frexp, modf and remquo.
6100 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6103 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6109 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6111 2013-05-06 Roland McGrath <roland@hack.frob.com>
6113 * elf/dl-writev.h: New file.
6114 * elf/dl-misc.c: Include it.
6115 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6116 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6118 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6120 * math/libm-test.inc (noXFails): Remove variable.
6121 (noXPasses): Likewise.
6122 (BUILD_COMPLEX_INT): Remove macro.
6123 (print_screen): Remove xfail argument.
6124 (print_screen_max_error): Likewise.
6125 (update_stats): Likewise.
6126 (print_max_error): Likewise. Update calls to other affected
6128 (print_complex_max_error): Likewise.
6129 (test_single_exception): Update calls to print_screen.
6130 (test_single_errno): Likewise.
6131 (check_float_internal): Remove xfail argument. Update calls to
6132 other affected functions.
6133 (check_float): Likewise.
6134 (check_complex): Likewise.
6135 (check_int): Likewise.
6136 (check_long): Likewise.
6137 (check_bool): Likewise.
6138 (check_longlong): Likewise.
6139 (main): Don't print noXFails and noXPasses.
6140 * math/gen-libm-test.pl (top level): Don't mention expected
6141 failure handling in comment.
6142 (new_test): Don't handle expected failures.
6143 (parse_args): Don't mention expected failure handling in comment.
6144 (generate_testfile): Don't handle expected failures.
6145 (parse_ulps): Likewise.
6146 (print_ulps_file): Likewise.
6147 (get_failure): Remove function.
6148 (output_test): Don't handle expected failures.
6149 * make/README.libm-test: Don't mention expected failure handling.
6151 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6152 (minus_zero): Likewise.
6153 (plus_infty): Likewise.
6154 (minus_infty): Likewise.
6155 (qnan_value): Likewise.
6156 (max_value): Likewise.
6157 (min_value): Likewise.
6158 (min_subnorm_value): Likewise.
6159 (initialize): Do not initialize those variables dynamically.
6161 2013-05-03 Roland McGrath <roland@hack.frob.com>
6163 * io/open.c (__open_2): Moved to ...
6164 * io/open_2.c: ... this new file.
6165 * io/open64.c (__open64_2): Moved to ...
6166 * io/open64_2.c: ... this new file.
6167 * io/openat.c (__openat_2): Moved to ...
6168 * io/openat_2.c: ... this new file.
6169 * io/openat64.c (__openat64_2): Moved to ...
6170 * io/openat64_2.c: ... this new file.
6171 * io/Makefile (routines): Add them.
6172 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6173 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6174 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6175 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6176 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6177 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6178 (__openat64): Add hidden_ver.
6179 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6180 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6182 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6183 Separately conditionalize setting of GLRO(dl_sysinfo) so
6184 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6185 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6187 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6190 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6192 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6193 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6194 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6195 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6196 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6198 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6200 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6203 * math/libm-test.inc (hypot_test): Do not use
6204 IGNORE_ZERO_INF_SIGN.
6206 2013-05-03 Andreas Jaeger <aj@suse.de>
6208 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6210 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6211 (PF_MAX): Adjust for VSOCK change.
6213 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6217 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6220 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6221 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6222 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6224 2013-05-02 David S. Miller <davem@davemloft.net>
6226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6228 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6230 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6232 2013-05-01 Roland McGrath <roland@hack.frob.com>
6234 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6236 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6239 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6240 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6241 Use __attribute__ ((__gnu_inline__)).
6242 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6243 Don't use __attribute__ ((__gnu_inline__)).
6245 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6248 * math/s_catan.c (__catan): Handle small real or imaginary part of
6249 input specially to avoid spurious underflow.
6250 * math/s_catanf.c (__catanf): Likewise.
6251 * math/s_catanh.c (__catanh): Likewise.
6252 * math/s_catanhf.c (__catanhf): Likewise.
6253 * math/s_catanhl.c (__catanhl): Likewise.
6254 * math/s_catanl.c (__catanl): Likewise.
6255 * math/libm-test.inc (catan_test): Add more tests.
6256 (catanh_test): Likewise.
6257 * sysdeps/i386/fpu/libm-test-ulps: Update.
6258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6260 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6264 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6267 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6268 accurately for denominator in atan2.
6269 * math/s_catanf.c (__catanf): Likewise.
6270 * math/s_catanh.c (__catanh): Likewise.
6271 * math/s_catanhf.c (__catanhf): Likewise.
6272 * math/s_catanhl.c (__catanhl): Likewise.
6273 * math/s_catanl.c (__catanl): Likewise.
6274 * math/libm-test.inc (catan_test): Add more tests.
6275 (catanh_test): Likewise.
6276 * sysdeps/i386/fpu/libm-test-ulps: Update.
6277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6279 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6281 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6283 * benchtests/Makefile (bench): Remove slow benchmarks.
6284 * benchtests/atan-inputs: Add slow benchmark inputs.
6285 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6286 (BENCH_FUNC): Accept variant offset.
6288 * benchtests/bench-skeleton.c (main): Run benchmark for each
6290 * benchtests/cos-inputs: Add slow benchmark inputs.
6291 * benchtests/exp-inputs: Likewise.
6292 * benchtests/pow-inputs: Likewise.
6293 * benchtests/sin-inputs: Likewise.
6294 * benchtests/slowatan-inputs: Remove.
6295 * benchtests/slowatan.c: Remove.
6296 * benchtests/slowcos-inputs: Remove.
6297 * benchtests/slowcos.c: Remove.
6298 * benchtests/slowexp-inputs: Remove.
6299 * benchtests/slowexp.c: Remove.
6300 * benchtests/slowpow-inputs: Remove.
6301 * benchtests/slowpow.c: Remove.
6302 * benchtests/slowsin-inputs: Remove.
6303 * benchtests/slowsin.c: Remove.
6304 * benchtests/slowtan-inputs: Remove.
6305 * benchtests/slowtan.c: Remove.
6306 * benchtests/tan-inputs: Add slow benchmark inputs.
6307 * scripts/bench.pl: Parse comments and directives.
6309 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6311 ($(objpfx)bench-%.c): Remove *-ITER.
6312 * benchtests/bench-modf.c: Remove definition of ITER.
6313 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6314 (main): Loop for DURATION seconds instead of fixed number of
6316 * scripts/bench.pl: Don't expect iterations in parameters.
6318 2013-04-29 Roland McGrath <roland@hack.frob.com>
6320 * io/fchdir.c (__fchdir): Renamed from fchdir.
6321 (fchdir): Define as weak alias.
6323 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6325 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6326 (ERRNO_EDOM): Likewise.
6327 (ERRNO_ERANGE): Likewise.
6328 (noErrnoTests): New variable.
6329 (init_max_error): Set errno to 0.
6330 (test_single_errno): New function.
6331 (test_errno): Likewise.
6332 (check_float_internal): Call test_errno. Set errno to 0.
6333 (check_complex): Refer to errno tests in comment.
6334 (check_int): Call test_errno. Set errno to 0.
6335 (check_long): Likewise.
6336 (check_bool): Likewise.
6337 (check_longlong): Likewise.
6338 (cos_test): Use ERRNO_* flags for errno tests instead of
6340 (expm1_test): Likewise.
6341 (fmod_test): Likewise.
6342 (ilogb_test): Likewise.
6343 (lgamma_test): Likewise.
6344 (pow_test): Likewise.
6345 (remainder_test): Likewise.
6346 (sin_test): Likewise.
6347 (tan_test): Likewise.
6348 (yn_test): Likewise.
6349 (initialize): Set errno to 0.
6350 (main): Print number of errno tests.
6351 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6353 2013-04-29 Andreas Jaeger <aj@suse.de>
6356 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6360 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6361 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6365 * stdlib/random.c (__initstate): Return NULL if
6369 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6370 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6373 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6377 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6379 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6380 of individual tests.
6381 (casin_test): Likewise.
6382 (casinh_test): Likewise.
6384 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6387 * math/s_catan.c (__catan): Handle arguments with large real or
6388 imaginary part separately without squaring.
6389 * math/s_catanf.c (__catanf): Likewise.
6390 * math/s_catanh.c (__catanh): Likewise.
6391 * math/s_catanhf.c (__catanhf): Likewise.
6392 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6394 (__catanhl): Handle arguments with large real or imaginary part
6395 separately without squaring.
6396 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6398 (__catanl): Handle arguments with large real or imaginary part
6399 separately without squaring.
6400 * math/libm-test.inc (catan_test): Add more tests.
6401 (catanh_test): Likewise.
6402 * sysdeps/i386/fpu/libm-test-ulps: Update.
6403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6405 2013-04-27 Andreas Jaeger <aj@suse.de>
6408 * stdlib/stdlib.h: Update guards for qecvt.
6409 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6412 2013-04-27 Allan McRae <allan@archlinux.org>
6414 * sysdeps/i386/fpu/libm-test-ulps: Update.
6416 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6419 * math/s_catan.c: Include <float.h>.
6420 (__catan): Ensure underflow exception occurs for underflowed
6422 * math/s_catanf.c: Include <float.h>.
6423 (__catanf): Ensure underflow exception occurs for underflowed
6425 * math/s_catanh.c: Include <float.h>.
6426 (__catanh): Ensure underflow exception occurs for underflowed
6428 * math/s_catanhf.c: Include <float.h>.
6429 (__catanhf): Ensure underflow exception occurs for underflowed
6431 * math/s_catanhl.c: Include <float.h>.
6432 (__catanhl): Ensure underflow exception occurs for underflowed
6434 * math/s_catanl.c: Include <float.h>.
6435 (__catanl): Ensure underflow exception occurs for underflowed
6437 * math/libm-test.inc (catan_test): Add more tests.
6438 (catanh_test): Likewise.
6441 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6443 * math/s_ccoshf.c (__ccoshf): Likewise.
6444 * math/s_ccoshl.c (__ccoshl): Likewise.
6445 * math/s_csin.c (__csin): Likewise.
6446 * math/s_csinf.c (__csinf): Likewise.
6447 * math/s_csinh.c (__csinh): Likewise.
6448 * math/s_csinhf.c (__csinhf): Likewise.
6449 * math/s_csinhl.c (__csinhl): Likewise.
6450 * math/s_csinl.c (__csinl): Likewise.
6451 * math/libm-test.inc (ccos_test): Add more tests.
6452 (ccosh_test): Likewise.
6453 (csin_test): Likewise.
6454 (csinh_test): Likewise.
6456 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6459 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6460 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6461 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6462 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6463 powerpc/power5+/fpu folders.
6464 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6467 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6471 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6473 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6474 additions to variable.
6475 [$(config-machine) = x86_64] (modules-names): Likewise.
6476 ($(objpfx)tst-audit3): Remove dependency.
6477 ($(objpfx)tst-audit3.out): Likewise.
6478 ($(objpfx)tst-audit4): Likewise.
6479 ($(objpfx)tst-audit4.out): Likewise.
6480 ($(objpfx)tst-audit5): Likewise.
6481 ($(objpfx)tst-audit5.out): Likewise.
6482 ($(objpfx)tst-audit6): Likewise.
6483 ($(objpfx)tst-audit6.out): Likewise.
6484 ($(objpfx)tst-audit7): Likewise.
6485 ($(objpfx)tst-audit7.out): Likewise.
6486 (tst-audit3-ENV): Remove variable.
6487 (tst-audit4-ENV): Likewise.
6488 (tst-audit5-ENV): Likewise.
6489 (tst-audit6-ENV): Likewise.
6490 (tst-audit7-ENV): Likewise.
6491 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6492 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6493 addition to variable.
6494 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6495 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6496 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6499 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6500 tst-audit3, tst-audit4 and tst-audit5.
6501 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6502 tst-audit6 and tst-audit7.
6503 [$(subdir) = elf] (modules-names): Add audit modules for those
6505 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6506 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6507 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6508 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6509 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6510 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6511 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6512 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6513 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6514 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6515 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6516 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6517 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6518 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6519 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6520 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6522 [$(subdir) = elf && $(config-cflags-avx) = yes]
6523 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6524 [$(subdir) = elf && $(config-cflags-avx) = yes]
6525 (CFLAGS-tst-auditmod4a.c): Likewise.
6526 [$(subdir) = elf && $(config-cflags-avx) = yes]
6527 (CFLAGS-tst-auditmod4b.c): Likewise.
6528 [$(subdir) = elf && $(config-cflags-avx) = yes]
6529 (CFLAGS-tst-auditmod6b.c): Likewise.
6530 [$(subdir) = elf && $(config-cflags-avx) = yes]
6531 (CFLAGS-tst-auditmod6c.c): Likewise.
6532 [$(subdir) = elf && $(config-cflags-avx) = yes]
6533 (CFLAGS-tst-auditmod7b.c): Likewise.
6534 * elf/tst-audit3.c: Move to ...
6535 * sysdeps/x86_64/tst-audit3.c: ... here.
6536 * elf/tst-audit4.c: Move to ...
6537 * sysdeps/x86_64/tst-audit4.c: ... here.
6538 * elf/tst-audit5.c: Move to ...
6539 * sysdeps/x86_64/tst-audit5.c: ... here.
6540 * elf/tst-audit6.c: Move to ...
6541 * sysdeps/x86_64/tst-audit6.c: ... here.
6542 * elf/tst-audit7.c: Move to ...
6543 * sysdeps/x86_64/tst-audit7.c: ... here.
6544 * elf/tst-auditmod3a.c: Move to ...
6545 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6546 * elf/tst-auditmod3b.c: Move to ...
6547 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6548 * elf/tst-auditmod4a.c: Move to ...
6549 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6550 * elf/tst-auditmod4b.c: Move to ...
6551 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6552 * elf/tst-auditmod5a.c: Move to ...
6553 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6554 * elf/tst-auditmod5b.c: Move to ...
6555 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6556 * elf/tst-auditmod6a.c: Move to ...
6557 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6558 * elf/tst-auditmod6b.c: Move to ...
6559 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6560 * elf/tst-auditmod6c.c: Move to ...
6561 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6562 * elf/tst-auditmod7a.c: Move to ...
6563 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6564 * elf/tst-auditmod7b.c: Move to ...
6565 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6567 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6570 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6571 define unconditionally.
6572 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6573 define unconditionally.
6574 (INT8_C, INT16_C, etc.): Likewise.
6576 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6578 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6579 __ehdr_start with hidden visibility.
6581 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6583 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6585 * math/libm-test.inc (cos_test): Use accurate hex constants.
6586 (sincost_test): Likewise.
6588 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6590 * math/libm-test.inc (catan_test): Add more tests.
6591 (catanh_test): Likewise.
6593 * math/s_catanf.c (__catanf): Use suffixed floating-point
6595 * math/s_catanhf.c (__catanhf): Likewise.
6596 * math/s_catanhl.c (__catanhl): Likewise.
6597 * math/s_catanl.c (__catanl): Likewise.
6600 * math/s_catan.c (__catan): Calculate imaginary part of result
6601 with log1p not log unless computing log of number close to 0.
6602 * math/s_catanf.c (__catanf): Likewise.
6603 * math/s_catanl.c (__catanl): Likewise.
6604 * math/s_catanh.c (__catanh): Calculate real part of result with
6605 log1p not log unless computing log of number close to 0.
6606 * math/s_catanhf.c (__catanhf): Likewise.
6607 * math/s_catanhl.c (__catanhl): Likewise.
6608 * math/libm-test.inc (catan_test): Add more tests.
6609 (catanh_test): Likewise.
6610 * sysdeps/i386/fpu/libm-test-ulps: Update.
6611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6613 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6615 * benchtests/Makefile: Mention files in which fast and slow
6616 paths of math functions are implemented.
6618 2013-04-23 Roland McGrath <roland@hack.frob.com>
6620 * sysdeps/posix/timespec_get.c: New file.
6622 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6624 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6626 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6628 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6629 powerpc/power5/fpu folders.
6630 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6631 * benchtests/Makefile: Add modf testcase.
6632 * benchtests/bench-modf.c: New file: Benchmark test for mo
6634 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6637 * time/Makefile (tests): Add tst-strptime-whitespace.
6638 * time/strptime_l.c (get_number): Use ISSPACE.
6639 (__strptime_internal): Likewise.
6640 * time/tst-strptime-whitespace.c: New test case.
6642 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6644 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6646 (_nss_files_init): Set it here.
6648 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6650 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6651 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6654 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6656 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6658 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6663 2013-04-21 David S. Miller <davem@davemloft.net>
6665 * po/ru.po: Update Russion translation from translation project.
6667 2013-04-17 Adam Conrad <adconrad@0c3.net>
6669 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6672 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6674 * configure.in: Remove i386 configure warning. Remove i386 case.
6675 * configure: Regenerate.
6676 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6677 Add example to error message.
6678 * sysdeps/i386/configure: Regenerate.
6680 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6682 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6684 * benchtests/cos-inputs: New file.
6685 * benchtests/slowcos-inputs: New file.
6686 * benchtests/slowcos.c: New file.
6687 * benchtests/slowtan-inputs: New file.
6688 * benchtests/slowtan.c: New file.
6689 * benchtests/tan-inputs: New file.
6691 2013-04-16 Roland McGrath <roland@hack.frob.com>
6693 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6696 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6698 * benchtests/Makefile: Include cppflags-iterator.mk to add
6699 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6701 * Makefile.in (bench-clean): New target.
6702 * benchtests/Makefile (bench-clean): Likewise.
6704 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6706 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6708 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6710 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6712 2013-04-15 Andreas Schwab <schwab@suse.de>
6714 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6716 * nscd/pwdcache.c (cache_addpw): Likewise.
6717 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6720 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6722 * benchtests/Makefile (bench): Write all output to
6723 bench-out.tmp together.
6725 2013-04-15 Andreas Schwab <schwab@suse.de>
6727 * nscd/nscd.c (main): Don't fork again after closing files.
6729 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6731 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6733 * benchtests/Rules (bench-deps): Collect dependencies into a
6734 single variable. Add Makefile to dependencies.
6735 ($(objpfx)bench-%.c): Depend on bench-deps.
6737 2013-04-12 Roland McGrath <roland@hack.frob.com>
6738 Xavier Roche <roche+kml2@exalead.com>
6741 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6742 just that it's a file descriptor.
6743 * manual/llio.texi (Synchronizing AIO Operations): Update description
6744 for EBADF error from aio_fsync.
6746 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6748 * Rules (bench): Move target definition...
6749 * benchtests/Makefile: ... here.
6751 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6753 * math/libm-test.inc (cos_test): Fix PI/2 test.
6754 (sincos_test): Likewise.
6755 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6756 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6758 2013-04-11 Andreas Schwab <schwab@suse.de>
6761 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6762 accept exponent character only when digits were seen.
6763 * stdio-common/Makefile (tests): Add bug26.
6764 * stdio-common/bug26.c: New file.
6767 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6770 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6772 * Makeconfig (rtld-prefix): Define built linker prefix.
6773 * Rules (run-bench): Use it.
6774 * math/Makefile (run-regen-ulps): Likewise.
6776 * Rules (bench): Remove eval.
6778 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 Roland McGrath <roland@hack.frob.com>
6780 Ondrej Bilka <neleai@seznam.cz>
6783 * time/getdate.c: Include ctype.h and alloca.h.
6784 (__getdate_r): Trim leading and trailing spaces of input.
6785 * time/tst-getdate.c (tests): Add tests with leading and
6788 2013-04-08 Roland McGrath <roland@hack.frob.com>
6791 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6792 when computing value.
6794 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6796 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6797 Use testrun.sh to run libm tests.
6800 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6802 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6805 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6807 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6809 * Makefile.in (regen-ulps): New target.
6810 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6811 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6812 [ifneq (no,$(PERL)] (regen-ulps): New target.
6813 [ifeq (no,$(PERL)] (regen-ulps): New target.
6814 * math/libm-test.inc (ulps_file_name): Define.
6815 (output_dir): New variable.
6816 (options): Add "output-dir" option.
6817 (parse_opt): Handle 'o' case.
6818 (main): If output_dir is non-NULL use it as a prefix
6820 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6822 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6825 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6826 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6827 fail configure if __sync_val_compare_and_swap is not inlined.
6828 * sysdeps/i386/configure: Regenerate.
6829 * configure.in: Build for i686 when configured for i386.
6830 * configure: Regenerate.
6831 * README: Remove i386 reference.
6833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6835 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6838 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6840 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6841 (lmsnanval): New variables.
6842 (F): Add conversion tests.
6843 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6844 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6846 * stdio-common/tstdiomisc.c (F): Properly collect individual
6850 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6851 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6852 Instead, use input NaN values or generate a qNaN by arithmetic
6853 operation. Also fix bugs to comply with the standard.
6854 * math/libm-test.inc (remainder_test): Add more tests.
6857 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6859 input NaN values or generate a qNaN by arithmetic operation.
6861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6864 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6867 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6870 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6872 * math/s_cexpf.c (__cexpf): Likewise.
6873 * math/s_cexpl.c (__cexpl): Likewise.
6874 * math/libm-test.inc (cexp_test): Add more tests.
6876 2013-04-03 Andreas Schwab <schwab@suse.de>
6879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6880 order arrays from heap if bigger than alloca cutoff.
6882 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6884 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6885 (SNAN_TESTS_double): Refer to GCC PR56831.
6886 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6889 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6891 * Rules (bench): Move bench.out after the run is complete.
6893 * Rules (bench): Echo currently running benchmark.
6895 * benchtests/Makefile (bench): Add atan and slowatan.
6896 * benchtests/atan-inputs: New file.
6897 * benchtests/slowatan-inputs: New file.
6898 * benchtests/slowatan.c: New file.
6900 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6905 * sysdeps/unix/sysv/linux/kernel-features.h
6906 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6907 __ASSUME_XFS_RESTRICTED_CHOWN.
6908 * sysdeps/unix/sysv/linux/pathconf.c
6909 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6910 Save and restore errno.
6912 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6915 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6916 arguments using __kernel_casinh.
6917 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6918 arguments using __kernel_casinhf.
6919 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6920 arguments using __kernel_casinhl.
6921 * math/libm-test.inc (cacosh_test): Add more tests.
6922 * sysdeps/i386/fpu/libm-test-ulps: Update.
6923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6927 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6930 * bench/Makefile (bench): Add sin and slowsin.
6931 * benchtests/sin-inputs: New file.
6932 * benchtests/slowsin-inputs: New file.
6933 * benchtests/slowsin.c: New file.
6935 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6936 (bench): Add slowexp and slowpow.
6937 (exp-ITER): Increase iterations.
6938 (pow-ITER): Likewise.
6939 * benchtests/exp-inputs: Change input.
6940 * benchtests/pow-inputs: Likewise.
6941 * benchtests/slowexp-inputs: New file.
6942 * benchtests/slowexp.c: New file.
6943 * benchtests/slowpow-inputs: New file.
6944 * benchtests/slowpow.c: New file.
6946 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6950 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6951 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6952 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6953 * benchtests/Makefile: Add rint benchtest.
6954 * benchtests/rint-inputs: Input for rint benchtest.
6956 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6958 * Versions.def (libm): Add GLIBC_2.18.
6959 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6960 hidden libm prototypes.
6961 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6962 * math/Makefile (libm-calls): Add s_issignaling.
6963 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6964 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6965 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6967 * math/math.h [__USE_GNU] (issignaling): New macro.
6968 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6969 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6971 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6974 * manual/arith.texi (issignaling): New section.
6975 * manual/libm-err-tab.pl (@all_functions): Update comment.
6976 * math/gen-libm-test.pl (parse_args): Apply special handling for
6978 * math/libm-test.inc (print_float, issignaling_test): New
6980 (check_float_internal): Add issignaling checks.
6981 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6983 * sysdeps/powerpc/math-tests.h: New file.
6984 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6986 * math/test-snan.c (TEST_FUNC): Likewise.
6988 2013-03-30 David S. Miller <davem@davemloft.net>
6990 * po/de.po: Update from translation team.
6992 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6995 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6996 imaginary part less than 1.0 and real part less than 0.5
6998 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6999 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7000 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7001 (cacos_test): Add more tests.
7002 (casin_test): Likewise.
7003 (casinh_test): Likewise.
7004 * sysdeps/i386/fpu/libm-test-ulps: Update.
7005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7007 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7009 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7012 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7013 (__pow_mp): Replace ONE and MONE with their values.
7014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7015 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7016 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7017 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7018 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7019 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7021 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7023 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7024 (__pow_mp): Replace ZERO and MZERO with their values.
7025 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7026 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7027 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7029 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7030 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7033 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7035 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7037 2013-03-28 Roland McGrath <roland@hack.frob.com>
7039 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7040 Declare with __attribute__ ((weak)).
7041 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7042 Call __call_tls_dtors only if it's not NULL.
7044 2013-03-28 Roland McGrath <roland@hack.frob.com>
7046 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7047 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7048 magic __ehdr_start linker symbol if it's defined.
7049 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7050 them up here if it was already done.
7052 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7053 (_dl_aux_init): Use const in cast when setting it.
7054 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7055 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7056 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7058 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7060 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7061 * csu/libc-tls.c: Nor here.
7062 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7064 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7065 (__libc_message): Never call vsyslog.
7067 2013-03-28 Alan Modra <amodra@gmail.com>
7069 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7071 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7074 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7081 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7084 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7085 Don't add gid passed as argument.
7087 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7089 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7092 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7093 imaginary part between 1.0 and 1.5 and real part less than 0.5
7095 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7096 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7097 * math/libm-test.inc (cacos_test): Add more tests.
7098 (casin_test): Likewise.
7099 (casinh_test): Likewise.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7105 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7109 (__dbl_mp): Likewise.
7110 (add_magnitudes): Likewise.
7111 (sub_magnitudes): Likewise.
7119 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7121 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7122 (__dubcos): Likewise.
7123 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7124 (__ieee754_acos): Likewise.
7125 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7126 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7131 (my_log2): Likewise.
7132 (checkint): Likewise.
7133 * sysdeps/ieee754/dbl-64/e_remainder.c
7134 (__ieee754_remainder): Likewise.
7135 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7136 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7138 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7140 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7141 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7142 MANTISSA_STORE_T to store computations on mantissa. Use
7143 macros for rounding and division.
7145 (__dbl_mp): Likewise.
7146 (add_magnitudes): Likewise.
7147 (sub_magnitudes): Likewise.
7150 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7151 powers of two in terms of TWOPOW macro.
7152 (mp_no): Make type of mantissa as MANTISSA_T.
7153 [!RADIXI]: Define RADIXI.
7154 [!TWO52]: Define TWO52.
7155 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7157 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7159 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7160 llroundl symbol when building for PPC32.
7162 2013-03-24 Mark H Weaver <mhw@netris.org>
7164 * manual/arith.texi (Normalization Functions): Fix prototypes for
7165 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7167 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7171 high value to check if expl overflow.
7172 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7173 to check for underflow and overflow.
7174 * math/libm-test.inc: Add exp test.
7176 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7179 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7182 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7187 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7189 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7190 wrap blocks consisting of several statements.
7192 * sysdeps/generic/math-tests.h: New file.
7193 * sysdeps/i386/fpu/math-tests.h: Likewise.
7194 * math/test-snan.c: Include it.
7195 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7197 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7200 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7201 (__ieee754_j0l): Do not improve calculations using cos of twice
7202 input for inputs above LDBL_MAX / 2.0L.
7203 (__ieee754_y0l): Likewise.
7204 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7205 (__ieee754_j1l): Do not improve calculations using cos of twice
7206 input for inputs above LDBL_MAX / 2.0L.
7207 (__ieee754_y1l): Likewise.
7208 * math/libm-test.inc (j0_test): Add another test.
7209 (j1_test): Likewise.
7210 (y0_test): Likewise.
7211 (y1_test): Likewise.
7212 * sysdeps/i386/fpu/libm-test-ulps: Update.
7214 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7216 * Rules ($(objpfx)bench-%.c): Include code from a C source
7219 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7222 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7223 imaginary part 1.0 and real part less than 0.5 specially.
7224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7226 * math/libm-test.inc (cacos_test): Add more tests.
7227 (casin_test): Likewise.
7228 (casinh_test): Likewise.
7229 * sysdeps/i386/fpu/libm-test-ulps: Update.
7230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7232 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7234 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7235 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7237 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7239 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7240 * config.make.in (config-cflags-sse4): Remove variable.
7241 (config-cflags-avx): Likewise.
7242 (config-cflags-sse2avx): Likewise.
7243 (config-cflags-novzeroupper): Likewise.
7244 (config-asflags-i686): Likewise.
7245 (have-mfma4): Likewise.
7246 (have-as-vis3): Likewise.
7248 * configure.in (MIG): Do not AC_SUBST.
7249 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7250 (libc_cv_cc_sse4): Do not AC_SUBST.
7251 (libc_cv_cc_avx): Likewise.
7252 (libc_cv_cc_sse2avx): Likewise.
7253 (libc_cv_cc_novzeroupper): Likewise.
7254 (libc_cv_cc_fma4): Likewise.
7255 (libc_cv_as_i686): Likewise.
7256 (libc_cv_sparc_as_vis3): Likewise.
7257 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7259 (config-asflags-i686): Likewise.
7260 (config-cflags-avx): Likewise.
7261 (config-cflags-sse2avx): Likewise.
7262 (have-mfma4): Likewise.
7263 (config-cflags-novzeroupper): Likewise.
7264 * sysdeps/mach/configure.in (MIG): Likewise.
7265 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7266 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7268 (config-cflags-avx): Likewise.
7269 (config-cflags-sse2avx): Likewise.
7270 (have-mfma4): Likewise.
7271 (config-cflags-novzeroupper): Likewise.
7272 * configure: Regenerated.
7273 * sysdeps/i386/configure: Likewise.
7274 * sysdeps/mach/configure: Likewise.
7275 * sysdeps/sparc/configure: Likewise.
7276 * sysdeps/x86_64/configure: Likewise.
7278 2013-03-20 Roland McGrath <roland@hack.frob.com>
7281 * locale/programs/localedef.c (options): Put N_ translation marker
7282 on argument names, not just descriptions.
7284 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7286 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7288 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7291 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7293 2013-03-19 Roland McGrath <roland@hack.frob.com>
7295 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7296 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7297 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7298 [!BEFORE_ABORT] (before_abort): New function.
7299 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7300 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7301 (writev_for_fatal): New function.
7302 (WRITEV_FOR_FATAL): New macro; call that.
7303 (backtrace_and_maps): New function.
7304 (BEFORE_ABORT): New macro; call that.
7305 (struct str_list): Type removed.
7306 (__libc_message, __libc_fatal): Functions removed.
7307 Include <sysdeps/posix/libc_fatal.c> instead.
7309 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7311 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7313 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7316 2013-03-19 Andreas Schwab <schwab@suse.de>
7318 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7319 * sysdeps/gnu/configure: Regenerate.
7321 * configure.in: Substitute libc_cv_rtlddir.
7322 * configure: Regenerate.
7323 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7324 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7325 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7326 * elf/Makefile (install-others, CFLAGS-interp.c)
7327 (ldso_install, common-ldd-rewrite): Likewise.
7328 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7329 $(inst_slibdir)/$(rtld-installed-name).
7330 * scripts/rellns-sh: Add -p option.
7331 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7334 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7336 * manual/nptl.texi: Renamed to ...
7337 * manual/threads.texi: ... this.
7338 * manual/Makefile (chapters): Update.
7340 2013-03-18 Roland McGrath <roland@hack.frob.com>
7343 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7344 on argument names, not just descriptions.
7345 * malloc/memusagestat.c (options): Likewise.
7346 * nss/getent.c (options): Likewise.
7348 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7351 * iconv/iconv_prog.c (options): Put N_ translation marker
7352 on argument names, not just descriptions.
7353 * iconv/iconvconfig.c (options): Likewise.
7355 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7357 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7358 implementation which is faster on all x86_64 architectures.
7359 Tested on AMD, Intel Nehalem, SNB, IVB.
7360 * sysdeps/x86_64/strnlen.S: Likewise.
7362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7363 Remove all multiarch strlen and strnlen versions.
7364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7365 Remove strlen and strnlen related parts.
7367 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7369 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7371 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7372 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7374 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7375 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7376 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7378 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7380 * manual/memory.texi (Malloc Tunable Parameters):
7381 Sort parameters alphabetically. Add comments for missing entries.
7383 2013-03-17 David S. Miller <davem@davemloft.net>
7385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7387 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7390 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7391 for arguments at most half maximum finite value.
7392 * math/libm-test.inc (j0_test): Add more tests.
7393 (j1_test): Likewise.
7394 (y0_test): Likewise.
7395 (y1_test): Likewise.
7396 * sysdeps/i386/fpu/libm-test-ulps: Update.
7397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7401 1 / x and functions P and Q for arguments above 0x1p256L.
7402 (__ieee754_y0l): Likewise.
7403 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7404 (__ieee754_y1l): Likewise.
7405 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7406 (j1_test): Likewise.
7407 (y0_test): Likewise.
7408 (y1_test): Likewise.
7410 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7412 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7415 2013-03-15 Roland McGrath <roland@hack.frob.com>
7417 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7418 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7419 zero since it's initialized to EXEC_PAGESIZE.
7421 * sysdeps/unix/sysv/linux/ldsodefs.h
7422 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7423 * sysdeps/generic/ldsodefs.h: ... here.
7425 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7427 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7429 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7431 * math/test-snan.c: Renamed from
7432 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7433 * math/Makefile (tests): Add test-snan.
7434 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7437 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7438 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7440 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7441 __builtin_nan family of functions.
7442 * math/libm-test.inc (initialize): Initialize qnan_value with
7443 __builtin_nan family of functions.
7444 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7446 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7448 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7449 storage class. Initialize qNaN_var and sNaN_var with
7450 __builtin_nan and __builtin_nans families of functions,
7453 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7454 (sqrt_test): Remove duplicate test with qNaN input.
7455 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7456 (round_test, signbit_test, significand_test): Note missing +/-Inf
7457 as well as qNaN tests.
7459 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7460 qNaN_var. Fix a few strings, too.
7461 * math/libm-test.inc (nan_value): Rename to qnan_value.
7462 * math/gen-libm-test.pl (%beautify): Adjust to that.
7463 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7464 * math/test-misc.c (main): Likewise.
7465 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7466 to __qnan_bytes, and __qnan_union, respectively.
7467 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7469 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7470 and lqnanval, respectively.
7471 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7472 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7473 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7474 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7476 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7477 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7480 * math/test-misc.c (main): Fix copy'n'pastos.
7481 * misc/tst-efgcvt.c (special): Likewise.
7483 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7484 Remove declarations.
7486 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7488 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7489 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7490 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7491 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7493 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7496 macro to return vdso values correctly in IFUNC implementations.
7497 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7498 Optimization by using IFUNC.
7500 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7501 Richard Henderson <rth@redhat.com>
7502 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7504 * Makefile.in (bench): New target.
7505 * NEWS: Mention the benchmark framework.
7506 * Rules (bench): Likewise.
7507 (binaries-bench): Generate binaries for functions to
7509 * benchtests/Makefile: New makefile for benchmark tests.
7510 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7512 * benchtests/exp-inputs: New input file for EXP function.
7513 * benchtests/pow-inputs: New input file for POW function.
7514 * scripts/bench.pl: New script to generate source files for
7517 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7519 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7520 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7521 computations on mantissa. Use macros for rounding and
7524 (__dbl_mp): Likewise.
7525 (add_magnitudes): Likewise.
7526 (sub_magnitudes): Likewise.
7529 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7530 powers of two in terms of TWOPOW macro.
7531 (mp_no): Make type of mantissa as MANTISSA_T.
7532 [!RADIXI]: Define RADIXI.
7533 [!TWO52]: Define TWO52.
7534 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7536 * manual/nptl.texi (cindex): Modify threads to pthreads.
7538 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7540 * sysdeps/x86_64/preconfigure: Regenerated.
7542 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7545 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7547 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7548 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7550 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7551 * math/libm-test.inc (j0_test): Do not allow one spurious
7552 underflow exception.
7553 (y1_test): Likewise.
7555 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7557 * manual/Makefile (chapters): Add nptl.
7558 * manual/debug.texi (Debugging Support): Add link to Threads
7560 * manual/nptl.texi: New file.
7562 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7564 2013-03-14 Petr Baudis <pasky@ucw.cz>
7566 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7567 for non-NULL pointer before the memory validity test. Pointed
7568 out by Holger Brunck <holger.brunck@keymile.com>.
7570 2013-03-13 Andreas Schwab <schwab@suse.de>
7572 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7575 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7577 * timezone/zic.c: Update from tzcode 2013b.
7579 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7581 * manual/install.texi (Configuring and compiling):
7582 Mention i686 and i586.
7583 * INSTALL: Regenerate.
7585 2013-03-12 Roland McGrath <roland@hack.frob.com>
7587 * sysdeps/init_array/elf-init.c: New file.
7589 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7590 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7592 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7593 __gmon_start__ as global, but as static with a .preinit_array pointer.
7594 * sysdeps/init_array/gmon-start.c: New file. Use that.
7595 * sysdeps/init_array/crti.S: New file, empty except for comments.
7596 * sysdeps/init_array/crtn.S: Likewise.
7598 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7600 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7603 Remove Prefer_SSE_for_memop.
7604 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7605 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7606 HAS_PREFER_SSE_FOR_MEMOP.
7607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7610 Remove bzero, memset ifunc support.
7611 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7613 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7614 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7616 2013-03-11 Andreas Schwab <schwab@suse.de>
7619 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7622 (GLIBC_2.16): Remove pthread_atfork.
7624 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7626 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7627 (ptestcases.h): Likewise.
7629 2013-03-08 Roland McGrath <roland@hack.frob.com>
7631 * Makeconfig ($(common-objpfx)config.status): Depend on
7632 sysdeps/*/preconfigure{,.in} too.
7634 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7636 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7637 (__free_hook): Use void * instead of __malloc_ptr_t.
7638 (__malloc_hook): Likewise.
7639 (__realloc_hook): Likewise.
7640 (__memalign_hook): Likewise.
7641 (__after_morecore_hook): Likewise.
7642 * malloc/arena.c (save_malloc_hook): Likewise.
7643 (save_free_hook): Likewise.
7644 * malloc/hooks.c (malloc_hook_ini): Likewise.
7645 (realloc_hook_ini): Likewise.
7646 (memalign_hook_ini): Likewise.
7647 * malloc/malloc.c (malloc_hook_ini): Likewise.
7648 (realloc_hook_ini): Likewise.
7649 (memalign_hook_ini): Likewise.
7650 (__free_hook): Likewise.
7651 (__malloc_hook): Likewise.
7652 (__realloc_hook): Likewise.
7653 (__memalign_hook): Likewise.
7654 (__libc_malloc): Likewise.
7655 (__libc_free): Likewise.
7656 (__libc_realloc): Likewise.
7657 (__libc_memalign): Likewise.
7658 (__libc_valloc): Likewise.
7659 (__libc_pvalloc): Likewise.
7660 (__libc_calloc): Likewise.
7661 (__posix_memalign): Likewise.
7662 * malloc/morecore.c (__sbrk): Likewise.
7663 (__default_morecore): Likewise.
7665 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7667 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7668 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7671 * malloc/malloc.h (__malloc_size_t): Remove macro.
7672 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7674 (old_memalign_hook): Likewise.
7675 (old_realloc_hook): Likewise.
7676 (struct hdr): Likewise.
7678 (mallochook): Likewise.
7679 (memalignhook): Likewise.
7680 (reallochook): Likewise.
7681 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7682 (tr_old_realloc_hook): Likewise.
7683 (tr_old_memalign_hook): Likewise.
7684 (tr_mallochook): Likewise.
7685 (tr_reallochook): Likewise.
7686 (tr_memalignhook): Likewise.
7688 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7691 default_ldbl_pack and using as default implementation.
7692 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7694 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7695 redundant definition.
7696 (ldbl_insert_mantissa): Likewise.
7697 (ldbl_canonicalize): Likewise.
7698 (ldbl_nearbyint): Likewise.
7699 (ldbl_pack): Rename to ldbl_pack_ppc.
7700 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7701 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7702 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7704 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7707 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7708 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7709 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7711 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7712 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7713 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7715 2013-03-07 Andreas Jaeger <aj@suse.de>
7717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7720 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7722 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7723 Include mpa.h and declare __MPEXP.
7724 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7725 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7726 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7727 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7729 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7730 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7732 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7733 (__slowpow): Use long double EXPL and LOGL functions to
7735 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7736 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7738 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7739 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7740 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7743 intermediate variable to calculate exponent.
7745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7749 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7750 [!NO__SQR]: Define __sqr.
7751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7752 and NO__SQR. Remove all code except __mul and __sqr. Include
7753 sysdeps/ieee754/dbl-64/mpa.c.
7754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7757 * posix/Makefile (tests): Add tst-pathconf.
7758 * posix/tst-pathconf.c: New test case.
7759 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7761 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7763 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7765 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7767 2013-03-06 Andreas Jaeger <aj@suse.de>
7769 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7770 definition via __MAP_ANONYMOUS.
7772 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7773 it's not part of Linux headers.
7775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7776 (MAP_HUGE_MASK): Define.
7778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7780 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7781 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7784 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7791 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7792 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7793 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7794 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7795 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7796 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7798 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7802 Handle f2fs and efivarfs.
7804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7807 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7808 (EFIVARFS_MAGIC): Add.
7809 (F2FS_LINK_MAX): Add.
7811 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7813 * stdio-common/vfprintf.c: Replace __builtin_expect with
7816 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7819 * sysdeps/generic/bp-sym.h: Remove file.
7820 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7821 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7822 <bp-sym.h> and <bp-asm.h>.
7823 (__longjmp): Don't use BP_SYM.
7824 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7826 (memcpy): Don't use BP_SYM.
7827 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7828 <bp-sym.h> and <bp-asm.h>.
7829 (memcpy): Don't use BP_SYM.
7830 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7832 (memcpy): Don't use BP_SYM.
7833 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7835 (memset): Don't use BP_SYM.
7836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7838 (__bzero): Don't use BP_SYM.
7839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7841 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7842 <bp-sym.h> and <bp-asm.h>.
7843 (memcmp): Don't use BP_SYM. Remove comment about bounded
7845 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7846 <bp-sym.h> and <bp-asm.h>.
7847 (memcpy): Don't use BP_SYM.
7848 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7849 <bp-sym.h> and <bp-asm.h>.
7850 (memset): Don't use BP_SYM.
7851 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7852 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7853 (__bzero): Don't use BP_SYM.
7854 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7855 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7856 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7857 <bp-sym.h> and <bp-asm.h>.
7858 (strncmp): Don't use BP_SYM. Remove comment about bounded
7860 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7861 <bp-sym.h> and <bp-asm.h>.
7862 (memcpy): Don't use BP_SYM.
7863 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7864 <bp-sym.h> and <bp-asm.h>.
7865 (memset): Don't use BP_SYM.
7866 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7867 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7868 (__bzero): Don't use BP_SYM.
7869 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7870 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7871 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7872 <bp-sym.h> and <bp-asm.h>.
7873 (__memchr): Don't use BP_SYM.
7874 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7875 <bp-sym.h> and <bp-asm.h>.
7876 (memcmp): Don't use BP_SYM. Remove comment about bounded
7878 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7879 <bp-sym.h> and <bp-asm.h>.
7880 (memcpy): Don't use BP_SYM.
7881 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7882 <bp-sym.h> and <bp-asm.h>.
7883 (__mempcpy): Don't use BP_SYM.
7884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7885 <bp-sym.h> and <bp-asm.h>.
7886 (__memrchr): Don't use BP_SYM.
7887 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7888 <bp-sym.h> and <bp-asm.h>.
7889 (memset): Don't use BP_SYM.
7890 (__bzero): Likewise.
7891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7892 <bp-sym.h> and <bp-asm.h>.
7893 (__rawmemchr): Don't use BP_SYM.
7894 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7895 <bp-sym.h> and <bp-asm.h>.
7896 (__STRCMP): Don't use BP_SYM.
7897 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7898 <bp-sym.h> and <bp-asm.h>.
7899 (strchr): Don't use BP_SYM.
7900 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7901 <bp-sym.h> and <bp-asm.h>.
7902 (__strchrnul): Don't use BP_SYM.
7903 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7904 <bp-sym.h> and <bp-asm.h>.
7905 (strlen): Don't use BP_SYM.
7906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7907 <bp-sym.h> and <bp-asm.h>.
7908 (strncmp): Don't use BP_SYM. Remove comment about bounded
7910 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7911 <bp-sym.h> and <bp-asm.h>.
7912 (__strnlen): Don't use BP_SYM.
7913 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7914 <bp-sym.h> and <bp-asm.h>.
7915 (__GI__setjmp): Don't use BP_SYM.
7916 (_setjmp): Likewise.
7917 (__sigsetjmp): Likewise.
7918 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7919 (L(start_addresses)): Don't use BP_SYM.
7921 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7923 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7924 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7925 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7926 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7927 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7929 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7930 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7931 about bounded pointers.
7932 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7933 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7934 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7936 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7937 about bounded pointers. Remove GKM FIXME comments.
7938 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7939 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7941 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7942 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7943 Remove GKM FIXME comments.
7944 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7945 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7946 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7948 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7949 about bounded pointers. Remove GKM FIXME comment.
7950 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7952 (strncmp): Don't use BP_SYM. Remove comment about bounded
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7955 <bp-sym.h> and <bp-asm.h>.
7956 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7958 <bp-sym.h> and <bp-asm.h>.
7959 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7962 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7964 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7967 2013-03-05 David S. Miller <davem@davemloft.net>
7969 * po/es.po: Update from translation team.
7971 2013-03-05 Andreas Jaeger <aj@suse.de>
7973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7974 <bits/mman-linux.h>.
7975 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7978 <bits/mman-linux.h> to end of file.
7979 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7981 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7982 <bits/mman-linux.h> to end of file.
7983 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7986 <bits/mman-linux.h> to end of file.
7988 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7989 (MCL_CURRENT, MCL_FUTURE): Define here.
7991 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7994 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7996 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7998 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8000 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8001 fourth parameter needed for rt_sigprocmask syscall.
8002 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8003 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8004 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8005 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8006 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8007 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8009 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8012 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8013 comment about bounded pointers.
8014 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8015 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8017 2013-03-04 Andreas Jaeger <aj@suse.de>
8019 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8023 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8024 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8029 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8033 __ieee754_sqrl instead of __sqrl.
8035 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8038 * sysdeps/powerpc/fpu_control.h: ... here.
8039 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8040 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8041 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8042 * sysdeps/powerpc/bits/mathinline.h: ... here.
8044 2013-03-01 Roland McGrath <roland@hack.frob.com>
8046 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8047 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8048 to just [NEED_DL_SYSINFO_DSO].
8049 * elf/dl-support.c: Likewise.
8050 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8051 * elf/rtld.c (dl_main): Likewise.
8052 * elf/setup-vdso.h (setup_vdso): Likewise.
8053 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8054 * sysdeps/unix/sysv/linux/dl-sysdep.c
8055 (_dl_discover_osversion): Likewise.
8057 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8059 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8060 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8062 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8064 * NEWS: Mention libm performance improvements and non-x86 PI
8067 * csu/libc-start.c (__pthread_initialize_minimal): Change
8069 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8071 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8074 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8075 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8076 <bp-sym.h> and <bp-asm.h>.
8077 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8078 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8080 (memcpy): Don't use BP_SYM.
8081 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8083 (__mpn_add_n): Don't use BP_SYM.
8084 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8085 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8087 (__mpn_addmul_1): Don't use BP_SYM.
8088 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8089 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8091 (_setjmp): Don't use BP_SYM.
8092 (__novmx_setjmp): Likewise.
8093 (__GI__setjmp): Likewise.
8094 (__vmx_setjmp): Likewise.
8095 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8097 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8098 (__bzero): Don't use BP_SYM.
8099 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8100 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8101 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8102 <bp-sym.h> and <bp-asm.h>.
8103 (memcpy): Don't use BP_SYM.
8104 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8105 <bp-sym.h> and <bp-asm.h>.
8106 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8107 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8108 <bp-sym.h> and <bp-asm.h>.
8109 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8110 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8112 (__mpn_lshift): Don't use BP_SYM.
8113 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8114 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8116 (memset): Don't use BP_SYM.
8117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8119 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8121 (__mpn_mul_1): Don't use BP_SYM.
8122 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8123 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8124 <bp-sym.h> and <bp-asm.h>.
8125 (memcmp): Don't use BP_SYM.
8126 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8127 <bp-sym.h> and <bp-asm.h>.
8128 (memcpy): Don't use BP_SYM.
8129 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8130 <bp-sym.h> and <bp-asm.h>.
8131 (memset): Don't use BP_SYM.
8132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8133 <bp-sym.h> and <bp-asm.h>.
8134 (strncmp): Don't use BP_SYM.
8135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8136 <bp-sym.h> and <bp-asm.h>.
8137 (memcpy): Don't use BP_SYM.
8138 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8139 <bp-sym.h> and <bp-asm.h>.
8140 (memset): Don't use BP_SYM.
8141 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8142 <bp-sym.h> and <bp-asm.h>.
8143 (__memchr): Don't use BP_SYM.
8144 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8145 <bp-sym.h> and <bp-asm.h>.
8146 (memcmp): Don't use BP_SYM.
8147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8148 <bp-sym.h> and <bp-asm.h>.
8149 (memcpy): Don't use BP_SYM.
8150 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8151 <bp-sym.h> and <bp-asm.h>.
8152 (__mempcpy): Don't use BP_SYM.
8153 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8154 <bp-sym.h> and <bp-asm.h>.
8155 (__memrchr): Don't use BP_SYM.
8156 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8157 <bp-sym.h> and <bp-asm.h>.
8158 (memset): Don't use BP_SYM.
8159 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8160 <bp-sym.h> and <bp-asm.h>.
8161 (__rawmemchr): Don't use BP_SYM.
8162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8163 <bp-sym.h> and <bp-asm.h>.
8164 (__STRCMP): Don't use BP_SYM.
8165 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8166 <bp-sym.h> and <bp-asm.h>.
8167 (strchr): Don't use BP_SYM.
8168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8169 <bp-sym.h> and <bp-asm.h>.
8170 (__strchrnul): Don't use BP_SYM.
8171 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8172 <bp-sym.h> and <bp-asm.h>.
8173 (strlen): Don't use BP_SYM.
8174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8175 <bp-sym.h> and <bp-asm.h>.
8176 (strncmp): Don't use BP_SYM.
8177 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8178 <bp-sym.h> and <bp-asm.h>.
8179 (__strnlen): Don't use BP_SYM.
8180 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8182 (__mpn_rshift): Don't use BP_SYM.
8183 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8184 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8185 <bp-sym.h> and <bp-asm.h>.
8186 (__sigsetjmp): Don't use BP_SYM.
8187 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8188 (L(start_addresses)): Don't use BP_SYM.
8190 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8192 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8193 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8194 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8195 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8197 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8198 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8199 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8200 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8202 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8204 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8205 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8207 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8209 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8210 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8211 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8213 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8215 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8217 (strncmp): Don't use BP_SYM,
8218 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8220 (__mpn_sub_n): Don't use BP_SYM.
8221 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8222 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8224 (__mpn_submul_1): Don't use BP_SYM.
8225 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8227 <bp-sym.h> and <bp-asm.h>.
8228 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8230 <bp-sym.h> and <bp-asm.h>.
8231 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8234 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8237 Use ZK to minimize writes to Z.
8238 (sub_magnitudes): Simplify code a bit.
8239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8240 Use ZK to minimize writes to Z.
8241 (sub_magnitudes): Simplify code a bit.
8243 2013-02-27 Roland McGrath <roland@hack.frob.com>
8245 * csu/gmon-start.c: Add special exception to license text.
8247 2013-02-27 Richard Henderson <rth@redhat.com>
8249 * scripts/config.guess: Update from config.git.
8250 * scripts/config.sub: Likewise.
8252 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8256 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8258 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8260 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8262 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8264 2013-02-26 Roland McGrath <roland@hack.frob.com>
8266 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8267 [$(build-shared = yes].
8269 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8271 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8272 (__mul): Reduce iterations for calculating mantissa.
8274 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8276 (__mpranred): Likewise.
8279 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8280 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8282 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8284 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8285 Define __attribute__.
8287 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8289 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8291 * posix/regex_internal.h (__attribute): Remove.
8292 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8293 (re_string_context_at): Likewise.
8294 (bitset_not): Use __attribute__ and mark function as possibly
8296 (bitset_merge): Likewise.
8297 (bitset_mask): Likewise.
8298 (re_string_char_size_at): Likewise.
8299 (re_string_wchar_at): Likewise.
8300 (re_string_elem_size_at): Likewise.
8302 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8304 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8308 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8313 (__dbl_mp): Likewise.
8314 (add_magnitudes): Likewise.
8315 (sub_magnitudes): Likewise.
8319 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8322 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8325 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8329 up changes with default code.
8330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8333 2013-02-24 Allan McRae <allan@archlinux.org>
8335 * manual/socket.texi (The Internet Namespace): Order menu items
8336 to match that in the file.
8338 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8339 node listing of the info page menu.
8341 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8344 * sysdeps/i386/bp-asm.h: Remove file.
8345 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8346 (PARMS): Do not use macros from bp-asm.h.
8350 (__mpn_add_n): Do not use BP_SYM
8351 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8353 (PARMS): Do not use macros from bp-asm.h.
8356 (__mpn_addmul_1): Do not use BP_SYM
8357 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8359 (PARMS): Do not use macros from bp-asm.h.
8361 (_setjmp): Likewise. Do not use BP_SYM.
8362 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8364 (PARMS): Do not use macros from bp-asm.h.
8366 (setjmp): Likewise. Do not use BP_SYM.
8367 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8369 (PARMS): Do not use macros from bp-asm.h.
8370 (__frexp): Do not use BP_SYM.
8372 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8374 (PARMS): Do not use macros from bp-asm.h.
8375 (__frexpf): Do not use BP_SYM.
8377 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8379 (PARMS): Do not use macros from bp-asm.h.
8380 (__frexpl): Do not use BP_SYM.
8382 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8384 (PARMS): Do not use macros from bp-asm.h.
8385 (__remquo): Do not use BP_SYM.
8387 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8389 (PARMS): Do not use macros from bp-asm.h.
8390 (__remquof): Do not use BP_SYM.
8391 (remquof): Likewise.
8392 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8394 (PARMS): Do not use macros from bp-asm.h.
8395 (__remquol): Do not use BP_SYM.
8396 (remquol): Likewise.
8397 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8399 (PARMS): Do not use macros from bp-asm.h.
8402 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8403 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8405 (PARMS): Do not use macros from bp-asm.h.
8406 (strlen): Do not use BP_SYM.
8407 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8409 (PARMS): Do not use macros from bp-asm.h.
8413 (__mpn_add_n): Do not use BP_SYM.
8414 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8416 (PARMS): Do not use macros from bp-asm.h.
8419 (__mpn_addmul_1): Do not use BP_SYM.
8420 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8423 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8425 (PARMS): Do not use macros from bp-asm.h.
8428 (__mpn_lshift): Do not use BP_SYM.
8429 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8431 (PARMS): Do not use macros from bp-asm.h.
8435 (memcpy): Likewise. Do not use BP_SYM.
8436 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8437 libc_hidden_def and weak_alias.
8438 (mempcpy): Do not use BP_SYM in weak_alias.
8439 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8441 (PARMS): Do not use macros from bp-asm.h.
8444 [!BZERO_P] (CHR): Likewise.
8445 (memset): Likewise. Do not use BP_SYM.
8446 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8448 (PARMS): Do not use macros from bp-asm.h.
8451 (__mpn_mul_1): Do not use BP_SYM.
8452 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8454 (PARMS): Do not use macros from bp-asm.h.
8457 (__mpn_rshift): Do not use BP_SYM.
8458 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8460 (PARMS): Do not use macros from bp-asm.h.
8463 (strchr): Likewise. Do not use BP_SYM.
8464 (index): Do not use BP_SYM in weak_alias.
8465 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8467 (PARMS): Do not use macros from bp-asm.h.
8470 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8471 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8473 (PARMS): Do not use macros from bp-asm.h.
8474 (strlen): Do not use BP_SYM.
8475 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8477 (PARMS): Do not use macros from bp-asm.h.
8481 (__mpn_sub_n): Do not use BP_SYM.
8482 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8484 (PARMS): Do not use macros from bp-asm.h.
8487 (__mpn_submul_1): Do not use BP_SYM.
8488 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8490 (PARMS): Do not use macros from bp-asm.h.
8494 (__mpn_add_n): Do not use BP_SYM.
8495 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8498 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8500 (PARMS): Do not use macros from bp-asm.h.
8503 (memcmp): Do not use BP_SYM.
8504 (bcmp): Do not use BP_SYM in weak_alias.
8505 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8507 (PARMS): Do not use macros from bp-asm.h.
8511 (memcpy): Likewise. Do not use BP_SYM.
8512 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8514 (PARMS): Do not use macros from bp-asm.h.
8518 (memmove): Likewise. Do not use BP_SYM.
8519 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8521 (PARMS): Do not use macros from bp-asm.h.
8525 (__mempcpy): Likewise. Do not use BP_SYM.
8526 (mempcpy): Do not use BP_SYM in weak_alias.
8527 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8529 (PARMS): Do not use macros from bp-asm.h.
8532 [!BZERO_P] (CHR): Likewise.
8533 (memset): Likewise. Do not use BP_SYM.
8534 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8536 (PARMS): Do not use macros from bp-asm.h.
8538 (strcmp): Do not use BP_SYM.
8539 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8541 (PARMS): Do not use macros from bp-asm.h.
8544 [USE_AS_STRTOK_R] (SAVE): Likewise.
8545 (FUNCTION): Likewise. Do not use BP_SYM.
8546 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8548 (strtok_r): Likewise.
8549 (__GI___strtok_r): Likewise.
8550 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8551 (PARMS): Do not use macros from bp-asm.h.
8554 (__mpn_lshift): Do not use BP_SYM.
8555 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8556 (PARMS): Do not use macros from bp-asm.h.
8559 (__memchr): Do not use BP_SYM.
8560 (memchr): Do not use BP_SYM in weak_alias.
8561 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8562 (PARMS): Do not use macros from bp-asm.h.
8565 (memcmp): Do not use BP_SYM.
8566 (bcmp): Do not use BP_SYM in weak_alias.
8567 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8568 (PARMS): Do not use macros from bp-asm.h.
8571 (__mpn_mul_1): Do not use BP_SYM.
8572 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8574 (PARMS): Do not use macros from bp-asm.h.
8577 (__rawmemchr): Do not use BP_SYM.
8578 (rawmemchr): Do not use BP_SYM in weak_alias.
8579 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8580 (PARMS): Do not use macros from bp-asm.h.
8583 (__mpn_rshift): Do not use BP_SYM.
8584 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8585 (PARMS): Do not use macros from bp-asm.h.
8587 (__sigsetjmp): Likewise. Do not use BP_SYM.
8588 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8589 (_start): Do not use BP_SYM.
8590 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8591 (PARMS): Do not use macros from bp-asm.h.
8594 (__stpcpy): Likewise. Do not use BP_SYM.
8595 (stpcpy): Do not use BP_SYM in weak_alias.
8596 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8598 (PARMS): Do not use macros from bp-asm.h.
8602 (__stpncpy): Likewise. Do not use BP_SYM.
8603 (stpncpy): Do not use BP_SYM in weak_alias.
8604 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8605 (PARMS): Do not use macros from bp-asm.h.
8608 (strchr): Likewise. Do not use BP_SYM.
8609 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8611 (PARMS): Do not use macros from bp-asm.h.
8614 (__strchrnul): Likewise. Do not use BP_SYM.
8615 (strchrnul): Do not use BP_SYM in weak_alias.
8616 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8618 (PARMS): Do not use macros from bp-asm.h.
8620 (strcspn): Do not use BP_SYM.
8621 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8623 (PARMS): Do not use macros from bp-asm.h.
8626 (strpbrk): Likewise. Do not use BP_SYM.
8627 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8629 (PARMS): Do not use macros from bp-asm.h.
8632 (strrchr): Likewise. Do not use BP_SYM.
8633 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8634 (PARMS): Do not use macros from bp-asm.h.
8636 (strspn): Do not use BP_SYM.
8637 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8638 (PARMS): Do not use macros from bp-asm.h.
8642 (FUNCTION): Likewise. Do not use BP_SYM.
8643 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8645 (strtok_r): Likewise.
8646 (__GI___strtok_r): Likewise.
8647 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8648 (PARMS): Do not use macros from bp-asm.h.
8652 (__mpn_sub_n): Do not use BP_SYM.
8653 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8655 (PARMS): Do not use macros from bp-asm.h.
8658 (__mpn_submul_1): Do not use BP_SYM.
8659 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8661 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8663 (PARMS): Do not use macros from bp-asm.h.
8668 (__clone): Do not use BP_SYM.
8669 (clone): Do not use BP_SYM in weak_alias.
8670 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8672 (PARMS): Do not use macros from bp-asm.h.
8674 (__mmap64): Do not use BP_SYM.
8675 (mmap64): Do not use BP_SYM in weak_alias.
8676 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8677 <bp-sym.h> and <bp-asm.h>.
8678 (PARMS): Do not use macros from bp-asm.h.
8679 (__posix_fadvise64_l64): Do not use BP_SYM.
8680 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8681 (PARMS): Do not use macros from bp-asm.h.
8683 (semtimedop): Do not use BP_SYM.
8684 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8687 2013-02-21 Allan McRae <allan@archlinux.org>
8689 * manual/message.texi (Charset conversion in gettext):
8690 Move @end statement to beginning of line.
8692 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8699 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8704 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8706 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8707 tail-call to the resolved function if pltexit isn't needed.
8709 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8712 or Y being zero as being unlikely.
8713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8716 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8718 * manual/nss.texi (System Databases and Name Service Switch):
8719 Remove frobnicate @pxref.
8721 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8723 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8724 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8726 2013-02-20 Petr Machata <pmachata@redhat.com>
8728 * elf/elf.h (R_ARM_TARGET1): New macro.
8729 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8730 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8731 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8732 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8733 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8734 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8735 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8736 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8737 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8738 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8739 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8740 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8741 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8742 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8743 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8744 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8745 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8746 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8747 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8748 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8749 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8750 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8751 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8752 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8753 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8754 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8755 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8756 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8757 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8758 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8759 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8760 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8761 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8762 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8763 (R_ARM_THM_GOT_BREL12): Likewise.
8764 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8765 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8766 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8767 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8768 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8769 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8770 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8771 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8772 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8774 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8776 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8777 __attribute_used__ to __attribute__ ((unused)).
8779 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8781 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8787 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8790 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8792 (ENTER): Remove both macro definitions.
8794 (CHECK_BOUNDS_LOW): Likewise.
8795 (CHECK_BOUNDS_HIGH): Likewise.
8796 (CHECK_BOUNDS_BOTH): Likewise.
8797 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8798 (RETURN_BOUNDED_POINTER): Likewise.
8799 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8800 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8801 (POP_ERRNO_LOCATION_RETURN): Likewise.
8802 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8804 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8807 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8808 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8809 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8810 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8811 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8812 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8813 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8814 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8815 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8816 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8817 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8818 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8819 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8821 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8822 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8824 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8825 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8826 * sysdeps/i386/i586/memset.S (memset): Likewise.
8827 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8828 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8829 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8831 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8832 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8833 Change uses of L(2) to L(out).
8834 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8835 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8836 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8837 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8838 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8840 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8841 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8843 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8844 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8845 (RETURN): Do not use macro LEAVE.
8846 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8847 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8848 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8849 * sysdeps/i386/i686/memset.S (memset): Likewise.
8850 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8851 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8852 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8853 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8855 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8856 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8857 L(1_2) and L(1_3) into L(1).
8858 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8859 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8860 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8861 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8862 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8863 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8864 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8866 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8868 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8870 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8871 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8872 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8873 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8874 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8875 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8876 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8877 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8878 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8879 * sysdeps/i386/strspn.S (strspn): Likewise.
8880 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8882 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8883 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8884 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8885 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8887 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8888 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8889 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8891 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8893 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8895 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8898 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8900 * math/atest-exp.c (exp_mpn): Remove ROUND.
8901 * math/atest-exp2.c (exp_mpn): Likewise.
8902 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8904 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8905 * stdlib/tst-tls-atexit-lib.c: Likewise.
8906 * stdlib/tst-tls-atexit.c: Likewise.
8908 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8910 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8911 and __attribute_alloc_size__.
8913 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8915 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8916 __attribute_alloc_size__.
8917 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8918 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8920 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8922 * include/programs/xmalloc.h: New file.
8923 * catgets/gencat.c: Include it.
8924 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8925 * elf/pldd.c: Likewise.
8926 * iconv/iconv_charmap.c: Likewise.
8927 * iconv/iconvconfig.c: Likewise.
8928 * iconv/strtab.c: Likewise.
8929 * locale/programs/locale.c: Likewise.
8930 * locale/programs/localedef.h: Likewise.
8931 * locale/programs/simple-hash.c: Likewise.
8932 * nscd/nscd.h: Likewise.
8933 * nss/makedb.c: Likewise.
8934 * sysdeps/generic/ldconfig.h: Likewise.
8936 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8938 * Versions.def: Add GLIBC_2.18.
8939 * include/link.h (struct link_map): New member l_tls_dtor_count.
8940 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8941 (__call_tls_dtors): Likewise.
8942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8943 __cxa_thread_atexit_impl.
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8960 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8961 (tests): Add test case tst-tls-atexit.
8962 (modules-names): Add shared library for tst-tls-atexit.
8963 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8964 (GLIBC_PRIVATE): Add __call_tls_dtors.
8965 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8967 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8968 * stdlib/tst-tls-atexit.c: New test case.
8969 * stdlib/tst-tls-atexit-lib.c: New test case.
8971 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8973 * elf/Versions (ld): Add _dl_find_dso_for_object.
8974 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8975 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8976 (dl_open_worker): Use _dl_find_dso_for_object.
8977 * elf/dl-sym.c (do_sym): Likewise.
8978 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8980 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8982 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8983 Syntactic changes only.
8984 (_dl_runtime_profile): Do a tail-call to the resolved function.
8986 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8989 * sysdeps/x86_64/bp-asm.h: Remove file.
8990 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8991 <bp-sym.h> and <bp-asm.h>.
8992 (__clone): Do not use BP_SYM.
8993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8994 <bp-sym.h> and <bp-asm.h>.
8995 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8996 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8998 (_setjmp): Do not use BP_SYM.
8999 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9001 (setjmp): Do not use BP_SYM.
9002 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9004 (mempcpy): Do not use BP_SYM in weak_alias.
9005 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9007 (strchr): Do not use BP_SYM.
9008 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9010 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9011 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9012 (_start): Do not use BP_SYM.
9013 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9015 (strcat): Do not use BP_SYM.
9016 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9018 (STRCMP): Do not use BP_SYM.
9019 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9021 (STRCPY): Do not use BP_SYM.
9022 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9024 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9026 (FUNCTION): Do not use BP_SYM.
9027 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9029 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9031 2013-02-17 Andreas Jaeger <aj@suse.de>
9033 * time/Versions: Sort entries.
9034 * string/Versions: Likewise.
9035 * resolv/Versions: Likewise.
9036 * posix/Versions: Likewise.
9037 * iconv/Versions: Likewise.
9038 * elf/Versions: Likewise.
9039 * wcsmbs/Versions: Likewise.
9041 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9043 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9044 loop termination condition.
9046 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9047 variable to calculate EZ.
9050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9051 the lower precision input.
9053 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9056 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9057 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9058 (run-via-rtld-prefix): Do not handle %-bp tests.
9059 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9060 (all-object-suffixes): Remove .ob.
9061 (bppfx): Remove variable.
9062 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9063 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9064 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9065 [$(build-bounded) = yes] (libtype.ob): Likewise.
9066 * Makerules (elide-routines.ob): Remove variable.
9067 (do-tests-clean): Do not handle *-bp.out.
9068 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9069 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9070 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9071 (tests): Do not include $(tests-bp.out).
9072 (xtests): Do not include $(xtests-bp.out).
9073 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9074 [$(build-bounded) = yes] ($(addprefix
9075 $(objpfx),$(binaries-bounded))): Remove rule.
9076 ($(objpfx)%-bp.out): Remove rule.
9077 * config.make.in (build-bounded): Remove variable.
9078 * crypt/Makefile [$(build-bounded) = yes]
9079 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9080 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9082 [$(build-bounded) = yes] (install-lib): Likewise.
9083 [$(build-bounded) = yes] (generated): Likewise.
9084 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9086 * intl/Makefile [$(build-bounded) = yes]
9087 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9088 * math/Makefile [$(build-bounded) = yes]
9089 ($(tests:%=$(objpfx)%-bp): Likewise.
9090 * misc/Makefile [$(build-bounded) = yes]
9091 ($(objpfx)tst-tsearch-bp): Likewise.
9092 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9093 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9095 * string/Makefile (o-objects.ob): Remove variable.
9096 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9097 (CFLAGS-.ob): Remove variable.
9098 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9100 both definitions of variable.
9101 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9102 (ASFLAGS-.ob): Remove variable.
9104 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9107 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9108 Remove __BOUNDED_POINTERS__ from condition.
9109 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9110 * string/bits/string2.h [!__NO_STRING_INLINES &&
9111 !__BOUNDED_POINTERS__]: Likewise.
9112 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9114 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9115 Remove conditional code.
9116 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9117 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9118 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9122 * csu/libc-start.c: Do not include <bp-sym.h>.
9123 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9124 * elf/dl-open.c: Do not include <bp-sym.h>.
9125 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9126 * math/fegetenv.c: Do not include <bp-sym.h>.
9127 (fegetenv): Do not use BP_SYM in versioned symbols.
9128 * nptl/sysdeps/pthread/bits/libc-lockP.h
9129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9132 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9134 (__pthread_mutex_destroy): Likewise.
9135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9136 (__pthread_mutex_lock): Likewise.
9137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9138 (__pthread_mutex_trylock): Likewise.
9139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9140 (__pthread_mutex_unlock): Likewise.
9141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9142 (__pthread_mutexattr_init): Likewise.
9143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9144 (__pthread_mutexattr_destroy): Likewise.
9145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9146 (__pthread_mutexattr_settype): Likewise.
9147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9148 (__pthread_rwlock_init): Likewise.
9149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9150 (__pthread_rwlock_destroy): Likewise.
9151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9152 (__pthread_rwlock_rdlock): Likewise.
9153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9154 (__pthread_rwlock_tryrdlock): Likewise.
9155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9156 (__pthread_rwlock_wrlock): Likewise.
9157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9158 (__pthread_rwlock_trywrlock): Likewise.
9159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9160 (__pthread_rwlock_unlock): Likewise.
9161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9162 (__pthread_key_create): Likewise.
9163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9164 (__pthread_setspecific): Likewise.
9165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9166 (__pthread_getspecific): Likewise.
9167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9170 (_pthread_cleanup_push_defer): Likewise.
9171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9172 (_pthread_cleanup_pop_restore): Likewise.
9173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9174 (pthread_setcancelstate): Likewise.
9175 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9177 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9178 (memchr): Do not use BP_SYM in weak_alias.
9179 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9180 (fegetenv): Do not use BP_SYM in versioned symbols.
9181 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9182 (fesetenv): Do not use BP_SYM in versioned symbols.
9183 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9184 (feupdateenv): Do not use BP_SYM in versioned symbols.
9185 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9186 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9187 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9188 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9189 (open64): Do not use BP_SYM in weak_alias.
9190 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9191 (fegetenv): Do not use BP_SYM in versioned symbols.
9192 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9193 (fesetenv): Do not use BP_SYM in versioned symbols.
9194 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9195 (feupdateenv): Do not use BP_SYM in versioned symbols.
9196 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9197 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9198 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9199 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9200 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9201 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9202 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9204 (__libc_start_main): Do not use BP_SYM.
9206 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9209 redundant return line.
9213 (sub_magnitudes): Likewise.
9219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9223 (sub_magnitudes): Likewise.
9230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9232 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9233 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9236 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9237 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9239 of __mul for squares.
9240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9244 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9247 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9250 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9252 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9253 prototype or function definition. Rename ubp_* variables and
9254 parameters. Remove argv definitions conditional on
9255 [__BOUNDED_POINTERS__].
9256 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9257 * elf/dl-runtime.c (_dl_fixup): Likewise.
9258 * include/set-hooks.h (RUN_HOOK): Likewise.
9259 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9261 * string/strcpy.c (strcpy): Do not use __unbounded.
9262 * sysdeps/generic/frame.h (struct layout): Likewise.
9263 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9264 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9265 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9266 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9267 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9268 (__backtrace): Likewise.
9269 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9271 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9272 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9273 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9275 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9276 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9277 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9278 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9279 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9280 Do not use __unbounded.
9281 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9282 Rename __unboundedrlimits parameter to rlimits in prototype.
9283 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9284 Do not use __unbounded.
9285 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9287 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9288 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9289 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9290 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9291 __ptrvalue or __unbounded.
9292 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9293 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9295 (__new_msgctl): Do not use __ptrvalue.
9296 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9298 (__libc_msgrcv): Do not use __ptrvalue.
9299 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9300 startup_info): Do not use __unbounded.
9301 (__libc_start_main): Likewise. Rename ubp_* variables and
9302 parameters. Remove argv definitions conditional on
9303 [__BOUNDED_POINTERS__].
9304 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9306 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9308 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9310 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9312 (__new_shmctl): Do not use __ptrvalue.
9313 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9314 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9316 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9318 (__libc_sigaction): Likewise.
9319 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9320 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9322 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9324 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9326 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9328 * string/mempcpy.c: Implement by calling memcpy.
9330 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9338 values in the mantissa.
9340 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9341 minimize writes to Z.
9342 (sub_magnitudes): Simplify code a bit.
9344 2013-02-12 Roland McGrath <roland@hack.frob.com>
9346 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9347 from the message. The linker prefixes all warnings with that already.
9349 2013-02-12 Andreas Schwab <schwab@suse.de>
9352 * posix/regexec.c (extend_buffers): Add parameter min_len.
9353 (check_matching): Pass minimum needed length.
9354 (clean_state_log_if_needed): Likewise.
9355 (get_subexp): Likewise.
9356 * posix/Makefile (tests): Add bug-regex34.
9357 (bug-regex34-ENV): Define.
9358 * posix/bug-regex34.c: New file.
9361 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9362 elements compare against the byte sequence of it, not its name.
9363 * posix/Makefile (tests): Add bug-regex35.
9364 (bug-regex35-ENV): Define.
9365 * posix/bug-regex35.c: New file.
9367 2013-02-11 Tom de Vries <tom@codesourcery.com>
9369 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9371 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9372 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9373 (CHECK_EOL): Add undef.
9375 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9377 * bits/stdlib-bsearch.h: New file.
9378 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9379 * stdlib/stdlib.h: Likewise.
9381 2013-02-11 Roland McGrath <roland@hack.frob.com>
9383 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9384 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9386 * manual/search.texi (Array Search Function): Add missing const in
9388 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9389 declaration to use rlim_t.
9390 (Basic Scheduling Functions): Remove erroneous const from
9391 sched_getparam prototype. Remove erroneous * from
9392 sched_get_priority_max and sched_get_priority_min prototypes.
9393 (Resource Usage): Fix summary @comment on vtimes to refer to
9394 sys/vtimes.h rather than vtimes.h.
9395 Add missing *s in vtimes prototype.
9396 (Limits on Resources): Fix ulimit prototype to return long int.
9397 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9398 prototypes to use long int rather than double.
9399 (BSD Random): Fix initstate and setstate to use char *, not void *.
9400 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9401 prototype to make second argument 'struct aiocb64 *const[]'.
9402 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9403 (Status of AIO Operations): Remove erroneous const in aio_return and
9404 aio_return64 prototypes.
9405 (Synchronizing I/O): Fix sync prototype to return void.
9406 * manual/startup.texi (Suboptions): Remove an erroneous const in
9407 getsubopt prototype.
9408 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9409 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9410 use size_t rather than int.
9411 (Scanning All Users): Likewise for getpwent_r.
9412 (Setting Groups): Add missing const to setgroups prototype.
9413 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9414 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9415 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9416 'const void *' rather than 'const char *'.
9417 (Host Address Functions): Likewise for inet_ntop.
9418 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9419 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9420 ssize_t for return value.
9421 (Sending Data): Likewise for send, sendto, sendmsg.
9422 (Socket Option Functions): Add a missing const in setsockopt prototype.
9423 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9424 use wchar_t for the argument.
9425 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9426 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9428 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9429 double/float/long double for second argument.
9430 Fix return types of significand, significandf, significandl.
9431 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9432 argument in fchmod prototype.
9433 (File Owner): Use uid_t and gid_t in fchown prototype.
9434 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9435 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9436 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9437 use 'const struct dirent **' as argument types to CMP function pointer
9439 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9440 (File Times): Fix summary magic @comment for struct utimbuf and utime
9441 to refer to utime.h, not time.h.
9442 * manual/string.texi (Argz Functions): Add missing const in
9443 argz_extract and argz_next prototypes.
9444 (Finding Tokens in a String): Likewise for basename.
9445 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9446 (Copying and Concatenation): Fix typo in wmemmove prototype.
9447 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9448 (Signal Stack): Remove erroneous const in sigstack prototype.
9449 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9451 (Simple Calendar Time): Likewise for stime.
9452 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9454 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9455 say sys/sysctl.h instead.
9456 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9457 and vsyslog prototypes.
9459 2013-02-11 Tom de Vries <tom@codesourcery.com>
9461 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9464 2013-02-11 Roland McGrath <roland@hack.frob.com>
9466 * misc/sys/mman.h: Fix typo in mremap comment.
9468 2013-02-08 Roland McGrath <roland@hack.frob.com>
9470 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9471 the '\0' terminator.
9473 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9476 * debug/segfault.c: Don't include <bp-checks.h>.
9477 * sysdeps/generic/bp-checks.h: Remove file.
9478 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9479 (__GETDENTS): Don't use CHECK_N.
9480 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9481 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9482 (__getgroups): Don't use CHECK_N.
9483 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9484 (setgroups): Don't use CHECK_N.
9485 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9486 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9487 (__libc_msgrcv): Don't use CHECK_N.
9488 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9489 (__libc_msgsnd): Don't use CHECK_N.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9492 (__libc_pread): Don't use CHECK_N.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9494 include <bp-checks.h>.
9495 (__libc_pread64): Don't use CHECK_N.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9497 include <bp-checks.h>.
9498 (__libc_pwrite): Don't use CHECK_N.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9500 include <bp-checks.h>.
9501 (__libc_pwrite64): Don't use CHECK_N.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9504 (__libc_pread): Don't use CHECK_N.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9506 include <bp-checks.h>.
9507 (__libc_pread64): Don't use CHECK_N.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9509 include <bp-checks.h>.
9510 (__libc_pwrite): Don't use CHECK_N.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9512 include <bp-checks.h>.
9513 (__libc_pwrite64): Don't use CHECK_N.
9514 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9515 (do_pread): Don't use CHECK_N.
9516 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9517 (do_pread64): Don't use CHECK_N.
9518 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9519 (do_pwrite): Don't use CHECK_N.
9520 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9521 (do_pwrite64): Don't use CHECK_N.
9522 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9523 (__libc_readv): Don't use CHECK_N.
9524 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9525 (semop): Don't use CHECK_N.
9526 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9528 (semtimedop): Don't use CHECK_N.
9529 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9530 (__libc_pread): Don't use CHECK_N.
9531 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9533 (__libc_pread64): Don't use CHECK_N.
9534 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9536 (__libc_pwrite): Don't use CHECK_N.
9537 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9539 (__libc_pwrite64): Don't use CHECK_N.
9540 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9542 (__libc_msgrcv): Don't use CHECK_N.
9543 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9544 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9545 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9546 (__libc_writev): Don't use CHECK_N.
9548 2013-02-08 Roland McGrath <roland@hack.frob.com>
9550 * string/strcpy.c: Removed unused variable.
9552 * Makeconfig (+sysdep-includes): Define with := rather than =.
9553 Use an existing include/ subdir of each sysdeps dir before it.
9555 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9557 * nscd/connection.c (register_traced_file): Comment function.
9558 [HAVE_INOTIFY] (union __inev): Define.
9559 [HAVE_INOTIFY] (inotify_check_files): New function.
9560 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9561 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9563 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9565 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9567 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9568 loaded if not already and that a failure is permanent.
9570 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9573 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9574 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9576 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9579 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9580 (CHECK_1_NULL_OK): Likewise.
9581 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9582 (__fxstat): Do not use CHECK_1.
9583 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9585 (___fxstat64): Do not use CHECK_1.
9586 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9588 (__fxstatat): Do not use CHECK_1.
9589 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9591 (__fxstatat64): Do not use CHECK_1.
9592 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9594 (__fxstat): Do not use CHECK_1.
9595 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9597 (__fxstatat): Do not use CHECK_1.
9598 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9600 (__getresgid): Do not use CHECK_1.
9601 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9603 (__getresuid): Do not use CHECK_1.
9604 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9606 (__lxstat): Do not use CHECK_1.
9607 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9609 (__old_msgctl): Do not use CHECK_1.
9610 (__new_msgctl): Likewise.
9611 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9613 (__new_setrlimit): Do not use CHECK_1.
9614 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9616 (__old_shmctl): Do not use CHECK_1.
9617 (__new_shmctl): Likewise.
9618 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9620 (__xstat): Do not use CHECK_1.
9621 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9622 (__lxstat): Do not use CHECK_1.
9623 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9625 (___lxstat64): Do not use CHECK_1.
9626 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9627 (__old_msgctl): Do not use CHECK_1.
9628 (__new_msgctl): Likewise.
9629 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9631 (__gettimeofday): Do not use CHECK_1.
9632 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9633 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9634 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9636 (__gettimeofday): Do not use CHECK_1.
9637 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9638 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9639 (__new_shmctl): Do not use CHECK_1.
9640 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9642 (do_sigtimedwait): Do not use CHECK_1.
9643 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9645 (do_sigwaitinfo): Do not use CHECK_1.
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9648 (msgctl): Do not use CHECK_1.
9649 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9651 (shmctl): Do not use CHECK_1.
9652 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9653 (ustat): Do not use CHECK_1.
9654 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9656 (__fxstat): Do not use CHECK_1.
9657 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9659 (__fxstatat): Do not use CHECK_1.
9660 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9662 (__lxstat): Do not use CHECK_1.
9663 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9665 (__xstat): Do not use CHECK_1.
9666 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9667 (__xstat): Do not use CHECK_1.
9668 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9669 (___xstat64): Do not use CHECK_1.
9672 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9674 (CHECK_BOUNDS_HIGH): Likewise.
9675 * string/strcpy.c: Do not include <bp-checks.h>.
9676 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9678 2013-02-07 Roland McGrath <roland@hack.frob.com>
9680 * nscd/nscd-client.h (__nscd_drop_map_ref):
9681 Add __attribute__ ((unused)).
9682 * nis/nss-nisplus.h (niserr2nss): Likewise.
9684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9685 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9687 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9688 Remove inline keyword.
9689 * include/rounding-mode.h (round_away): Likewise.
9690 * libio/wfileops.c (adjust_wide_data): Likewise.
9691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9692 (__m128i_strloadu_tolower): Likewise.
9693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9694 (__m128i_strloadu_tolower): Likewise.
9695 * time/mktime.c (ydhms_diff): Likewise.
9696 * locale/elem-hash.h (elem_hash): Likewise.
9697 * locale/setlocale.c (setdata): Likewise.
9698 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9699 (re_string_wchar_at): Likewise.
9700 (bitset_not, bitset_merge, bitset_mask): Likewise.
9701 [!(__GNUC__ > 3)] (inline): Remove macro.
9702 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9703 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9704 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9705 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9706 * string/memcmp.c (memcmp_bytes): Likewise.
9707 * locale/programs/locarchive.c (compute_hashval): Likewise.
9708 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9709 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9710 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9711 * nss/getent.c (print_rpc, print_protocols): Likewise.
9712 (print_passwd, print_group, print_aliases): Likewise.
9713 * nis/nss-nisplus.h (niserr2nss): Likewise.
9714 * nscd/connections.c (restart_p): Likewise.
9715 Change return type to bool.
9717 2013-02-05 Roland McGrath <roland@hack.frob.com>
9719 * Makeconfig (all-Depend-files): Add existing
9720 $(sorted-subdirs:=/Depend) files.
9721 (all-subdirs): Remove nss.
9722 * sysdeps/unix/inet/Subdirs: Add it here instead.
9723 * hesiod/Depend: New file.
9725 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9726 instead of calling alloca.
9728 * io/lseek.c (__lseek): Rename to __libc_lseek.
9729 Define __lseek as an alias.
9731 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9733 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9735 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9736 else clause and remove check for non-standard endianness.
9738 2013-02-04 David S. Miller <davem@davemloft.net>
9740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9742 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9745 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9746 (__ubp_memchr): Remove prototype.
9747 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9748 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9749 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9750 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9751 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9753 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9754 (__ubp_memchr): Likewise.
9755 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9756 (__ubp_memchr): Likewise.
9757 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9758 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9759 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9760 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9762 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9763 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9764 (__getcwd): Do not use CHECK_STRING.
9765 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9767 (__real_chown): Do not use CHECK_STRING.
9768 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9770 (fchownat): Do not use CHECK_STRING.
9771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9773 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9775 (__lchown): Do not use CHECK_STRING.
9776 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9777 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9778 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9779 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9781 include <bp-checks.h>.
9782 (truncate64): Do not use CHECK_STRING.
9783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9785 (__real_chown): Do not use CHECK_STRING.
9786 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9788 (__lchown): Do not use CHECK_STRING.
9789 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9791 (__chown): Do not use CHECK_STRING.
9792 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9794 (truncate64): Do not use CHECK_STRING.
9795 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9797 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9798 (__xmknod): Do not use CHECK_STRING.
9799 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9801 (__xmknodat): Do not use CHECK_STRING.
9802 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9803 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9805 2013-02-04 Andreas Schwab <schwab@suse.de>
9808 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9809 * include/netdb.h: Likewise for h_errno.
9810 * elf/tst-stackguard1.c: Include <tls.h>.
9812 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9814 * elf/link.h (struct link_map): Extend the l_addr comment.
9815 * include/link.h (struct link_map): Likewise.
9817 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9820 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9821 (BOUNDED_1): Remove macro.
9822 * debug/backtrace.c: Don't include <bp-checks.h>.
9823 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9824 (__backtrace): Likewise.
9825 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9827 (__backtrace): Don't use BOUNDED_1.
9828 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9830 (__backtrace): Don't use BOUNDED_1.
9831 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9832 (__backtrace): Don't use BOUNDED_1.
9833 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9834 (shmat): Don't use BOUNDED_N.
9836 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9839 * sysdeps/generic/bp-start.h: Remove file.
9840 * csu/libc-start.c: Don't include <bp-start.h>.
9841 (LIBC_START_MAIN): Set up __environ directly instead of using
9842 INIT_ARGV_and_ENVIRON.
9843 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9847 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9849 (CHECK_FCNTL): Likewise.
9850 (CHECK_N_PAGES): Likewise.
9853 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9855 (CHECK_SIGSET_NULL_OK): Likewise.
9856 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9858 (sigpending): Don't use CHECK_SIGSET.
9859 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9861 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9862 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9864 (do_sigsuspend): Don't use CHECK_SIGSET.
9865 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9867 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9868 (do_sigwait): Don't use CHECK_SIGSET.
9869 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9871 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9872 include <bp-checks.h>.
9873 (sigpending): Don't use CHECK_SIGSET.
9874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9875 include <bp-checks.h>.
9876 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9877 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9879 (sigpending): Don't use CHECK_SIGSET.
9880 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9885 * sysdeps/generic/bp-semctl.h: Remove file.
9886 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9887 <bp-checks.h> and <bp-semctl.h>.
9888 (__old_semctl): Don't use CHECK_SEMCTL.
9889 (__new_semctl): Likewise.
9890 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9892 (__old_semctl): Don't use CHECK_SEMCTL.
9893 (__new_semctl): Likewise.
9894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9895 <bp-checks.h> and <bp-semctl.h>.
9896 (__old_semctl): Don't use CHECK_SEMCTL.
9897 (__new_semctl): Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9899 <bp-checks.h> and <bp-semctl.h>.
9900 (semctl): Don't use CHECK_SEMCTL.
9903 * Makerules (elide-bp-thunks): Remove variable.
9904 (elide-routines.oS): Don't use $(elide-bp-thunks).
9905 (elide-routines.os): Likewise.
9906 (elide-routines.o): Likewise.
9907 (elide-routines.op): Likewise.
9908 (elide-routines.og): Likewise.
9909 (objects): Don't use $(bp-thunks).
9910 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9912 (common-generated): Do not add s-proto-bp.d.
9913 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9916 Do not generate makefile rules for bounded-pointer thunks.
9917 * sysdeps/generic/bp-thunks.h: Remove file.
9918 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9919 * sysdeps/unix/s-proto-bp.S: Likewise.
9922 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9923 parts of result separately when argument is not close to line from
9924 -i to i and one part of argument is small.
9925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9927 * math/libm-test.inc (cacos_test): Add more tests.
9928 (casin_test): Likewise.
9929 (casinh_test): Likewise.
9930 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9933 2013-01-31 David S. Miller <davem@davemloft.net>
9935 * po/de.po: Update from translation team.
9937 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9939 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9941 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9943 * configure.in (_AC_PROG_CC_C89): New definition.
9944 * configure: Regenerate.
9946 * configure.in (AC_PROG_CPP): New definition.
9947 * configure: Regenerate.
9949 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9951 * debug/tst-backtrace.h: New file.
9952 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9953 (ret): Remove variable.
9955 (FAIL): Remove macro.
9956 (NO_INLINE): Likewise.
9957 (fn1): Use match function instead of strstr.
9958 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9959 (ret): Remove variable.
9961 (FAIL): Remove macro.
9962 (NO_INLINE): Likewise.
9963 (fn): Use match function instead of strstr.
9964 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9965 (ret): Remove variable.
9967 (FAIL): Remove macro.
9968 (NO_INLINE): Likewise.
9969 (handle_signal): Use match function instead of strstr.
9970 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9971 (ret): Remove variable.
9973 (FAIL): Remove macro.
9974 (NO_INLINE): Likewise.
9975 (handle_signal): Use match function instead of strstr.
9977 2013-01-23 Roland McGrath <roland@hack.frob.com>
9979 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9981 2013-01-23 David S. Miller <davem@davemloft.net>
9983 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9984 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9985 argument of CAS if possible.
9986 * sysdeps/sparc/sparc64/bits/atomic.h
9987 (__arch_compare_and_exchange_val_32_acq): Likewise.
9988 (__arch_compare_and_exchange_val_64_acq): Likewise.
9990 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9992 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9993 * sysdeps/posix/ulimit.c: ... this.
9995 * sysdeps/unix/bsd/ulimit.c: Remove file.
9997 2013-01-23 Adam Conrad <adconrad@0c3.net>
9999 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10000 (LDFLAGS-tst-array5): Likewise.
10002 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10005 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10006 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10007 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10008 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10010 2013-01-21 David S. Miller <davem@davemloft.net>
10012 * sysdeps/sparc/backtrace.c: New file.
10013 * sysdeps/sparc/sparc32/backtrace.h: New file.
10014 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10015 * sysdeps/sparc/sparc64/backtrace.h: New file.
10016 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10017 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10020 2013-01-21 Andreas Schwab <schwab@suse.de>
10023 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10026 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10032 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10033 Mark Mitchell <mark@codesourcery.com>
10034 Tom de Vries <tom@codesourcery.com>
10035 Paul Pluzhnikov <ppluzhnikov@google.com>
10037 * debug/tst-backtrace2.c: New file.
10038 * debug/tst-backtrace3.c: Likewise.
10039 * debug/tst-backtrace4.c: Likewise.
10040 * debug/tst-backtrace5.c: Likewise.
10041 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10042 (CFLAGS-tst-backtrace3.c): Likewise.
10043 (CFLAGS-tst-backtrace4.c): Likewise.
10044 (CFLAGS-tst-backtrace5.c): Likewise.
10045 (LDFLAGS-tst-backtrace2): Likewise.
10046 (LDFLAGS-tst-backtrace3): Likewise.
10047 (LDFLAGS-tst-backtrace4): Likewise.
10048 (LDFLAGS-tst-backtrace5): Likewise.
10049 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10050 tst-backtrace4 and tst-backtrace5.
10052 2013-01-18 Anton Blanchard <anton@samba.org>
10053 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10055 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10056 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10057 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10058 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10060 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10061 "+r" and remove output regs list as redundant. Add explicit inline
10062 asm to specify register of return val to work around compiler codegen
10063 bug. Remove (int) cast on return value. Add return type parameter to
10064 use in macro so that this macro does not truncate return value for
10066 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10067 pass to INTERNAL_VSYSCALL_NCS.
10068 (INLINE_VSYSCALL): Add 'long int' as return type to
10069 INTERNAL_VSYSCALL_NCS macro invocation.
10070 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10071 INTERNAL_VSYSCALL_NCS macro invocation.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10074 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10077 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10078 Fix application of SIMD FP exception mask.
10080 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10081 mp_no from a power of two.
10082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10083 __mpexp_twomm1. Use __pow_mp.
10085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10088 2013-01-17 David S. Miller <davem@davemloft.net>
10090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10092 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10095 * include/complex.h: Condition contents on [!_COMPLEX_H].
10096 (__kernel_casinhf): New prototype.
10097 (__kernel_casinh): Likewise.
10098 (__kernel_casinhl): Likewise.
10099 * math/Makefile (libm_calls): Add k_casinh.
10100 * math/k_casinh.c: New file.
10101 * math/k_casinhf.c: Likewise.
10102 * math/k_casinhl.c: Likewise.
10103 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10104 finite nonzero arguments.
10105 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10106 finite nonzero arguments.
10107 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10108 finite nonzero arguments.
10109 * math/s_casinh.c: Do not include <float.h>.
10110 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10111 * math/s_casinhf.c: Do not include <float.h>.
10112 (__casinhf): Move code for finite nonzero arguments to
10114 * math/s_casinhl.c: Do not include <float.h>.
10115 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10117 (__casinhl): Move code for finite nonzero arguments to
10119 * math/libm-test.inc (cacos_test): Add more tests.
10120 * sysdeps/i386/fpu/libm-test-ulps: Update.
10121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10123 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10125 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10126 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10127 [!HAVE_MREMAP]: Remove [defined linux] case.
10128 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10130 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10132 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10134 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10136 * elf/elf.h (R_386_SIZE32): New relocation.
10137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10139 (elf_machine_rela): Likewise.
10140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10141 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10143 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10145 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10146 (FP_FAST_FMA): Do not define.
10147 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10148 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10149 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10150 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10151 !_SOFT_FLOAT]: Likewise.
10152 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10153 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10155 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10156 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10158 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10159 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10160 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10163 2013-01-16 Andreas Schwab <schwab@suse.de>
10166 * include/stdlib.h (__mktemp): Add declaration.
10167 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10168 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10170 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10172 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10174 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10175 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10176 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10178 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10179 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10183 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10184 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10185 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10187 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10188 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10190 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10192 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10194 2013-01-15 David S. Miller <davem@davemloft.net>
10196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10197 trunc{,f} to libm-sysdep_routes.
10198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10208 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10209 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10210 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10211 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10212 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10213 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10216 nearbyint{,f} to libm-sysdep_routes.
10217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10228 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10234 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10235 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10237 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10238 libc_feholdexcept and libc_fesetenv.
10240 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10242 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10244 2013-01-14 David S. Miller <davem@davemloft.net>
10246 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10247 (SPARC_ASM_VIS2_IFUNC): Likewise.
10248 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10250 use of 'siam' instruction.
10251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10284 routines to libm-sysdep_routines.
10285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10288 fdim/fdimf to libm-sysdep_routines.
10289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10297 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10298 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10299 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10300 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10302 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10305 to optimize copies.
10307 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10312 local variable MPTWO.
10313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10316 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10318 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10321 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10323 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10325 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10327 * manual/pattern.texi (glob_t): Document gl_flags.
10328 (glob64_t): Likewise.
10330 2013-01-11 David S. Miller <davem@davemloft.net>
10332 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10333 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10334 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10335 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10336 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10337 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10338 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10339 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10340 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10341 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10342 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10343 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10344 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10346 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10347 sparc V9 rather than using V8 code.
10348 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10349 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10351 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10356 2013-01-11 Roland McGrath <roland@hack.frob.com>
10358 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10359 not in the main loop.
10360 * configure: Regenerated.
10362 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10364 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10365 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10367 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10368 [!__GLIBC_HAVE_LONG_LONG] case.
10369 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10370 condition to just #else.
10371 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10372 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10373 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10374 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10376 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10377 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10378 #elif condition to just #else.
10379 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10380 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10381 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10382 #elif condition to just #else.
10384 2013-01-11 Steve Ellcey <sellcey@mips.com>
10386 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10387 (EF_MIPS_ARCH_64): Fix value.
10388 (EF_MIPS_ARCH_32R2): New.
10389 (EF_MIPS_ARCH_64R2): New.
10391 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10393 * Makeconfig (+link-pie-before-libc): New.
10394 (+link-pie-after-libc): Likewise.
10395 (+link-pie-tests): Likewise.
10396 (+link-pie): Rewritten.
10397 (link-before-libc): Remove $(config-LDFLAGS).
10398 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10399 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10400 (config-LDFLAGS): Renamed to ...
10401 (rtld-LDFLAGS): This.
10402 (rtld-tests-LDFLAGS): New macro.
10403 (link-libc-rpath-link): Likewise.
10404 (link-libc-tests-rpath-link): Likewise.
10405 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10406 (link-libc): Prepand $(link-libc-rpath-link).
10407 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10408 (test-program-prefix): New macro.
10409 (test-via-rtld-prefix): Likewise.
10410 (test-program-cmd): Likewise.
10411 (host-test-program-cmd): Likewise.
10412 * Makefile ($(common-objpfx)testrun.sh): Replace
10413 $(run-program-prefix) with $(test-program-prefix).
10414 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10416 ($(common-objpfx)shlib.lds): Likewise.
10417 (build-module-helper): Likewise.
10418 ($(common-objpfx)format.lds): Likewise.
10419 * Rules (binaries-pie-tests): New.
10420 (binaries-pie-notests): Likewise.
10421 (binaries-pie): Rewritten.
10422 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10423 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10424 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10425 (make-test-out): Replace $(host-built-program-cmd) with
10426 $(host-test-program-cmd).
10427 * config.make.in (build-hardcoded-path-in-tests): New variable.
10428 * configure.in (--enable-hardcoded-path-in-tests): New configure
10430 (hardcoded_path_in_tests): New AC_SUBST.
10431 * configure: Regenerated.
10432 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10433 $(built-program-cmd) with $(test-program-cmd).
10434 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10435 (test_program_cmd): This.
10436 * elf/Makefile ($(objpfx)order.out): Run test with
10437 $(test-program-prefix).
10438 ($(objpfx)order2.out): Likewise.
10439 ($(objpfx)tst-initorder.out): Likewise.
10440 ($(objpfx)tst-initorder2.out): Likewise.
10441 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10442 $(test-program-cmd).
10443 ($(objpfx)tst-array1-static.out): Likewise.
10444 ($(objpfx)tst-array2.out): Likewise.
10445 ($(objpfx)tst-array3.out): Likewise.
10446 ($(objpfx)tst-array4.out): Likewise.
10447 ($(objpfx)tst-array5.out): Likewise.
10448 ($(objpfx)tst-array5-static.out): Likewise.
10449 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10450 $(test-program-cmd).
10451 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10452 $(run-program-prefix) with $(test-program-prefix).
10453 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10454 (test_program_prefix): This.
10455 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10456 $(run-program-prefix) with $(test-program-prefix).
10457 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10458 (test_program_prefix): This.
10459 * iconvdata/tst-tables.sh: Likewise.
10460 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10461 $(run-program-prefix) with $(test-program-prefix).
10462 ($(objpfx)tst-translit.out): Likewise.
10463 ($(objpfx)tst-gettext2.out): Likewise.
10464 ($(objpfx)tst-gettext4.out): Likewise.
10465 ($(objpfx)tst-gettext6.out): Likewise.
10466 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10467 (test_program_prefix): This.
10468 * intl/tst-gettext2.sh: Likewise.
10469 * intl/tst-gettext4.sh Likewise.
10470 * intl/tst-gettext6.sh: Likewise.
10471 * intl/tst-translit.sh: Likewise.
10472 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10473 with $(test-program-cmd).
10474 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10475 $(run-program-prefix) with $(test-program-prefix).
10476 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10477 (test_program_prefix): This.
10478 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10479 $(run-program-prefix) with $(test-program-prefix).
10480 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10481 (test_program_prefix): This.
10482 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10483 * posix/Makefile ($(objpfx)globtest.out): Replace
10484 $(run-via-rtld-prefix) and $(test-wrapper) with
10485 $(test-program-prefix) and $(test-via-rtld-prefix).
10486 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10487 $(test-program-prefix).
10488 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10489 $(host-test-program-cmd).
10490 (tst-spawn-ARGS): Likewise.
10491 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10492 $(test-program-prefix).
10493 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10494 (test_via_rtld_prefix): This.
10495 (test_wrapper): Renamed to ...
10496 (test_program_prefix): This.
10497 (run_program_prefix): Replaced by test_program_prefix.
10498 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10499 (test_program_prefix): This.
10500 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10501 with $(host-test-program-cmd).
10502 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10503 $(run-program-prefix) with $(test-program-prefix).
10504 ($(objpfx)tst-printf.out): Likewise.
10505 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10506 $(test-program-cmd).
10507 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10508 (test_program_prefix): This.
10509 * stdio-common/tst-unbputc.sh: Likewise.
10510 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10511 $(run-program-prefix) with $(test-program-prefix).
10512 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10513 (test_program_prefix): This.
10514 * string/Makefile ($(objpfx)tst-svc.out): Replace
10515 $(built-program-cmd) with $(test-program-cmd).
10517 2013-01-11 Andreas Jaeger <aj@suse.de>
10520 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10521 value. Sync with Linux 3.7.
10523 2013-01-10 David S. Miller <davem@davemloft.net>
10525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10529 2013-01-10 Roland McGrath <roland@hack.frob.com>
10531 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10533 * configure: Regenerated.
10535 2013-01-10 David S. Miller <davem@davemloft.net>
10537 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10538 sparc V9 rather than using V8 code.
10539 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10540 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10542 2013-01-10 Roland McGrath <roland@hack.frob.com>
10544 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10545 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10546 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10547 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10548 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10549 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10550 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10551 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10552 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10553 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10554 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10555 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10556 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10557 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10558 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10559 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10560 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10561 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10562 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10563 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10564 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10565 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10566 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10567 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10568 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10569 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10570 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10572 2013-01-10 David S. Miller <davem@davemloft.net>
10574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10576 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10578 * posix/Makefile (tests-static): New variable.
10579 (tests): Add $(tests-static).
10580 (tst-exec-static-ARGS): New variable.
10581 (tst-spawn-static-ARGS): Likewise.
10582 * posix/tst-exec-static.c: New file.
10583 * posix/tst-spawn-static.c: Likewise.
10584 * posix/tst-exec.c: Support run directly.
10585 * posix/tst-spawn.c: Likewise.
10587 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10589 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10591 * math/bits/mathcalls.h (llrint): Likewise.
10592 (llround): Likewise.
10593 * stdlib/stdlib.h (struct drand48_data): Likewise.
10594 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10595 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10596 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10598 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10600 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10601 (elf_greg_t): Likewise.
10602 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10603 (__jmp_buf): Likewise.
10604 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10606 (llrint): Likewise, for all definitions.
10607 (llrintl): Likewise.
10609 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10610 Remove [__GNUC__] condition.
10611 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10612 condition to just [__USE_ISOC99].
10613 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10615 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10618 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10619 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10621 (_POSIX_V6_ILP32_OFF32): Likewise.
10622 (_XBS5_ILP32_OFF32): Likewise.
10623 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10624 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10626 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10628 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10630 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10631 doubles __mpexp_twomm1. Adjust usage.
10632 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10635 2013-01-10 Andreas Schwab <schwab@suse.de>
10638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10639 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10641 2013-01-09 David S. Miller <davem@davemloft.net>
10644 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10645 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10646 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10647 TCP_FASTOPEN): Define.
10648 (tcp_repair_opt): New structure.
10649 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10651 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10652 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10653 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10654 (tcp_cookie_transactions): New structure.
10656 2013-01-09 Anton Blanchard <anton@samba.org>
10658 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10659 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10660 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10661 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10663 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10665 * include/features.h (__USE_ANSI): Remove.
10667 2013-01-09 Roland McGrath <roland@hack.frob.com>
10669 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10671 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10673 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10675 * sysdeps/s390/fpu/libm-test-ulps: Update.
10677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10679 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10683 (denorm): Likewise.
10684 (__mp_dbl): Likewise.
10685 (__dbl_mp): Likewise.
10686 (add_magnitudes): Likewise.
10687 (sub_magnitudes): Likewise.
10693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10697 (denorm): Likewise.
10698 (__mp_dbl): Likewise.
10699 (__dbl_mp): Likewise.
10700 (add_magnitudes): Likewise.
10701 (sub_magnitudes): Likewise.
10707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10711 (denorm): Likewise.
10712 (__mp_dbl): Likewise.
10713 (__dbl_mp): Likewise.
10714 (add_magnitudes): Likewise.
10715 (sub_magnitudes): Likewise.
10722 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10724 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10725 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10726 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10727 2 && __USE_EXTERN_INLINES]: Likewise.
10729 2013-01-08 Andreas Jaeger <aj@suse.de>
10732 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10734 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10735 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10737 2013-01-07 Anton Blanchard <anton@samba.org>
10739 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10740 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10741 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10742 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10743 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10744 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10745 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10746 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10748 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10749 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10750 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10751 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10752 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10753 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10754 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10756 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10757 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10760 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10761 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10762 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10763 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10764 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10765 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10766 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10768 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10769 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10772 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10773 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10774 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10775 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10777 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10778 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10781 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10783 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10785 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10786 (__MALLOC_PMT): Likewise.
10787 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10788 [__GNUC__], only on [_LIBC].
10789 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10790 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10791 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10792 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10793 forward declaration.
10794 (realloc_hook_ini): Likewise.
10795 (memalign_hook_ini): Likewise.
10796 (__libc_memalign): Do not use __MALLOC_PMT in variable
10798 (__libc_valloc): Likewise.
10799 (__libc_pvalloc): Likewise.
10800 (__libc_calloc): Likewise.
10801 (__posix_memalign): Likewise.
10804 * math/s_casinh.c: Include <float.h>.
10805 (__casinh): Do not do computation with squaring and square root
10806 for large arguments.
10807 * math/s_casinhf.c: Include <float.h>.
10808 (__casinhf): Do not do computation with squaring and square root
10809 for large arguments.
10810 * math/s_casinhl.c: Include <float.h>.
10811 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10812 (__casinhl): Do not do computation with squaring and square root
10813 for large arguments.
10814 * math/libm-test.inc (casin_test): Add more tests.
10815 (casinh_test): Likewise.
10816 * sysdeps/i386/fpu/libm-test-ulps: Update.
10817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10819 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10821 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10822 (__x86_64_raw_data_cache_size): Likewise.
10823 (__x86_64_data_cache_size_half): Likewise.
10824 (__x86_64_raw_data_cache_size_half): Likewise.
10825 (__x86_64_shared_cache_size): Likewise.
10826 (__x86_64_raw_shared_cache_size): Likewise.
10827 (__x86_64_shared_cache_size_half): Likewise.
10828 (__x86_64_raw_shared_cache_size_half): Likewise.
10829 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10831 (__x86_data_cache_size): This.
10832 (__x86_64_raw_data_cache_size): Renamed to ...
10833 (__x86_raw_data_cache_size): This.
10834 (__x86_64_data_cache_size_half): Renamed to ...
10835 (__x86_data_cache_size_half): This.
10836 (__x86_64_raw_data_cache_size_half): Renamed to ...
10837 (__x86_raw_data_cache_size_half): This.
10838 (__x86_64_shared_cache_size): Renamed to ...
10839 (__x86_shared_cache_size): This.
10840 (__x86_64_raw_shared_cache_size): Renamed to ...
10841 (__x86_raw_shared_cache_size): This.
10842 (__x86_64_shared_cache_size_half): Renamed to ...
10843 (__x86_shared_cache_size_half): This.
10844 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10845 (__x86_raw_shared_cache_size_half): This.
10846 * sysdeps/x86_64/memcpy.S: Updated.
10847 * sysdeps/x86_64/memset.S: Likewise.
10848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10850 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10852 2013-01-04 David S. Miller <davem@davemloft.net>
10854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10856 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10858 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10859 1 to avoid redefinition warning.
10860 (__USE_GNU): Don't define.
10861 (init_signaling_nan): Protoize.
10863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10865 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10867 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10869 (__cpymn): Likewise.
10870 (norm): Remove commented code.
10871 (denorm): Likewise.
10872 (__mp_dbl): Likewise.
10874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10875 (__cpymn): Likewise.
10876 (norm): Remove commented code.
10877 (denorm): Likewise.
10878 (__mp_dbl): Likewise.
10881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10882 mp_no value for 1.0 and 2.0.
10883 (norm): Use RADIXI instead of radixi.d.
10884 (denorm): Likewise.
10885 (__mul): Use 0.0 instead of zero.d.
10886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10887 mp_no value for 1.0 and 2.0.
10888 (norm): Use RADIXI instead of radixi.d.
10889 (denorm): Likewise.
10890 (__mul): Use 0.0 instead of zero.d.
10892 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10895 * math/s_casinh.c (__casinh): Reduce finite argument to first
10896 quadrant then set signs of results at the end.
10897 * math/s_casinhf.c (__casinhf): Likewise.
10898 * math/s_casinhl.c (__casinhl): Likewise.
10899 * math/libm-test.inc (casin_test): Add more tests.
10900 (casinh_test): Likewise.
10901 * sysdeps/i386/fpu/libm-test-ulps: Update.
10902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10904 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10906 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10908 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10910 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10912 (denorm): Likewise.
10913 (__mp_dbl): Likewise.
10916 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10917 and adjust the header comment.
10919 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10920 variable name from declaration.
10922 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10925 Initialize COMMON_CPUID_INDEX_7 element.
10926 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10927 (CPUID_RTM): Likewise.
10928 (HAS_RTM): Likewise.
10929 (COMMON_CPUID_INDEX_7): New enum.
10931 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10934 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10935 size is zero, record memory as freed.
10937 2013-01-03 Andreas Jaeger <aj@suse.de>
10939 * po/ia.po: Add new Interlingua translation.
10941 2012-01-03 Allan McRae <allan@archlinux.org>
10943 * locale/programs/localedef.c: Fix description of '--posix' flag.
10945 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10947 * NEWS: Update dates in second copyright notice.
10948 * README: Update copyright dates in example.
10949 * manual/libc.texinfo: Update copyright dates.
10950 * scripts/test-installation.pl: Update copyright date in --version
10953 * hurd/ctty-input.c: Fix copyright notice formatting.
10954 * hurd/ctty-output.c: Likewise.
10955 * hurd/dtable.c: Likewise.
10956 * hurd/hurd-raise.c: Likewise.
10957 * hurd/hurdprio.c: Likewise.
10958 * hurd/msgportdemux.c: Likewise.
10959 * misc/sys/file.h: Likewise.
10960 * misc/sys/ioctl.h: Likewise.
10961 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10962 * sysdeps/mach/hurd/chdir.c: Likewise.
10963 * sysdeps/mach/hurd/fchdir.c: Likewise.
10964 * sysdeps/mach/hurd/rename.c: Likewise.
10965 * sysdeps/mach/hurd/rmdir.c: Likewise.
10966 * sysdeps/mach/hurd/seekdir.c: Likewise.
10967 * sysdeps/mach/hurd/setsid.c: Likewise.
10968 * sysdeps/posix/wait3.c: Likewise.
10970 * All files with FSF copyright notices: Update copyright dates
10971 using scripts/update-copyrights.
10972 * intl/plural.c: Regenerated.
10973 * locale/programs/charmap-kw.h: Likewise.
10974 * locale/programs/locfile-kw.h: Likewise.
10976 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10978 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10981 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10982 calculation loop and add branch prediction.
10984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10985 check access beyond bounds of m1np.
10987 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10989 (__inv): Remove local variable MPTWO to use the global
10991 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10992 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10994 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10995 MP3HALFS static const.
10997 2013-01-01 David S. Miller <davem@davemloft.net>
10999 * po/ca.po: Update from translation team.
11001 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11003 * scripts/update-copyrights: New file.
11004 * Makeconfig: Reformat copyright notice.
11005 * ctype/ctype.h: Likewise.
11006 * debug/swprintf_chk.c: Likewise.
11007 * elf/dl-cache.c: Likewise.
11008 * elf/dl-debug.c: Likewise.
11009 * elf/dl-object.c: Likewise.
11010 * grp/initgroups.c: Likewise.
11011 * hurd/Makefile: Likewise.
11012 * hurd/hurd/signal.h: Likewise.
11013 * hurd/hurdfault.c: Likewise.
11014 * hurd/hurdioctl.c: Likewise.
11015 * hurd/hurdlookup.c: Likewise.
11016 * hurd/intr-msg.c: Likewise.
11017 * iconv/gconv_open.c: Likewise.
11018 * libio/swprintf.c: Likewise.
11019 * locale/lc-ctype.c: Likewise.
11020 * locale/nl_langinfo.c: Likewise.
11021 * mach/Machrules: Likewise.
11022 * mach/Makefile: Likewise.
11023 * malloc/obstack.h: Likewise.
11024 * manual/Makefile: Likewise.
11025 * manual/tsort.awk: Likewise.
11026 * misc/bits/stab.def: Likewise.
11027 * nis/nis_print_group_entry.c: Likewise.
11028 * nis/nis_table.c: Likewise.
11029 * nis/nss_compat/compat-pwd.c: Likewise.
11030 * nis/nss_compat/compat-spwd.c: Likewise.
11031 * po/Makefile: Likewise.
11032 * posix/fnmatch.c: Likewise.
11033 * posix/regex.h: Likewise.
11034 * resolv/Makefile: Likewise.
11035 * resolv/nss_dns/dns-network.c: Likewise.
11036 * resolv/res_hconf.c: Likewise.
11037 * scripts/gen-sorted.awk: Likewise.
11038 * soft-fp/soft-fp.h: Likewise.
11039 * stdio-common/printf.h: Likewise.
11040 * stdlib/monetary.h: Likewise.
11041 * stdlib/random.c: Likewise.
11042 * stdlib/random_r.c: Likewise.
11043 * sysdeps/generic/Makefile: Likewise.
11044 * sysdeps/gnu/Makefile: Likewise.
11045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11073 * sysdeps/mach/hurd/errnos.awk: Likewise.
11074 * sysdeps/mach/hurd/fork.c: Likewise.
11075 * sysdeps/mach/hurd/getcwd.c: Likewise.
11076 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11077 * sysdeps/mach/hurd/mmap.c: Likewise.
11078 * sysdeps/mach/hurd/utimes.c: Likewise.
11079 * sysdeps/mach/hurd/xmknod.c: Likewise.
11080 * sysdeps/posix/profil.c: Likewise.
11081 * sysdeps/posix/readdir_r.c: Likewise.
11082 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11083 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11084 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11085 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11087 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11088 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11091 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11092 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11093 * sysdeps/pthread/lio_listio.c: Likewise.
11094 * sysdeps/sparc/dl-procinfo.h: Likewise.
11095 * sysdeps/unix/i386/sysdep.S: Likewise.
11096 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11097 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11098 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11099 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11101 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11102 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11103 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11104 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11105 * sysdeps/wordsize-32/divdi3.c: Likewise.
11106 * time/sys/time.h: Likewise.
11107 * wcsmbs/Makefile: Likewise.
11109 2013-01-01 David S. Miller <davem@davemloft.net>
11111 * po/fr.po: Update from translation team.
11113 * catgets/gencat.c: Update copyright year.
11114 * csu/version.c: Likewise.
11115 * debug/catchsegv.sh: Likewise.
11116 * debug/pcprofiledump.c: Likewise.
11117 * debug/xtrace.sh: Likewise.
11118 * elf/ldconfig.c: Likewise.
11119 * elf/ldd.bash.in: Likewise.
11120 * elf/pldd.c: Likewise.
11121 * elf/sotruss.ksh: Likewise.
11122 * elf/sprof.c: Likewise.
11123 * iconv/iconv_prog.c: Likewise.
11124 * iconv/iconvconfig.c: Likewise.
11125 * locale/programs/locale.c: Likewise.
11126 * locale/programs/localedef.c: Likewise.
11127 * login/programs/pt_chown.c: Likewise.
11128 * malloc/memusage.sh: Likewise.
11129 * malloc/memusagestat.c: Likewise.
11130 * malloc/mtrace.pl: Likewise.
11131 * nscd/nscd.c: Likewise.
11132 * nss/getent.c: Likewise.
11133 * nss/makedb.c: Likewise.
11134 * posix/getconf.c: Likewise.
11136 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11138 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11141 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11143 * math/bits/mathcalls.h (modf): Use __nonnull.
11145 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11148 (split): Use macro CN instead of the bare value.
11149 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11152 instead of the bare value.
11153 (power1): Likewise.
11155 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11159 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11161 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11163 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11165 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11166 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11168 2012-12-28 Andreas Jaeger <aj@suse.de>
11170 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11171 values are from Linux 3.7.
11173 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11174 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11176 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11178 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11181 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11183 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11184 variables with preprocessor constants.
11185 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11186 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11189 2012-12-27 Bruno Haible <bruno@clisp.org>
11192 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11195 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11198 and use variable directly.
11199 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11201 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11203 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11208 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11209 include directive. Remove local variable MPONE.
11210 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11212 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11214 2012-12-25 David S. Miller <davem@davemloft.net>
11216 * version.h (RELEASE): Set to "development".
11217 (VERSION): Set to "2.17.90".
11218 * NEWS: Add 2.18 section.
11220 2012-12-21 David S. Miller <davem@davemloft.net>
11222 * po/hr.po: Update from translation team.
11224 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11226 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11228 2012-12-19 Steve Ellcey <sellcey@mips.com>
11230 * NEWS: Mention new memcpy for MIPS.
11232 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11234 * manual/contrib.texi (Contributors): Spelling correction.
11236 2012-12-15 David S. Miller <davem@davemloft.net>
11238 * po/ru.po: Update from translation team.
11240 2012-12-13 David S. Miller <davem@davemloft.net>
11242 * NEWS: Mention IFUNC testsuite enhancements.
11244 * po/pl.po: Update from translation team.
11245 * po/bg.po: Likewise.
11247 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11248 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11250 2012-12-11 David S. Miller <davem@davemloft.net>
11252 * po/sv.po: Update from translation team.
11254 * po/vi.po: Update from translation team.
11256 * po/cs.po: Update from translation team.
11258 * po/de.po: Update from translation team.
11259 * po/eo.po: Likewise.
11260 * po/nl.po: Likewise.
11262 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11265 * manual/argp.texi (Argp Helper Functions): Move node to follow
11266 Argp Parsing State.
11269 * manual/conf.texi (Limits on File System Capacity): Mention if
11270 terminating null is included in the max size.
11272 2012-12-10 Andreas Jaeger <aj@suse.de>
11274 * po/cs.po: Update from translation team.
11276 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11278 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11279 void pointer and cast to uintptr_t.
11280 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11282 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11283 * sysdeps/s390/s390-64/memset.S: Likewise.
11285 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11288 * menual/message.texi (Message Translation): Fix typos.
11289 (Helper programs for gettext): Likewise.
11291 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11294 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11297 2012-12-07 David S. Miller <davem@davemloft.net>
11299 * po/libc.pot: Update.
11301 2012-12-07 Richard Henderson <rth@redhat.com>
11304 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11305 normal/normal case to before the switch.
11306 (_FP_DIV): Likewise.
11308 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11309 Mike Frysinger <vapier@gentoo.org>
11311 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11312 check for __NR_fadvise64_64.
11314 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11316 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11317 0, not just to plain "0" as a statement.
11318 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11321 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11323 * NEWS: Use sourceware.org in Bugzilla URL.
11325 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11328 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11330 * stdio-common/tst-put-error.c (do_test): Add newline to the
11331 padded test to ensure flush.
11333 2012-12-05 Jeff Law <law@redhat.com>
11335 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11337 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11339 * README: Don't refer to ports add-on as distributed separately.
11340 Mention AArch64 in list of systems supported in the ports add-on.
11342 * LICENSES: Add more non-FSF copyright and license notices.
11344 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11347 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11349 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11350 10000 as width of padded output.
11352 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11354 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11356 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11357 variable LX with __attribute__ ((unused)).
11358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11360 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11363 with __attribute__ ((unused)).
11365 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11367 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11369 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11371 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11372 (CFLAGS-nldbl-acos.c): New variable.
11373 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11374 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11375 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11376 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11377 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11378 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11379 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11380 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11381 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11382 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11383 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11384 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11385 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11386 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11387 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11388 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11389 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11390 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11391 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11392 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11393 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11394 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11395 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11396 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11397 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11398 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11399 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11400 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11401 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11402 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11403 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11404 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11405 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11406 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11407 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11408 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11409 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11410 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11411 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11412 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11413 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11414 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11415 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11416 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11417 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11418 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11419 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11420 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11421 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11422 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11423 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11424 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11425 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11426 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11427 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11428 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11429 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11430 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11431 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11432 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11433 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11434 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11435 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11436 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11437 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11438 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11439 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11440 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11441 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11442 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11443 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11444 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11445 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11446 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11447 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11448 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11449 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11450 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11451 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11452 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11453 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11454 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11455 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11456 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11457 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11458 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11459 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11460 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11461 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11462 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11463 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11464 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11465 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11466 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11467 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11468 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11469 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11472 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11476 whole low double instead of just low 47 bits when splitting values
11479 2012-12-03 Allan McRae <allan@archlinux.org>
11481 * manual/stdio.texi (Predefined Printf Handlers): Remove
11482 @hsep and @vsep usage.
11484 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11486 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11487 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11489 2012-12-03 Jeff Law <law@redhat.com>
11491 * time/sys/time.h (settimeofday): Do not mark TV argument
11494 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11496 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11497 when currently writing and seek to current position when not.
11498 * libio/Makefile (tests): Remove bug-fclose1.
11499 * libio/bug-fclose1.c: Delete.
11501 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11503 * manual/arith.texi (feenableexcept): Fix typo.
11504 (fedisableexcept): Likewise.
11506 2012-11-30 Roland McGrath <roland@hack.frob.com>
11508 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11509 second, differently-typed declaration, rather than a cast.
11511 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11513 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11514 * include/rpc/svc.h: ... here.
11516 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11519 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11520 depending n and resplen2 to catch cases where answer
11523 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11525 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11526 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11528 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11530 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11532 2012-11-29 Roland McGrath <roland@hack.frob.com>
11534 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11536 2012-11-28 Jeff Law <law@redhat.com>
11539 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11540 dataset_temporary. Track alloca usage into alloca_used.
11541 If dataset is large allocate and release it via malloc/free.
11543 2012-06-04 Florian Weimer <fweimer@redhat.com>
11546 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11548 2012-11-28 David S. Miller <davem@davemloft.net>
11550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11552 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11555 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11556 of pi/2 rounded to nearest to 64 bits.
11557 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11558 nearest to 64 bits.
11559 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11562 2012-11-28 Jeff Law <law@redhat.com>
11563 Martin Osvald <mosvald@redhat.com>
11566 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11567 * sunrpc/svc.c: Include time.h.
11568 (__svc_accept_failed): New function.
11569 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11570 any reason other than EINTR, call __svc_accept_failed.
11571 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11572 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11574 2012-11-28 Andreas Schwab <schwab@suse.de>
11576 * scripts/abilist.awk: Also handle indirect functions in .opd
11579 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11582 * sysdeps/x86/fpu/powl_helper.c: New file.
11583 * sysdeps/x86/fpu/Makefile: Likewise.
11584 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11586 (__ieee754_powl): Use __powl_helper for finite arguments except
11587 integer exponents below 8.
11588 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11590 (__ieee754_powl): Use __powl_helper for finite arguments except
11591 integer exponents below 8.
11592 * math/libm-test.inc (pow_test): Add more tests and enable some
11593 previously disabled tests.
11594 * sysdeps/i386/fpu/libm-test-ulps: Update.
11595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11597 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 Carlos O'Donell <carlos_odonell@mentor.com>
11600 * nss/makedb.c (is_prime): Assert that input is odd and greater
11601 than 4. Note that fact in a comment too.
11602 (next_prime): Add 4 to input.
11604 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11607 * libio/Makefile (tests): Add test case tst-fwrite-error.
11608 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11609 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11610 * libio/tst-fwrite-error.c: New test case.
11612 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11614 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11615 before casting to void *.
11616 * include/libc-internal.h (__pointer_type): New macro.
11617 (__integer_if_pointer_type_sub): Likewise.
11618 (__integer_if_pointer_type): Likewise.
11619 (cast_to_integer): Likewise.
11620 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11621 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11622 before casting to atomic64_t.
11623 (atomic_exchange_acq): Likewise.
11624 (__arch_exchange_and_add_body): Likewise.
11625 (__arch_add_body): Likewise.
11626 (atomic_add_negative): Likewise.
11627 (atomic_add_zero): Likewise.
11629 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11631 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11632 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11633 (add_fdes): Likewise.
11634 (linear_search_fdes): Likewise.
11635 (binary_search_unencoded_fdes): Likewise.
11637 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11639 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11641 2012-11-24 Adam Conrad <adconrad@0c3.net>
11643 * configure.in: Autodetect C++ header directories.
11644 * configure: Regenerated.
11646 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11648 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11650 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11654 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11656 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11657 LDBL_MANT_DIG == 106]: Disable some tests.
11658 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11660 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11664 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11665 input for small inputs. Return +/- pi/2 for large inputs.
11666 * math/libm-test.inc (atan_test): Add more tests.
11668 * sysdeps/generic/unwind-dw2-fde-glibc.c
11669 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11670 __attribute__ ((unused)).
11673 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11674 x * y if x and y are nonzero and z is zero.
11677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11678 nonzero exponents with absolute value below 0x1p-117 to +/-
11682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11683 up arguments below 2**-450, not just those below 2**-500.
11684 * math/libm-test.inc (hypot_test): Add another test.
11687 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11688 Return a+b for ratio over 2**120, not 2**60.
11689 * math/libm-test.inc (hypot_test): Add another test.
11691 * math/libm-test.inc (clog_test): Use
11692 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11693 (clog10_test): Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11698 2012-11-22 Andreas Schwab <schwab@suse.de>
11700 * sysdeps/i386/fpu/libm-test-ulps: Update.
11702 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11704 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11705 printf output with newline.
11707 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11710 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11711 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11712 -z nodlopen, -z initfirst and -z execstack support.
11713 * configure: Regenerated.
11715 * elf/elf.h (DF_1_NODIRECT): New macro.
11716 (DF_1_IGNMULDEF): Likewise.
11717 (DF_1_NOKSYMS): Likewise.
11718 (DF_1_NOHDR): Likewise.
11719 (DF_1_EDITED): Likewise.
11720 (DF_1_NORELOC): Likewise.
11721 (DF_1_SYMINTPOSE): Likewise.
11722 (DF_1_GLOBAUDIT): Likewise.
11723 (DF_1_SINGLETON): Likewise.
11724 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11725 DT_1_SUPPORTED_MASK bits.
11726 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11728 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11730 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11732 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11734 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11737 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11738 (sendmmsg): Move declarations...
11739 * socket/sys/socket.h: ... here.
11740 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11741 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11743 * socket/recvmmsg.c: ... this new file.
11744 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11745 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11746 definition of __sendmmsg hidden.
11747 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11748 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11749 Move ENOSYS stub into and include it from...
11750 * socket/sendmmsg.c: ... this new file.
11751 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11752 (sysdep_routines): Move recvmmsg and sendmmsg...
11753 * socket/Makefile (routines): ... here.
11754 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11755 (GLIBC_PRIVATE): Add __sendmmsg.
11756 * include/sys/socket.h (__sendmmsg): Add declarations.
11757 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11760 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11763 variable I1 with __attribute__ ((unused)).
11764 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11766 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11768 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11769 DUMMY variables with __attribute__ ((unused)).
11771 * bits/byteswap.h: Include <bits/types.h>.
11772 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11774 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11776 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11777 string_t. Do not manually set errno.
11778 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11779 length with __strnlen. Make sure to both set errno and return it on
11782 2012-11-19 David S. Miller <davem@davemloft.net>
11784 With help from Joseph Myers.
11785 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11786 very large arguments properly.
11787 * math/libm-test.inc (atan_test): New tests.
11788 (atan2_test): New tests.
11789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11792 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11795 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11798 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11799 [POSIX] (EADDRNOTAVAIL): Likewise.
11800 [POSIX] (EAFNOSUPPORT): Likewise.
11801 [POSIX] (EALREADY): Likewise.
11802 [POSIX] (ECONNABORTED): Likewise.
11803 [POSIX] (ECONNREFUSED): Likewise.
11804 [POSIX] (ECONNRESET): Likewise.
11805 [POSIX] (EDESTADDRREQ): Likewise.
11806 [POSIX] (EDQUOT): Likewise.
11807 [POSIX] (EHOSTUNREACH): Likewise.
11808 [POSIX] (EIDRM): Likewise.
11809 [POSIX] (EISCONN): Likewise.
11810 [POSIX] (ELOOP): Likewise.
11811 [POSIX] (EMULTIHOP): Likewise.
11812 [POSIX] (ENETDOWN): Likewise.
11813 [POSIX] (ENETUNREACH): Likewise.
11814 [POSIX] (ENOBUFS): Likewise.
11815 [POSIX] (ENODATA): Likewise.
11816 [POSIX] (ENOLINK): Likewise.
11817 [POSIX] (ENOMSG): Likewise.
11818 [POSIX] (ENOPROTOOPT): Likewise.
11819 [POSIX] (ENOSR): Likewise.
11820 [POSIX] (ENOSTR): Likewise.
11821 [POSIX] (ENOTCONN): Likewise.
11822 [POSIX] (ENOTSOCK): Likewise.
11823 [POSIX] (EOPNOTSUPP): Likewise.
11824 [POSIX] (EOVERFLOW): Likewise.
11825 [POSIX] (EPROTO): Likewise.
11826 [POSIX] (EPROTONOSUPPORT): Likewise.
11827 [POSIX] (EPROTOTYPE): Likewise.
11828 [POSIX] (ESTALE): Likewise.
11829 [POSIX] (ETIME): Likewise.
11830 [POSIX] (ETXTBSY): Likewise.
11831 [POSIX] (EWOULDBLOCK): Likewise.
11832 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11833 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11834 [POSIX] (SEEK_CUR): Likewise.
11835 [POSIX] (SEEK_END): Likewise.
11836 [POSIX || UNIX98] (mode_t): Do not require.
11837 [POSIX] (off_t): Likewise.
11838 [POSIX] (pid_t): Likewise.
11839 [POSIX] (sys/stat.h): Do not allow header.
11840 [POSIX] (unistd.h): Likewise.
11841 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11842 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11843 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11844 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11846 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11847 sigevent): Specify elements.
11848 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11850 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11851 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11853 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11854 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11855 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11856 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11857 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11858 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11859 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11860 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11861 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11862 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11863 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11864 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11865 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11866 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11868 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11874 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11875 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11876 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11877 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11878 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11879 Specify lower bound on value.
11880 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11881 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11882 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11883 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11884 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11885 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11886 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11887 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11889 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11891 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11892 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11893 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11894 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11895 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11896 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11897 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11898 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11899 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11900 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11901 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11902 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11903 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11904 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11905 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11906 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11908 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11910 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11911 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11912 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11913 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11914 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11915 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11917 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11922 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11923 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11925 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11929 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11930 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11931 specify as optional.
11932 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11935 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11936 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11937 [XPG3] (NL_LANGMAX): Likewise.
11938 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11939 [POSIX || XPG3] (NL_NMAX): Likewise.
11940 [POSIX || XPG3] (NL_SETMAX): Likewise.
11941 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11942 [XPG3] (NZERO): Likewise.
11943 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11944 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11945 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11946 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11947 (REG_ERANGE): Expect.
11948 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11950 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11951 Use (void) in prototype.
11952 [POSIX] (*_t): Allow.
11953 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11954 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11955 (WRDE_BADVAL): Expect.
11957 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11959 [XPG3 || XPG4] (O_RSYNC): Likewise.
11960 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11962 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11963 [XPG3 || XPG4] (sigqueue): Likewise.
11964 [XPG3 || XPG4] (sigtimedwait): Likewise.
11965 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11966 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11967 [XPG3 || XPG4] (vsnprintf): Likewise.
11968 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11970 [XPG3 || XPG4] (blksize_t): Likewise.
11971 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11973 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11974 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11975 [XPG3 || XPG4] (struct itimerspec): Likewise.
11976 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11977 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11978 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11979 [XPG3 || XPG4] (clockid_t): Likewise.
11980 [XPG3 || XPG4] (timer_t): Likewise.
11981 [XPG3 || XPG4] (clock_getres): Likewise.
11982 [XPG3 || XPG4] (clock_gettime): Likewise.
11983 [XPG3 || XPG4] (clock_settime): Likewise.
11984 [XPG3 || XPG4] (nanosleep): Likewise.
11985 [XPG3 || XPG4] (timer_create): Likewise.
11986 [XPG3 || XPG4] (timer_delete): Likewise.
11987 [XPG3 || XPG4] (timer_gettime): Likewise.
11988 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11989 [XPG3 || XPG4] (timer_settime): Likewise.
11990 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11991 [XPG3 || XPG4] (getlogin_r): Likewise.
11992 [XPG3 || XPG4] (pread): Likewise.
11993 [XPG3 || XPG4] (pthread_atfork): Likewise.
11994 [XPG3 || XPG4] (pwrite): Likewise.
11997 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12000 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12002 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12003 finalizing MALLSTREAM.
12005 * sysdeps/mach/hurd/syncfs.c: New file.
12007 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12010 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12011 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12013 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12014 (_nss_dns_gethostbyname4_r): Likewise.
12015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12016 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12018 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12021 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12023 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12025 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12026 * elf/cache.c (print_entry): Print ",AArch64" for
12029 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12030 * elf/cache.c (print_entry): Print ",hard-float" for
12033 2012-11-18 David S. Miller <davem@davemloft.net>
12035 With help from Joseph Myers.
12036 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12038 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12040 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12041 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12043 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12044 * math/libm-test.inc (y0_test): New tests.
12045 (y1_test): New tests.
12046 * sysdeps/i386/fpu/libm-test-ulps: Update.
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12050 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12052 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12054 * configure: Regenerated.
12056 2012-11-17 David S. Miller <davem@davemloft.net>
12059 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12060 nonzero exponents with absolute value below 0x1p-128 to +/-
12063 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12065 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12067 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12069 * posix/getconf-speclist.c: New file.
12070 * posix/posix-envs.def: Likewise.
12071 * posix/confstr.c (START_ENV_GROUP): New macro.
12072 (END_ENV_GROUP): Likewise.
12073 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12074 (KNOWN_PRESENT_ENV_STRING): Likewise.
12075 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12076 (UNKNOWN_ENVIRONMENT): Likewise.
12077 (confstr): Include posix-envs.def instead of handling
12078 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12079 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12080 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12081 (END_ENV_GROUP): Likewise.
12082 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12083 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12084 (UNKNOWN_ENVIRONMENT): Likewise.
12085 (__sysconf): Include posix-envs.def instead of handling associated
12086 cases directly here.
12087 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12088 preprocessing getconf-speclist.c rather than running getconf or
12089 generating empty file.
12091 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12093 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12095 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12098 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12100 2012-11-16 David S. Miller <davem@davemloft.net>
12102 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12103 smaller than LDBL_EPSILON/2.0L, just return xm1.
12105 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12107 * elf/tst-array1.c (init): Set constructor priority to 1000.
12108 (fini): Set destructor priority to 1000.
12109 * elf/tst-array2dep.c: Likewise.
12111 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12114 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12115 (_IO_new_file_xsputn): Also return EOF if none of the input
12116 data was written when overflow failed.
12117 * libio/iopadn.c (_IO_padn): Likewise.
12118 * libio/iowpadn.c (_IO_wpadn): Likewise.
12119 * stdio-common/tst-put-error.c: Add copyright notice.
12120 (do_test): Add case for printing padded string.
12121 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12122 _IO_padn returned error.
12123 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12124 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12127 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12129 * libio/libioP.h: Add comment note that the references to C++
12130 bits are now obsolete.
12132 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12134 * math/libm-test.inc (check_complex): Use asprintf.
12136 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12138 * debug/pcprofiledump.c (print_version): Update copyright year.
12139 * malloc/memusagestat.c (print_version): Likewise.
12141 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12144 * elf/Makefile (tests): Add tst-audit8.
12145 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12146 ($(objpfx)tst-audit8.out): New target.
12147 (tst-audit8-ENV): New variable.
12148 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12149 audit if l_reloc_result is NULL.
12150 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12151 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12152 * elf/tst-audit8.c: New file.
12154 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12156 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12157 * misc/Makefile (CFLAGS-select.c): Define.
12158 * posix/Makefile (CFLAGS-pause.c): Define.
12160 2012-11-13 David S. Miller <davem@davemloft.net>
12162 * crypt/Makefile: Move test targets after toplevel Rules
12163 inclusion. Grab any necessary sysdep routines when linking.
12164 * crypt/md5.c (md5_process_block): Remove define, we will always
12165 name it __md5_process_block.
12166 (md5_finish_ctx): Update md5_process_block call.
12167 (md5_stream): Likewise.
12168 (md5_process_bytes): Likewise.
12169 (md5_process_block): Rename to __md5_process_block and move to ...
12170 * crypt/md5-block.c: ... here.
12171 * crypt/sha256.c (sha256_process_block): Move to ...
12172 * crypt/sha256-block.c: ... here.
12173 * crypt/sha512.c (sha512_process_block): Move to ...
12174 * crypt/sha512-block.c: ... here.
12175 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12177 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12178 * sysdeps/sparc/sparc64/multiarch/Makefile
12179 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12181 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12182 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12184 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12185 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12186 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12187 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12188 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12189 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12190 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12192 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12194 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12195 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12199 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12201 * timezone/tzselect.ksh: Update from tzcode git revision
12202 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12203 * timezone/zdump.c: Likewise.
12204 * timezone/zic.c: Likewise.
12205 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12206 in TZVERSION setting, not $(PKGVERSION).
12207 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12208 REPORT_BUGS_TO settings.
12211 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12214 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12216 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12217 detection to immediately after _FP_ROUND().
12218 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12221 2012-11-11 David S. Miller <davem@davemloft.net>
12223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12225 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12226 __close rather than their public counterparts.
12228 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12230 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12232 [UNIX98] (sem_timedwait): Do not expect.
12233 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12234 [XPG4 || UNIX98] (sockatmark): Do not expect.
12235 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12236 (clock_getcpuclockid): Do not expect.
12237 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12238 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12240 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12241 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12242 [UNIX98] (vwscanf): Likewise.
12243 [UNIX98] (vswscanf): Likewise.
12245 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12247 * timezone/version.h: Remove file.
12248 * timezone/README: Do not refer to version.h.
12249 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12250 $(objpfx)version.h.
12251 ($(objpfx)zdump.o): Likewise.
12252 ($(objpfx)version.h): New target.
12254 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12256 * timezone/README: Don't mention modification to tzselect.ksh.
12257 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12258 work on unmodified tzselect.ksh. Substitute version numbers in
12261 * Makefile (format-me): Remove.
12262 (INSTALL): Adjust indentation. Use commands directly instead of
12263 using $(format-me).
12265 * aclocal.m4 (ACX_PKGVERSION): New macro.
12266 (ACX_BUGURL): Likewise.
12267 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12268 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12269 (REPORT_BUGS_TO): Likewise.
12270 * configure: Regenerated.
12271 * config.h.in (PKGVERSION): New macro.
12272 (REPORT_BUGS_TO): Likewise.
12273 * config.make.in (PKGVERSION): New variable.
12274 (PKGVERSION_TEXI): Likewise.
12275 (REPORT_BUGS_TO): Likewise.
12276 (REPORT_BUGS_TEXI): Likewise.
12277 * Makefile (format-me): Use -I$(common-objpfx)manual.
12278 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12279 ($(common-objpfx)manual/%): New target.
12280 (manual/%): Remove target.
12281 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12282 (print_version): Use PKGVERSION.
12283 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12284 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12285 and REPORT_BUGS_TO.
12286 ($(objpfx)xtrace): Likewise.
12287 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12288 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12289 (print_version): Use PKGVERSION.
12290 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12291 (do_version): Use PKGVERSION.
12292 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12294 (common-ldd-rewrite): Likewise.
12295 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12296 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12297 (print_version): Use PKGVERSION.
12298 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12299 * elf/pldd.c (argp_program_bug_address): Remove variable.
12300 (more_help): New function.
12301 (argp): Use more_help.
12302 (print_version): Use PKGVERSION.
12303 * elf/sln.c (main): Use PKGVERSION.
12304 (usage): Use REPORT_BUGS_TO.
12305 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12306 (top level): Use PKGVERSION.
12307 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12308 (print_version): Use PKGVERSION.
12309 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12310 (print_version): Use PKGVERSION.
12311 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12312 (print_version): Use PKGVERSION.
12313 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12314 (print_version): Use PKGVERSION.
12315 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12316 (print_version): Use PKGVERSION.
12317 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12318 (print_version): Use PKGVERSION.
12319 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12321 ($(objpfx)memusage): Likewise.
12322 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12323 (do_version): Use PKGVERSION.
12324 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12325 (print_version): Use PKGVERSION.
12326 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12327 ($PKGVERSION): New variable.
12328 ($REPORT_BUGS_TO): Likewise.
12329 (usage): Use $REPORT_BUGS_TO.
12330 (top level): Use $PKGVERSION.
12331 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12332 ($(objpfx)pkgvers.texi): New rule.
12333 ($(objpfx)stamp-pkgvers): Likewise.
12334 * manual/install.texi: Include pkgvers.texi.
12335 (--with-pkgversion): Document new configure option.
12336 (--with-bugurl): Likewise.
12337 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12338 than necessarily for this particular distribution. Use
12339 REPORT_BUGS_TO for where to report bugs.
12340 * INSTALL: Regenerated.
12341 * manual/libc.texinfo: Include pkgvers.texi.
12342 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12343 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12344 (print_version): Use PKGVERSION.
12345 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12346 (print_version): Use PKGVERSION.
12347 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12348 (print_version): Use PKGVERSION.
12349 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12350 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12352 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12353 (print_version): Use PKGVERSION.
12354 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12355 (print_version): Use PKGVERSION.
12356 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12359 * timezone/checktab.awk: Update from tzcode 2012i.
12360 * timezone/ialloc.c: Likewise.
12361 * timezone/private.h: Likewise.
12362 * timezone/scheck.c: Likewise.
12363 * timezone/tzfile.h: Likewise.
12364 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12365 (TZVERSION): Hardcode tzcode version number.
12366 * timezone/zdump.c: Update from tzcode 2012i.
12367 * timezone/zic.c: Likewise.
12368 * timezone/version.h: New file.
12369 * timezone/README: Describe version.h. Update upstream location.
12372 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12373 (mktemp): Enable declaration.
12374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12391 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12392 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12393 for copies of such integer values.
12394 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12395 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12397 2012-11-09 Andreas Jaeger <aj@suse.de>
12399 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12400 definitions and declarations that are provided by
12401 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12403 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12405 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12406 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12407 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12410 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12412 * elf/elf.h: Update comment before AArch64 relocations.
12414 2012-11-07 David S. Miller <davem@davemloft.net>
12416 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12417 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12418 (__start_context): Declare.
12419 (__makecontext_ret): Delete.
12420 (__makecontext): Hook up __start_context instead of
12422 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12423 (sysdep_routines): Add __start_context when in stdlib.
12425 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12427 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12428 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12429 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12431 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12432 (READELF): New variable. Use it instead of hardcoded "readelf".
12434 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12436 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12437 * sysdeps/x86/Makefile: Here.
12438 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12439 * sysdeps/x86/tst-xmmymm.sh: This.
12441 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12443 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12445 [UNIX98] (pthread_barrier_t): Do not expect.
12446 [UNIX98] (pthread_barrierattr_t): Likewise.
12447 [UNIX98] (pthread_spinlock_t): Likewise.
12448 [UNIX98] (pthread_barrier_destroy): Likewise.
12449 [UNIX98] (pthread_barrier_init): Likewise.
12450 [UNIX98] (pthread_barrier_wait): Likewise.
12451 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12452 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12453 [UNIX98] (pthread_barrierattr_init): Likewise.
12454 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12455 [UNIX98] (pthread_getcpuclockid): Likewise.
12456 [UNIX98] (pthread_mutex_timedlock): Likewise.
12457 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12458 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12459 [UNIX98] (pthread_sigmask): Likewise.
12460 [UNIX98] (pthread_spin_destroy): Likewise.
12461 [UNIX98] (pthread_spin_init): Likewise.
12462 [UNIX98] (pthread_spin_lock): Likewise.
12463 [UNIX98] (pthread_spin_trylock): Likewise.
12464 [UNIX98] (pthread_spin_unlock): Likewise.
12465 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12467 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12468 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12469 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12470 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12471 [XPG3 || XPG4] (pthread_key_t): Likewise.
12472 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12473 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12474 [XPG3 || XPG4] (pthread_once_t): Likewise.
12475 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12476 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12477 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12478 [XPG3 || XPG4] (pthread_t): Likewise.
12480 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12482 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12484 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12485 Change function return type to int.
12487 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12488 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12489 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12490 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12491 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12492 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12493 [!POSIX] (posix_madvise): Likewise.
12494 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12496 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12497 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12498 (mode_t): Likewise.
12499 (posix_mem_offset): Likewise.
12500 (posix_typed_mem_get_info): Likewise.
12501 (posix_typed_mem_open): Likewise.
12503 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12504 Change condition to [XOPEN2K8].
12506 * conform/conformtest.pl: Preprocess allow-header data with -x c
12507 instead of from stdin.
12508 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12509 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12510 [C99-based standards] (cerfc): Likewise.
12511 [C99-based standards] (cexp2): Likewise.
12512 [C99-based standards] (cexpm1): Likewise.
12513 [C99-based standards] (clog10): Likewise.
12514 [C99-based standards] (clog1p): Likewise.
12515 [C99-based standards] (clog2): Likewise.
12516 [C99-based standards] (clgamma): Likewise.
12517 [C99-based standards] (ctgamma): Likewise.
12518 [C99-based standards] (cerff): Likewise.
12519 [C99-based standards] (cerfcf): Likewise.
12520 [C99-based standards] (cexp2f): Likewise.
12521 [C99-based standards] (cexpm1f): Likewise.
12522 [C99-based standards] (clog10f): Likewise.
12523 [C99-based standards] (clog1pf): Likewise.
12524 [C99-based standards] (clog2f): Likewise.
12525 [C99-based standards] (clgammaf): Likewise.
12526 [C99-based standards] (ctgammaf): Likewise.
12527 [C99-based standards] (cerfl): Likewise.
12528 [C99-based standards] (cerfcl): Likewise.
12529 [C99-based standards] (cexp2l): Likewise.
12530 [C99-based standards] (cexpm1l): Likewise.
12531 [C99-based standards] (clog10l): Likewise.
12532 [C99-based standards] (clog1pl): Likewise.
12533 [C99-based standards] (clog2l): Likewise.
12534 [C99-based standards] (clgammal): Likewise.
12535 [C99-based standards] (ctgammal): Likewise.
12536 * conform/data/inttypes.h-data [C99-based standards]: Include
12537 stdint.h-data. Remove all expectations for stdint.h contents.
12538 [C99-based standards] (PRI*): Do not allow.
12539 [C99-based standards] (SCN*): Likewise.
12540 [C99-based standards] (*_t): Likewise.
12541 [C99-based-standards] (PRId8): Expect macro.
12542 [C99-based-standards] (PRIi8): Likewise.
12543 [C99-based-standards] (PRIo8): Likewise.
12544 [C99-based-standards] (PRIu8): Likewise.
12545 [C99-based-standards] (PRIx8): Likewise.
12546 [C99-based-standards] (PRIX8): Likewise.
12547 [C99-based-standards] (SCNd8): Likewise.
12548 [C99-based-standards] (SCNi8): Likewise.
12549 [C99-based-standards] (SCNo8): Likewise.
12550 [C99-based-standards] (SCNu8): Likewise.
12551 [C99-based-standards] (SCNx8): Likewise.
12552 [C99-based-standards] (PRIdLEAST8): Likewise.
12553 [C99-based-standards] (PRIiLEAST8): Likewise.
12554 [C99-based-standards] (PRIoLEAST8): Likewise.
12555 [C99-based-standards] (PRIuLEAST8): Likewise.
12556 [C99-based-standards] (PRIxLEAST8): Likewise.
12557 [C99-based-standards] (PRIXLEAST8): Likewise.
12558 [C99-based-standards] (SCNdLEAST8): Likewise.
12559 [C99-based-standards] (SCNiLEAST8): Likewise.
12560 [C99-based-standards] (SCNoLEAST8): Likewise.
12561 [C99-based-standards] (SCNuLEAST8): Likewise.
12562 [C99-based-standards] (SCNxLEAST8): Likewise.
12563 [C99-based-standards] (PRIdFAST8): Likewise.
12564 [C99-based-standards] (PRIiFAST8): Likewise.
12565 [C99-based-standards] (PRIoFAST8): Likewise.
12566 [C99-based-standards] (PRIuFAST8): Likewise.
12567 [C99-based-standards] (PRIxFAST8): Likewise.
12568 [C99-based-standards] (PRIXFAST8): Likewise.
12569 [C99-based-standards] (SCNdFAST8): Likewise.
12570 [C99-based-standards] (SCNiFAST8): Likewise.
12571 [C99-based-standards] (SCNoFAST8): Likewise.
12572 [C99-based-standards] (SCNuFAST8): Likewise.
12573 [C99-based-standards] (SCNxFAST8): Likewise.
12574 [C99-based-standards] (PRId16): Likewise.
12575 [C99-based-standards] (PRIi16): Likewise.
12576 [C99-based-standards] (PRIo16): Likewise.
12577 [C99-based-standards] (PRIu16): Likewise.
12578 [C99-based-standards] (PRIx16): Likewise.
12579 [C99-based-standards] (PRIX16): Likewise.
12580 [C99-based-standards] (SCNd16): Likewise.
12581 [C99-based-standards] (SCNi16): Likewise.
12582 [C99-based-standards] (SCNo16): Likewise.
12583 [C99-based-standards] (SCNu16): Likewise.
12584 [C99-based-standards] (SCNx16): Likewise.
12585 [C99-based-standards] (PRIdLEAST16): Likewise.
12586 [C99-based-standards] (PRIiLEAST16): Likewise.
12587 [C99-based-standards] (PRIoLEAST16): Likewise.
12588 [C99-based-standards] (PRIuLEAST16): Likewise.
12589 [C99-based-standards] (PRIxLEAST16): Likewise.
12590 [C99-based-standards] (PRIXLEAST16): Likewise.
12591 [C99-based-standards] (SCNdLEAST16): Likewise.
12592 [C99-based-standards] (SCNiLEAST16): Likewise.
12593 [C99-based-standards] (SCNoLEAST16): Likewise.
12594 [C99-based-standards] (SCNuLEAST16): Likewise.
12595 [C99-based-standards] (SCNxLEAST16): Likewise.
12596 [C99-based-standards] (PRIdFAST16): Likewise.
12597 [C99-based-standards] (PRIiFAST16): Likewise.
12598 [C99-based-standards] (PRIoFAST16): Likewise.
12599 [C99-based-standards] (PRIuFAST16): Likewise.
12600 [C99-based-standards] (PRIxFAST16): Likewise.
12601 [C99-based-standards] (PRIXFAST16): Likewise.
12602 [C99-based-standards] (SCNdFAST16): Likewise.
12603 [C99-based-standards] (SCNiFAST16): Likewise.
12604 [C99-based-standards] (SCNoFAST16): Likewise.
12605 [C99-based-standards] (SCNuFAST16): Likewise.
12606 [C99-based-standards] (SCNxFAST16): Likewise.
12607 [C99-based-standards] (PRId32): Likewise.
12608 [C99-based-standards] (PRIi32): Likewise.
12609 [C99-based-standards] (PRIo32): Likewise.
12610 [C99-based-standards] (PRIu32): Likewise.
12611 [C99-based-standards] (PRIx32): Likewise.
12612 [C99-based-standards] (PRIX32): Likewise.
12613 [C99-based-standards] (SCNd32): Likewise.
12614 [C99-based-standards] (SCNi32): Likewise.
12615 [C99-based-standards] (SCNo32): Likewise.
12616 [C99-based-standards] (SCNu32): Likewise.
12617 [C99-based-standards] (SCNx32): Likewise.
12618 [C99-based-standards] (PRIdLEAST32): Likewise.
12619 [C99-based-standards] (PRIiLEAST32): Likewise.
12620 [C99-based-standards] (PRIoLEAST32): Likewise.
12621 [C99-based-standards] (PRIuLEAST32): Likewise.
12622 [C99-based-standards] (PRIxLEAST32): Likewise.
12623 [C99-based-standards] (PRIXLEAST32): Likewise.
12624 [C99-based-standards] (SCNdLEAST32): Likewise.
12625 [C99-based-standards] (SCNiLEAST32): Likewise.
12626 [C99-based-standards] (SCNoLEAST32): Likewise.
12627 [C99-based-standards] (SCNuLEAST32): Likewise.
12628 [C99-based-standards] (SCNxLEAST32): Likewise.
12629 [C99-based-standards] (PRIdFAST32): Likewise.
12630 [C99-based-standards] (PRIiFAST32): Likewise.
12631 [C99-based-standards] (PRIoFAST32): Likewise.
12632 [C99-based-standards] (PRIuFAST32): Likewise.
12633 [C99-based-standards] (PRIxFAST32): Likewise.
12634 [C99-based-standards] (PRIXFAST32): Likewise.
12635 [C99-based-standards] (SCNdFAST32): Likewise.
12636 [C99-based-standards] (SCNiFAST32): Likewise.
12637 [C99-based-standards] (SCNoFAST32): Likewise.
12638 [C99-based-standards] (SCNuFAST32): Likewise.
12639 [C99-based-standards] (SCNxFAST32): Likewise.
12640 [C99-based-standards] (PRId64): Likewise.
12641 [C99-based-standards] (PRIi64): Likewise.
12642 [C99-based-standards] (PRIo64): Likewise.
12643 [C99-based-standards] (PRIu64): Likewise.
12644 [C99-based-standards] (PRIx64): Likewise.
12645 [C99-based-standards] (PRIX64): Likewise.
12646 [C99-based-standards] (SCNd64): Likewise.
12647 [C99-based-standards] (SCNi64): Likewise.
12648 [C99-based-standards] (SCNo64): Likewise.
12649 [C99-based-standards] (SCNu64): Likewise.
12650 [C99-based-standards] (SCNx64): Likewise.
12651 [C99-based-standards] (PRIdLEAST64): Likewise.
12652 [C99-based-standards] (PRIiLEAST64): Likewise.
12653 [C99-based-standards] (PRIoLEAST64): Likewise.
12654 [C99-based-standards] (PRIuLEAST64): Likewise.
12655 [C99-based-standards] (PRIxLEAST64): Likewise.
12656 [C99-based-standards] (PRIXLEAST64): Likewise.
12657 [C99-based-standards] (SCNdLEAST64): Likewise.
12658 [C99-based-standards] (SCNiLEAST64): Likewise.
12659 [C99-based-standards] (SCNoLEAST64): Likewise.
12660 [C99-based-standards] (SCNuLEAST64): Likewise.
12661 [C99-based-standards] (SCNxLEAST64): Likewise.
12662 [C99-based-standards] (PRIdFAST64): Likewise.
12663 [C99-based-standards] (PRIiFAST64): Likewise.
12664 [C99-based-standards] (PRIoFAST64): Likewise.
12665 [C99-based-standards] (PRIuFAST64): Likewise.
12666 [C99-based-standards] (PRIxFAST64): Likewise.
12667 [C99-based-standards] (PRIXFAST64): Likewise.
12668 [C99-based-standards] (SCNdFAST64): Likewise.
12669 [C99-based-standards] (SCNiFAST64): Likewise.
12670 [C99-based-standards] (SCNoFAST64): Likewise.
12671 [C99-based-standards] (SCNuFAST64): Likewise.
12672 [C99-based-standards] (SCNxFAST64): Likewise.
12673 [C99-based-standards] (PRIdMAX): Likewise.
12674 [C99-based-standards] (PRIiMAX): Likewise.
12675 [C99-based-standards] (PRIoMAX): Likewise.
12676 [C99-based-standards] (PRIuMAX): Likewise.
12677 [C99-based-standards] (PRIxMAX): Likewise.
12678 [C99-based-standards] (PRIXMAX): Likewise.
12679 [C99-based-standards] (SCNdMAX): Likewise.
12680 [C99-based-standards] (SCNiMAX): Likewise.
12681 [C99-based-standards] (SCNoMAX): Likewise.
12682 [C99-based-standards] (SCNuMAX): Likewise.
12683 [C99-based-standards] (SCNxMAX): Likewise.
12684 [C99-based-standards] (PRIdPTR): Likewise.
12685 [C99-based-standards] (PRIiPTR): Likewise.
12686 [C99-based-standards] (PRIoPTR): Likewise.
12687 [C99-based-standards] (PRIuPTR): Likewise.
12688 [C99-based-standards] (PRIxPTR): Likewise.
12689 [C99-based-standards] (PRIXPTR): Likewise.
12690 [C99-based-standards] (SCNdPTR): Likewise.
12691 [C99-based-standards] (SCNiPTR): Likewise.
12692 [C99-based-standards] (SCNoPTR): Likewise.
12693 [C99-based-standards] (SCNuPTR): Likewise.
12694 [C99-based-standards] (SCNxPTR): Likewise.
12695 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12697 * conform/data/stdint.h-data: Update comments to clarify
12699 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12701 [C99-based standards] (INT8_MAX): Likewise.
12702 [C99-based standards] (INT16_MIN): Likewise.
12703 [C99-based standards] (INT16_MAX): Likewise.
12704 [C99-based standards] (INT32_MIN): Likewise.
12705 [C99-based standards] (INT32_MAX): Likewise.
12706 [C99-based standards] (INT64_MIN): Likewise.
12707 [C99-based standards] (INT64_MAX): Likewise.
12708 [C99-based standards] (UINT8_MAX): Likewise.
12709 [C99-based standards] (UINT16_MAX): Likewise.
12710 [C99-based standards] (UINT32_MAX): Likewise.
12711 [C99-based standards] (UINT64_MAX): Likewise.
12712 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12713 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12714 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12715 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12716 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12717 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12718 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12719 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12720 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12721 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12722 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12723 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12724 [C99-based standards] (INT_FAST8_MIN): Likewise.
12725 [C99-based standards] (INT_FAST8_MAX): Likewise.
12726 [C99-based standards] (INT_FAST16_MIN): Likewise.
12727 [C99-based standards] (INT_FAST16_MAX): Likewise.
12728 [C99-based standards] (INT_FAST32_MIN): Likewise.
12729 [C99-based standards] (INT_FAST32_MAX): Likewise.
12730 [C99-based standards] (INT_FAST64_MIN): Likewise.
12731 [C99-based standards] (INT_FAST64_MAX): Likewise.
12732 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12733 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12734 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12735 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12736 [C99-based standards] (INTPTR_MIN): Likewise.
12737 [C99-based standards] (INTPTR_MAX): Likewise.
12738 [C99-based standards] (UINTPTR_MAX): Likewise.
12739 [C99-based standards] (INTMAX_MIN): Likewise.
12740 [C99-based standards] (INTMAX_MAX): Likewise.
12741 [C99-based standards] (UINTMAX_MAX): Likewise.
12742 [C99-based standards] (PTRDIFF_MIN): Likewise.
12743 [C99-based standards] (PTRDIFF_MAX): Likewise.
12744 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12745 [C99-based standards] (SIZE_MAX): Likewise.
12746 [C99-based standards] (WCHAR_MAX): Likewise.
12747 [C99-based standards] (WINT_MAX): Likewise.
12748 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12749 constraint on value.
12750 [C99-based standards] (WCHAR_MIN): Likewise.
12751 [C99-based standards] (WINT_MIN): Likewise.
12752 [C99-based standards] (*_t): Allow.
12753 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12754 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12755 Include math.h-data and complex.h-data. Remove all expectations
12756 of math.h and complex.h contents.
12757 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12759 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12760 (struct tm): Expect tag.
12761 [C99-based-standards] (wcstof): Expect function.
12762 [C99-based-standards] (wcstold): Likewise.
12763 [C99-based-standards] (wcstoll): Likewise.
12764 [C99-based-standards] (wcstoull): Likewise.
12765 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12766 macro-int-constant. Specify type.
12767 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12768 constraint on value.
12769 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12771 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12773 [ISO C standards]: Do not allow headers.
12774 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12775 wcs[abcdefghijklmnopqrstuvwxyz]*.
12776 [ISO C standards] (*_t): Do not allow.
12777 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12779 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12780 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12782 [ISO C standards]: Do not allow headers.
12783 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12784 is[abcdefghijklmnopqrstuvwxyz]*.
12785 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12786 to[abcdefghijklmnopqrstuvwxyz]*.
12787 [ISO C standards] (*_t): Do not allow.
12788 * conform/data/stdalign.h-data: New file.
12789 * conform/data/stdbool.h-data: Likewise.
12790 * conform/data/stdnoreturn.h-data: Likewise.
12792 2012-11-07 Roland McGrath <roland@hack.frob.com>
12795 * manual/filesys.texi (Directory Entries): Typo fix.
12796 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12798 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12800 * elf/elf.h (EM_AARCH64): New macro.
12801 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12802 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12803 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12804 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12805 (R_AARCH64_TLSDESC): Likewise.
12806 (NT_ARM_TLS): Likewise.
12807 (NT_ARM_HW_BREAK): Likewise.
12808 (NT_ARM_HW_WATCH): Likewise.
12810 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12813 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12814 (__ieee754_powl): Saturate nonzero exponents with absolute value
12815 below 0x1p-79 to +/- 0x1p-79.
12816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12817 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12818 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12819 nonzero exponents with absolute value below 0x1p-32 to +/-
12821 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12822 (__ieee754_powl): Saturate nonzero exponents with absolute value
12823 below 0x1p-79 to +/- 0x1p-79.
12824 * math/libm-test.inc (pow_test): Add more tests.
12826 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12828 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12829 _dl_s390_cap_flags with kernel. Increase string length.
12830 (_dl_s390_platforms): Add z196 and zEC12.
12832 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12834 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12835 Change XOPEN21K to XOPEN2K.
12837 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12839 * string/memmove.c: Use memcpy when possible.
12841 2012-11-06 Andreas Jaeger <aj@suse.de>
12843 * po/eo.po: Update from translation team.
12845 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12849 exponent and small x and y exponents, scale x or y up. Increase
12850 by 2 the exponent used in scaling up.
12851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12853 * math/libm-test.inc (fma_test): Add more tests.
12854 (fma_test_towardzero): Likewise.
12855 (fma_test_downward): Likewise.
12856 (fma_test_upward): Likewise.
12858 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12861 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12865 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12866 namespace for names of struct fields.
12867 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12869 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12870 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12872 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12875 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12877 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12879 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12883 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12886 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12890 definitely overflow as x * y not x * y + z.
12891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12893 * math/libm-test.inc (fma_test): Add more tests.
12894 (fma_test_towardzero): Likewise.
12895 (fma_test_downward): Likewise.
12896 (fma_test_upward): Likewise.
12898 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12902 * include/stub-tag.h: Remove file.
12903 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12905 * manual/maint.texi (Porting): Don't reference it.
12906 * Makerules ($(objpfx)stubs): Likewise.
12907 * dirent/closedir.c: Don't include <stub-tag.h>.
12908 * dirent/dirfd.c: Likewise.
12909 * dirent/fdopendir.c: Likewise.
12910 * dirent/getdents.c: Likewise.
12911 * dirent/getdents64.c: Likewise.
12912 * dirent/opendir.c: Likewise.
12913 * dirent/readdir.c: Likewise.
12914 * dirent/readdir64.c: Likewise.
12915 * dirent/readdir64_r.c: Likewise.
12916 * dirent/readdir_r.c: Likewise.
12917 * dirent/rewinddir.c: Likewise.
12918 * dirent/seekdir.c: Likewise.
12919 * dirent/telldir.c: Likewise.
12920 * gmon/profil.c: Likewise.
12921 * grp/setgroups.c: Likewise.
12922 * inet/if_index.c: Likewise.
12923 * io/access.c: Likewise.
12924 * io/chdir.c: Likewise.
12925 * io/chmod.c: Likewise.
12926 * io/chown.c: Likewise.
12927 * io/close.c: Likewise.
12928 * io/dup.c: Likewise.
12929 * io/dup2.c: Likewise.
12930 * io/dup3.c: Likewise.
12931 * io/euidaccess.c: Likewise.
12932 * io/faccessat.c: Likewise.
12933 * io/fchdir.c: Likewise.
12934 * io/fchmod.c: Likewise.
12935 * io/fchmodat.c: Likewise.
12936 * io/fchown.c: Likewise.
12937 * io/fchownat.c: Likewise.
12938 * io/fcntl.c: Likewise.
12939 * io/flock.c: Likewise.
12940 * io/fstatfs.c: Likewise.
12941 * io/fstatfs64.c: Likewise.
12942 * io/fstatvfs.c: Likewise.
12943 * io/fstatvfs64.c: Likewise.
12944 * io/futimens.c: Likewise.
12945 * io/fxstat.c: Likewise.
12946 * io/fxstat64.c: Likewise.
12947 * io/fxstatat.c: Likewise.
12948 * io/fxstatat64.c: Likewise.
12949 * io/getcwd.c: Likewise.
12950 * io/isatty.c: Likewise.
12951 * io/lchmod.c: Likewise.
12952 * io/lchown.c: Likewise.
12953 * io/link.c: Likewise.
12954 * io/linkat.c: Likewise.
12955 * io/lseek.c: Likewise.
12956 * io/lseek64.c: Likewise.
12957 * io/lxstat64.c: Likewise.
12958 * io/mkdir.c: Likewise.
12959 * io/mkdirat.c: Likewise.
12960 * io/mkfifo.c: Likewise.
12961 * io/mkfifoat.c: Likewise.
12962 * io/open.c: Likewise.
12963 * io/open64.c: Likewise.
12964 * io/openat.c: Likewise.
12965 * io/openat64.c: Likewise.
12966 * io/pipe.c: Likewise.
12967 * io/pipe2.c: Likewise.
12968 * io/poll.c: Likewise.
12969 * io/posix_fadvise.c: Likewise.
12970 * io/posix_fadvise64.c: Likewise.
12971 * io/posix_fallocate.c: Likewise.
12972 * io/posix_fallocate64.c: Likewise.
12973 * io/read.c: Likewise.
12974 * io/readlink.c: Likewise.
12975 * io/readlinkat.c: Likewise.
12976 * io/rmdir.c: Likewise.
12977 * io/sendfile.c: Likewise.
12978 * io/sendfile64.c: Likewise.
12979 * io/statfs.c: Likewise.
12980 * io/statfs64.c: Likewise.
12981 * io/statvfs.c: Likewise.
12982 * io/statvfs64.c: Likewise.
12983 * io/symlink.c: Likewise.
12984 * io/symlinkat.c: Likewise.
12985 * io/ttyname.c: Likewise.
12986 * io/ttyname_r.c: Likewise.
12987 * io/umask.c: Likewise.
12988 * io/unlink.c: Likewise.
12989 * io/unlinkat.c: Likewise.
12990 * io/utime.c: Likewise.
12991 * io/utimensat.c: Likewise.
12992 * io/write.c: Likewise.
12993 * io/xmknod.c: Likewise.
12994 * io/xmknodat.c: Likewise.
12995 * io/xstat.c: Likewise.
12996 * io/xstat64.c: Likewise.
12997 * login/getpt.c: Likewise.
12998 * login/grantpt.c: Likewise.
12999 * login/unlockpt.c: Likewise.
13000 * math/e_acoshl.c: Likewise.
13001 * math/e_acosl.c: Likewise.
13002 * math/e_asinl.c: Likewise.
13003 * math/e_atan2l.c: Likewise.
13004 * math/e_atanhl.c: Likewise.
13005 * math/e_coshl.c: Likewise.
13006 * math/e_expl.c: Likewise.
13007 * math/e_fmodl.c: Likewise.
13008 * math/e_gammal_r.c: Likewise.
13009 * math/e_hypotl.c: Likewise.
13010 * math/e_j0l.c: Likewise.
13011 * math/e_j1l.c: Likewise.
13012 * math/e_jnl.c: Likewise.
13013 * math/e_lgammal_r.c: Likewise.
13014 * math/e_log10l.c: Likewise.
13015 * math/e_log2l.c: Likewise.
13016 * math/e_logl.c: Likewise.
13017 * math/e_powl.c: Likewise.
13018 * math/e_rem_pio2l.c: Likewise.
13019 * math/e_sinhl.c: Likewise.
13020 * math/e_sqrtl.c: Likewise.
13021 * math/fclrexcpt.c: Likewise.
13022 * math/fedisblxcpt.c: Likewise.
13023 * math/feenablxcpt.c: Likewise.
13024 * math/fegetenv.c: Likewise.
13025 * math/fegetexcept.c: Likewise.
13026 * math/fegetround.c: Likewise.
13027 * math/feholdexcpt.c: Likewise.
13028 * math/fesetenv.c: Likewise.
13029 * math/fesetround.c: Likewise.
13030 * math/feupdateenv.c: Likewise.
13031 * math/fgetexcptflg.c: Likewise.
13032 * math/fraiseexcpt.c: Likewise.
13033 * math/fsetexcptflg.c: Likewise.
13034 * math/ftestexcept.c: Likewise.
13035 * math/k_cosl.c: Likewise.
13036 * math/k_rem_pio2l.c: Likewise.
13037 * math/k_sinl.c: Likewise.
13038 * math/k_tanl.c: Likewise.
13039 * math/s_asinhl.c: Likewise.
13040 * math/s_atanl.c: Likewise.
13041 * math/s_cbrtl.c: Likewise.
13042 * math/s_erfl.c: Likewise.
13043 * math/s_expm1l.c: Likewise.
13044 * math/s_log1pl.c: Likewise.
13045 * math/s_tanhl.c: Likewise.
13046 * misc/acct.c: Likewise.
13047 * misc/brk.c: Likewise.
13048 * misc/chflags.c: Likewise.
13049 * misc/chroot.c: Likewise.
13050 * misc/fchflags.c: Likewise.
13051 * misc/fgetxattr.c: Likewise.
13052 * misc/flistxattr.c: Likewise.
13053 * misc/fremovexattr.c: Likewise.
13054 * misc/fsetxattr.c: Likewise.
13055 * misc/fsync.c: Likewise.
13056 * misc/ftruncate.c: Likewise.
13057 * misc/futimes.c: Likewise.
13058 * misc/futimesat.c: Likewise.
13059 * misc/getdomain.c: Likewise.
13060 * misc/getdtsz.c: Likewise.
13061 * misc/gethostid.c: Likewise.
13062 * misc/gethostname.c: Likewise.
13063 * misc/getloadavg.c: Likewise.
13064 * misc/getpagesize.c: Likewise.
13065 * misc/getsysstats.c: Likewise.
13066 * misc/getxattr.c: Likewise.
13067 * misc/gtty.c: Likewise.
13068 * misc/ioctl.c: Likewise.
13069 * misc/lgetxattr.c: Likewise.
13070 * misc/listxattr.c: Likewise.
13071 * misc/llistxattr.c: Likewise.
13072 * misc/lremovexattr.c: Likewise.
13073 * misc/lsetxattr.c: Likewise.
13074 * misc/lutimes.c: Likewise.
13075 * misc/madvise.c: Likewise.
13076 * misc/mincore.c: Likewise.
13077 * misc/mlock.c: Likewise.
13078 * misc/mlockall.c: Likewise.
13079 * misc/mmap.c: Likewise.
13080 * misc/mprotect.c: Likewise.
13081 * misc/msync.c: Likewise.
13082 * misc/munlock.c: Likewise.
13083 * misc/munlockall.c: Likewise.
13084 * misc/munmap.c: Likewise.
13085 * misc/preadv.c: Likewise.
13086 * misc/preadv64.c: Likewise.
13087 * misc/ptrace.c: Likewise.
13088 * misc/pwritev.c: Likewise.
13089 * misc/pwritev64.c: Likewise.
13090 * misc/readv.c: Likewise.
13091 * misc/reboot.c: Likewise.
13092 * misc/remap_file_pages.c: Likewise.
13093 * misc/removexattr.c: Likewise.
13094 * misc/revoke.c: Likewise.
13095 * misc/select.c: Likewise.
13096 * misc/setdomain.c: Likewise.
13097 * misc/setegid.c: Likewise.
13098 * misc/seteuid.c: Likewise.
13099 * misc/sethostid.c: Likewise.
13100 * misc/sethostname.c: Likewise.
13101 * misc/setregid.c: Likewise.
13102 * misc/setreuid.c: Likewise.
13103 * misc/setxattr.c: Likewise.
13104 * misc/sstk.c: Likewise.
13105 * misc/stty.c: Likewise.
13106 * misc/swapoff.c: Likewise.
13107 * misc/swapon.c: Likewise.
13108 * misc/sync.c: Likewise.
13109 * misc/syncfs.c: Likewise.
13110 * misc/syscall.c: Likewise.
13111 * misc/truncate.c: Likewise.
13112 * misc/ualarm.c: Likewise.
13113 * misc/usleep.c: Likewise.
13114 * misc/ustat.c: Likewise.
13115 * misc/utimes.c: Likewise.
13116 * misc/vhangup.c: Likewise.
13117 * misc/writev.c: Likewise.
13118 * posix/_exit.c: Likewise.
13119 * posix/alarm.c: Likewise.
13120 * posix/execve.c: Likewise.
13121 * posix/fexecve.c: Likewise.
13122 * posix/fork.c: Likewise.
13123 * posix/fpathconf.c: Likewise.
13124 * posix/getaddrinfo.c: Likewise.
13125 * posix/getegid.c: Likewise.
13126 * posix/geteuid.c: Likewise.
13127 * posix/getgid.c: Likewise.
13128 * posix/getgroups.c: Likewise.
13129 * posix/getlogin.c: Likewise.
13130 * posix/getlogin_r.c: Likewise.
13131 * posix/getpgid.c: Likewise.
13132 * posix/getpid.c: Likewise.
13133 * posix/getppid.c: Likewise.
13134 * posix/getresgid.c: Likewise.
13135 * posix/getresuid.c: Likewise.
13136 * posix/getsid.c: Likewise.
13137 * posix/getuid.c: Likewise.
13138 * posix/glob64.c: Likewise.
13139 * posix/nanosleep.c: Likewise.
13140 * posix/pathconf.c: Likewise.
13141 * posix/pause.c: Likewise.
13142 * posix/posix_madvise.c: Likewise.
13143 * posix/pread.c: Likewise.
13144 * posix/pread64.c: Likewise.
13145 * posix/pwrite.c: Likewise.
13146 * posix/pwrite64.c: Likewise.
13147 * posix/sched_getaffinity.c: Likewise.
13148 * posix/sched_getp.c: Likewise.
13149 * posix/sched_gets.c: Likewise.
13150 * posix/sched_primax.c: Likewise.
13151 * posix/sched_primin.c: Likewise.
13152 * posix/sched_rr_gi.c: Likewise.
13153 * posix/sched_setaffinity.c: Likewise.
13154 * posix/sched_setp.c: Likewise.
13155 * posix/sched_sets.c: Likewise.
13156 * posix/sched_yield.c: Likewise.
13157 * posix/setgid.c: Likewise.
13158 * posix/setlogin.c: Likewise.
13159 * posix/setpgid.c: Likewise.
13160 * posix/setresgid.c: Likewise.
13161 * posix/setresuid.c: Likewise.
13162 * posix/setsid.c: Likewise.
13163 * posix/setuid.c: Likewise.
13164 * posix/sleep.c: Likewise.
13165 * posix/spawni.c: Likewise.
13166 * posix/sysconf.c: Likewise.
13167 * posix/times.c: Likewise.
13168 * posix/wait.c: Likewise.
13169 * posix/wait3.c: Likewise.
13170 * posix/wait4.c: Likewise.
13171 * posix/waitpid.c: Likewise.
13172 * resolv/gai_sigqueue.c: Likewise.
13173 * resource/getpriority.c: Likewise.
13174 * resource/getrlimit.c: Likewise.
13175 * resource/getrusage.c: Likewise.
13176 * resource/nice.c: Likewise.
13177 * resource/setpriority.c: Likewise.
13178 * resource/setrlimit.c: Likewise.
13179 * resource/ulimit.c: Likewise.
13180 * rt/aio_cancel.c: Likewise.
13181 * rt/aio_fsync.c: Likewise.
13182 * rt/aio_read.c: Likewise.
13183 * rt/aio_sigqueue.c: Likewise.
13184 * rt/aio_suspend.c: Likewise.
13185 * rt/aio_write.c: Likewise.
13186 * rt/clock_getres.c: Likewise.
13187 * rt/clock_gettime.c: Likewise.
13188 * rt/clock_nanosleep.c: Likewise.
13189 * rt/clock_settime.c: Likewise.
13190 * rt/lio_listio.c: Likewise.
13191 * rt/mq_close.c: Likewise.
13192 * rt/mq_getattr.c: Likewise.
13193 * rt/mq_notify.c: Likewise.
13194 * rt/mq_open.c: Likewise.
13195 * rt/mq_receive.c: Likewise.
13196 * rt/mq_send.c: Likewise.
13197 * rt/mq_setattr.c: Likewise.
13198 * rt/mq_timedreceive.c: Likewise.
13199 * rt/mq_timedsend.c: Likewise.
13200 * rt/mq_unlink.c: Likewise.
13201 * rt/shm_open.c: Likewise.
13202 * rt/shm_unlink.c: Likewise.
13203 * rt/timer_create.c: Likewise.
13204 * rt/timer_delete.c: Likewise.
13205 * rt/timer_getoverr.c: Likewise.
13206 * rt/timer_gettime.c: Likewise.
13207 * rt/timer_settime.c: Likewise.
13208 * setjmp/__longjmp.c: Likewise.
13209 * setjmp/setjmp.c: Likewise.
13210 * signal/kill.c: Likewise.
13211 * signal/killpg.c: Likewise.
13212 * signal/raise.c: Likewise.
13213 * signal/sigaction.c: Likewise.
13214 * signal/sigaltstack.c: Likewise.
13215 * signal/sigblock.c: Likewise.
13216 * signal/sigignore.c: Likewise.
13217 * signal/sigintr.c: Likewise.
13218 * signal/signal.c: Likewise.
13219 * signal/sigpause.c: Likewise.
13220 * signal/sigpending.c: Likewise.
13221 * signal/sigqueue.c: Likewise.
13222 * signal/sigreturn.c: Likewise.
13223 * signal/sigset.c: Likewise.
13224 * signal/sigsetmask.c: Likewise.
13225 * signal/sigstack.c: Likewise.
13226 * signal/sigsuspend.c: Likewise.
13227 * signal/sigtimedwait.c: Likewise.
13228 * signal/sigvec.c: Likewise.
13229 * signal/sigwait.c: Likewise.
13230 * signal/sigwaitinfo.c: Likewise.
13231 * signal/sysv_signal.c: Likewise.
13232 * socket/accept.c: Likewise.
13233 * socket/accept4.c: Likewise.
13234 * socket/bind.c: Likewise.
13235 * socket/connect.c: Likewise.
13236 * socket/getpeername.c: Likewise.
13237 * socket/getsockname.c: Likewise.
13238 * socket/getsockopt.c: Likewise.
13239 * socket/isfdtype.c: Likewise.
13240 * socket/listen.c: Likewise.
13241 * socket/recv.c: Likewise.
13242 * socket/recvfrom.c: Likewise.
13243 * socket/recvmsg.c: Likewise.
13244 * socket/send.c: Likewise.
13245 * socket/sendmsg.c: Likewise.
13246 * socket/sendto.c: Likewise.
13247 * socket/setsockopt.c: Likewise.
13248 * socket/shutdown.c: Likewise.
13249 * socket/sockatmark.c: Likewise.
13250 * socket/socket.c: Likewise.
13251 * socket/socketpair.c: Likewise.
13252 * stdio-common/ctermid.c: Likewise.
13253 * stdio-common/cuserid.c: Likewise.
13254 * stdio-common/remove.c: Likewise.
13255 * stdio-common/rename.c: Likewise.
13256 * stdio-common/renameat.c: Likewise.
13257 * stdio-common/tempname.c: Likewise.
13258 * stdlib/getcontext.c: Likewise.
13259 * stdlib/makecontext.c: Likewise.
13260 * stdlib/setcontext.c: Likewise.
13261 * stdlib/swapcontext.c: Likewise.
13262 * stdlib/system.c: Likewise.
13263 * streams/fattach.c: Likewise.
13264 * streams/fdetach.c: Likewise.
13265 * streams/getmsg.c: Likewise.
13266 * streams/getpmsg.c: Likewise.
13267 * streams/putmsg.c: Likewise.
13268 * streams/putpmsg.c: Likewise.
13269 * sysdeps/unix/bsd/getpt.c: Likewise.
13270 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13271 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13272 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13275 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13276 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13277 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13278 * sysvipc/msgctl.c: Likewise.
13279 * sysvipc/msgget.c: Likewise.
13280 * sysvipc/msgrcv.c: Likewise.
13281 * sysvipc/msgsnd.c: Likewise.
13282 * sysvipc/semctl.c: Likewise.
13283 * sysvipc/semget.c: Likewise.
13284 * sysvipc/semop.c: Likewise.
13285 * sysvipc/semtimedop.c: Likewise.
13286 * sysvipc/shmat.c: Likewise.
13287 * sysvipc/shmctl.c: Likewise.
13288 * sysvipc/shmdt.c: Likewise.
13289 * sysvipc/shmget.c: Likewise.
13290 * termios/tcdrain.c: Likewise.
13291 * termios/tcflow.c: Likewise.
13292 * termios/tcflush.c: Likewise.
13293 * termios/tcgetattr.c: Likewise.
13294 * termios/tcgetpgrp.c: Likewise.
13295 * termios/tcsendbrk.c: Likewise.
13296 * termios/tcsetattr.c: Likewise.
13297 * termios/tcsetpgrp.c: Likewise.
13298 * time/adjtime.c: Likewise.
13299 * time/clock.c: Likewise.
13300 * time/getitimer.c: Likewise.
13301 * time/gettimeofday.c: Likewise.
13302 * time/setitimer.c: Likewise.
13303 * time/settimeofday.c: Likewise.
13304 * time/stime.c: Likewise.
13305 * time/time.c: Likewise.
13307 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13309 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13312 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13314 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13316 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13320 FE_TONEAREST before applying Dekker multiplication and Knuth
13321 addition. Clear inexact exceptions and check for exact zero
13322 results afterwards.
13323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13326 * math/libm-test.inc (fma_test): Add more tests.
13327 (fma_test_towardzero): Likewise.
13328 (fma_test_downward): Likewise.
13329 (fma_test_upward): Likewise.
13330 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13332 (libc_fesetround): New macro.
13333 (libc_fesetroundf): Likewise.
13334 (libc_fesetroundl): Likewise.
13335 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13337 (libc_fesetround_387): Likewise.
13338 (libc_fesetroundf): New macro.
13339 (libc_fesetround): Likewise.
13340 (libc_fesetroundl): Likewise.
13341 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13343 (libc_fesetroundf): New macro.
13344 (libc_fesetround): Likewise.
13345 (libc_fesetroundl): Likewise.
13346 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13347 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13348 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13350 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13351 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13353 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13354 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13356 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13360 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13361 integer constant usable in #if and use that to give value to enum
13363 (FE_DIVBYZERO): Likewise.
13364 (FE_UNDERFLOW): Likewise.
13365 (FE_OVERFLOW): Likewise.
13366 (FE_INVALID): Likewise.
13367 (FE_INVALID_SNAN): Likewise.
13368 (FE_INVALID_ISI): Likewise.
13369 (FE_INVALID_IDI): Likewise.
13370 (FE_INVALID_ZDZ): Likewise.
13371 (FE_INVALID_IMZ): Likewise.
13372 (FE_INVALID_COMPARE): Likewise.
13373 (FE_INVALID_SOFTWARE): Likewise.
13374 (FE_INVALID_SQRT): Likewise.
13375 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13376 (FE_TONEAREST): Likewise.
13377 (FE_TOWARDZERO): Likewise.
13378 (FE_UPWARD): Likewise.
13379 (FE_DOWNWARD): Likewise.
13380 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13381 (FE_DIVBYZERO): Likewise.
13382 (FE_OVERFLOW): Likewise.
13383 (FE_UNDERFLOW): Likewise.
13384 (FE_INEXACT): Likewise.
13385 (FE_TONEAREST): Likewise.
13386 (FE_DOWNWARD): Likewise.
13387 (FE_UPWARD): Likewise.
13388 (FE_TOWARDZERO): Likewise.
13389 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13390 (FE_UNDERFLOW): Likewise.
13391 (FE_OVERFLOW): Likewise.
13392 (FE_DIVBYZERO): Likewise.
13393 (FE_INVALID): Likewise.
13394 (FE_TONEAREST): Likewise.
13395 (FE_TOWARDZERO): Likewise.
13396 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13397 (FE_OVERFLOW): Likewise.
13398 (FE_UNDERFLOW): Likewise.
13399 (FE_DIVBYZERO): Likewise.
13400 (FE_INEXACT): Likewise.
13401 (FE_TONEAREST): Likewise.
13402 (FE_TOWARDZERO): Likewise.
13403 (FE_UPWARD): Likewise.
13404 (FE_DOWNWARD): Likewise.
13405 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13406 (FE_DIVBYZERO): Likewise.
13407 (FE_OVERFLOW): Likewise.
13408 (FE_UNDERFLOW): Likewise.
13409 (FE_INEXACT): Likewise.
13410 (FE_TONEAREST): Likewise.
13411 (FE_DOWNWARD): Likewise.
13412 (FE_UPWARD): Likewise.
13413 (FE_TOWARDZERO): Likewise.
13415 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13417 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13419 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13421 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13422 commands. Quote $PWD.
13423 (blacklist_exports): Don't use remove_newlines. Replace "declare
13425 (remove_newlines): Remove.
13427 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13429 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13430 * stdlib/stdlib.h (atof): Moved to ...
13431 * include/bits/stdlib-float.h: Here. New file.
13432 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13433 * stdlib/bits/stdlib-float.h: New file.
13434 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13439 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13441 * conform/conformtest.pl (@headers): Add fenv.h.
13442 * conform/data/fenv.h-data: New file.
13443 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13444 include of <math/fenv.h>.
13446 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13447 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13448 && !UNIX98]. Enables tests for XOPEN2K8.
13449 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13450 POSIX2008]: Likewise.
13452 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13453 (struct rusage): Do not expect type or its members.
13456 * math/math.h (FP_NAN): Define macro to integer constant usable in
13457 #if and use that to give value to enum constant.
13458 (FP_INFINITE): Likewise.
13459 (FP_ZERO): Likewise.
13460 (FP_SUBNORMAL): Likewise.
13461 (FP_NORMAL): Likewise.
13463 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13465 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13466 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13469 2012-11-02 Roland McGrath <roland@hack.frob.com>
13471 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13472 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13473 autoconf-time if not.
13474 * configure.in: Remove AC_PREREQ.
13476 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13478 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13479 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13480 of the internal implementation.
13482 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13484 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13485 except include of <misc/sys/syslog.h>.
13487 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13490 function returns with a NULL context exit with zero.
13492 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13494 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13496 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13498 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13499 (run_program_cmd): This.
13500 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13501 (tst_langinfo): New variable. Use it.
13503 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13505 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13506 floating point opcodes.
13508 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13510 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13513 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13515 * sysdeps/mach/hurd/powerpc: Remove directory.
13516 * sysdeps/mach/powerpc: Likewise.
13518 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13520 * scripts/check-local-headers.sh: Ignore c++ headers.
13522 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13524 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13525 __libc_cleanup_region_start argument.
13527 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13532 x * y using scaling, not as x * y + z.
13533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13535 * math/libm-test.inc (fma_test): Add more tests.
13536 (fma_test_towardzero): Likewise.
13537 (fma_test_downward): Likewise.
13538 (fma_test_upward): Likewise.
13540 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13542 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13544 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13546 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13549 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13551 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13553 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13560 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13563 Fix the order of the list for glibc 2.17.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13567 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13571 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13574 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13575 for low part of x being zero before using __atanl (y).
13576 * math/libm-test.inc (atan2_test): Add another test.
13578 * manual/install.texi (Configuring and compiling): Document
13579 general use of test-wrapper and test-wrapper-env.
13580 * INSTALL: Regenerated.
13582 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13583 (__fma): Do not extract and scale down low bits on after-rounding
13584 systems when result rounded to normal precision would have normal
13586 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13587 (__fmal): Do not extract and scale down low bits on after-rounding
13588 systems when result rounded to normal precision would have normal
13590 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13591 (__fmal): Do not extract and scale down low bits on after-rounding
13592 systems when result rounded to normal precision would have normal
13594 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13596 (fma_test): Add more tests.
13597 (fma_test_towardzero): Likewise.
13598 (fma_test_downward): Likewise.
13599 (fma_test_upward): Likewise.
13601 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13603 * sysdeps/i386/tininess.h: Renamed to ...
13604 * sysdeps/x86/tininess.h: This.
13605 * sysdeps/x86_64/tininess.h: Removed.
13607 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13609 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13610 input. Use $(build-program-cmd).
13611 ($(objpfx)tst-array1-static.out): Likewise.
13612 ($(objpfx)tst-array2.out): Likewise.
13613 ($(objpfx)tst-array3.out): Likewise.
13614 ($(objpfx)tst-array4.out): Likewise.
13615 ($(objpfx)tst-array5.out): Likewise.
13616 ($(objpfx)tst-array5-static.out): Likewise.
13618 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13620 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13623 * nss/nsswitch.h (nss_interface_function): Provide new
13624 macro for use with NSS functions.
13625 * grp/initgroups.c: Use new macro.
13626 * nss/getXXbyYY.c: Likewise.
13627 * nss/getXXbyYY_r.c: Likewise.
13628 * nss/getXXent.c: Likewise.
13629 * nss/getXXent_r.c: Likewise.
13630 * sysdeps/posix/getaddrinfo.c: Likewise.
13632 2012-10-30 Andreas Jaeger <aj@suse.de>
13634 * po/ru.po: Update Russion translation from translation project.
13636 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13641 result and shift together with sticky bit instead of replicating
13642 round-to-nearest rounding.
13643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13645 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13646 missing underflow exceptions.
13647 (fma_test_towardzero): Add more tests.
13648 (fma_test_downward): Likewise.
13649 (fma_test_upward): Likewise.
13652 * sysdeps/generic/tininess.h: New file.
13653 * sysdeps/i386/tininess.h: Likewise.
13654 * sysdeps/sh/tininess.h: Likewise.
13655 * sysdeps/x86_64/tininess.h: Likewise.
13656 * stdlib/tst-strtod-underflow.c: Likewise.
13657 * stdlib/tst-tininess.c: Likewise.
13658 * stdlib/strtod_l.c: Include <tininess.h>.
13659 (round_and_return): Do not set errno for exact underflow cases.
13660 Force an underflow exception when setting errno for underflow.
13661 Determine underflow based on rounding to normal precision if
13662 TININESS_AFTER_ROUNDING.
13663 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13664 ERANGE for exact underflow cases.
13665 * stdlib/Makefile (tests): Add tst-tininess and
13666 tst-strtod-underflow.
13667 ($(objpfx)tst-tininess): Use $(link-libm).
13668 ($(objpfx)tst-strtod-underflow): Likewise.
13670 2012-10-30 Andreas Jaeger <aj@suse.de>
13673 * elf/Makefile (tests): Remove conditional for have-initfini-array
13674 since this is now always required and the variable does not exist
13676 (tests-static): Likewise.
13677 (modules-names): Likewise.
13679 * po/eo.po: Add Esperanto translation from translation project.
13681 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13682 merged with constructor/destructor.
13683 (init_array): Likewise.
13684 * elf/tst-array2dep.c (fini_array): Likewise.
13685 (init_array): Likewise.
13687 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13689 * manual/message.texi: Delete @cartouche tags.
13691 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13693 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13695 * sysdeps/mach/hurd/fsync.c: Likewise.
13697 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13698 [_POSIX_REALTIME_SIGNALS]: Change condition to
13699 [_POSIX_REALTIME_SIGNALS > 0].
13701 2012-10-27 Andreas Jaeger <aj@suse.de>
13703 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13704 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13706 [__WORDSIZE != 64]: Likewise.
13708 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13710 * iconvdata/tst-table.sh: Remove ${SHELL}.
13711 * iconvdata/tst-tables.sh: Likewise.
13713 2012-10-25 David S. Miller <davem@davemloft.net>
13715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13716 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13722 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13723 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13726 2012-10-25 Roland McGrath <roland@hack.frob.com>
13728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13729 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13732 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13733 Jim Blandy <jimb@codesourcery.com>
13735 * scripts/cross-test-ssh.sh: New file.
13736 * manual/install.texi (Configuring and compiling): Document use of
13738 * INSTALL: Regenerated.
13740 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13742 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13745 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13747 * Makeconfig (run-program-prefix): Fix comment.
13749 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13750 Jim Blandy <jimb@codesourcery.com>
13752 * Makeconfig (test-wrapper): New variable,
13753 (test-wrapper-env): Likewise.
13754 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13755 (run-built-tests): Define to yes.
13756 (run-program-prefix): Use $(test-wrapper).
13757 (built-program-cmd): Likewise.
13758 * Rules (make-test-out): Use $(test-wrapper-env) and
13759 $(host-built-program-cmd).
13760 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13761 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13763 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13764 $(test-wrapper-env) to tst-rtld-load-self.sh.
13765 ($(objpfx)order2.out): Use $(test-wrapper).
13766 ($(objpfx)tst-initorder.out): Likewise.
13767 ($(objpfx)tst-initorder2.out): Likewise.
13768 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13769 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13770 (test_wrapper_env): New variable. Use it to run ld.so.
13771 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13772 Use it to run ld.so.
13773 (test_wrapper_env): Likewise.
13774 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13775 $(test-wrapper) to run-iconv-test.sh.
13776 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13777 (ICONV): Use $test_wrapper.
13778 * posix/Makefile ($(objpfx)globtest.out): Pass
13779 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13780 globtest.sh, not $(run-program-prefix).
13781 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13782 (test_wrapper): Likewise.
13783 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13784 set together with run_via_rtld_prefix.
13785 (run_program_prefix): Define in terms of test_wrapper and
13786 run_via_rtld_prefix.
13788 2012-10-24 Roland McGrath <roland@hack.frob.com>
13790 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13791 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13795 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13796 Declare __clock_getres, __clock_gettime, __clock_settime,
13797 __clock_nanosleep, and __clock_getcpuclockid.
13798 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13799 Remove librt_hidden_def (clock_gettime).
13800 * sysdeps/unix/clock_gettime.c: Likewise.
13801 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13803 * rt/clock_getres.c: Define __clock_getres as an alias.
13804 * sysdeps/posix/clock_getres.c: Likewise.
13805 * rt/clock_settime.c: Define __clock_settime as an alias.
13806 * sysdeps/unix/clock_settime.c: Likewise.
13807 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13808 * sysdeps/unix/clock_nanosleep.c: Likewise.
13809 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13810 * rt/clock-compat.c: New file.
13811 * rt/Makefile (librt-routines): Add clock-compat and move
13812 $(clock-routines) to ...
13813 (routines): ... here, new variable.
13814 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13815 Don't add get_clockfreq here.
13816 * rt/Versions (libc: GLIBC_2.17): New version set.
13817 Add clock_* symbols here.
13818 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13819 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13820 (GLIBC_2.17): Add clock_* symbols.
13821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13832 * NEWS: Mention the move.
13834 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13835 Use __open, __read, __close rather than their public counterparts.
13836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13837 (__get_clockfreq_via_cpuinfo): Likewise.
13838 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13839 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13841 * config.h.in (HAVE_IFUNC): New #undef.
13842 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13844 * configure: Regenerated.
13846 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13848 * configure.in: Move READELF check to start of file.
13849 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13850 libc_cv_asm_gnu_indirect_function in the process.
13851 * configure: Regenerated.
13853 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13855 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13856 send the output to /dev/null.
13857 (libc_cv_cc_with_libunwind): Likewise.
13858 (libc_cv_as_noexecstack): Likewise.
13859 * configure: Regenerate.
13861 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13863 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13865 * posix/globtest.sh (TMPDIR): Do not set.
13866 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13867 (testout): Likewise.
13869 2012-10-24 Andreas Jaeger <aj@suse.de>
13871 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13872 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13873 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13874 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13875 posix_fadvise64, posix_fallocate64.
13877 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13878 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13879 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13881 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13883 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13886 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13887 <bits/fcntl-linux.h>.
13888 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13891 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13892 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13893 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13894 [__WORDSIZE != 64]: Likewise.
13896 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13898 * Makeconfig (run-built-tests): New variable.
13899 * Rules [$(cross-compiling) = yes]: Change condition to
13900 [$(run-built-tests) = no].
13901 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13902 to [$(run-built-tests) = yes].
13903 * elf/Makefile [$(cross-compiling) = no]: Likewise
13904 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13905 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13906 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13907 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13908 * io/Makefile [$(cross-compiling) = no]: Likewise.
13909 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13910 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13911 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13912 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13913 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13914 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13915 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13916 * string/Makefile [$(cross-compiling) = no]: Likewise.
13918 * posix/Makefile ($(objpfx)globtest.out): Pass
13919 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13920 $(rtld-installed-name).
13921 * posix/globtest.sh (elf_objpfx): Remove variable.
13922 (rtld_installed_name): Likewise.
13923 (library_path): Likewise.
13924 (run_program_prefix): New variable. Use for running globtest
13927 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13928 Joseph Myers <joseph@codesourcery.com>
13930 * Makeconfig (host-built-program-cmd): New variable.
13931 * elf/Makefile (tst-stackguard1-ARGS): Use
13932 $(host-built-program-cmd).
13933 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13934 (tst-spawn-ARGS): Likewise.
13935 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13937 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13938 Jim Blandy <jimb@codesourcery.com>
13940 * Makeconfig (run-via-rtld-prefix): New variable.
13941 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13942 (built-program-cmd): Likewise.
13944 2012-10-22 Andreas Jaeger <aj@suse.de>
13946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13947 __O_RSYNC if it exists, otherwise to O_SYNC.
13949 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13950 Joseph Myers <joseph@codesourcery.com>
13952 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13954 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13956 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13959 2012-10-22 Andreas Jaeger <aj@suse.de>
13961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13966 bits/fcntl-linux.h.
13968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13969 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13976 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13977 Joseph Myers <joseph@codesourcery.com>
13979 * config.make.in (NM): New variable.
13981 2012-10-21 Andreas Jaeger <aj@suse.de>
13983 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13984 definitions and declarations that are provided by
13985 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13987 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13990 * elf/Makefile (tests-static): Add tst-leaks1-static.
13991 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13992 ($(objpfx)tst-leaks1-static): New rule.
13993 ($(objpfx)tst-leaks1-static-mem): Likewise.
13994 (tst-leaks1-static-ENV): New macro.
13995 * elf/dl-open.c (dl_open_worker): Check the main application
13996 only if SHARED is defined.
13997 * elf/tst-leaks1-static.c: New file.
13999 2012-10-20 Andreas Jaeger <aj@suse.de>
14001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14002 generic values for Linux.
14003 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14004 and declarations that are provided by <bits/fcntl-linux.h> and
14005 include <bits/fcntl-linux.h>.
14006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14009 2012-10-20 Roland McGrath <roland@hack.frob.com>
14011 * io/fcntl.h: Move include of <bits/types.h> to the top and
14012 include it unconditionally.
14014 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14016 * wcsmbs/Makefile (tests-ifunc): New variable.
14017 (tests): Add $(tests-ifunc).
14018 * wcsmbs/test-wcschr-ifunc.c: New file.
14019 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14020 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14021 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14022 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14023 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14025 * string/Makefile (tests-ifunc): New variable.
14026 (tests): Add $(tests-ifunc).
14027 * string/test-memccpy.c (TEST_NAME): New macro.
14028 * string/test-memchr.c (TEST_NAME): Likewise.
14029 * string/test-memcmp.c (TEST_NAME): Likewise.
14030 * string/test-memcpy.c (TEST_NAME): Likewise.
14031 * string/test-memmem.c (TEST_NAME): Likewise.
14032 * string/test-memmove.c (TEST_NAME): Likewise.
14033 * string/test-memset.c (TEST_NAME): Likewise.
14034 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14035 * string/test-stpcpy.c (TEST_NAME): Likewise.
14036 * string/test-stpncpy.c (TEST_NAME): Likewise.
14037 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14038 * string/test-strcasestr.c (TEST_NAME): Likewise.
14039 * string/test-strcat.c (TEST_NAME): Likewise.
14040 * string/test-strchr.c (TEST_NAME): Likewise.
14041 * string/test-strcmp.c(TEST_NAME): Likewise.
14042 * string/test-strcpy.c (TEST_NAME): Likewise.
14043 * string/test-strcspn.c (TEST_NAME): Likewise.
14044 * string/test-strlen.c (TEST_NAME): Likewise.
14045 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14046 * string/test-strncmp.c (TEST_NAME): Likewise.
14047 * string/test-strncpy.c (TEST_NAME): Likewise.
14048 * string/test-strnlen.c (TEST_NAME): Likewise.
14049 * string/test-strpbrk.c (TEST_NAME): Likewise.
14050 * string/test-strrchr.c (TEST_NAME): Likewise.
14051 * string/test-strspn.c (TEST_NAME): Likewise.
14052 * string/test-strstr.c (TEST_NAME): Likewise.
14053 * string/test-bcopy-ifunc.c: New file.
14054 * string/test-bzero-ifunc.c: Likewise.
14055 * string/test-memccpy-ifunc.c: Likewise.
14056 * string/test-memchr-ifunc.c: Likewise.
14057 * string/test-memcmp-ifunc.c: Likewise.
14058 * string/test-memcpy-ifunc.c: Likewise.
14059 * string/test-memmem-ifunc.c: Likewise.
14060 * string/test-memmove-ifunc.c: Likewise.
14061 * string/test-mempcpy-ifunc.c: Likewise.
14062 * string/test-memset-ifunc.c: Likewise.
14063 * string/test-rawmemchr-ifunc.c: Likewise.
14064 * string/test-stpcpy-ifunc.c: Likewise.
14065 * string/test-stpncpy-ifunc.c: Likewise.
14066 * string/test-strcasecmp-ifunc.c: Likewise.
14067 * string/test-strcasestr-ifunc.c: Likewise.
14068 * string/test-strcat-ifunc.c: Likewise.
14069 * string/test-strchr-ifunc.c: Likewise.
14070 * string/test-strchrnul-ifunc.c: Likewise.
14071 * string/test-strcmp-ifunc.c: Likewise.
14072 * string/test-strcpy-ifunc.c: Likewise.
14073 * string/test-strcspn-ifunc.c: Likewise.
14074 * string/test-strlen-ifunc.c: Likewise.
14075 * string/test-strncasecmp-ifunc.c: Likewise.
14076 * string/test-strncat-ifunc.c: Likewise.
14077 * string/test-strncmp-ifunc.c: Likewise.
14078 * string/test-strncpy-ifunc.c: Likewise.
14079 * string/test-strnlen-ifunc.c: Likewise.
14080 * string/test-strpbrk-ifunc.c: Likewise.
14081 * string/test-strrchr-ifunc.c: Likewise.
14082 * string/test-strspn-ifunc.c: Likewise.
14083 * string/test-strstr-ifunc.c: Likewise.
14085 * debug/Makefile (tests-ifunc): New variable.
14086 (tests): Add $(tests-ifunc).
14087 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14088 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14089 * debug/test-stpcpy_chk-ifunc.c: New file.
14090 * debug/test-strcpy_chk-ifunc.c: Likewise.
14092 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14095 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14096 header is not read in.
14098 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14100 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14101 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14102 directly. Pass built executable to script as
14103 $(built-program-cmd).
14104 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14105 $testprogram without using LD_LIBRARY_PATH and $ldso.
14107 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14108 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14109 $(rtld-installed-name).
14110 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14111 (rtld_installed_name): Likewise.
14112 (library_path): Likewise.
14113 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14114 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14115 $(run-program-prefix) to tst-tables.sh.
14116 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14117 it to run tst-table-from and tst-table-to.
14118 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14119 Pass it to tst-table.sh.
14120 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14121 $(run-program-prefix) to tst-gettext.sh.
14122 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14124 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14126 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14127 to run tst-gettext.
14128 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14129 to run tst-gettext2.
14130 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14131 to run tst-translit.
14132 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14133 $(run-program-prefix) to tst-mtrace.sh.
14134 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14136 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14137 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14138 $(rtld-installed-name).
14139 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14140 (rtld_installed_name): Likewise.
14141 (run_program_prefix): New variable. Use it to run wordexp-test.
14143 * Makeconfig (ARCH): Remove all definitions.
14144 (machine): Likewise.
14145 [ARCH]: Remove conditional code.
14146 [!objdir]: Give error.
14147 [!objdir] (objpfx): Remove.
14148 [!objdir] (common-objpfx): Likewise.
14149 [!objdir] (common-objdir): Likewise.
14150 * configure.in (config_makefile): Remove. Hardcode Makefile in
14151 AC_CONFIG_FILES call.
14152 * configure: Regenerated.
14155 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14157 (testout): Likewise.
14159 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14160 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14161 $(rtld-installed-name).
14162 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14163 (rtld_installed_name): Likwise.
14164 (runit): Remove function.
14165 (run_getconf): New variable, Use it for running getconf binary.
14167 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14170 * string/test-memmem.c (check_result): New function.
14171 (do_one_test): Use it.
14172 (check1): New function.
14173 (test_main): Use it.
14175 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14177 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14179 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14182 (_G_LSEEK64): Likewise.
14183 (_G_MMAP64): Likewise.
14184 (_G_FSTAT64): Likewise.
14185 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14186 (_G_LSEEK64): Likewise.
14187 (_G_MMAP64): Likewise.
14188 (_G_FSTAT64): Likewise.
14189 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14190 unconditional. Call __mmap64 directly.
14191 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14192 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14193 __lseek64 directly.
14194 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14195 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14197 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14198 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14199 __lseek64 directly.
14200 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14201 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14202 __lseek64 directly.
14203 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14204 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14205 __lseek64 directly.
14206 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14207 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14208 __fxstat64 directly.
14209 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14210 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14212 (freopen64) [!_G_OPEN64]: Remove conditional code.
14213 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14215 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14216 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14218 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14219 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14221 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14222 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14224 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14225 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14227 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14228 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14230 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14231 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14233 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14235 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14238 * manual/memory.texi (Malloc Tunable Parameters): Add note
14239 about free list pointers overwriting some perturb bytes.
14240 Wording suggested by Roland McGrath.
14242 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14244 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14245 (lgamma_test): Likewise.
14246 (tgamma_test): Likewise.
14248 2012-10-16 Florian Weimer <fweimer@redhat.com>
14251 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14252 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14254 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14256 * NEWS: Mention BZ #14716.
14257 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14258 when removing AVAILABLE1_USES_J macro.
14260 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14262 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14263 (__bswap_64): __uint64_t for unsigned 64-bit int.
14265 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14267 * include/string.h (memmem): Declare libc hidden alias.
14268 * string/memmem.c (memmem): Define libc hidden alias.
14269 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14270 __read, __close instead of open, read, close.
14272 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14275 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14277 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14278 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14279 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14281 (__rawmemchr_sse2): Likewise.
14282 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14283 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14284 (__strchr_sse2): Likewise.
14285 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14286 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14287 (__strcasecmp_sse2): Likewise.
14288 (__strncasecmp_sse2): Likewise.
14289 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14290 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14291 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14292 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14293 (__strrchr_sse2): Likewise.
14294 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14296 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14297 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14298 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14299 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14300 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14301 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14302 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14303 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14304 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14305 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14306 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14307 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14308 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14309 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14310 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14311 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14312 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14313 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14314 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14315 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14316 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14317 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14318 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14319 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14320 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14321 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14322 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14323 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14324 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14325 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14327 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14329 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14330 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14331 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14332 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14334 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14336 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14337 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14338 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14339 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14341 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14342 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14343 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14344 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14345 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14346 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14347 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14348 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14349 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14350 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14351 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14352 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14353 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14354 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14355 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14356 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14357 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14358 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14359 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14360 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14361 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14362 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14363 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14364 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14365 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14366 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14367 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14368 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14369 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14370 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14371 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14372 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14373 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14375 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14376 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14377 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14378 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14379 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14380 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14381 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14383 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14384 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14385 * include/ifunc-impl-list.h: New file.
14386 * misc/ifunc-impl-list.c: Likewise.
14387 * misc/Makefile (routines): Add ifunc-impl-list.
14388 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14389 * string/test-string.h: Include <ifunc-impl-list.h>.
14390 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14391 impl_array): New variables.
14392 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14394 (test_init): Call __libc_ifunc_impl_list to initialize
14395 func_list if TEST_IFUNC and TEST_NAME are defined.
14397 * string/Makefile (strop-tests): Add bcopy and bzero.
14398 * string/test-bcopy.c: New file.
14399 * string/test-bzero.c: Likewise.
14400 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14402 * string/test-memset.c: Support bzero test if TEST_BZERO is
14404 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14406 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14408 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14411 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14413 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14414 * configure: Regenerated.
14416 * Makeconfig (+link-static-before-libc): Don't include
14417 $(link-static-libc).
14419 * libio/libio.h (_IO_pos_t): Remove.
14421 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14423 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14426 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14428 * crypt/crypt-entry.c: Include fips-private.h.
14429 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14430 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14431 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14432 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14434 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14436 * crypt/crypt-private.h: Include stdbool.h.
14437 (_ufc_setup_salt_r): Return bool.
14438 * crypt/crypt-entry.c: Include errno.h.
14439 (__crypt_r): Return NULL with EINVAL for bad salt.
14440 * crypt/crypt_util.c (bad_for_salt): New.
14441 (_ufc_setup_salt_r): Check that salt is long enough and within
14442 the specified alphabet.
14443 * crypt/badsalttest.c: New file.
14444 * crypt/Makefile (tests): Add it.
14445 ($(objpfx)badsalttest): New.
14447 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14449 * NEWS: Add entry for BZ #14602.
14451 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14453 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14455 * math/libm-test.inc: Update comment listing what functions and
14457 (isgreater_test): New function.
14458 (isgreaterequal_test): Likewise.
14459 (isless_test): Likewise.
14460 (islessequal_test): Likewise.
14461 (islessgreater_test): Likewise.
14462 (isunordered_test): Likewise.
14463 (main): Call the new functions.
14465 2012-10-09 Roland McGrath <roland@hack.frob.com>
14467 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14468 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14469 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14470 * sysdeps/i386/configure: Regenerated.
14471 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14472 * sysdeps/mach/configure: Regenerated.
14473 * sysdeps/mach/hurd/configure: Regenerated.
14474 * sysdeps/powerpc/configure: Regenerated.
14475 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14476 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14477 * sysdeps/s390/s390-32/configure: Regenerated.
14478 * sysdeps/s390/s390-64/configure: Regenerated.
14479 * sysdeps/sh/configure: Regenerated.
14480 * sysdeps/sparc/configure: Regenerated.
14481 * sysdeps/unix/sysv/linux/configure: Regenerated.
14482 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14483 * sysdeps/x86_64/configure: Regenerated.
14485 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14486 defined. Don't check if MAP is NULL.
14488 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14490 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14491 (_G_stat64): Likewise.
14492 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14493 (_G_stat64): Likewise.
14494 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14495 instead of struct _G_stat64.
14496 * libio/fileops.c (mmap_remap_check): Likewise.
14497 (decide_maybe_mmap): Likewise.
14498 (_IO_new_file_seekoff): Likewise.
14499 (_IO_file_stat): Likewise.
14500 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14502 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14503 instead of struct _G_stat64.
14504 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14506 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14509 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14511 (CHECK_EOL): New macro.
14512 (two_way_short_needle): Check beginning of haystack for EOL. Use
14514 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14515 Replace with CHECK_EOL.
14516 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14517 Replace with CHECK_EOL.
14519 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14521 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14523 * math/libm-test.inc: Update comment listing what functions and
14525 (finite_test): New function.
14526 (isinf_test): Likewise.
14527 (isnan_test): Likewise.
14528 (fpclassify_test): Test subnormal input.
14529 (isfinite_test): Likewise.
14530 (isnormal_test): Likewise.
14531 (main): Call the new functions.
14533 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14536 * Makerules (%.dynsym): Force C locale when running
14537 $(OBJDUMP) --dynamic-syms.
14539 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14541 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14544 2012-10-06 David S. Miller <davem@davemloft.net>
14546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14547 upper 32-bits of the length value in %o2 since we use branch-on-register
14548 tests which consider the entire 64-bit register.
14550 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14552 * string/test-strstr.c (check2): Add a test for page boundary.
14554 2012-10-05 David S. Miller <davem@davemloft.net>
14556 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14559 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14561 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14562 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14563 and bzero when HWCAP_SPARC_CRYPTO is present.
14565 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14568 * string/test-strstr.c (check2): New function.
14569 (test_main): Call check2.
14571 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14573 * string/bug-strcasestr1.c (do_test): Moved to ...
14574 * string/test-strcasestr.c (check1): Here. New function.
14575 (do_one_test): Break out result checking code into ...
14576 (check_result): This. New function.
14577 (do_one_test): Call check_result.
14578 (test_main): Call check1.
14579 * string/bug-strchr1.c (do_test): Moved to ...
14580 * string/test-strchr.c (check1): Here. New function.
14581 (do_one_test): Break out result checking code into ...
14582 (check_result): This. New function.
14583 (do_one_test): Call check_result.
14584 (test_main): Call check1.
14585 * string/bug-strstr1.c (main): Moved to ...
14586 * string/test-strstr.c (check1): Here. New function.
14587 (do_one_test): Break out result checking code into ...
14588 (check_result): This. New function.
14589 (do_one_test): Call check_result.
14590 (test_main): Call check1.
14591 * string/bug-strcasestr1.c: Removed.
14592 * string/bug-strchr1.c: Likewise.
14593 * string/bug-strstr1.c: Likewise.
14595 * elf/Makefile (dl-routines): Add hwcaps.
14596 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14597 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14598 (_dl_important_hwcaps): Moved to ...
14599 * elf/dl-hwcaps.c: Here. New file.
14600 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14603 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14604 if IS_IN_rtld isn't defined.
14606 * elf/dl-support.c (_dl_sysinfo_map): New.
14607 Include "get-dynamic-info.h" and "setup-vdso.h".
14608 (_dl_non_dynamic_init): Call setup_vdso.
14609 * elf/dynamic-link.h: Don't include <assert.h>.
14610 (elf_get_dynamic_info): Moved to ...
14611 * elf/get-dynamic-info.h: Here. New file.
14612 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14613 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14614 * elf/setup-vdso.h: Here. New file.
14615 * elf/rtld.c: Include "setup-vdso.h".
14616 (dl_main): Call setup_vdso.
14618 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14620 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14621 creal in comment listing functions tested. List finite, isinf,
14622 isnan, isless, islessequal, isgreater, isgreaterequal,
14623 islessgreater, isunordered, lgamma_r and pow10 as functions and
14624 macros not tested. Mention which functions not tested are aliases
14625 for other functions. Fix typo. Note that signs of NaNs are not
14628 * scripts/config.guess: Update from config.git.
14629 * scripts/config.sub: Likewise.
14631 2012-10-04 Roland McGrath <roland@hack.frob.com>
14633 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14634 * misc/madvise.c (madvise): Renamed to __madvise.
14635 Make madvise a weak alias.
14636 * include/sys/mman.h: Declare __madvise.
14637 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14638 * sysdeps/unix/syscalls.list
14639 (madvise): Make __madvise the strong name, and madvise a weak alias.
14640 * sysdeps/unix/sysv/linux/syscalls.list
14641 (madvise, mmap): Remove redundant entries.
14642 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14643 * malloc/malloc.c (mtrim): Likewise.
14644 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14646 2012-10-03 Roland McGrath <roland@hack.frob.com>
14648 * sysdeps/mach/hurd/dl-cache.c: File removed.
14649 * config.h.in (USE_LDCONFIG): New #undef.
14650 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14651 * configure: Regenerated.
14652 * elf/Makefile (dl-routines): Add dl-cache only under
14653 [$(use-ldconfig) = yes].
14654 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14655 cache on [USE_LDCONFIG].
14656 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14658 * elf/rtld.c (dl_main): Likewise.
14660 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14662 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14663 _SC_LEVEL4_CACHE_LINESIZE.
14665 2012-10-03 Roland McGrath <roland@hack.frob.com>
14667 * sysdeps/unix/bsd/confstr.h: File removed.
14669 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14671 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14674 2012-10-02 Roland McGrath <roland@hack.frob.com>
14676 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14677 Make 'mapoff' field ElfW(Off) rather than off_t.
14679 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14681 * nscd/Makefile: Remove nscd-cflags and all its users.
14682 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14683 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14686 * malloc.c (malloc_printerr): Clarify error message.
14688 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14692 Set bit_FMA_Usable if FMA is supported.
14693 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14695 (bit_FMA4_Usable): Updated.
14696 (index_FMA_Usable): New macro.
14697 (CPUID_FMA): Likewise
14698 (HAS_FMA): Defined with bit_FMA_Usable.
14700 2012-10-01 Roland McGrath <roland@hack.frob.com>
14702 * bits/types.h (__swblk_t): Type removed.
14703 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14704 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14706 (__SWBLK_T_TYPE): Likewise.
14707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14708 (__SWBLK_T_TYPE): Likewise.
14709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14710 (__SWBLK_T_TYPE): Likewise.
14711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14712 (__SWBLK_T_TYPE): Likewise.
14714 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14715 Honza Horak <hhorak@redhat.com>
14717 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14718 (xdr_mapname): Use YPMAXMAP as maxsize.
14719 (xdr_peername): Use YPMAXPEER as maxsize.
14720 (xdr_keydat): Use YPAXRECORD as maxsize.
14721 (xdr_valdat): Use YPMAXRECORD as maxsize.
14723 2012-10-01 Roland McGrath <roland@hack.frob.com>
14725 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14727 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14728 * csu/init-first.c: ... here.
14729 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14730 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14731 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14732 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14733 * sysdeps/i386/init-first.c: File removed.
14734 * sysdeps/sh/init-first.c: File removed.
14736 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14740 if x * y might underflow to zero and z is zero.
14741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14743 * math/libm-test.inc (min_subnorm_value): New variable.
14744 (fma_test): Add more tests.
14745 (fma_test_towardzero): Likewise.
14746 (fma_test_downward): Likewise
14747 (fma_test_upward): Likewise.
14748 (initialize): Set min_subnorm_value.
14750 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14756 mode for addition resulting in exact zero.
14757 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14760 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14762 * math/libm-test.inc (fma_test): Add more tests.
14763 (fma_test_towardzero): New function.
14764 (fma_test_downward): Likewise.
14765 (fma_test_upward): Likewise.
14766 (main): Call the new functions.
14768 2012-09-28 David S. Miller <davem@davemloft.net>
14770 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14772 2012-09-28 Roland McGrath <roland@hack.frob.com>
14774 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14775 instead of SIGALRM.
14777 * sysdeps/gnu/_G_config.h: Moved to ...
14778 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14779 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14780 * sysdeps/generic/_G_config.h: ... here.
14782 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14784 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14786 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14787 Conditionalize target on [libnss_test1.so-version].
14789 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14791 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14792 (elfobjdir): Move out of conditionals.
14794 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14795 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14796 (__nss_lookup_function): Conditionalize label remove_from_tree on
14797 [!DO_STATIC_NSS || SHARED], matching its only use.
14799 2012-09-28 David S. Miller <davem@davemloft.net>
14801 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14802 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14804 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14806 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14808 when HWCAP_SPARC_CRYPTO is present.
14810 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14812 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14814 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14817 * stdio-common/vfprintf.c (process_string_arg): Revert
14820 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14822 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14824 * stdio-common/tst-sprintf.c: Include <locale.h>
14825 (main): Test sprintf's handling of incomplete multibyte
14828 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14830 * elf/dl-runtime.c (VERSYMIDX): Removed.
14831 * elf/dl-version.c (VERSYMIDX): Likewise.
14832 * elf/do-rel.h (VERSYMIDX): Likewise.
14833 (VALIDX): Likewise.
14834 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14835 * elf/rtld.c (VALIDX): Likewise.
14836 (ADDRIDX): Likewise.
14837 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14838 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14839 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14840 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14841 (VALIDX): Likewise.
14842 (ADDRIDX): Likewise.
14844 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14846 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14848 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14851 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14853 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14854 addresses are in the same scope as 192.0.2/24.
14855 * posix/gai.conf: Document new scope table defaults.
14857 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14860 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14861 for ftell. Compute offsets from write pointers instead.
14862 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14864 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14867 * libio/Makefile (tests): New test case tst-fseek.
14868 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14869 combination works in wide mode.
14870 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14871 state when the external buffer state changes.
14873 2012-09-27 David S. Miller <davem@davemloft.net>
14876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14877 pass reloc->r_addend in as the 'high' argument to
14878 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14882 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14884 * rt/tst-aio2.c: Include <pthread.h>.
14885 * rt/tst-aio3.c: Likewise.
14887 2012-09-27 Steve Ellcey <sellcey@mips.com>
14889 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14891 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14893 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14894 contents on [SHARED].
14896 2012-09-26 Marek Polacek <polacek@redhat.com>
14900 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14901 for C++ and GCC <4.3 as well as for non GCC compilers.
14903 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14907 2012-09-25 Roland McGrath <roland@hack.frob.com>
14909 * Makefile.in (all, install): Declare with .PHONY.
14910 Reported by Michael Hope <michael.hope@linaro.org>.
14912 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14914 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14915 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14917 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14919 (sydep_routines): Add the new and the internal functions.
14920 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14921 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14923 (GLIBC_2.17): Add the new function.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14925 (GLIBC_2.17): Likewise.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14927 (GLIBC_2.17): Likewise.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14929 (GLIBC_2.17): Likewise.
14930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14932 2012-09-25 Alan Modra <amodra@gmail.com>
14934 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14935 Add release barrier before setting once_control to say
14936 initialisation is done. Add hints on lwarx. Use macro in
14938 (clear_once_control): Add release barrier.
14940 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14943 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14945 * math/s_clog10.c (__clog10): Likewise.
14946 * math/s_clog10f.c (__clog10f): Likewise.
14947 * math/s_clog10l.c (__clog10l): Likewise.
14948 * math/s_clogf.c (__clogf): Likewise.
14949 * math/s_clogl.c (__clogl): Likewise.
14950 * math/Makefile (libm-calls): Add x2y2m1.
14951 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14952 (__x2y2m1): Likewise.
14953 (__x2y2m1l): Likewise.
14954 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14955 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14958 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14959 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14960 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14961 * sysdeps/i386/fpu/libm-test-ulps: Update.
14962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14965 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14966 int as type of variable DEPTH.
14967 (glob): Use size_t instead of int as type of variables NEWCOUNT
14970 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14972 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14973 Add s_sincosf-sse2.
14974 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14976 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14977 macros for using routine as __sincosf_ia32.
14978 Use macro for function declaration and weak_alias.
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14981 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14984 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14985 subnormal argument.
14986 * math/s_cexpf.c (__cexpf): Likewise.
14987 * math/s_csinf.c (__csinf): Likewise.
14988 * math/s_csinhf.c (__csinhf): Likewise.
14989 * math/s_ctanf.c (__ctanf): Likewise.
14990 * math/s_ctanhf.c (__ctanhf): Likewise.
14991 * math/s_ccosh.c (__ccoshf): Likewise.
14992 * math/s_cexp.c (__cexpl): Likewise.
14993 * math/s_csin.c (__csin): Likewise.
14994 * math/s_csinh.c (__csinh): Likewise.
14995 * math/s_ctan.c (__ctan): Likewise.
14996 * math/s_ctanh.c (ctanh): Likewise.
14997 * math/s_ccoshl.c (__ccoshl): Likewise.
14998 * math/s_cexpl.c (__cexpl): Likewise.
14999 * math/s_csinl.c (__csinl): Likewise.
15000 * math/s_csinhl.c (__csinhl): Likewise.
15001 * math/s_ctanl.c (__ctanl): Likewise.
15002 * math/s_ctanhl.c (__ctanhl): Likewise.
15004 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15006 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15007 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15008 (_IO_off_t): Define to __off_t, not _G_off_t.
15009 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15010 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15011 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15012 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15013 type of __dummy and __dummy2 fields.
15014 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15015 (_G_ssize_t): Likewise.
15016 (_G_off_t): Likewise.
15017 (_G_pid_t): Likewise.
15018 (_G_uid_t): Likewise.
15019 (_G_wchar_t): Likewise.
15020 (_G_wint_t): Likewise.
15021 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15022 (_G_ssize_t): Likewise.
15023 (_G_off_t): Likewise.
15024 (_G_pid_t): Likewise.
15025 (_G_uid_t): Likewise.
15026 (_G_wchar_t): Likewise.
15027 (_G_wint_t): Likewise.
15028 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15029 (_G_ssize_t): Likewise.
15030 (_G_off_t): Likewise.
15031 (_G_pid_t): Likewise.
15032 (_G_uid_t): Likewise.
15033 (_G_wchar_t): Likewise.
15034 (_G_wint_t): Likewise.
15036 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15038 * malloc/arena.c: Include malloc-sysdep.h.
15039 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15040 is sufficient to shrink the heap or an unmap is needed.
15041 * sysdeps/generic/malloc-sysdep.h: New file. Define
15042 new function check_may_shrink_heap.
15043 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15044 new function check_may_shrink_heap.
15046 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15048 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15051 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15053 * catgets/test-gencat.sh: Add "set -e".
15054 * elf/tst-pathopt.sh: Likewise.
15055 * grp/tst_fgetgrent.sh: Likewise.
15056 * iconvdata/run-iconv-test.sh: Likewise.
15057 * intl/tst-gettext.sh: Likewise.
15058 * intl/tst-gettext2.sh: Likewise.
15059 * intl/tst-gettext4.sh: Likewise.
15060 * intl/tst-gettext6.sh: Likewise.
15061 * intl/tst-translit.sh: Likewise.
15062 * io/ftwtest-sh: Likewise.
15063 * libio/test-freopen.sh: Likewise.
15064 * malloc/tst-mtrace.sh: Likewise.
15065 * posix/globtest.sh: Likewise.
15066 * posix/tst-getconf.sh: Likewise.
15067 * posix/wordexp-tst.sh: Likewise.
15068 * stdio-common/tst-printf.sh: Likewise.
15069 * stdio-common/tst-unbputc.sh: Likewise.
15070 * stdlib/tst-fmtmsg.sh: Likewise.
15071 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15072 * catgets/Makefile: Do not specify -e option when running
15073 testsuite shell scripts.
15074 * elf/Makefile: Likewise.
15075 * grp/Makefile: Likewise.
15076 * iconvdata/Makefile: Likewise.
15077 * intl/Makefile: Likewise.
15078 * io/Makefile: Likewise.
15079 * libio/Makefile: Likewise.
15080 * malloc/Makefile: Likewise.
15081 * posix/Makefile: Likewise.
15082 * stdio-common/Makefile: Likewise.
15083 * stdlib/Makefile: Likewise.
15084 * sysdeps/x86_64/Makefile: Likewise.
15086 * io/ftwtest-sh: Add copyright header.
15087 * posix/globtest.sh: Likewise.
15088 * posix/tst-getconf.sh: Likewise.
15089 * posix/wordexp-tst.sh: Likewise.
15090 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15092 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15095 * Makeconfig (+link): Defined as $(+link-static) if
15096 $(build-shared) isn't yes.
15097 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15099 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15101 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15104 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15105 new chunk size with MALLOC_ALIGN_MASK.
15107 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15110 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15112 (__printf_fphex): Determine rounding using get_rounding_mode and
15114 * stdio-common/tst-printf-round.c (struct hex_test): New
15116 (hex_tests): New variable.
15117 (test_hex_in_one_mode): New function.
15118 (do_test): Also run tests for hex float output.
15120 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15122 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15123 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15124 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15125 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15126 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15127 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15128 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15129 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15131 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15133 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15134 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15135 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15136 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15138 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15141 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15143 * elf/tst-rtld-load-self.sh: New test.
15144 * elf/Makefile: Run it.
15146 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15148 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15149 (tst-writev-ENV): Remove.
15150 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15152 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15154 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15156 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15158 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15160 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15162 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15163 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15164 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15167 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15170 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15171 * config.make.in (have-cpp-asm-debuginfo): Removed.
15172 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15173 * configure: Regenerated.
15175 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15178 * stdio-common/printf_fp.c: Include <stdbool.h> and
15180 (___printf_fp): Determine rounding using get_rounding_mode and
15182 * stdio-common/tst-printf-round.c: New file.
15183 * stdio-common/Makefile (tests): Add tst-printf-round.
15184 (link-libm): New variable.
15185 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15187 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15190 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15191 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15193 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15196 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15198 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15199 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15200 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15201 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15203 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15206 * include/rounding-mode.h: New file.
15207 * sysdeps/generic/get-rounding-mode.h: Likewise.
15208 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15209 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15210 (MAX_VALUE): New macro.
15211 (MIN_VALUE): Likewise.
15212 (overflow_value): New function.
15213 (underflow_value): Likewise.
15214 (round_and_return): Use overflow_value and underflow_value to
15215 determine return values in overflow and underflow cases. Use
15216 round_away to determine rounding depending on rounding mode.
15217 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15218 determine return values in overflow and underflow cases.
15219 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15220 (struct test_results): New structure.
15221 (struct test): Use struct test_results to store expected results
15222 for all rounding modes.
15223 (TEST): Include expected results for all rounding modes.
15224 (test_in_one_mode): New function.
15225 (do_test): Use test_in_one_mode to compute and check results.
15226 Check results for all rounding modes.
15227 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15230 2012-12-09 Allan McRae <allan@archlinux.org>
15232 * sysdeps/i386/fpu/libm-test-ulps: Update
15234 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15237 (_G_int32_t): Likewise.
15238 (_G_uint16_t): Likewise.
15239 (_G_uint32_t): Likewise.
15240 (_G_HAVE_BOOL): Likewise.
15241 (_G_HAVE_ATEXIT): Likewise.
15242 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15243 (_G_HAVE_IO_FILE_OPEN): Likewise.
15244 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15245 (_G_int32_t): Likewise.
15246 (_G_uint16_t): Likewise.
15247 (_G_uint32_t): Likewise.
15248 (_G_HAVE_BOOL): Likewise.
15249 (_G_HAVE_ATEXIT): Likewise.
15250 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15251 (_G_HAVE_IO_FILE_OPEN): Likewise.
15252 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15253 (_G_int32_t): Likewise.
15254 (_G_uint16_t): Likewise.
15255 (_G_uint32_t): Likewise.
15256 (_G_HAVE_BOOL): Likewise.
15257 (_G_HAVE_ATEXIT): Likewise.
15258 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15259 (_G_HAVE_IO_FILE_OPEN): Likewise.
15261 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15263 * csu/libc-tls.c: Update copyright years.
15265 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15267 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15268 [!_G_USING_THUNKS]: Remove conditional code.
15269 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15270 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15272 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15273 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15274 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15275 (_G_VTABLE_LABEL_PREFIX): Likewise.
15276 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15277 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15278 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15279 (_G_VTABLE_LABEL_PREFIX): Likewise.
15280 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15281 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15283 (_G_VTABLE_LABEL_PREFIX): Likewise.
15284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15286 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15288 * libio/Makefile: Include ../Makeconfig before tests.
15289 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15290 only if $(build-shared) is yes.
15292 * iconv/gconv_db.c: Update copyright years.
15294 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15296 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15297 unwind info if defined PIC. Fix special cases description.
15298 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15300 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15302 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15304 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15306 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15308 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15311 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15312 (LDLIBS-tst-chk4): This.
15313 (LDFLAGS-tst-chk5): Renamed to ...
15314 (LDLIBS-tst-chk5): This.
15315 (LDFLAGS-tst-chk6): Renamed to ...
15316 (LDLIBS-tst-chk6): This.
15317 (LDFLAGS-tst-lfschk4): Renamed to ...
15318 (LDLIBS-tst-lfschk4): This.
15319 (LDFLAGS-tst-lfschk5): Renamed to ...
15320 (LDLIBS-tst-lfschk5): This.
15321 (LDFLAGS-tst-lfschk6): Renamed to ...
15322 (LDLIBS-tst-lfschk6): This.
15324 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15325 on $(common-objpfx)soversions.mk.
15327 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15330 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15333 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15335 * malloc/arena.c (arena_get_retry): New function that gets
15336 another arena for the caller to try its request on.
15337 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15338 current arena cannot fulfill the request.
15339 (__libc_memalign): Likewise.
15340 (__libc_memalign): Likewise.
15341 (__libc_pvalloc): Likewise.
15342 (__libc_calloc): Likewise.
15344 2012-09-05 John Tobey <john.tobey@gmail.com>
15347 * manual/arith.texi (Operations on Complex): Fix description
15348 of carg branch cut.
15350 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15353 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15357 * manual/memory.texi (Memory): Make order of menu items match
15360 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15362 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15363 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15364 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15366 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15368 * csu/libc-tls.c (static_dtv): Renamed to ...
15369 (_dl_static_dtv): This. Make it global.
15370 (_dl_initial_dtv): Removed.
15371 (__libc_setup_tls): Updated.
15372 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15373 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15376 2012-09-06 Petr Machata <pmachata@redhat.com>
15378 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15379 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15380 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15381 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15383 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15386 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15387 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15390 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15393 * Makeconfig (link-static-before-libc): Replace $(+prector)
15395 (link-static-after-libc): Replace $(+postctor) with
15397 (link-bounded): Replace $(+prector)/$(+postctor) with
15398 $(+prectorT)/$(+postctorT).
15399 (+prectorT): New macro.
15400 (+postctorT): Likewise.
15402 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15404 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15405 (round_str): Handle values above the maximum for IBM long double
15407 * stdlib/tst-strtod-round.c (tests): Regenerated.
15409 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15411 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15413 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15414 zarch_nohighgprs around the zarch optimized routines.
15415 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15416 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15420 2012-09-05 David S. Miller <davem@davemloft.net>
15422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15424 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15425 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15426 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15427 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15430 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15432 * malloc/arena.c: Fold copyright years.
15433 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15435 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15437 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15439 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15441 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15443 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15445 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15446 change internal state upon failure.
15448 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15450 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15451 * malloc/memusage.c (mmap): Likewise.
15452 (mmap64, mremap): Likewise. Adjust name in comment.
15454 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15456 * libio/fileops.c: Fix typos in comments.
15457 * libio/oldfileops.c: Likewise.
15458 * libio/wfileops.c: Likewise.
15460 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15463 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15464 (tst-malloc-usable-ENV): Set environment for test case.
15465 * malloc/hooks.c (malloc_check_get_size): New function to get
15467 * malloc/malloc.c (musable): Use malloc_check_get_size.
15468 * malloc/tst-malloc-usable.c: New test case.
15470 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15472 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15474 2012-09-05 Allan McRae <allan@archlinux.org>
15477 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15478 determine header location.
15479 * configure: Regenerated.
15481 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15483 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15485 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15486 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15488 (test): Regenerate.
15490 2012-09-04 David S. Miller <davem@davemloft.net>
15492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15496 2012-09-04 Florian Weimer <fweimer@redhat.com>
15498 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15501 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15503 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15506 * libio/iogetdelim.c: Include <limits.h>.
15507 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15508 + len + 1 would overflow.
15510 2012-09-03 Andreas Jaeger <aj@suse.de>
15512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15513 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15517 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15518 Add s_sinf-sse2, s_conf-sse2.
15520 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15521 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15522 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15523 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15525 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15526 for using routine as __sinf_ia32.
15527 Use macro for function declaration and weak_alias.
15528 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15529 for using routine as __cosf_ia32.
15530 Use macro for function declaration and weak_alias.
15532 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15533 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15535 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15536 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15539 * math/libm-test.inc (cos_test): Add more test cases.
15540 (sin_test): Likewise.
15541 (sincos_test): Likewise.
15543 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15546 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15550 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15553 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15554 first element of the GOT.
15555 (elf_machine_load_address): Return the difference between
15556 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15558 2012-09-01 Allan McRae <allan@archlinux.org>
15561 * configure.in (AWK): Require gawk version 3.0 or later.
15562 * configure: Regenerated.
15564 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15566 * sysdeps/unix/sysv/linux/kernel-features.h
15567 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15569 [__NR_clock_getres]: Make code unconditional.
15570 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15571 (clock_getcpuclockid): Remove code left unreachable by removal of
15573 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15574 code unconditional.
15575 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15576 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15577 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15578 Make code unconditional.
15579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15581 * sysdeps/unix/sysv/linux/clock_settime.c
15582 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15584 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15587 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15590 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15591 scripts/test-installation.pl.
15593 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15594 and $ld_so_version if it is set.
15596 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15600 failure if reading from procfs failed.
15601 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15603 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15605 * sysdeps/unix/sysv/linux/kernel-features.h
15606 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15607 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15608 Remove conditional code.
15609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15610 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15611 Remove conditional code.
15612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15613 * sysdeps/unix/sysv/linux/i386/fxstat.c
15614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15616 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15617 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15619 * sysdeps/unix/sysv/linux/i386/lxstat.c
15620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15622 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15623 Remove conditional code.
15624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15625 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15626 Remove conditional code.
15627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15629 <kernel-features.h>.
15630 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15632 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15633 Remove conditional code.
15634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15635 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15636 Remove conditional.
15638 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15641 * NEWS: Add fixed bug number.
15643 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15646 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15647 underflowing exponent in case of negative sign.
15648 * stdlib/tst-strtod-round-data: Add more tests.
15649 * stdlib/tst-strtod-round.c (tests): Regenerated.
15652 * stdlib/strtod_l.c (NDIG): Remove.
15653 (HEXNDIG): Likewise.
15654 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15655 smallest representable value.
15656 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15657 lie within an exact representation of 1/2 ulp of the result.
15658 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15660 (TENS_P9_IDX): Define unconditionally.
15661 (TENS_P9_SIZE): Likewise.
15662 (TENS_P10_IDX): Likewise.
15663 (TENS_P10_SIZE): Likewise.
15664 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15665 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15666 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15667 entries for 10^2^13 and 10^2^14.
15668 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15669 (TENS_P13_IDX): Define.
15670 (TENS_P13_SIZE): Likewise.
15671 (TENS_P14_IDX): Likewise.
15672 (TENS_P14_SIZE): Likewise.
15673 (_fpioconst_pow10): Change array size to
15674 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15676 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15677 1024]: Add entries for 10^2^13 and 10^2^14.
15678 [LAST_POW10 > _LAST_POW10]: Remove #error.
15679 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15680 (_fpioconst_pow10): Change array size to
15681 FPIOCONST_POW10_ARRAY_SIZE.
15682 * stdlib/gen-fpioconst.c: New file.
15683 * stdlib/gen-tst-strtod-round.c: Likewise.
15684 * stdlib/tst-strtod-round-data: Likewise.
15685 * stdlib/tst-strtod-round.c: Likewise.
15686 * stdlib/Makefile (tests): Add tst-strtod-round.
15689 * stdlib/strtod_l.c: Include <stdint.h>.
15690 (NDEBUG): Do not define.
15691 (round_and_return): Change EXPONENT parameter to type intmax_t.
15692 Rearrange calculations to avoid internal overflow possibilities.
15693 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15694 Rearrange calculations to avoid internal overflow possibilities.
15695 Assert that number fits inside MPNSIZE limbs.
15696 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15697 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15698 calculations and add assertions to avoid internal overflow
15699 possibilities. Add casts to avoid signed/unsigned operations.
15700 * stdlib/tst-strtod-overflow.c: New file.
15701 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15703 2012-08-25 Marek Polacek <polacek@redhat.com>
15705 * time/time.h: Fix some typos in comments.
15707 2012-08-23 Roland McGrath <roland@hack.frob.com>
15709 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15710 * posix/tst-rfc3484-2.c: Likewise.
15711 * posix/tst-rfc3484-3.c: Likewise.
15713 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15715 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15716 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15718 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15720 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15721 #include of fxstatat64.c.
15723 2012-08-22 Roland McGrath <roland@hack.frob.com>
15725 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15726 * shadow/getspent_r.c: Likewise.
15727 * shadow/getspnam.c: Likewise.
15728 * shadow/getspnam_r.c: Likewise.
15729 * gshadow/getsgent.c: Likewise.
15730 * gshadow/getsgent_r.c: Likewise.
15731 * gshadow/getsgnam.c: Likewise.
15732 * gshadow/getsgnam_r.c: Likewise.
15733 * inet/getnetbyad.c: Likewise.
15734 * inet/getnetbyad_r.c: Likewise.
15735 * inet/getnetbynm.c: Likewise.
15736 * inet/getnetbynm_r.c: Likewise.
15737 * inet/getnetent.c: Likewise.
15738 * inet/getnetent_r.c: Likewise.
15739 * inet/getproto.c: Likewise.
15740 * inet/getproto_r.c: Likewise.
15741 * inet/getprtent.c: Likewise.
15742 * inet/getprtent_r.c: Likewise.
15743 * inet/getprtname.c: Likewise.
15744 * inet/getprtname_r.c: Likewise.
15745 * inet/getrpcbyname.c: Likewise.
15746 * inet/getrpcbyname_r.c: Likewise.
15747 * inet/getrpcbynumber.c: Likewise.
15748 * inet/getrpcbynumber_r.c: Likewise.
15749 * inet/getrpcent.c: Likewise.
15750 * inet/getrpcent_r.c: Likewise.
15751 * inet/getaliasent.c: Likewise.
15752 * inet/getaliasent_r.c: Likewise.
15753 * inet/getaliasname.c: Likewise.
15754 * inet/getaliasname_r.c: Likewise.
15755 * nscd/getgrgid_r.c: Likewise.
15756 * nscd/getgrnam_r.c: Likewise.
15757 * nscd/gethstbyad_r.c: Likewise.
15758 * nscd/gethstbynm3_r.c: Likewise.
15759 * nscd/getpwnam_r.c: Likewise.
15760 * nscd/getpwuid_r.c: Likewise.
15761 * nscd/getsrvbynm_r.c: Likewise.
15762 * nscd/getsrvbypt_r.c: Likewise.
15763 * nscd/gai.c: Likewise.
15765 * configure.in (build_nscd): New substituted variable, set
15766 by --disable-build-nscd and defaults to $use_nscd.
15767 * configure: Regenerated.
15768 * config.make.in (build-nscd): New substituted variable.
15769 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15770 Change conditional to require [$(build-nscd) = yes] as well.
15771 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15774 * configure.in (use_nscd): New substituted variable, set by
15775 --disable-nscd. If enabled, define USE_NSCD.
15776 * configure: Regenerated.
15777 * config.h.in: Add USE_NSCD.
15778 * config.make.in (use-nscd): New substituted variable.
15779 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15780 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15781 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15782 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15783 (CFLAGS-getgrnam_r.c): Likewise.
15784 (CFLAGS-initgroups.c): Likewise.
15785 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15786 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15788 * inet/getnetgrent_r.c
15789 (nscd_setnetgrent): New function, broken out of ...
15790 (setnetgrent): ... here. Call it.
15791 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15792 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15793 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15794 * nscd/Makefile (routines, aux): Move definitions after include of
15795 Makeconfig. Conditionalize on [$(use-nscd) != no].
15796 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15797 Conditionalize on [USE_NSCD].
15798 (is_nscd, nscd_init_cb): Likewise.
15799 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15800 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15801 * nss/nss_db/db-init.c: Likewise.
15802 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15804 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15805 (make_request): Use it.
15806 (cache_valid_p): New function.
15807 (__check_pf): Use it.
15808 * NEWS: Add item for --disable-nscd.
15810 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15812 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15813 to support sed >= 4.2.1-20-ga9bf076.
15814 * configure: Regenerated.
15816 2012-08-22 Roland McGrath <roland@hack.frob.com>
15818 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15819 Conditionalize whole body on [IREL].
15821 2012-08-22 Jeff Law <law@redhat.com>
15824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15825 if the family is PF_UNSPEC.
15827 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15829 * Makerules (lib-version): Rename from V.
15830 (install-lib-nosubdir): Change V to lib-version.
15832 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15835 * powerpc32/power6/wcschr.c: New file.
15836 * powerpc32/power6/wcscpy.c: New file.
15837 * powerpc32/power6/wcsrchr.c: New file.
15838 * powerpc64/power6/wcschr.c: New file.
15839 * powerpc64/power6/wcscpy.c: New file.
15840 * powerpc64/power6/wcsrchr.c: New file.
15842 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15844 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15845 (two_way_short_needle): Use it.
15846 * string/strstr.c (AVAILABLE1_USES_J): Define.
15847 * string/strcasestr.c: Likewise.
15849 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15851 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15854 * NEWS: Add an entry.
15855 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15856 define their defaults.
15857 (two_way_short_needle): Detect end-of-string on-the-fly.
15858 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15859 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15860 * string/bug-strcasestr1.c: New test.
15861 * string/Makefile: Run it.
15863 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15866 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15867 the first character.
15869 2012-08-21 Roland McGrath <roland@hack.frob.com>
15871 * csu/elf-init.c (__libc_csu_irel): Function removed.
15872 * csu/libc-start.c (apply_irel): New function.
15873 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15875 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15877 * sysdeps/unix/sysv/linux/kernel-features.h
15878 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15879 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15880 <kernel-features.h>.
15881 [__NR_fadvise64_64]: Make code unconditional.
15882 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15883 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15884 !__NR_fadvise64_64)]: Likewise.
15885 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15886 !__NR_fadvise64_64))]: Likewise.
15887 [__NR_fadvise64]: Make code unconditional.
15888 [!__NR_fadvise64]: Remove conditional code.
15889 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15890 <kernel-features.h>.
15891 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15893 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15896 not include <kernel-features.h>.
15897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15901 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15902 include <kernel-features.h>.
15903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15908 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15911 slight instruction rearrangements per scrollpipe analysis.
15912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15914 2012-08-20 Roland McGrath <roland@hack.frob.com>
15916 * manual/syslog.texi (syslog; vsyslog, closelog):
15917 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15918 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15920 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15921 DSOCAPS to match condition on defining it.
15923 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15925 * sysdeps/unix/sysv/linux/kernel-features.h
15926 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15931 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15932 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15937 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15938 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15940 * sysdeps/unix/sysv/linux/kernel-features.h
15941 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15942 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15944 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15945 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15946 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15947 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15948 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15949 Make code unconditional.
15950 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15951 (__mmap64) [!__NR_mmap2]: Likewise.
15952 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15953 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15954 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15955 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15956 [__NR_mmap2]: Make code unconditional.
15957 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15958 (__mmap64) [!__NR_mmap2]: Likewise.
15960 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15962 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15964 2012-08-18 Andreas Jaeger <aj@suse.de>
15966 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15968 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15970 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15971 * include/unistd.h (__have_sock_cloexec): Likewise.
15972 (__have_pipe2): Likewise.
15973 (__have_dup3): Likewise.
15975 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15978 * include/unistd.h (__have_pipe2): Change define into an extern int.
15979 (__have_dup3): Likewise.
15980 * socket/have_sock_cloexec.c: Include fcntl.h.
15981 (__have_pipe2): New variable.
15982 (__have_dup3): Likewise.
15984 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15986 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15988 2012-08-17 Marek Polacek <polacek@redhat.com>
15990 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15991 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15993 2012-08-17 Roland McGrath <roland@hack.frob.com>
15995 * configure.in: Add AC_SUBST for sysheaders.
15996 * configure: Regenerated.
15997 * config.make.in (sysheaders): New substituted variable.
15999 * sysdeps/unix/mkfifo.c: Moved ...
16000 * sysdeps/posix/mkfifo.c: ... here.
16001 * sysdeps/unix/mkfifoat.c: Moved ...
16002 * sysdeps/posix/mkfifoat.c: ... here.
16004 * sysdeps/unix/utime.c: Moved ...
16005 * sysdeps/posix/utime.c: ... here.
16007 * sysdeps/unix/time.c: Moved ...
16008 * sysdeps/posix/time.c: ... here.
16009 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16010 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16012 * sysdeps/unix/nice.c: Moved ...
16013 * sysdeps/posix/nice.c: ... here.
16015 * sysdeps/unix/alarm.c: Moved ...
16016 * sysdeps/posix/alarm.c: ... here.
16018 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16020 2012-08-17 Jeff Law <law@redhat.com>
16022 * intl/Makefile (codeset_mo): New variable.
16023 ($(codeset_mo)): New target.
16024 (tst-codeset.out): Depend on that. Remove explicit rule.
16025 (tst-gettext3.out, tst-gettext5.out): Likewise.
16026 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16027 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16028 * intl/tst-codeset.sh: Remove.
16029 * intl/tst-gettext3.sh: Likewise.
16030 * intl/tst-gettext5.sh: Likewise.
16032 2012-08-17 Roland McGrath <roland@hack.frob.com>
16034 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16035 * sysdeps/unix/syscalls.list: ... here.
16037 * sysdeps/posix/getaddrinfo.c
16038 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16039 (gaiconf_init, gaiconf_reload): Use them.
16040 [!_STATBUF_ST_NSEC]
16041 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16042 Define using time_t rather than struct timespec.
16044 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16045 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16047 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16049 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16050 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16053 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16054 __libc_cleanup_push argument.
16056 * bits/param.h: New file.
16057 * misc/sys/param.h: New file.
16058 * include/sys/param.h: New file.
16059 * misc/Makefile (headers): Add bits/param.h.
16060 * sysdeps/generic/sys/param.h: File removed.
16061 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16062 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16063 * sysdeps/mach/hurd/bits/param.h: New file.
16064 * sysdeps/mach/hurd/sys/param.h: File removed.
16066 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16069 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16071 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16072 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16075 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16076 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16077 rather than -D_IO_MTSAFE_IO conditionally.
16078 * stdio-common/Makefile (CPPFLAGS): Likewise.
16079 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16080 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16081 Use $(libio-mtsafe).
16082 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16083 of -D_IO_MTSAFE_IO.
16084 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16085 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16086 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16087 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16088 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16089 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16090 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16091 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16092 (CFLAGS-fread_u_chk.c): Likewise.
16093 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16094 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16095 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16096 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16097 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16098 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16099 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16100 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16101 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16103 * libio/Makefile: Test [$(libc-reentrant) = yes]
16104 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16107 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16108 * sysdeps/pthread/configure: File removed.
16109 * sysdeps/pthread/Makeconfig: New file.
16110 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16111 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16113 2012-08-16 Gary Benson <gbenson@redhat.com>
16115 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16116 unmapping the first object in a namespace.
16118 2012-08-16 Roland McGrath <roland@hack.frob.com>
16120 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16121 (__internal_setnetgrent): ... this. Add internal_function to
16122 definition. Add libc_hidden_def.
16123 (setnetgrent): Update caller.
16124 (internal_endnetgrent): Renamed to ...
16125 (__internal_endnetgrent): ... this. Add internal_function to
16126 definition. Add libc_hidden_def.
16127 (endnetgrent): Update caller.
16128 (internal_getnetgrent_r): Renamed to ...
16129 (__internal_getnetgrent_r): ... this. Add internal_function to
16130 definition. Add libc_hidden_def.
16131 (__getnetgrent_r): Update caller.
16132 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16134 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16136 * stdlib/longlong.h: Update from GCC.
16138 2012-08-16 Roland McGrath <roland@hack.frob.com>
16140 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16141 on _QL, which is set by umul_ppmm but never used.
16142 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16143 variables, which are set by GMP macros but never used.
16144 * stdio-common/_itowa.c (_itowa): Likewise.
16145 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16146 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16148 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16150 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16151 struct La_sh_regs is not constant.
16152 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16153 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16154 and struct La_sparc64_regs are not constant.
16156 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16158 * sysdeps/unix/sysv/linux/kernel-features.h
16159 (__ASSUME_POSIX_TIMERS): Remove.
16160 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16162 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16163 Make code unconditional.
16164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16166 Make code unconditional.
16167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16168 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16169 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16171 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16172 Make code unconditional.
16173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16174 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16175 (__libc_missing_posix_timers): Remove.
16177 2012-08-15 Roland McGrath <roland@hack.frob.com>
16179 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16180 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16182 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16184 * elf/dl-sym.c: Include <stdlib.h>.
16186 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16187 constants, which avoids warnings in 32-bit builds.
16189 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16190 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16192 * misc/lseek.c: File moved to ...
16193 * io/lseek.c: ... here.
16195 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16197 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16198 shifting LEN more than 31 bits at once.
16200 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16203 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16204 segmentation fault for a case of two empty input strings.
16205 * string/test-strncasecmp.c (check1): Renamed to...
16206 (bz12205): ...this.
16207 (bz14195): Add new testcase for two empty input strings and N > 0.
16208 (test_main): Call new testcase, adapt for renamed function.
16210 2012-08-15 Andreas Jaeger <aj@suse.de>
16213 * crypt/md5test2.c: New test, based on test supplied by Serge
16214 Belyshev <belyshev@depni.sinp.msu.ru>.
16215 * crypt/Makefile (xtests): Add md5test-giant..
16216 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16218 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16221 * crypt/md5.c (md5_process_block): Don't assume the buffer
16222 length is less than 2**32.
16223 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16224 length is less than 2**64.
16226 2012-08-15 Roland McGrath <roland@hack.frob.com>
16228 * string/str-two-way.h: Include <sys/param.h>.
16229 (MAX): Macro removed.
16231 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16232 Move #define and #undef of memmove to just before and after
16233 including <string.h>.
16235 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16236 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16237 and after including <string.h>. Move declarations of
16238 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16239 to before #include "string/memmove.c".
16241 * include/dirent.h: Declare __getdirentries.
16243 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16244 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16246 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16248 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16249 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16250 * sysdeps/i386/configure: Regenerated.
16251 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16252 STABS_CURRENT_FILE, and STABS_FUN.
16253 (END): Remove call to STABS_FUN_END.
16254 (STABS_CURRENT_FILE1): Delete.
16255 (STABS_CURRENT_FILE): Likewise.
16256 (STABS_FUN): Likewise.
16257 (STABS_FUN_END): Likewise.
16258 (STABS_FUN2): Likewise.
16259 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16260 * sysdeps/x86_64/configure: Regenerated.
16262 2012-08-14 Roland McGrath <roland@hack.frob.com>
16264 * elf/dl-open.c: Include <atomic.h>.
16265 * elf/dl-lookup.c: Likewise.
16267 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16269 * sysdeps/unix/sysv/linux/kernel-features.h
16270 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16271 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16273 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16275 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16276 condition on __ASSUME_CLONE_THREAD_FLAGS.
16278 2012-08-14 Andreas Jaeger <aj@suse.de>
16280 * sysdeps/i386/fpu/libm-test-ulps: Update.
16282 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16284 * include/atomic.h (atomic_exchange_and_add): Split into ...
16285 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16288 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16292 2012-08-13 Jeff Law <law@redhat.com>
16294 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16295 null byte in the output string.
16297 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16299 * sysdeps/unix/sysv/linux/kernel-features.h
16300 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16301 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16302 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16304 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16305 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16306 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16308 2012-08-09 Jeff Law <law@redhat.com>
16311 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16312 When avoid_arena is set, don't retry in the that arena. Pick the
16313 next one, whatever it might be.
16314 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16315 (arena_lock): Pass in new parameter to arena_get2.
16316 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16318 (__libc_malloc): Unify retrying after main arena failure with
16319 __libc_memalign version.
16320 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16322 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16325 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16326 to __redirect_strstr.
16327 (__strstr_sse42): Use typeof __redirect_strstr.
16328 (__strstr_ia32): Likewise.
16329 (__libc_strstr): New prototype.
16330 (strstr): Renamed to ...
16331 (__libc_strstr): This.
16332 (strstr): New strong alias of __libc_strstr.
16333 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16334 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16337 (__libc_time): New prototype.
16338 (time_ifunc): Replace time with __libc_time.
16339 (time): New strong alias and hidden definition of __libc_time.
16340 (__GI_time): Remove strong alias.
16341 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16342 Include <stddef.h>.
16343 (memmove): Redefined to __redirect_memmove.
16344 (__memmove_sse2): Use typeof __redirect_memmove.
16345 (__memmove_ssse3): Likewise.
16346 (__memmove_ssse3_back): Likewise.
16347 (__libc_memmove): New prototype.
16348 (memmove): Renamed to ...
16349 (__libc_memmove): This.
16350 (memmove): New strong alias of __libc_memmove.
16352 2012-08-08 Mark Salter <msalter@redhat.com>
16355 (R_MN10300_TLS_GD): Define.
16356 (R_MN10300_TLS_LD): Likewise.
16357 (R_MN10300_TLS_LDO): Likewise.
16358 (R_MN10300_TLS_GOTIE): Likewise.
16359 (R_MN10300_TLS_IE): Likewise.
16360 (R_MN10300_TLS_LE): Likewise.
16361 (R_MN10300_TLS_DTPMOD): Likewise.
16362 (R_MN10300_TLS_DTPOFF): Likewise.
16363 (R_MN10300_TLS_TPOFF): Likewise.
16364 (R_MN10300_SYM_DIFF): Likewise.
16365 (R_MN10300_ALIGN): Likewise.
16366 (R_MN10300_NUM): Update.
16368 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16370 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16373 2012-08-08 Roland McGrath <roland@hack.frob.com>
16375 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16377 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16378 sysdeps/unix -> sysdeps/posix move.
16379 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16381 2012-08-07 Allan McRae <allan@archlinux.org>
16384 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16385 (SUNOS_CPP): Likewise.
16386 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16388 (open_input): Call CPP using execvp.
16390 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16392 * sysdeps/unix/sysv/linux/kernel-features.h
16393 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16394 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16395 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16396 (__ASSUME_WAITID_SYSCALL): Likewise.
16397 * sysdeps/unix/sysv/linux/dl-execstack.c
16398 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16399 code unconditional.
16400 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16402 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16403 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16404 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16406 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16408 [__ASSUME_WAITID_SYSCALL]: Likewise.
16409 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16411 2012-08-07 Roland McGrath <roland@hack.frob.com>
16413 * sysdeps/unix/closedir.c: Renamed to ...
16414 * sysdeps/posix/closedir.c: ... here.
16415 * sysdeps/unix/dirfd.c: Renamed to ...
16416 * sysdeps/posix/dirfd.c: ... here.
16417 * sysdeps/unix/dirstream.h: Renamed to ...
16418 * sysdeps/posix/dirstream.h: ... here.
16419 * sysdeps/unix/fdopendir.c: Renamed to ...
16420 * sysdeps/posix/fdopendir.c: ... here.
16421 * sysdeps/unix/opendir.c: Renamed to ...
16422 * sysdeps/posix/opendir.c: ... here.
16423 * sysdeps/unix/readdir.c: Renamed to ...
16424 * sysdeps/posix/readdir.c: ... here.
16425 * sysdeps/unix/readdir_r.c: Renamed to ...
16426 * sysdeps/posix/readdir_r.c: ... here.
16427 * sysdeps/unix/rewinddir.c: Renamed to ...
16428 * sysdeps/posix/rewinddir.c: ... here.
16429 * sysdeps/unix/seekdir.c: Renamed to ...
16430 * sysdeps/posix/seekdir.c: ... here.
16431 * sysdeps/unix/telldir.c: Renamed to ...
16432 * sysdeps/posix/telldir.c: ... here.
16433 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16434 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16435 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16436 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16438 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16439 * bits/fcntl.h: ... here.
16441 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16443 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16444 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16445 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16446 (struct flock): Move l_start, l_len to the beginning.
16447 Use __pid_t for l_pid.
16448 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16449 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16450 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16451 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16452 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16453 [__USE_LARGEFILE64] (struct flock64): New type.
16454 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16456 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16457 * bits/dirent.h: ... here.
16459 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16460 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16462 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16465 Change from 2.6.0 to 2.6.16.
16466 * sysdeps/unix/sysv/linux/configure: Regenerated.
16467 * sysdeps/unix/sysv/linux/kernel-features.h
16468 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16469 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16471 (__ASSUME_UTIMES): Likewise.
16472 (__ASSUME_CLONE_STOPPED): Remove.
16473 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16474 architectures, not kernel version.
16475 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16476 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16477 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16478 (__ASSUME_WAITID_SYSCALL): Likewise.
16479 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16480 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16481 * README: State 2.6.16 as minimum Linux kernel version. Do not
16482 refer to older versions.
16484 2012-08-06 Roland McGrath <roland@hack.frob.com>
16486 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16487 Define alphasort64 as an alias.
16488 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16489 Define versionsort64 as an alias.
16490 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16491 Define scandir64 as an alias.
16492 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16493 Define scandirat64 as an alias.
16494 * dirent/alphasort64.c (alphasort64):
16495 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16496 * dirent/versionsort64.c: Likewise.
16497 * dirent/scandir64.c: Likewise.
16498 * dirent/scandirat64.c: Likewise.
16499 * sysdeps/wordsize-64/alphasort.c: File removed.
16500 * sysdeps/wordsize-64/alphasort64.c: File removed.
16501 * sysdeps/wordsize-64/scandir.c: File removed.
16502 * sysdeps/wordsize-64/scandir64.c: File removed.
16503 * sysdeps/wordsize-64/scandirat.c: File removed.
16504 * sysdeps/wordsize-64/scandirat64.c: File removed.
16505 * sysdeps/wordsize-64/versionsort.c: File removed.
16506 * sysdeps/wordsize-64/versionsort64.c: File removed.
16507 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16508 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16509 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16510 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16511 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16512 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16516 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16518 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16520 [defined __arch64__ || defined __sparcv9]
16521 (__INO_T_MATCHES_INO64_T): New macro.
16522 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16523 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16524 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16525 * sysdeps/unix/sysv/linux/bits/dirent.h
16526 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16527 (_DIRENT_MATCHES_DIRENT64): New macro.
16529 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16530 Define lockf64 as an alias.
16531 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16532 Define fseeko64 as an alias.
16533 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16534 Define ftello64 as an alias.
16535 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16536 Define _IO_fgetpos64 and fgetpos64 as aliases.
16537 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16538 Define _IO_fsetpos64 and fsetpos64 as aliases.
16539 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16540 Conditionalize body on this.
16541 * libio/fseeko64.c: Likewise.
16542 * libio/ftello64.c: Likewise.
16543 * libio/iofgetpos64.c: Likewise.
16544 * libio/iofsetpos64.c: Likewise.
16545 * sysdeps/wordsize-64/lockf.c: File removed.
16546 * sysdeps/wordsize-64/lockf64.c: File removed.
16547 * sysdeps/wordsize-64/fseeko.c: File removed.
16548 * sysdeps/wordsize-64/fseeko64.c: File removed.
16549 * sysdeps/wordsize-64/ftello.c: File removed.
16550 * sysdeps/wordsize-64/ftello64.c: File removed.
16551 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16552 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16553 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16554 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16555 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16556 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16557 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16558 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16559 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16560 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16561 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16562 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16563 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16566 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16568 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16570 [defined __arch64__ || defined __sparcv9]
16571 (__OFF_T_MATCHES_OFF64_T): New macro.
16572 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16573 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16575 (__OFF_T_MATCHES_OFF64_T): New macro.
16577 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16579 * stdlib/secure-getenv.c (__secure_getenv): Replace
16580 GLIBC_2_16 with GLIBC_2_17.
16582 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16587 2012-08-03 David S. Miller <davem@davemloft.net>
16589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16591 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16593 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16595 (__ASSUME_CORRECT_SI_PID): Likewise.
16596 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16597 (__ASSUME_TMPFS_NAME): Likewise.
16598 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16599 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16600 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16601 (HAVE_AUX_SECURE): Make definition unconditional.
16602 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16603 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16605 2012-08-03 Roland McGrath <roland@hack.frob.com>
16607 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16608 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16609 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16611 __eloop_threshold instead of SYMLOOP_MAX.
16613 * sysdeps/generic/eloop-threshold.h: New file.
16614 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16616 * elf/chroot_canon.c (chroot_canon): Likewise.
16618 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16622 Change to 2.6.0 everywhere.
16623 * sysdeps/unix/sysv/linux/configure: Regenerated.
16624 * sysdeps/unix/sysv/linux/kernel-features.h
16625 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16626 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16628 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16629 (__ASSUME_FUTEX_REQUEUE): Remove.
16630 (__ASSUME_STATFS64): Define unconditionally.
16631 (__ASSUME_AT_SECURE): Likewise.
16632 (__ASSUME_CORRECT_SI_PID): Likewise.
16633 (__ASSUME_TGKILL): Define without depending on kernel version for
16635 (__ASSUME_UTIMES): Likewise.
16636 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16638 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16639 (__ASSUME_TMPFS_NAME): Likewise.
16640 * README: Update reference to Linux kernel versions.
16642 2012-08-02 Marek Polacek <polacek@redhat.com>
16645 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16646 libc_cv_asm_type_prefix with %.
16647 * configure: Regenerated.
16648 * include/libc-symbols.h: Remove comment about
16649 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16650 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16651 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16652 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16653 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16654 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16655 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16656 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16657 * elf/tst-unique2mod1.c: Likewise.
16658 * elf/tst-unique1mod2.c: Likewise.
16659 * elf/tst-unique1mod1.c: Likewise.
16660 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16661 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16662 Replace ASM_TYPE_DIRECTIVE with .type.
16663 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16664 * sysdeps/i386/sysdep.h: Likewise.
16665 * sysdeps/x86_64/sysdep.h: Likewise.
16666 * sysdeps/sh/sysdep.h: Likewise.
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16668 Do not define ASM_TYPE_DIRECTIVE.
16669 * sysdeps/powerpc/sysdep.h: Likewise.
16670 * sysdeps/powerpc/powerpc32/sysdep.h:
16671 Replace ASM_TYPE_DIRECTIVE with .type.
16672 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16673 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16674 * sysdeps/i386/fpu/e_powf.S: Likewise.
16675 * sysdeps/i386/fpu/e_expl.S: Likewise.
16676 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16678 * sysdeps/i386/fpu/e_pow.S: Likewise.
16679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16683 * sysdeps/i386/fpu/e_log2.S: Likewise.
16684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16686 * sysdeps/i386/fpu/e_powl.S: Likewise.
16687 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16688 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16689 * sysdeps/i386/fpu/e_logl.S: Likewise.
16690 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16691 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16692 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16693 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16694 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16695 * sysdeps/i386/fpu/e_log.S: Likewise.
16696 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16697 * sysdeps/i386/fpu/e_logf.S: Likewise.
16698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16700 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16701 * sysdeps/i386/fpu/e_log10.S: Likewise.
16702 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16703 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16704 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16705 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16706 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16707 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16708 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16709 * sysdeps/i386/i686/strtok.S: Likewise.
16710 * sysdeps/i386/i386-mcount.S: Likewise.
16711 * sysdeps/i386/strtok.S: Likewise.
16712 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16713 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16715 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16716 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16717 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16718 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16719 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16720 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16721 * sysdeps/x86_64/_mcount.S: Likewise.
16722 * sysdeps/x86_64/strtok.S: Likewise.
16723 * sysdeps/sh/_mcount.S: Likewise.
16725 2012-08-01 Roland McGrath <roland@hack.frob.com>
16727 * libio/iofopen.c: Include <fcntl.h>.
16728 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16729 (_IO_fopen64, fopen64): Define as aliases.
16730 * libio/iofopen64.c: Include <fcntl.h>.
16731 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16732 Conditionalize body on this.
16733 * sysdeps/wordsize-64/iofopen.c: File removed.
16734 * sysdeps/wordsize-64/iofopen64.c: File removed.
16736 2012-08-01 Marek Polacek <polacek@redhat.com>
16738 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16739 Use dlfcn directly instead of a variable.
16740 (binfmt-subdir): Do not define.
16743 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16746 Remove all definitions.
16747 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16748 <kernel-features.h>.
16749 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16750 (miss_F_GETOWN_EX): Remove all definitions.
16751 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16753 [!__ASSUME_FCNTL64]: Remove conditional code.
16754 [__ASSUME_FCNTL64]: Make code unconditional.
16755 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16756 <kernel-features.h>.
16757 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16758 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16759 (lockf64) [__NR_fcntl64]: Make code unconditional.
16760 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16762 * sysdeps/unix/sysv/linux/kernel-features.h
16763 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16764 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16765 Make code unconditional.
16766 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16767 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16769 [__NR_vfork]: Make code unconditional.
16770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16773 [__NR_vfork]: Make code unconditional.
16774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16777 2012-08-01 Roland McGrath <roland@hack.frob.com>
16779 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16780 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16782 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16783 Define mkstemp64 as an alias.
16784 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16785 Define mkstemps64 as an alias.
16786 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16787 Define mkostemp64 as an alias.
16788 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16789 Define mkostemps64 as an alias.
16790 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16791 Conditionalize body on this.
16792 * misc/mkostemp64.c: Likewise.
16793 * misc/mkostemps64.c: Likewise.
16794 * misc/mkstemps64.c: Likewise.
16795 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16796 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16797 * sysdeps/wordsize-64/mkostemp.c: File removed.
16798 * sysdeps/wordsize-64/mkstemp.c: File removed.
16799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16805 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16806 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16807 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16808 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16810 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16811 compat_symbol macros from <shlib-compat.h> rather than the underlying
16812 default_symbol_version and symbol_version macros, so that DEFAULT
16813 lines in shlib-versions are respected.
16814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16816 2012-08-01 Florian Weimer <fweimer@redhat.com>
16818 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16819 Declare with warn_unused_result.
16820 (setgid, setregid, setegid, setresgid): Likewise.
16821 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16823 * WUR-REPORT: Remove set*id functions.
16825 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16827 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16829 2012-07-31 Roland McGrath <roland@hack.frob.com>
16832 * include/sys/socket.h (__libc_accept, __libc_accept4):
16833 Add attribute_hidden.
16834 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16836 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16838 * inet/getnetgrent_r.c (setup): Likewise.
16840 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16842 2012-07-31 David S. Miller <davem@davemloft.net>
16844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16846 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16849 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16850 value between 1.0 and 2.0 and smaller part has absolute value less
16852 * math/s_clog10.c (__clog10): Likewise.
16853 * math/s_clog10f.c (__clog10f): Likewise.
16854 * math/s_clog10l.c (__clog10l): Likewise.
16855 * math/s_clogf.c (__clogf): Likewise.
16856 * math/s_clogl.c (__clogl): Likewise.
16857 * math/libm-test.inc (clog_test): Add more tests.
16858 (clog10_test): Likewise.
16859 * sysdeps/i386/fpu/libm-test-ulps: Update.
16860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16862 2012-07-31 Florian Weimer <fweimer@redhat.com>
16864 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16865 Exit with zero in case no suitable GID is found, and write a
16866 message to standard error.
16868 2012-07-30 Roland McGrath <roland@hack.frob.com>
16870 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16872 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16873 (MAXPATHLEN): Removed.
16874 (NOGROUP, NODEV): New macros.
16875 (setbit, clrbit, isset, isclr): New macros.
16876 (howmany, roundup, powerof2): New macros.
16877 (DEV_BSIZE): New macro.
16879 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16880 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16882 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16883 definition on [!__NO_LONG_DOUBLE_MATH].
16885 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16886 PTR_MANGLE and PTR_DEMANGLE.
16888 * socket/accept4.c (accept4): Rename to __libc_accept4.
16889 Define accept4 as a weak alias.
16891 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16892 on [_DIRENT_HAVE_D_TYPE].
16893 * io/ftw.c (ftw_dir): Likewise.
16895 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16897 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16899 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16900 Use the BSD numbers rather than the arbitrary ones we had.
16901 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16902 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16903 (SIGXCPU, SIGXFSZ): New macros.
16906 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16907 initializer on [_LIBC_REENTRANT].
16909 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16910 definitions inside [_POSIX_MAPPED_FILES].
16912 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16914 * dirent/opendir.c: Include <fcntl.h>.
16916 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16917 (__libc_getspecific): Likewise.
16918 (__libc_key_create): Likewise.
16920 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16921 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16922 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16923 (tmpfile64): Define as alias.
16924 * sysdeps/wordsize-64/tmpfile.c: File removed.
16925 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16926 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16927 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16929 * stdio-common/vfscanf.c: Include <stdbool.h>.
16930 * nss/makedb.c: Likewise.
16931 * stdio-common/_i18n_number.h: Likewise.
16932 * argp/argp-help.c: Likewise.
16933 * posix/wordexp.c: Likewise.
16934 * sysdeps/posix/spawni.c: Likewise.
16935 * nss/nss_files/files-initgroups.c: Likewise.
16936 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16937 * nss/nss_files/files-initgroups.c: Likewise.
16938 * nss/nss_db/db-netgrp.c: Likewise.
16939 * nss/nss_db/db-initgroups.c: Likewise.
16940 * io/fchmodat.c: Include <sys/stat.h>.
16942 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16943 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16945 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16948 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16949 Add multiple inclusion protection.
16951 2012-07-27 David S. Miller <davem@davemloft.net>
16953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16955 2012-07-27 Gary Benson <gbenson@redhat.com>
16958 * elf/rtld.c: Include <stap-probe.h>.
16959 (dl_main): Added static probes "init_start" and "init_complete".
16960 * elf/dl-load.c: Include <stap-probe.h>.
16961 (lose): Take new parameter "nsid".
16962 Added static probe "map_failed".
16963 (_dl_map_object_from_fd): Pass namespace id to lose.
16964 Added static probe "map_start".
16965 (open_verify): Pass namespace id to lose.
16966 * elf/dl-open.c: Include <stap-probe.h>.
16967 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16968 and "reloc_complete".
16969 * elf/dl-close.c: Include <stap-probe.h>.
16970 (_dl_close_worker): Added static probes "unmap_start" and
16972 * elf/rtld-debugger-interface.txt: New file documenting the above.
16974 2012-07-26 Roland McGrath <roland@hack.frob.com>
16976 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16977 rather than a string variable.
16978 * sunrpc/rpc_main.c (h_output): Likewise.
16979 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16981 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16983 * inet/check_native.c: New file.
16985 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16988 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16989 if larger part has absolute value 1.0.
16990 * math/s_clog10.c (__clog10): Likewise.
16991 * math/s_clog10f.c (__clog10f): Likewise.
16992 * math/s_clog10l.c (__clog10l): Likewise.
16993 * math/s_clogf.c (__clogf): Likewise.
16994 * math/s_clogl.c (__clogl): Likewise.
16995 * math/libm-test.inc (clog_test): Add more tests.
16996 (clog10_test): Likewise.
16997 * sysdeps/i386/fpu/libm-test-ulps: Update.
16998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17000 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17001 (pltexit): Likewise.
17002 (La_regs): Likewise.
17003 (La_retval): Likewise.
17004 (int_retval): Likewise.
17005 Update #error for removed macros to refer only to definitions in
17007 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17009 (pltexit): Likewise.
17010 (La_regs): Likewise.
17011 (La_retval): Likewise.
17012 (int_retval): Likewise.
17013 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17015 (pltexit): Likewise.
17016 (La_regs): Likewise.
17017 (La_retval): Likewise.
17018 (int_retval): Likewise.
17019 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17021 (pltexit): Likewise.
17022 (La_regs): Likewise.
17023 (La_retval): Likewise.
17024 (int_retval): Likewise.
17025 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17027 (pltexit): Likewise.
17028 (La_regs): Likewise.
17029 (La_retval): Likewise.
17030 (int_retval): Likewise.
17031 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17033 (pltexit): Likewise.
17034 (La_regs): Likewise.
17035 (La_retval): Likewise.
17036 (int_retval): Likewise.
17037 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17039 (pltexit): Likewise.
17040 (La_regs): Likewise.
17041 (La_retval): Likewise.
17042 (int_retval): Likewise.
17043 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17044 macro definitions in tst-audit.h.
17045 * sysdeps/i386/tst-audit.h: New file.
17046 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17047 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17048 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17049 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17050 * sysdeps/sh/tst-audit.h: Likewise.
17051 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17052 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17053 * sysdeps/x86_64/tst-audit.h: Likewise.
17055 2012-07-26 Andreas Jaeger <aj@suse.de>
17057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17060 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17061 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17062 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17064 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17065 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17066 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17068 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17071 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17073 (si_call_addr, si_syscall, si_arch): Define new macro.
17074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17076 (si_call_addr, si_syscall, si_arch): Define new marcro.
17077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17079 (si_call_addr, si_syscall, si_arch): Define new macro.
17080 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17082 (si_call_addr, si_syscall, si_arch): Define new macro.
17084 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17087 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17088 Change to 2.4.21 where previously 2.4.1.
17089 * sysdeps/unix/sysv/linux/configure: Regenerated.
17090 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17091 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17092 Linux kernel version.
17093 (__ASSUME_STD_AUXV): Remove.
17094 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17096 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17097 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17098 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17099 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17100 (__ASSUME_NETLINK_SUPPORT): Likewise.
17101 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17102 (__no_netlink_support): Remove conditional definition.
17103 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17105 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17106 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17107 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17108 (if_nameindex_ioctl): Remove.
17109 (if_nameindex_netlink): Do not handle __no_netlink_support.
17110 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17112 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17113 Remove conditional code.
17114 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17116 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17118 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17119 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17120 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17122 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17123 [!__ASSUME_STD_AUXV]: Remove conditional code.
17124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17125 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17126 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17128 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17129 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17131 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17133 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17134 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17136 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17138 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17141 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17144 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17145 code unconditional.
17146 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17148 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17150 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17153 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17155 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17158 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17159 code unconditional.
17160 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17162 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17164 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17167 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17168 code unconditional.
17169 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17171 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17173 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17176 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17178 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17179 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17180 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17181 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17182 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17183 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17184 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17185 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17186 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17187 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17188 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17189 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17190 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17191 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17192 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17194 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17196 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17198 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17199 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17202 2012-07-25 Florian Weimer <fweimer@redhat.com>
17204 * Versions.def: Add GLIBC_2.17.
17205 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17206 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17207 Introduce __libc_secure_getenv.
17208 * stdlib/Versions (2.17): Add secure_getenv
17209 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17210 * stdlib/secure-getenv.c: Rename __secure_getenv to
17211 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17212 symbol __secure_getenv for GLIBC_2.0.
17213 * stdlib/tst-secure-getenv.c: New.
17214 * stdlib/Makefile (tests): Add testcase.
17215 * manual/startup.texi (Environment Access): Document
17217 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17218 __libc_secure_getenv.
17219 * inet/ruserpass.c (ruserpass): Likewise.
17220 * malloc/mtrace.c (mtrace): Likewise.
17221 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17222 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17223 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17224 * sysdeps/posix/tempname.c: Likewise. Evaluate
17225 HAVE_SECURE_GETENV.
17226 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17227 __secure_getenv to __libc_secure_getenv.
17228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17241 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17243 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17244 (struct La_i86_retval): Likewise.
17245 (struct La_x86_64_regs): Likewise.
17246 (struct La_x86_64_retval): Likewise.
17247 (struct La_x32_regs): Likewise.
17248 (struct La_x32_retval): Likewise.
17249 (struct La_ppc32_regs): Likewise.
17250 (struct La_ppc32_retval): Likewise.
17251 (struct La_ppc64_regs): Likewise.
17252 (struct La_ppc64_retval): Likewise.
17253 (struct La_sh_regs): Likewise.
17254 (struct La_sh_retval): Likewise.
17255 (struct La_s390_32_regs): Likewise.
17256 (struct La_s390_32_retval): Likewise.
17257 (struct La_s390_64_regs): Likewise.
17258 (struct La_s390_64_retval): Likewise.
17259 (struct La_sparc32_regs): Likewise.
17260 (struct La_sparc32_retval): Likewise.
17261 (struct La_sparc64_regs): Likewise.
17262 (struct La_sparc64_retval): Likewise.
17263 (struct audit_ifaces): Remove architecture-specific pltenter and
17265 * sysdeps/i386/ldsodefs.h: New file.
17266 * sysdeps/powerpc/ldsodefs.h: Likewise.
17267 * sysdeps/s390/ldsodefs.h: Likewise.
17268 * sysdeps/sh/ldsodefs.h: Likewise.
17269 * sysdeps/sparc/ldsodefs.h: Likewise.
17270 * sysdeps/x86_64/ldsodefs.h: Likewise.
17272 2012-07-25 Marek Polacek <polacek@redhat.com>
17275 * math/libm-test.inc (yn_test): Add another test.
17276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17277 to ERANGE when the result is +-Inf.
17278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17279 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17280 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17281 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17283 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17285 * conform/data/time.h-data (NULL): Use macro-constant. Require
17287 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17289 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17291 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17293 * configure.in <sysdeps resolving>: Correct printing
17295 * configure: Regenerate.
17297 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17299 * math/w_ilogb.c: Include <limits.h>.
17300 * math/w_ilogbl.c: Likewise.
17302 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17304 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17305 va_copy. Document allowing for unavailable va_copy only as
17306 pre-C99 compatibility.
17307 * manual/string.texi (Copying and Concatenation): Use va_copy
17308 instead of __va_copy in concat example.
17310 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17312 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17313 (__sendto): Use create_address_port. Initialize APORT and deallocate
17316 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17317 with O_NOLINK passed to __file_name_lookup.
17319 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17320 with O_NOLINK passed to __file_name_lookup.
17322 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17323 negative N or less than NGIDS.
17325 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17326 type to string_t. Set ERANGE as errno and return it if NAME is not big
17327 enough. Use memcpy instead of strncpy.
17329 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17331 * elf/Makefile (check-data): Remove.
17332 (localplt.data): New vpath directive.
17333 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17334 instead of $(check-data).
17335 * scripts/data/localplt-generic.data: Move to ...
17336 * sysdeps/generic/localplt.data: ... here.
17337 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17338 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17339 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17342 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17345 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17348 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17351 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17354 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17358 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17360 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17361 PPC32 and PPC64 files.
17362 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17363 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17365 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17367 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17368 __makecontext_ret to ...
17369 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17370 ... here and call exit if uc_link is NULL. New file.
17371 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17372 __makecontext_ret.S.
17373 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17374 __makecontext_ret to ...
17375 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17376 ... here and call exit if uc_link is NULL. New file.
17377 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17378 __makecontext_ret.S.
17380 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17382 * elf/elf.h (R_390_IRELATIVE): New definition.
17383 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17384 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17385 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17387 (elf_machine_lazy_rel): Likewise.
17388 * sysdeps/s390/dl-irel.h: New file.
17389 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17390 * sysdeps/s390/s390-64/memset.S: New asm code.
17391 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17392 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17393 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17394 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17395 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17396 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17397 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17398 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17399 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17400 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17401 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17402 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17403 * sysdeps/s390/s390-32/memset.S: New asm code.
17404 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17406 2012-07-17 Marek Polacek <polacek@redhat.com>
17409 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17410 * sysdeps/s390/s390-64/configure.in: Likewise.
17411 * sysdeps/sparc/configure.in: Likewise.
17412 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17413 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17414 * sysdeps/i386/configure.in: Likewise.
17415 * sysdeps/x86_64/configure.in: Likewise.
17416 * sysdeps/sh/configure.in: Likewise.
17417 * sysdeps/s390/s390-32/configure: Regenerated.
17418 * sysdeps/s390/s390-64/configure: Likewise.
17419 * sysdeps/x86_64/configure: Likewise.
17420 * sysdeps/sh/configure: Likewise.
17421 * sysdeps/powerpc/powerpc64/configure: Likewise.
17422 * sysdeps/powerpc/powerpc32/configure: Likewise.
17423 * sysdeps/sparc/configure: Likwise.
17424 * sysdeps/i386/configure: Likewise.
17426 * elf/dl-open.c: Comment fixes.
17428 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17430 * Makefile [CXX] (check-data): Remove.
17431 [CXX] (c++-types.data): New vpath directive.
17432 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17433 vpath. Do not allow for C++ type data being missing.
17434 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17435 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17436 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17437 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17438 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17439 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17440 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17443 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17446 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17449 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17452 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17455 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17458 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17461 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17464 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17465 definitions to architecture-specific files.
17466 (TLS_IE): Likewise.
17467 (TLS_LD): Likewise.
17468 (TLS_GD): Likewise.
17469 * sysdeps/i386/tls-macros.h: New file.
17470 * sysdeps/powerpc/tls-macros.h: Likewise.
17471 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17472 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17473 * sysdeps/sh/tls-macros.h: Likewise.
17474 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17475 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17476 * sysdeps/x86_64/tls-macros.h: Likewise.
17478 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17480 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17481 zero value for regular exit case.
17483 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17484 (__start_context): Preserve zero value for regular exit case.
17486 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17487 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17489 * manual/setjmp.texi (setcontext): Clarify normal process
17490 termination when uc_link is the null pointer.
17491 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17494 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17496 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17497 preprocessor. Test for each exception mask separately.
17499 2012-07-16 Andreas Jaeger <aj@suse.de>
17501 * po/ru.po: Update from translation team.
17503 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17505 * conform/data/string.h-data (NULL): Use macro-constant. Require
17507 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17508 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17509 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17510 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17513 2012-07-13 Andreas Jaeger <aj@suse.de>
17515 * po/fr.po: Update from translation team.
17517 2012-07-12 Marek Polacek <polacek@redhat.com>
17520 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17521 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17524 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17528 Change to 2.4.1 where previously 2.4.0.
17529 * sysdeps/unix/sysv/linux/configure: Regenerated.
17530 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17531 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17533 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17534 (__ASSUME_AT_CLKTCK): Remove.
17535 (__ASSUME_AT_PAGESIZE): Likewise.
17536 (__ASSUME_AT_XID): Likewise.
17537 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17538 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17539 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17541 (HAVE_AUX_PAGESIZE): Likewise.
17542 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17543 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17544 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17546 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17550 the temporary buffer used to invoke __gethostbyname2_r,
17551 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17552 host_data / struct gaih_addrtuple.
17553 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17554 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17555 header file nss/nsswitch.h.
17556 * nss/nsswitch.h (global scope): Add definition of implementation
17557 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17558 resolv/nss_dns/dns-host.c).
17560 2012-07-11 Andreas Jaeger <aj@suse.de>
17562 * po/fr.po: Update from translation team.
17564 * po/sv.po: Update from translation team
17565 * po/fr.po: Another update from translation team.
17567 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17569 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17570 for subnormals or multiply small sinh result by itself.
17571 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17574 2012-07-11 David S. Miller <davem@davemloft.net>
17576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17578 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17581 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17582 (INTERNAL_MARK): Shift it here.
17584 2012-07-10 Marek Polacek <polacek@redhat.com>
17587 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17588 libc_cv_asm_global_directive with .globl.
17589 * configure: Regenerated.
17590 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17592 * sysdeps/i386/configure: Regenerated.
17593 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17595 * sysdeps/x86_64/configure: Regenerated.
17596 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17597 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17598 * elf/tst-unique2mod2.c: Likewise.
17599 * elf/tst-unique2mod1.c: Likewise.
17600 * elf/tst-unique1mod2.c: Likewise.
17601 * elf/tst-unique1mod1.c: Likewise.
17602 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17603 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17604 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17605 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17606 * sysdeps/mach/sysdep.h: Likewise.
17607 * sysdeps/i386/sysdep.h: Likewise.
17608 * sysdeps/i386/i386-mcount.S: Likewise.
17609 * sysdeps/x86_64/_mcount.S: Likewise.
17610 * sysdeps/x86_64/sysdep.h: Likewise.
17611 * sysdeps/sh/_mcount.S: Likewise.
17612 * sysdeps/sh/sysdep.h: Likewise.
17613 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17614 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17615 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17616 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17617 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17618 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17619 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17620 * locale/localeinfo.h: Likewise.
17621 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17622 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17624 2012-07-09 Roland McGrath <roland@hack.frob.com>
17627 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17629 * manual/message.texi (The Uniforum approach): Likewise.
17630 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17631 (glibc iconv Implementation): Likewise.
17633 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17636 * math/s_clog.c (__clog): Avoid scaling a value down where that
17637 could result in underflow.
17638 * math/s_clog10.c (__clog10): Likewise.
17639 * math/s_clog10f.c (__clog10f): Likewise.
17640 * math/s_clog10l.c (__clog10l): Likewise.
17641 * math/s_clogf.c (__clogf): Likewise.
17642 * math/s_clogl.c (__clogl): Likewise.
17643 * math/libm-test.inc (clog_test): Add more tests.
17644 (clog10_test): Likewise.
17645 * sysdeps/i386/fpu/libm-test-ulps: Update.
17646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17648 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17652 by 7 not 8 to examine high bit of fractional part.
17655 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17656 for call to __mcount_internal.
17657 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17658 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17659 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17661 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17664 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17665 approximation for values within 0x1p-13f of an odd multiple of
17667 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17668 exception. Add more tests.
17669 * sysdeps/i386/fpu/libm-test-ulps: Update.
17672 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17673 inputs and return -1 for them. Do not check for +Inf in case not
17674 reachable for +Inf.
17675 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17676 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17677 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17678 and return -1 for them. Do not check for +Inf in case not
17679 reachable for +Inf.
17680 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17682 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17683 and return -1 for them. Do not check for +Inf in case not
17684 reachable for +Inf.
17685 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17686 spurious underflow.
17687 * sysdeps/i386/fpu/libm-test-ulps: Update.
17688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17690 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17692 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17694 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17698 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17699 could result in spurious underflow. Scale down values above
17700 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17701 * math/s_csqrtf.c (__csqrtf): Likewise.
17702 * math/s_csqrtl.c (__csqrtl): Likewise.
17703 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17704 spurious underflow.
17705 * sysdeps/i386/fpu/libm-test-ulps: Update.
17706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17708 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17710 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17712 * catgets/xopen-msg.awk: New file.
17713 * catgets/xopen-msg.sed: Removed.
17715 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17717 * intl/po2test.awk: New file.
17718 * intl/po2test.sed: Removed.
17720 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17723 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17724 or multiply small sinh result by itself.
17725 * math/s_ctanf.c (__ctanf): Likewise.
17726 * math/s_ctanh.c (__ctanh): Likewise.
17727 * math/s_ctanhf.c (__ctanhf): Likewise.
17728 * math/s_ctanhl.c (__ctanhl): Likewise.
17729 * math/s_ctanl.c (__ctanl): Likewise.
17730 * math/libm-test.inc (ctan_test_tonearest): New function.
17731 (ctan_test_towardzero): Likewise.
17732 (ctan_test_downward): Likewise.
17733 (ctan_test_upward): Likewise.
17734 (ctanh_test_tonearest): Likewise.
17735 (ctanh_test_towardzero): Likewise.
17736 (ctanh_test_downward): Likewise.
17737 (ctanh_test_upward): Likewise.
17738 (main): Call these new functions.
17739 * sysdeps/i386/fpu/libm-test-ulps: Update.
17740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17742 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17744 * .gitignore: Delete /ports entry.
17746 2012-07-03 Andreas Jaeger <aj@suse.de>
17748 * po/bg.po: Update from translation team.
17749 * po/cs.po: Likewise.
17750 * po/de.po: Likewise.
17751 * po/hr.po: Likewise.
17752 * po/nl.pl: Likewise.
17753 * po/pl.po: Likewise.
17754 * po/vi.po: Likewise.
17756 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17758 * Makeconfig [!+link] (+link-before-libc): New variable.
17759 [!+link] (+link-after-libc): Likewise.
17760 [!+link] (+link-tests): Likewise.
17761 [!+link] (+link): Define in terms of $(+link-before-libc) and
17762 $(+link-after-libc).
17763 [!+link-static] (+link-static-before-libc): New variable.
17764 [!+link-static] (+link-static-after-libc): Likewise.
17765 [!+link-static] (+link-static-tests): Likewise.
17766 [!+link-static] (+link-static): Define in terms of
17767 $(+link-static-before-libc) and $(+link-static-after-libc).
17768 [build-shared] (link-libc-before-gnulib): New variable.
17769 [build-shared] (link-libc-tests): Likewise.
17770 [build-shared] (link-libc): Define in terms of
17771 $(link-libc-before-gnulib).
17772 [!build-shared] (link-libc-tests): New variable.
17773 (link-libc-static-tests): New variable.
17774 [!gnulib] (gnulib-arch): New variable.
17775 [!gnulib] (gnulib-tests): Likewise.
17776 [!gnulib] (static-gnulib-arch): Likewise.
17777 [!gnulib] (static-gnulib-tests): Likewise.
17778 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17779 Define with "=" instead of ":=".
17780 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17781 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17782 * Rules (binaries-all-notests): New variable.
17783 (binaries-all-tests): Likewise.
17784 (binaries-static-notests): Likewise.
17785 (binaries-static-tests): Likewise.
17786 (binaries-all): Define using $(binaries-all-notests) and
17787 $(binaries-all-tests).
17788 (binaries-static): Define using $(binaries-static-notests) and
17789 $(binaries-static-tests).
17790 (binaries-shared-tests): New variable.
17791 (binaries-shared-notests): Likewise.
17792 (binaries-shared): Remove variable.
17793 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17794 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17795 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17796 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17797 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17798 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17799 * elf/Makefile (sln-modules): New variable.
17800 (extra-objs): Add $(sln-modules:=.o).
17801 (ldconfig-modules): Add static-stubs.
17802 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17803 * elf/static-stubs.c: New file.
17806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17807 by 7 not 8 to examine high bit of fractional part. Use volatile
17808 variables when splitting into final array of floats if
17809 __FLT_EVAL_METHOD__ != 0.
17810 * math/libm-test.inc (cos_test): Add another test.
17811 (sin_test): Likewise.
17812 * sysdeps/i386/fpu/libm-test-ulps: Update.
17815 * math/libm-test.inc (cosh_test): Add more tests.
17817 * version.h (RELEASE): Set to "development".
17818 (VERSION): Set to "2.16.90".
17820 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17822 * NEWS: Update copyright. Remove last-updated date.
17823 Mention math library bug fixes and timezone data changes.
17824 * README: Mention GNU/Hurd, x32, and HPPA support status.
17826 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17828 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17830 2012-06-27 Andreas Jaeger <aj@suse.de>
17832 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17834 2012-06-25 Andreas Jaeger <aj@suse.de>
17836 * sysdeps/s390/fpu/libm-test-ulps: Update.
17838 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17839 Thomas Schwinge <thomas@codesourcery.com>
17841 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17842 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17846 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17848 * sysdeps/mach/start.c: Remove file.
17849 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17850 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17851 * sysdeps/sh/init-first.c: Likewise.
17853 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17854 registers for frame unwinding purposes, add CFI directives.
17855 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17856 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17857 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17860 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17861 __fortify_fail returning.
17862 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17864 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17865 sysdeps/sh/____longjmp_chk.S.
17866 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17867 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17868 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17869 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17871 * sysdeps/sh/abort-instr.h: New file.
17872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17873 process in case exit returns.
17875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17876 initialize the GOT register before use.
17878 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17879 calculation of ARGC > 4.
17881 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17882 meaningful names to some local labels.
17884 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17885 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17887 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17888 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17889 (__arch_compare_and_exchange_val_16_acq): Likewise.
17890 (__arch_compare_and_exchange_val_32_acq): Likewise.
17891 (atomic_exchange_and_add): Fix gUSA sequence.
17892 (atomic_add): Likewise.
17893 (atomic_add_negative): Likewise.
17894 (atomic_add_zero): Likewise.
17895 (atomic_bit_test_set): Likewise.
17897 2012-06-22 Andreas Schwab <schwab@redhat.com>
17900 * include/link.h (struct link_map): Add l_free_initfini.
17901 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17903 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17904 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17905 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17908 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17910 * configure.in: Use AC_LANG_SOURCE.
17911 * configure: Regenerate.
17913 2012-06-22 Roland McGrath <roland@hack.frob.com>
17915 * configure.in (libc_cv_localstatedir): New substituted variable.
17916 * configure: Regenerated.
17917 * config.make.in (localstatedir): New variable, substituted from
17918 libc_cv_localstatedir.
17919 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17920 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17921 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17922 * sysdeps/gnu/configure: Regenerated.
17924 2012-06-21 Jeff Law <law@redhat.com>
17927 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17928 free. Simplify list management for _LIBC case.
17930 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17933 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17934 Clear sign bit of 64-bit integer value before comparing against
17937 * sysdeps/mach/configure: Regenerated.
17939 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17942 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17944 2012-06-21 Jeff Law <law@redhat.com>
17947 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17948 uint16_t for elements in the "seen" array to avoid char overflows.
17949 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17950 * elf/dl-open.c (dl_open_worker): Likewise.
17952 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17954 * scripts/list-sources.sh: Scan PORTS for translations.
17955 * po/libc.pot: Regenerated.
17957 2012-06-21 Andreas Jaeger <aj@suse.de>
17960 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17962 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17963 * bits/byteswap-16.h (__bswap_16): Likewise.
17964 * bits/byteswap.h (__bswap_constant_16): Likewise.
17966 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17969 * sysdeps/i386/fpu_control.h: Removed.
17970 * sysdeps/x86_64/fpu_control.h: Moved to ...
17971 * sysdeps/x86/fpu_control.h: Here.
17973 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17974 (_FPU_SETCW): Likewise.
17976 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17979 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17980 * sysdeps/x86/fpu/bits/mathinline.h: This.
17981 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17985 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17986 functions if __x86_64__ is defined.
17988 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17990 * string/endian.h: Add !__ASSEMBLER__ condition for including
17991 conversion interfaces.
17993 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17997 of ABS(x) in calculating zero to negative powers other than odd
17999 * math/libm-test.inc (pow_test): Add more tests.
18001 2012-06-15 Andreas Jaeger <aj@suse.de>
18003 * manual/contrib.texi (Contributors): Update entry of Liubov
18004 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18007 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18009 * string/string.h: Add __wur to GNU version of strerror_r.
18011 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18014 * string/Makefile (tests): Add tst-strtok_r.
18015 * string/tst-strtok_r.c: New file.
18016 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18017 RAX_LP/RDX_LP on SAVE_PTR.
18019 2012-06-14 Roland McGrath <roland@hack.frob.com>
18021 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18023 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18025 * libm_test.inc (csqrt_test): Allow more spurious underflow
18027 (j0_test): Likewise.
18028 (j1_test): Likewise.
18029 (y0_test): Likewise.
18030 (y1_test): Likewise.
18032 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18034 * po/Makefile (libc.pot): Use UTF-8 charset.
18036 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18039 Suppress sign-conversion warning from FD_SET.
18040 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18041 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18042 not unsigned long int.
18043 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18045 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18049 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18050 __extern_always_inline instead of __extern_inline.
18051 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18052 (__signbit): Likewise.
18053 (__signbitl): Support C++ namespace.
18054 (lrintf): New inline function.
18056 (llrintf): Likewise.
18057 (llrint): Likewise.
18067 (floorf): Likewise.
18068 (nearbyint): Likewise.
18069 (nearbyintf): Likewise.
18071 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18073 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18074 non-default versions.
18076 2012-06-11 Roland McGrath <roland@hack.frob.com>
18079 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18081 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18083 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18084 (FE_UPWARD, FE_DOWNWARD): Don't define.
18085 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18088 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18090 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18091 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18093 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18095 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18097 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18098 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18100 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18103 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18104 * sysdeps/i386/fpu/Implies: New file.
18105 * sysdeps/x86_64/fpu/Implies: Likewise.
18106 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18107 * sysdeps/x86/fpu/bits/fenv.h: This.
18109 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18112 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18115 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18116 character 0xffff that matches the last element of the
18119 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18124 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18127 values higher than 25.6283.
18129 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18132 subnormal exponent extraction and add some __builtin_expect.
18133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18134 Fix for subnormal mantissa calculation.
18136 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18138 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18139 cpu2 is -1 and errno is not ENOSYS.
18141 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18144 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18145 * sysdeps/x86/bits/string.h: This.
18146 * sysdeps/x86_64/bits/string.h: Removed.
18148 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18149 if not compiling for x86-64, but compiling for >= i486.
18151 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18152 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18155 New macro from Linux kernel 3.4.0.
18156 (FP_XSTATE_MAGIC2): Likewise.
18157 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18158 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18159 (struct _fpx_sw_bytes): New struct.
18160 (struct _xsave_hdr): Likewise.
18161 (struct _ymmh_state): Likewise.
18162 (struct _xstate): Likewise.
18164 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18165 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18167 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18169 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18171 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18173 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18174 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18175 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18176 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18178 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18181 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18182 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18183 (sysdep_headers): Include sys/platform/ppc.h.
18184 * sysdeps/powerpc/test-gettimebase.c: Test for
18185 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18186 * manual/Makefile (appendices): Include platform.texi.
18187 * manual/contrib.texi (Contributors): Update @node pointers.
18188 * manual/maint.texi (Maintenance): Likewise.
18189 (Platform): New node.
18190 * manual/platform.texi: New file. Document the new features.
18192 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18193 Jakub Jelinek <jakub@redhat.com>
18196 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18197 where __builtin_expect is unavailable.
18199 2012-06-03 David S. Miller <davem@davemloft.net>
18201 * stdlib/longlong.h: Updated from GCC.
18203 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18206 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18207 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18210 (GLIBC_2.16): Likewise.
18212 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18214 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18216 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18219 (default-abi): New variable.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18221 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18223 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18225 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18227 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18230 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18231 definition. Document in comment.
18233 2012-06-01 David S. Miller <davem@davemloft.net>
18235 * stdlib/longlong.h: Updated from GCC.
18237 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18240 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18241 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18242 sys/debugreg.h sys/io.h here.
18243 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18244 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18246 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18247 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18248 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18249 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18250 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18251 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18253 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18254 Define only if __x86_64__ is defined.
18256 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18259 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18260 Use int64_t for variable i.
18261 * math/libm-test.inc (fmod_test): Add more tests.
18263 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18264 z computation is not scheduled after fetestexcept.
18265 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18266 Use math_force_eval instead of asm to ensure calculation scheduled
18267 before exception test.
18268 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18269 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18271 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18274 computation is not scheduled after fetestexcept.
18276 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18279 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18280 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18282 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18284 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18285 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18287 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18290 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18292 (__WCHAR_MIN): Support __WORDSIZE == 64.
18293 (__WCHAR_MAX): Likewise.
18295 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18300 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18303 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18304 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18306 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18307 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18310 Defined to 1 if __x86_64__ isn't defined.
18311 (_STAT_VER_LINUX_OLD): New.
18312 (st_atime): Remove duplicate.
18313 (st_mtime): Likewise.
18314 (st_ctime): Likewise.
18316 2012-05-31 David S. Miller <davem@davemloft.net>
18318 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18321 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18323 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18327 * elf/dl-reloc.c: Include <_itoa.h>.
18328 (_dl_reloc_bad_type): Remove use of INTUSE.
18329 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18330 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18331 * stdio-common/psiginfo.c (psiginfo): Likewise.
18332 * stdio-common/psignal.c (psignal): Likewise.
18333 * string/strsignal.c (strsignal): Likewise.
18334 * include/signal.h (_sys_siglist): Declare hidden proto.
18335 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18336 INTVARDEF with libc_hidden_data_def.
18337 * stdio-common/itoa-udigits.c: Likewise.
18338 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18339 (_itoa_lower_digits_internal): Remove declaration.
18340 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18341 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18342 (_sys_sigabbrev_internal): Remove aliases.
18343 (_sys_siglist): Define hidden alias.
18345 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18350 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18353 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18354 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18356 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18357 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18358 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18359 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18361 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18363 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18364 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18365 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18367 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18377 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18379 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18380 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18381 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18382 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18383 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18384 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18386 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18387 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18389 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18390 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18396 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18397 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18399 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18401 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18402 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18403 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18405 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18407 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18409 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18411 * math/math.h (M_El): Use two more decimal places.
18412 (M_LOG2El): Likewise.
18413 (M_LOG10El): Likewise.
18414 (M_LN2l): Likewise.
18415 (M_LN10l): Likewise.
18417 (M_PI_2l): Likewise.
18418 (M_PI_4l): Likewise.
18419 (M_1_PIl): Likewise.
18420 (M_2_PIl): Likewise.
18421 (M_2_SQRTPIl): Likewise.
18422 (M_SQRT2l): Likewise.
18423 (M_SQRT1_2l): Likewise.
18425 2012-05-31 David S. Miller <davem@davemloft.net>
18427 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18428 values between float registers.
18429 * sysdeps/sparc/sparc64/memset.S: Likewise.
18430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18432 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18434 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18435 -D_FORTIFY_SOURCE=1.
18436 (CPPFLAGS-tst-longjmp_chk.c): Define.
18437 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18438 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18439 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18440 CFLAGS-tst-wchar-h.c.
18442 2012-05-31 Marek Polacek <polacek@redhat.com>
18445 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18446 __endmntent_internal): Remove declaration.
18447 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18448 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18449 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18451 2012-05-30 David S. Miller <davem@davemloft.net>
18453 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18454 (___Q_simulate_exceptions): Use real FP ops rather than writing
18456 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18459 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18462 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18463 * sysdeps/x86/bits/xtitypes.h: This.
18465 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18466 * sysdeps/x86/bits/wordsize.h: This.
18468 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18469 * sysdeps/x86/bits/huge_vall.h: This.
18471 * sysdeps/i386/bits/select.h: Removed.
18472 * sysdeps/x86_64/bits/select.h: Renamed to ...
18473 * sysdeps/x86/bits/select.h: This.
18475 * sysdeps/i386/bits/setjmp.h: Removed.
18476 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18477 * sysdeps/x86/bits/setjmp.h: This.
18479 * sysdeps/i386/bits/mathdef.h: Removed.
18480 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18481 * sysdeps/x86/bits/mathdef.h: This.
18483 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18486 * include/sys/socket.h (__connect_internal)
18487 (__libc_sa_len_internal): Remove declaration.
18488 (__connect, __libc_sa_len): Declare hidden_proto.
18489 (SA_LEN): Remove use of INTUSE.
18490 * socket/connect.c: Add libc_hidden_def.
18491 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18492 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18493 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18495 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18496 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18497 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18498 of adding _internal alias.
18500 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18503 * sysdeps/i386/bits/link.h: Removed.
18504 * sysdeps/i386/bits/linkmap.h: Likewise.
18505 * sysdeps/x86_64/bits/link.h: Renamed to ...
18506 * sysdeps/x86/bits/link.h: This.
18507 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18508 * sysdeps/x86/bits/linkmap.h: This.
18510 * sysdeps/i386/bits/endian.h: Removed.
18511 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18512 * sysdeps/x86/bits/endian.h: This.
18514 * sysdeps/i386/bits/byteswap.h: Removed.
18515 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18516 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18517 * sysdeps/x86/bits/byteswap.h: This.
18518 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18519 * sysdeps/x86/bits/byteswap-16.h: This.
18520 * sysdeps/i386/Implies: Add x86.
18521 * sysdeps/x86_64/Implies: Likewise.
18523 2012-05-30 David S. Miller <davem@davemloft.net>
18525 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18526 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18527 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18528 (FP_TRAPPING_EXCEPTIONS): Define.
18529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18530 (FP_TRAPPING_EXCEPTIONS): Define.
18531 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18532 subnormals only when inexact has been signalled or underflow
18533 exceptions are enabled.
18534 (_FP_PACK_CANONICAL): Likewise.
18536 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18540 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18542 2012-05-30 Richard Henderson <rth@twiddle.net>
18544 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18545 with #ifndef NOT_IN_libc.
18547 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18548 marked to avoid plt entry.
18550 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18553 * Makeconfig (default-abi): New macro.
18554 (abi-includes): Likewise.
18555 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18556 $(abi-$(default-abi)-lib-soname) for soname if defined.
18557 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18559 * Makefile (installed-stubs): Likewise.
18560 * include/stubs-biarch.h: Removed.
18561 * scripts/lib-names.awk: Only handle one library at a time.
18562 * scripts/soversions.awk: Remove WORDSIZE support.
18563 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18565 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18567 (syscall-list-default-condition): Likewise.
18568 (syscall-list-default-condition): Likewise.
18569 (syscall-list-includes): Likewise.
18570 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18571 syscall-list-* with abi-*. Handle undefined abi-variants.
18572 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18573 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18574 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18575 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18577 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18579 (syscall-list-32-options): Likewise.
18580 (syscall-list-32-condition): Likewise.
18581 (syscall-list-64-options): Likewise.
18582 (syscall-list-64-condition): Likewise.
18583 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18585 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18588 (abi-64-ld-soname): New macro.
18589 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18590 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18593 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18594 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18596 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18598 * sysdeps/unix/sysv/linux/kernel-features.h
18599 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18600 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18601 include <kernel-features.h>.
18602 [!__NR_ftruncate64]: Remove conditional code.
18603 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18604 [__NR_ftruncate64]: Make code unconditional.
18605 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18606 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18607 include <kernel-features.h>.
18608 [!__NR_ftruncate64]: Remove conditional code.
18609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18610 [__NR_ftruncate64]: Make code unconditional.
18611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18613 include <kernel-features.h>.
18614 [!__NR_ftruncate64]: Remove conditional code.
18615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18616 [__NR_ftruncate64]: Make code unconditional.
18617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18619 include <kernel-features.h>.
18620 [!__NR_ftruncate64]: Remove conditional code.
18621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18622 [__NR_ftruncate64]: Make code unconditional.
18623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18625 * configure.in (libc_cv_fpie): Weaken to a compile test using
18626 LIBC_TRY_CC_OPTION.
18627 * configure: Regenerated.
18629 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18644 2012-05-27 David S. Miller <davem@davemloft.net>
18646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18648 (__Q_simulate_exceptions): Return void. Change to simulate
18649 exceptions by writing into the %fsr.
18650 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18651 (__Qp_handle_exceptions): Likewise.
18653 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18654 __Qp_handle_exceptions.
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18656 __Qp_handle_exceptions.
18657 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18658 as unused and give dummy FP_RND_NEAREST initializer.
18659 (FP_INHIBIT_RESULTS): Define.
18660 (___Q_simulate_exceptions): Update declaration.
18661 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18663 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18664 as unused and give dummy FP_RND_NEAREST initializer.
18665 (__Qp_handle_exceptions): Update declaration.
18666 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18669 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18671 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18672 the temporary FPU control word.
18673 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18674 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18675 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18676 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18678 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18679 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18680 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18681 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18682 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18683 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18685 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18687 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18690 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18692 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18693 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18694 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18695 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18697 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18698 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18701 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18703 * po/h.po: Update from translation team.
18705 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18707 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18710 handling of denormals.
18711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18712 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18713 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18720 2012-05-26 Marek Polacek <polacek@redhat.com>
18723 * math/libm-test.inc (fma_test): Don't always expect underflow
18726 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18729 * elf/tst-execstack.c: Include stackinfo.h.
18730 (do_test): Adjust test case to ensure that pthread_getattr_np
18731 behaviour remains the same after marking stack executable.
18733 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18735 * sysdeps/unix/sysv/linux/kernel-features.h
18736 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18737 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18739 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18740 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18741 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18743 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18744 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18746 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18748 * configure.in: Define the default includes to being none.
18749 * configure: Regenerated.
18751 2012-05-25 Roland McGrath <roland@hack.frob.com>
18753 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18754 * sysdeps/x86_64/setjmp.S: Likewise.
18755 * sysdeps/i386/bsd-setjmp.S: Likewise.
18756 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18757 * sysdeps/i386/setjmp.S: Likewise.
18758 * sysdeps/i386/__longjmp.S: Likewise.
18759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18760 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18762 * include/stap-probe.h: New file.
18763 * configure.in: Handle --enable-systemtap.
18764 * configure: Regenerated.
18765 * config.h.in (USE_STAP_PROBE): New #undef.
18766 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18767 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18768 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18770 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18774 to 2.4.0 where earlier.
18775 * sysdeps/unix/sysv/linux/configure: Regenerated.
18776 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18777 <kernel-features.h>.
18778 [__ASSUME_32BITUIDS]: Make code unconditional.
18779 [!__ASSUME_32BITUIDS]: Remove conditional code.
18780 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18781 <kernel-features.h>.
18782 [__ASSUME_32BITUIDS]: Make code unconditional.
18783 [!__ASSUME_32BITUIDS]: Remove conditional code.
18784 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18785 [__ASSUME_32BITUIDS]: Make code unconditional.
18786 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18787 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18788 <kernel-features.h>.
18789 [__ASSUME_32BITUIDS]: Make code unconditional.
18790 [!__ASSUME_32BITUIDS]: Remove conditional code.
18791 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18792 <kernel-features.h>.
18793 [__ASSUME_32BITUIDS]: Make code unconditional.
18794 [!__ASSUME_32BITUIDS]: Remove conditional code.
18795 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18796 <kernel-features.h>.
18797 [__ASSUME_32BITUIDS]: Make code unconditional.
18798 [!__ASSUME_32BITUIDS]: Remove conditional code.
18799 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18800 <kernel-features.h>.
18801 [__ASSUME_32BITUIDS]: Make code unconditional.
18802 [!__ASSUME_32BITUIDS]: Remove conditional code.
18803 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18804 <kernel-features.h>.
18805 [__ASSUME_32BITUIDS]: Make code unconditional.
18806 [!__ASSUME_32BITUIDS]: Remove conditional code.
18807 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18808 <kernel-features.h>.
18809 [__ASSUME_32BITUIDS]: Make code unconditional.
18810 [!__ASSUME_32BITUIDS]: Remove conditional code.
18811 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18812 <kernel-features.h>.
18813 [__ASSUME_32BITUIDS]: Make code unconditional.
18814 [!__ASSUME_32BITUIDS]: Remove conditional code.
18815 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18816 <kernel-features.h>.
18817 [__ASSUME_32BITUIDS]: Make code unconditional.
18818 [!__ASSUME_32BITUIDS]: Remove conditional code.
18819 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18820 <kernel-features.h>.
18821 [__ASSUME_32BITUIDS]: Make code unconditional.
18822 [!__ASSUME_32BITUIDS]: Remove conditional code.
18823 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18824 <kernel-features.h>.
18825 [__ASSUME_32BITUIDS]: Make code unconditional.
18826 [!__ASSUME_32BITUIDS]: Remove conditional code.
18827 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18828 <kernel-features.h>.
18829 [__NR_setresgid] (__setresgid): Do not declare.
18830 [__ASSUME_32BITUIDS]: Make code unconditional.
18831 [!__ASSUME_32BITUIDS]: Remove conditional code.
18832 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18833 <kernel-features.h>.
18834 [__NR_setresuid] (__setresuid): Do not declare.
18835 [__ASSUME_32BITUIDS]: Make code unconditional.
18836 [!__ASSUME_32BITUIDS]: Remove conditional code.
18837 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18838 <kernel-features.h>.
18839 [__ASSUME_32BITUIDS]: Make code unconditional.
18840 [!__ASSUME_32BITUIDS]: Remove conditional code.
18841 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18842 <kernel-features.h>.
18843 [__ASSUME_32BITUIDS]: Make code unconditional.
18844 [!__ASSUME_32BITUIDS]: Remove conditional code.
18845 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18846 <kernel-features.h>.
18847 [__ASSUME_32BITUIDS]: Make code unconditional.
18848 [!__ASSUME_32BITUIDS]: Remove conditional code.
18849 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18850 <kernel-features.h>.
18851 [__ASSUME_32BITUIDS]: Make code unconditional.
18852 [!__ASSUME_32BITUIDS]: Remove conditional code.
18853 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18854 <kernel-features.h>.
18855 [__ASSUME_32BITUIDS]: Make code unconditional.
18856 [!__ASSUME_32BITUIDS]: Remove conditional code.
18857 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18858 <kernel-features.h>.
18859 [__ASSUME_32BITUIDS]: Make code unconditional.
18860 [!__ASSUME_32BITUIDS]: Remove conditional code.
18861 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18862 <kernel-features.h>.
18863 [__ASSUME_32BITUIDS]: Make code unconditional.
18864 [!__ASSUME_32BITUIDS]: Remove conditional code.
18865 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18866 <kernel-features.h>.
18867 [__ASSUME_32BITUIDS]: Make code unconditional.
18868 [!__ASSUME_32BITUIDS]: Remove conditional code.
18869 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18870 <kernel-features.h>.
18871 [__ASSUME_32BITUIDS]: Make code unconditional.
18872 [!__ASSUME_32BITUIDS]: Remove conditional code.
18873 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18874 <kernel-features.h>.
18875 [__ASSUME_32BITUIDS]: Make code unconditional.
18876 [!__ASSUME_32BITUIDS]: Remove conditional code.
18877 * sysdeps/unix/sysv/linux/kernel-features.h
18878 (__ASSUME_SETRESUID_SYSCALL): Remove.
18879 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18880 (__ASSUME_32BITUIDS): Likewise.
18881 (__ASSUME_LDT_WORKS): Likewise.
18882 (__ASSUME_O_DIRECTORY): Likewise.
18883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18884 architecture but not kernel version.
18885 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18886 (__ASSUME_MMAP2_SYSCALL): Likewise.
18887 (__ASSUME_STAT64_SYSCALL): Likewise.
18888 (__ASSUME_IPC64): Likewise.
18889 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18890 <kernel-features.h>.
18891 [__ASSUME_32BITUIDS]: Make code unconditional.
18892 [!__ASSUME_32BITUIDS]: Remove conditional code.
18893 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18894 <kernel-features.h>.
18895 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18896 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18897 132096]: Remove conditional code.
18898 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18899 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18900 <kernel-features.h>.
18901 [__ASSUME_32BITUIDS]: Make code unconditional.
18902 [!__ASSUME_32BITUIDS]: Remove conditional code.
18903 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18904 <kernel-features.h>.
18905 [__ASSUME_32BITUIDS]: Make code unconditional.
18906 [!__ASSUME_32BITUIDS]: Remove conditional code.
18907 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18908 <kernel-features.h>.
18909 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18911 (__setresgid): Do not declare.
18912 [__ASSUME_32BITUIDS]: Make code unconditional.
18913 [!__ASSUME_32BITUIDS]: Remove conditional code.
18914 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18915 <kernel-features.h>.
18916 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18918 (__setresuid): Do not declare.
18919 [__ASSUME_32BITUIDS]: Make code unconditional.
18920 [!__ASSUME_32BITUIDS]: Remove conditional code.
18921 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18922 <kernel-features.h>.
18923 [__ASSUME_32BITUIDS]: Make code unconditional.
18924 [!__ASSUME_32BITUIDS]: Remove conditional code.
18925 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18926 <kernel-features.h>.
18927 [__ASSUME_32BITUIDS]: Make code unconditional.
18928 [!__ASSUME_32BITUIDS]: Remove conditional code.
18930 2012-05-25 Richard Henderson <rth@twiddle.net>
18932 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18933 dl_hwcap to ifunc resolver.
18934 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18936 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18937 dl_hwcap to ifunc resolver.
18938 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18940 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18943 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18944 for |x| <= 2**-26, not 2**-57.
18945 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18948 2012-05-24 Jeff Law <law@redhat.com>
18950 * stdio-common/Makefile (tests): Add bug25.
18951 * stdio-common/bug25.c: New test.
18953 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18956 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18957 multiple of MALLOC_ALIGNMENT in size.
18958 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18960 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18962 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18964 (FILENAME_MAX): Use macro-int-constant.
18965 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18966 (_IOFBF): Use macro-int-constant.
18967 (_IOLBF): Likewise.
18968 (_IONBF): Likewise.
18969 (SEEK_CUR): Likewise.
18970 (SEEK_END): Likewise.
18971 (SEEK_SET): Likewise.
18972 (TMP_MAX): Likewise.
18973 (EOF): Use macro-int-constant. Require < 0.
18974 (NULL): Use macro-constant. Require == 0.
18975 (stdin): Require type to be FILE *.
18976 (stdout): Likewise.
18977 (stderr): Likewise.
18978 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18979 macro-int-constant.
18980 (EXIT_SUCCESS): Likewise.
18981 (NULL): Use macro-constant. Require == 0.
18982 (RAND_MAX): Use macro-int-constant.
18983 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18984 [C99-based standards] (strtof): Require function.
18985 [C99-based standards] (strtold): Likewise.
18986 [C99-based standards] (strtoll): Likewise.
18987 [C99-based standards] (strtoull): Likewise.
18988 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18989 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18990 [ISO || ISO99 || ISO11] (math.h): Likewise.
18991 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18992 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18995 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18998 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18999 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19000 * intl/dgettext.c (DCGETTEXT): Likewise.
19001 * intl/gettext.c (DCGETTEXT): Likewise.
19002 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19003 * posix/regex_internal.h (gettext): Likewise.
19004 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19005 Remove declaration.
19006 * include/argz.h (__argz_count_internal)
19007 (__argz_stringify_internal): Remove declaration.
19008 (__argz_count, __argz_stringify): Declare hidden proto.
19009 * intl/dcgettext.c: Remove use of INTDEF.
19010 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19011 * string/argz-stringify.c: Likewise.
19012 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19013 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19014 Declare hidden proto.
19015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19017 Declare hidden proto.
19018 * include/stdio.h (__asprintf_internal): Don't declare.
19019 (__asprintf): Don't define as macro. Declare hidden proto.
19020 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19021 (__fsetlocking): Declare hidden proto.
19022 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19023 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19025 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19026 (_IO_setlinebuf): Remove use of INTUSE.
19027 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19028 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19029 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19030 Remove declaration.
19031 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19032 (_IO_do_flush): Remove use of INTUSE.
19033 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19034 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19035 (_IO_adjust_column, _IO_least_wmarker)
19036 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19037 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19038 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19039 (_IO_default_doallocate, _IO_wdefault_doallocate)
19040 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19041 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19042 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19043 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19044 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19045 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19046 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19047 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19048 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19049 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19050 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19051 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19052 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19054 (_IO_flush_all_internal, _IO_adjust_column_internal)
19055 (_IO_default_uflow_internal, _IO_default_finish_internal)
19056 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19057 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19058 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19059 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19060 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19061 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19062 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19063 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19064 (_IO_file_close_internal, _IO_file_close_it_internal)
19065 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19066 (_IO_file_init_internal, _IO_file_attach_internal)
19067 (_IO_file_fopen_internal, _IO_file_read_internal)
19068 (_IO_file_sync_internal, _IO_file_seek_internal)
19069 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19070 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19071 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19072 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19073 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19074 (_IO_list_all_internal, _IO_link_in_internal)
19075 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19076 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19077 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19078 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19079 (_IO_do_write_internal, _IO_padn_internal)
19080 (_IO_getline_info_internal, _IO_getline_internal)
19081 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19082 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19083 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19084 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19085 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19086 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19087 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19088 with libc_hidden_ver, remove use of INTUSE.
19089 * libio/genops.c: Likewise.
19090 * libio/freopen.c: Likewise.
19091 * libio/freopen64.c: Likewise.
19092 * libio/iofclose.c: Likewise.
19093 * libio/iofdopen.c: Likewise.
19094 * libio/iofflush.c: Likewise.
19095 * libio/iofflush_u.c: Likewise.
19096 * libio/iofgets.c: Likewise.
19097 * libio/iofgets_u.c: Likewise.
19098 * libio/iofopen.c: Likewise.
19099 * libio/iofopncook.c: Likewise.
19100 * libio/iofread.c: Likewise.
19101 * libio/iofread_u.c: Likewise.
19102 * libio/ioftell.c: Likewise.
19103 * libio/iofwrite.c: Likewise.
19104 * libio/iogetline.c: Likewise.
19105 * libio/iogets.c: Likewise.
19106 * libio/iogetwline.c: Likewise.
19107 * libio/iopadn.c: Likewise.
19108 * libio/iopopen.c: Likewise.
19109 * libio/ioseekoff.c: Likewise.
19110 * libio/ioseekpos.c: Likewise.
19111 * libio/iosetbuffer.c: Likewise.
19112 * libio/iosetvbuf.c: Likewise.
19113 * libio/ioungetc.c: Likewise.
19114 * libio/ioungetwc.c: Likewise.
19115 * libio/iovdprintf.c: Likewise.
19116 * libio/iovsprintf.c: Likewise.
19117 * libio/iovsscanf.c: Likewise.
19118 * libio/memstream.c: Likewise.
19119 * libio/obprintf.c: Likewise.
19120 * libio/oldfileops.c: Likewise.
19121 * libio/oldiofclose.c: Likewise.
19122 * libio/oldiofdopen.c: Likewise.
19123 * libio/oldiofopen.c: Likewise.
19124 * libio/oldiopopen.c: Likewise.
19125 * libio/oldstdfiles.c: Likewise.
19126 * libio/putc.c: Likewise.
19127 * libio/setbuf.c: Likewise.
19128 * libio/setlinebuf.c: Likewise.
19129 * libio/stdfiles.c: Likewise.
19130 * libio/strops.c: Likewise.
19131 * libio/vasprintf.c: Likewise.
19132 * libio/vscanf.c: Likewise.
19133 * libio/vsnprintf.c: Likewise.
19134 * libio/vswprintf.c: Likewise.
19135 * libio/wfiledoalloc.c: Likewise.
19136 * libio/wfileops.c: Likewise.
19137 * libio/wgenops.c: Likewise.
19138 * libio/wmemstream.c: Likewise.
19139 * libio/wstrops.c: Likewise.
19140 * libio/__fpurge.c: Likewise.
19141 * libio/__fsetlocking.c: Likewise.
19142 * assert/assert.c: Likewise.
19143 * debug/fgets_chk.c: Likewise.
19144 * debug/fgets_u_chk.c: Likewise.
19145 * debug/fread_chk.c: Likewise.
19146 * debug/fread_u_chk.c: Likewise.
19147 * debug/gets_chk.c: Likewise.
19148 * debug/obprintf_chk.c: Likewise.
19149 * debug/vasprintf_chk.c: Likewise.
19150 * debug/vdprintf_chk.c: Likewise.
19151 * debug/vsnprintf_chk.c: Likewise.
19152 * debug/vsprintf_chk.c: Likewise.
19153 * malloc/mtrace.c: Likewise.
19154 * misc/error.c: Likewise.
19155 * misc/syslog.c: Likewise.
19156 * stdio-common/asprintf.c: Likewise.
19157 * stdio-common/fxprintf.c: Likewise.
19158 * stdio-common/getw.c: Likewise.
19159 * stdio-common/isoc99_fscanf.c: Likewise.
19160 * stdio-common/isoc99_scanf.c: Likewise.
19161 * stdio-common/isoc99_vfscanf.c: Likewise.
19162 * stdio-common/isoc99_vscanf.c: Likewise.
19163 * stdio-common/isoc99_vsscanf.c: Likewise.
19164 * stdio-common/printf-prs.c: Likewise.
19165 * stdio-common/printf_fp.c: Likewise.
19166 * stdio-common/printf_fphex.c: Likewise.
19167 * stdio-common/printf_size.c: Likewise.
19168 * stdio-common/putw.c: Likewise.
19169 * stdio-common/scanf.c: Likewise.
19170 * stdio-common/sprintf.c: Likewise.
19171 * stdio-common/tmpfile.c: Likewise.
19172 * stdio-common/vfprintf.c: Likewise.
19173 * stdio-common/vfscanf.c: Likewise.
19174 * stdlib/strfmon_l.c: Likewise.
19175 * sunrpc/openchild.c: Likewise.
19176 * sunrpc/xdr_stdio.c: Likewise.
19177 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19178 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19180 2012-05-24 Roland McGrath <roland@hack.frob.com>
19182 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19184 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19185 in the third column, to generate for the shared library an IFUNC
19186 that uses _dl_vdso_vsym.
19187 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19188 * Makeconfig (object-suffixes-noshared): New variable.
19190 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19191 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19192 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19193 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19196 * include/sys/time.h (__gettimeofday): Remove macro.
19197 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19198 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19200 (__gettimeofday): Add libc_hidden_def.
19201 (gettimeofday): Add libc_hidden_weak.
19202 * sysdeps/mach/gettimeofday.c: Likewise.
19203 * sysdeps/posix/gettimeofday.c: Likewise.
19204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19205 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19207 (__gettimeofday_internal): Remove strong_alias.
19208 (__gettimeofday): Add libc_hidden_def.
19209 (gettimeofday): Add libc_hidden_weak.
19210 * sysdeps/unix/syscalls.list (gettimeofday):
19211 Remove __gettimeofday_internal alias.
19213 2012-05-24 Daniel Jacobowitz <drow@false.org>
19214 H.J. Lu <hongjiu.lu@intel.com>
19217 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19218 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19219 (largebin_index_32_big): New.
19220 (largebin_index): Use it for 16-byte alignment.
19221 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19222 correction with front_misalign.
19224 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19252 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19253 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19255 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19259 * math/libm-test.inc (exp_test): Add test from bug 14036.
19260 (pow_test): Add test from bug 10846.
19262 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19264 (special_function): Do not include flags in test name.
19265 (parse_args): Likewise.
19266 * sysdeps/i386/fpu/libm-test-ulps: Update.
19267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19268 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19272 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19274 * math/libm-test.inc ("Philosophy"): Update comment about
19276 (UNDERFLOW_EXCEPTION): New macro.
19277 (UNDERFLOW_EXCEPTION_OK): Likewise.
19278 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19279 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19280 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19281 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19282 (INVALID_EXCEPTION_OK): Update value.
19283 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19284 (OVERFLOW_EXCEPTION_OK): Likewise.
19285 (IGNORE_ZERO_INF_SIGN): Likewise.
19286 (test_exceptions): Handle underflow exceptions.
19287 (acos_test): Update for underflow exception expectations.
19288 (cexp_test): Likewise.
19289 (clog_test): Likewise.
19290 (clog10_test): Likewise.
19291 (csqrt_test): Likewise.
19292 (ctan_test): Likewise.
19293 (ctanh_test): Likewise.
19294 (exp_test): Likewise.
19295 (exp10_test): Likewise.
19296 (exp2_test): Likewise.
19297 (expm1_test): Likewise.
19298 (fma_test): Likewise.
19299 (j0_test): Likewise.
19300 (jn_test): Likewise.
19301 (nexttoward_test): Likewise.
19302 (pow_test): Likewise.
19303 (scalbn_test): Likewise.
19304 (scalbln_test): Likewise.
19305 (tan_test): Likewise.
19306 (y1_test): Likewise.
19307 * sysdeps/i386/fpu/libm-test-ulps: Update.
19308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19310 2012-05-23 David S. Miller <davem@davemloft.net>
19312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19313 (__libc_sigaction): Remove unused local variables.
19315 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19317 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19319 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19321 mktime: avoid signed integer overflow
19322 * time/mktime.c (__mktime_internal): Do not mishandle the case
19323 where diff == INT_MIN.
19325 mktime: simplify computation of average
19326 * time/mktime.c (ranged_convert): Use new time_t_avg function
19327 instead of rolling our own (probably-slower) code.
19329 mktime: do not assume signed right shift propagates sign bit
19330 * time/mktime.c (isdst_differ): New static function.
19331 (__mktime_internal): No need to normalize tm_isdst now.
19332 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19335 mktime: merge another wrapv change from gnulib
19336 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19337 from some compilers.
19339 mktime: remove incorrect attempt at unusual arithmetics
19340 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19341 The code didn't really work on such machines anyway.
19342 (TYPE_MINIMUM): Assume two's complement.
19343 (twos_complement_arithmetic): Verify that long_int and time_t
19344 are two's complement (or unsigned, in the latter case).
19346 mktime: check signed shifts on long_int and time_t, too
19347 * time/mktime.c (SHR): Check that shifts work as desired
19348 on the types long_int and time_t too, as SHR is used on
19351 mktime: do not assume 'long' is wide enough
19352 * time/mktime.c (verify): Move decl up.
19353 (long_int): New type.
19354 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19355 to remove assumption in the code that 'long' is wide enough to
19356 store year values. This assumption is not true on x32 and on
19357 some non-glibc platforms.
19359 mktime: merge wrapv change from gnulib
19360 * time/mktime.c (WRAPV): New macro.
19361 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19362 (guess_time_tm, __mktime_internal): Do not assume that signed
19363 integer overflow wraps around; modern compilers generate code
19364 where this assumption is no longer valid.
19366 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19368 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19369 Replace "jmp L(pseudo_end)" with "ret".
19370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19373 2012-05-23 Andreas Jaeger <aj@suse.de>
19375 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19376 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19378 2012-05-23 Andreas Jaeger <aj@suse.de>
19379 Maximilian Attems <max@stro.at>
19381 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19384 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19387 code so that pseudo_end is just ret and the stack pointer is
19388 correct also for static library in error case.
19390 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19392 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19393 move to syscalls.list.
19394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19399 * manual/install.texi (Running make install): Do not mention Linux
19400 kernel version for which pt_chown is not needed.
19401 (Linux): Do not mention problems with nscd with 2.0 kernels.
19402 * INSTALL: Regenerated.
19404 2012-05-23 Andreas Jaeger <aj@suse.de>
19406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19407 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19409 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19411 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19413 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19415 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19417 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19419 * sysdeps/unix/sysv/linux/bits/in.h
19420 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19422 2012-05-22 Roland McGrath <roland@hack.frob.com>
19424 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19425 (PREPARE_VERSION): Just use assert instead, it will be elided
19426 under [NDEBUG] anyway.
19428 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19430 * sysdeps/unix/sysv/linux/Makefile: Include
19431 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19432 (sysdep_routines): Remove sysctl.
19433 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19434 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19435 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19436 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19437 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19439 2012-05-22 Andreas Jaeger <aj@suse.de>
19441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19442 that pseudo_end is just ret and the stack pointer is correct also
19443 for static library in error case.
19445 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19448 * nss/nsswitch.c (defconfig_entries): New variable.
19449 (__nss_database_lookup): Don't leak defconfig entries.
19450 (nss_parse_service_list): Don't leak on error paths.
19451 (free_database_entries): New function.
19452 (free_defconfig): New function.
19453 (free_mem): Move common code to free_database_entries.
19455 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19459 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19461 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19462 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19465 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19466 (INTERNAL_SYSCALL_TYPES): Likewise.
19467 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19468 (LOAD_REGS_TYPES_[1-6]): Likewise.
19469 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19470 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19472 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19474 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19475 copysignl for GLIBC_2_0.
19476 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19477 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19479 logbl for GLIBC_2_0.
19480 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19481 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19483 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19486 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19488 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19491 * time/mktime.c: Update copyright years.
19493 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19495 mktime: merge comment-quoting-style change from gnulib
19496 * time/mktime.c: Quote 'like this' in comments.
19497 The GNU coding standards suggest that we no longer quote `like this',
19498 as "`" and "'" are typically rendered asymmetrically nowadays.
19499 The typical gnulib style is to quote 'like this' when quoting
19500 code, and "like this" when quoting English.
19502 * time/mktime.c (compile-command): Add "-I.".
19504 mktime: merge mktime-internal.h change from gnulib
19505 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19507 mktime: merge time_r change from gnulib
19508 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19510 mktime: merge DEBUG change from gnulib
19511 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19512 case system <time.h> has a #define.
19514 mktime: merge <sys/types.h> change from gnulib
19515 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19516 since <time.t> is now guaranteed to define time_t.
19518 mktime: merge HAVE_CONFIG_H change from gnulib
19519 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19521 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19526 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19528 (struct rusage): Use anonymous union to pad each field to
19531 2012-05-21 David S. Miller <davem@davemloft.net>
19533 * Makefules (o-iterator): Remove .s cases.
19534 (compile-command.s): Delete.
19535 (COMPILE.s): Delete.
19536 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19538 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19540 * configure.in (libc_cv_predef_stack_protector): Only consider
19541 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19542 * configure: Regenerated.
19544 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19547 New macro. Use R*LP on int and pointer.
19548 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19549 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19550 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19551 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19553 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19554 [__WORDSIZE_TIME64_COMPAT32] instead of
19555 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19556 (struct utmp): Likewise.
19557 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19558 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19560 (__WORDSIZE_TIME64_COMPAT32): This.
19561 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19562 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19563 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19565 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19566 (__WORDSIZE_TIME64_COMPAT32): New macro.
19568 2012-05-21 Andreas Jaeger <aj@suse.de>
19570 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19571 only if [SHARED]. Add prototype for __wcschr_ia32.
19573 2012-05-21 Roland McGrath <roland@hack.frob.com>
19575 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19576 of %rbp unmolested in the jmp_buf while mangling the low bits.
19577 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19578 unmolested high bits of %rbp while demangling the low bits.
19579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19581 2012-05-21 Andreas Jaeger <aj@suse.de>
19583 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19584 * sunrpc/svc_simple.c: Use it for registerrpc.
19585 * sunrpc/xcrypt.c: Use it for passwd2des.
19587 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19589 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19591 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19592 Don't define if [__SYSCALL_WORDSIZE != 32].
19593 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19596 2012-05-21 Bruno Haible <bruno@clisp.org>
19597 Andreas Jaeger <aj@suse.de>
19599 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19600 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19601 inptr and inend for must_buffer_ch.
19602 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19603 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19604 * stdio-common/Makefile (tests): Remove bug15.
19605 (bug15-ENV): Remove macro.
19606 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19609 2012-05-19 Andreas Jaeger <aj@suse.de>
19610 Roland McGrath <roland@hack.frob.com>
19612 * manual/contrib.texi: Completely rewritten. It contains now an
19613 alphabetical list of contributors and their contributions.
19615 2012-05-21 Richard Henderson <rth@twiddle.net>
19617 * misc/getauxval.c (__getauxval): Use unsigned long int.
19618 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19619 (getauxval): Use unsigned long int.
19621 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19623 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19625 2012-05-21 Roland McGrath <roland@hack.frob.com>
19627 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19628 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19629 __alignof__ (long double).
19631 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19635 2012-05-20 Richard Henderson <rth@twiddle.net>
19637 * misc/getauxval.c: New file.
19638 * misc/sys/auxv.h: New file.
19639 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19640 (routines): Add getauxval.
19641 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19643 * elf/dl-sysdep.c (_dl_auxv): Remove.
19644 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19645 * elf/dl-support.c (_dl_auxv): New variable.
19646 (_dl_aux_init): Initialize it.
19647 * manual/startup.texi (Auxiliary Vector): New node.
19648 * sysdeps/generic/bits/hwcap.h: New file.
19649 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19650 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19651 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19652 * sysdeps/sparc/sysdep.h: ... here. Include it.
19653 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19654 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19666 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19670 2012-05-19 David S. Miller <davem@davemloft.net>
19672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19674 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19677 * math/s_ccosh.c: Include <float.h>
19678 (__ccosh): Avoid internal overflow calculating sinh and cosh
19679 values before multiplying by sin and cos values.
19680 * math/s_ccoshf.c: Likewise.
19681 * math/s_ccoshl.c: Likewise.
19682 * math/s_csin.c: Likewise.
19683 * math/s_csinf.c: Likewise.
19684 * math/s_csinl.c: Likewise.
19685 * math/s_csinh.c: Likewise.
19686 * math/s_csinhf.c: Likewise.
19687 * math/s_csinhl.c: Likewise.
19688 * math/libm-test.inc (ccos_test): Add more tests.
19689 (ccosh_test): Likewise.
19690 (csin_test): Likewise.
19691 (csinh_test): Likewise.
19692 * sysdeps/i386/fpu/libm-test-ulps: Update.
19693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19695 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19697 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19698 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19700 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19702 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19704 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19705 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19706 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19707 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19708 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19709 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19710 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19711 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19712 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19713 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19714 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19715 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19716 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19717 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19718 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19719 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19720 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19721 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19722 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19723 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19724 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19725 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19726 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19727 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19728 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19729 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19730 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19731 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19732 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19733 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19734 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19736 2012-05-18 Andreas Jaeger <aj@suse.de>
19738 * csu/.gitignore: Delete.
19740 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19742 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19743 (timex): Use __syscall_slong_t.
19745 2012-05-18 Andreas Jaeger <aj@suse.de>
19746 Carlos O'Donell <carlos_odonell@mentor.com>
19748 * manual/install.texi (Configuring and compiling): Update
19749 description about files modified in the source directory.
19750 * INSTALL: Regenerated.
19752 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19754 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19755 value. Use "or" to set return value to -1.
19756 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19757 negate return value.
19759 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19761 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19762 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19763 failure if the compiler has Graphite support disabled.
19764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19766 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19767 CFLAGS-memmove.c): Likewise.
19768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19771 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19773 * sysdeps/x86_64/x32/_itoa.h: New file.
19775 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19776 getdents system call only if kernel and user dirents have the
19777 same d_ino and d_off.
19779 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19780 LLONG_MAX != LONG_MAX.
19781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19782 (_fitoa_word): Likewise.
19784 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19788 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19790 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19791 include <bits/wordsize.h>. Check __x86_64__ instead of
19793 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19794 if __x86_64__ is defined. Use anonymous union on fpstate.
19796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19799 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19801 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19802 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19803 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19804 Refer to _rtld_local_ro instead of _rtld_global_ro.
19805 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19807 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19809 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19811 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19812 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19813 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19815 * sysdeps/powerpc/powerpc32/dl-machine.c
19816 (__elf_machine_runtime_setup) [PROF]: Don't reference
19819 2012-05-18 Andreas Jaeger <aj@suse.de>
19821 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19822 function only available for GCCs before 3.4 since GCC 3.4
19823 introduced a builtin.
19825 (llrintf): Likewise.
19826 (llrint): Likewise.
19833 (nearbyint): Likewise.
19834 (nearbyintf): Likewise.
19838 (floorf): Likewise.
19840 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19842 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19843 on both fields and cast pointer to __syscall_ulong_t.
19845 * bits/types.h (__fsword_t): New type.
19846 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19847 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19849 (__FSWORD_T_TYPE): Likewise.
19850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19851 (__FSWORD_T_TYPE): Likewise.
19852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19853 (__FSWORD_T_TYPE): Likewise.
19854 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19855 (__FSWORD_T_TYPE): Likewise.
19856 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19857 __SWORD_TYPE with __fsword_t.
19858 (statfs64): Likewise.
19860 2012-05-17 David S. Miller <davem@davemloft.net>
19862 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19864 2012-05-17 Andreas Jaeger <aj@suse.de>
19866 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19869 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19871 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19873 2012-05-17 Andreas Jaeger <aj@suse.de>
19875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19878 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19880 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19882 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19884 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19885 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19887 2012-05-17 Andreas Jaeger <aj@suse.de>
19888 Carlos O'Donell <carlos_odonell@mentor.com>
19891 * sysdeps/x86_64/multiarch/init-arch.h
19892 (bit_YMM_Usable): Rename to...
19893 (bit_AVX_Usable): ... this.
19894 (bit_FMA4_Usable): New macro.
19895 (bit_XMM_state): New macro.
19896 (bit_YMM_state): New macro.
19897 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19898 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19899 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19900 (CPUID_OSXSAVE): New macro.
19901 (CPUID_AVX): New macro.
19902 (CPUID_FMA4): New macro.
19903 (index_YMM_Usable): Rename to...
19904 (index_AVX_Usable): ... this.
19905 (HAS_AVX): Use HAS_ARCH_FEATURE.
19906 (HAS_FMA4): Likewise.
19907 (HAS_YMM_USABLE): Remove.
19908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19909 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19911 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19912 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19913 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19914 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19915 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19917 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19919 * math/libm-test.c: Support platforms without multiple rounding modes.
19920 * math/bug-nextafter.c: Support platforms without FP exceptions.
19921 * math/bug-nexttoward.c: Likewise.
19922 * math/test-fenv.c: Likewise.
19923 * math/test-misc.c: Likewise.
19924 * stdlib/bug-getcontext.c: Likewise.
19926 2012-05-17 Andreas Jaeger <aj@suse.de>
19928 * manual/examples/search.c (critter_cmp): Change signature to
19930 * manual/string.texi (Collation Functions): Likewise.
19932 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19934 * bits/types.h: Fold copyright years.
19935 * bits/typesizes.h: Likewise.
19936 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19940 * time/time.h: Likewise.
19942 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19945 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19946 in instead of returning them. Return void.
19947 (__libc_mallinfo): Accumulate over all arenas.
19948 (__malloc_stats): Adjust for change in int_mallinfo interface.
19950 2012-05-16 Roland McGrath <roland@hack.frob.com>
19953 * configure.in (NM): Add AC_CHECK_TOOL for it.
19954 (libc_extra_cflags): New substituted variable.
19955 Check for -fstack-protector being used implicitly.
19956 * configure: Regenerated.
19957 * config.make.in (config-extra-cflags): New variable,
19958 gets @libc_extra_cflags@.
19959 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19962 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19963 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19964 * configure: Regenerated.
19965 * config.make.in (CPPUNDEFS): New substituted variable.
19966 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19967 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19968 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19972 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19973 (mq_attr): Use __syscall_slong_t.
19975 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19977 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19978 Check __x86_64__ instead of __WORDSIZE.
19979 (_STAT_VER_LINUX): Likewise.
19980 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19981 __syscall_ulong_t and __syscall_slong_t.
19982 (stat64): Likewise.
19984 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19990 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19992 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19994 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19997 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19998 include <bits/wordsize.h>. Check __x86_64__ instead of
20000 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20002 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20005 include <bits/wordsize.h>. Check __x86_64__ instead of
20007 (user_regs_struct): Use "__extension__ unsigned long long"
20008 instead of "unsigned long" if __x86_64__ is defined.
20009 (user): Likewise. Pad after pointer field if __ILP32__ is
20012 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20014 * configure.in (makeinfo): Require version 4.5 or later. Allow
20016 * configure: Regenerated.
20017 * manual/install.texi (texinfo): Increase version requirement to
20019 * INSTALL: Regenerated.
20021 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20023 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20025 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20027 * sysdeps/x86_64/x32/ffs.c: New file.
20029 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20031 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20032 defined. Use __syscall_ulong_t.
20033 (shminfo): Use __syscall_ulong_t.
20034 (shm_info): Likewise.
20036 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20039 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20041 (msgqnum_t): Use __syscall_ulong_t.
20042 (msglen_t): Likewise.
20043 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20046 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20047 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20049 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20051 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20052 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20054 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20057 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20058 include <bits/wordsize.h>. Check __x86_64__ instead of
20061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20062 "unsigned long long int" if __x86_64__ is defined.
20063 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20065 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20066 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20067 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20069 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20071 (GET_PC): Cast to uintptr_t first.
20072 (GET_FRAME): Likewise.
20073 (GET_STACK): Likewise.
20075 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20077 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20079 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20081 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20082 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20083 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20088 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20090 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20092 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20094 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20100 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20105 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20107 * Makerules (+depfiles): Also collect depfiles from .oS in
20109 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20110 .oS, $(libnldbl-routines)).
20112 * Makerules (native-compile-mkdep-flags): Define.
20113 * sunrpc/Makefile (extra-objs): Add $(addprefix
20114 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20115 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20116 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20117 calling $(make-target-directory).
20119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20121 * bits/types.h (__snseconds_t): Removed.
20122 * time/time.h (struct timespec): Replace __snseconds_t with
20124 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20125 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20128 (__SNSECONDS_T_TYPE): Likewise.
20129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20130 (__SNSECONDS_T_TYPE): Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20132 (__SNSECONDS_T_TYPE): Likewise.
20134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20136 * sysdeps/mach/hurd/bits/typesizes.h
20137 (__SYSCALL_SLONG_TYPE): New macro.
20138 (__SYSCALL_ULONG_TYPE): Likewise.
20140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20142 * bits/types.h (__syscall_slong_t): New type.
20143 (__syscall_ulong_t): Likewise.
20145 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20146 (__SYSCALL_ULONG_TYPE): Likewise.
20147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20148 (__SYSCALL_SLONG_TYPE): Likewise.
20149 (__SYSCALL_ULONG_TYPE): Likewise.
20150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20151 (__SYSCALL_SLONG_TYPE): Likewise.
20152 (__SYSCALL_ULONG_TYPE): Likewise.
20153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20154 (__SYSCALL_SLONG_TYPE): Likewise.
20155 (__SYSCALL_ULONG_TYPE): Likewise.
20157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20159 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20160 Add sigaltstack-offsets.sym.
20161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20162 <sigaltstack-offsets.h>.
20163 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20164 longjmp_msg pointer.
20165 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20166 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20168 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20170 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20172 * elf/stackguard-macros.h: Remove file.
20173 * sysdeps/generic/stackguard-macros.h: New file.
20174 * sysdeps/i386/stackguard-macros.h: Likewise.
20175 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20176 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20177 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20178 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20179 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20180 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20181 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20182 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20183 <elf/stackguard-macros.h>.
20186 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20187 __aligned__ in attribute.
20188 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20189 (gregset_t): Likewise.
20191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20193 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20194 * sysdeps/x86_64/64/Implies-after: Here. New file.
20195 * sysdeps/x86_64/x32/Implies-after: New file.
20197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20199 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20200 and access return value for _dl_profile_fixup. Use R10_LP to
20203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20205 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20209 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20210 * sysdeps/x86_64/x32/sysdep.h: New file.
20212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20214 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20215 * sysdeps/x86_64/setjmp.S: Likewise.
20217 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20221 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20223 remove unused global constant.
20225 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20227 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20228 include of <not-cancel.h>.
20230 2012-05-15 Roland McGrath <roland@hack.frob.com>
20232 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20234 2012-05-15 Jeff Law <law@redhat.com>
20235 Andreas Jaeger <aj@suse.de>
20238 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20240 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20241 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20242 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20243 code changing __hst_map_handle.map.
20245 2012-05-15 Roland McGrath <roland@hack.frob.com>
20247 * configure.in (sysnames): Look for Implies-before and Implies-after
20249 * configure: Regenerated.
20251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20253 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20254 8-byte data alignment with LP_SIZE alignment.
20256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20263 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20268 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20275 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20276 (stackinfo_sub_sp): Likewise.
20278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20295 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20299 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20300 into R11_LP and load __x86_64_shared_cache_size_half into
20303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20308 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20316 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20317 powerpc32/power7/fpu/s_logb.c via #include.
20318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20319 powerpc32/power7/fpu/s_logbf.c via #include.
20320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20321 powerpc32/power7/fpu/s_logbl.c via #include.
20323 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20325 * README.libm: Remove file.
20327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20329 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20330 count for x32. Use R*_LP and omit operand-size suffix.
20332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20334 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20335 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20336 * sysdeps/x86_64/x32/shlib-versions: New file.
20338 2012-05-14 Roland McGrath <roland@hack.frob.com>
20340 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20341 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20342 Use _dl_fatal_printf instead.
20344 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20346 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20347 set if not set by the user. Do not allow for being unset.
20348 * sysdeps/unix/sysv/linux/configure: Regenerated.
20350 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20352 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20353 the `q' suffix from lea and replace .quad with ASM_ADDR.
20355 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20358 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20360 (PTR_DEMANGLE): Likewise.
20362 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20364 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20366 (ASM_ADDR): Likewise.
20367 (RAX_LP): Likewise.
20368 (RBP_LP): Likewise.
20369 (RBX_LP): Likewise.
20370 (RCX_LP): Likewise.
20371 (RDI_LP): Likewise.
20372 (RSI_LP): Likewise.
20373 (RSP_LP): Likewise.
20376 (R10_LP): Likewise.
20377 (R10_LP): Likewise.
20378 (R11_LP): Likewise.
20379 (R12_LP): Likewise.
20380 (R13_LP): Likewise.
20381 (R14_LP): Likewise.
20382 (R15_LP): Likewise.
20384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20386 * sysdeps/x86_64/x32/dl-machine.h: New file.
20388 2012-05-14 Andreas Jaeger <aj@suse.de>
20390 * manual/Makefile (subdir): Remove export of subdir.
20391 (all): Remove target.
20392 (.PHONY): Remove all from list.
20393 (mkinstalldirs): Remove.
20394 (.PHONY): Remove installdirs from list.
20395 ($(inst_infodir)/libc.info): Use make-target-directory.
20396 (installdirs): Remove.
20397 (subdir_%): Remove.
20398 (glibc-targets): Remove.
20401 ($(objpfx)stubs ../po/manual.pot): Remove.
20402 ($(objpfx)stamp%): Remove.
20403 (make-target-directory): Remove.
20404 (subdir_install): Remove.
20405 (routines): Remove.
20412 * manual/.gitignore: Remove, it's not needed anymore.
20413 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20415 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20417 (texis): Renamed to $(objpfx)texis.
20418 (texis-path): New, contains path to generated files.
20419 (chapters.%): Use texis-path for complete path, add extra argument
20421 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20422 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20423 (summary,texi, stamp-summary): Use complete path of
20424 files. Generate files in build dir.
20425 (dir-add.texi): Build in build dir.
20426 (libm-err.texi,stamp-libm-err): Likewise.
20427 (version.texi, stamp-version): Likewise.
20428 (.%c.texi): Likewise.
20429 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20430 (mostlyclean): Remove target.
20431 (realclean): Remove target.
20432 (generated): Add new variable with contents from mostlyclean and
20433 realclean, remove entries duplicated in common-mostlyclean, add
20434 stamp-libm-err and stamp-version.
20435 (generated-dirs): Add libc directory.
20436 ($(inst_infodir)/libc.info): Install files from build dir.
20438 * manual/install.texi (Configuring and compiling): Adjust since
20439 the info files are not part of the tar ball anymore.
20441 2012-05-14 Andreas Jaeger <aj@suse.de>
20443 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20446 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20450 to 2.2.0 where earlier.
20451 * sysdeps/unix/sysv/linux/configure: Regenerated.
20452 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20453 Remove conditional code.
20454 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20455 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20456 Remove conditional code.
20457 [!__NR_lchown]: Likewise.
20458 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20459 [__NR_lchown]: Likewise.
20460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20461 comment referencing __ASSUME_LCHOWN_SYSCALL.
20462 * sysdeps/unix/sysv/linux/i386/sigaction.c
20463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20465 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20466 Remove conditional code.
20467 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20468 (__protocol_available): Remove #if 0 code.
20469 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20471 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20472 * sysdeps/unix/sysv/linux/kernel-features.h
20473 (__ASSUME_GETCWD_SYSCALL): Don't define.
20474 (__ASSUME_REALTIME_SIGNALS): Likewise.
20475 (__ASSUME_PREAD_SYSCALL): Likewise.
20476 (__ASSUME_PWRITE_SYSCALL): Likewise.
20477 (__ASSUME_POLL_SYSCALL): Likewise.
20478 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20479 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20481 (__ASSUME_SIOCGIFNAME): Don't define.
20482 (__ASSUME_MSG_NOSIGNAL): Likewise.
20483 (__ASSUME_SENDFILE): Define unconditionally.
20484 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20485 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20487 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20488 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20489 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20490 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20491 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20493 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20495 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20518 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20519 Remove conditional code.
20520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20521 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20522 Remove conditional code.
20523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20524 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20525 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20526 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20527 Remove conditional code.
20528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20529 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20530 Remove conditional code.
20531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20532 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20533 Remove conditional code.
20534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20535 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20536 Remove conditional code.
20537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20538 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20539 Remove conditional code.
20540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20541 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20544 * sysdeps/unix/sysv/linux/sigaction.c
20545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20547 * sysdeps/unix/sysv/linux/sigpending.c
20548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20550 * sysdeps/unix/sysv/linux/sigprocmask.c
20551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20553 * sysdeps/unix/sysv/linux/sigsuspend.c
20554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20557 (__libc_missing_rt_sigs): Remove.
20558 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20559 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20560 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20561 Remove conditional code.
20562 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20563 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20566 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20568 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20570 2012-05-14 Andreas Jaeger <aj@suse.de>
20572 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20573 it's not used in glibc.
20574 (__coshm1): Likewise.
20575 (__acosh1p): Likewise.
20578 * manual/string.texi (Copying and Concatenation): Add missing
20579 variable in concat example.
20580 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20586 __builtin_clzl with __builtin_clzll.
20588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20591 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20594 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20596 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20597 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20598 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20601 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20603 * NEWS: Update ia64 info.
20605 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20607 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20610 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20612 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20613 * sysdeps/unix/syscalls.list (dup3): Likewise.
20614 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20615 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20617 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20619 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20620 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20622 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20624 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20626 (TLS_IE): Use mov/add instead of movq/addq to load thread
20628 (TLS_GD_PREFIX): New.
20631 2012-05-11 David S. Miller <davem@davemloft.net>
20633 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20634 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20635 (_FPU_SETCW): Likewise.
20637 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20639 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20640 is 32-byte aligned.
20642 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20645 * iconvdata/gb18030.c: Update tables.
20646 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20647 characters specially.
20648 (BODY for TO_LOOP): Add encoding of missing ranges.
20650 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20653 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20654 * sysdeps/mach/hurd/dup3.c: Likewise.
20655 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20656 * sysdeps/powerpc/memmove.c:: Likewise.
20658 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20661 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20663 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20665 * elf/elf.h (R_X86_64_RELATIVE64): New.
20666 (R_X86_64_NUM): Updated.
20667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20668 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20669 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20670 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20671 tst-quad1pie tst-quad2pie
20672 (modules-names): Add tst-quadmod1 tst-quadmod2.
20673 ($(objpfx)tst-quad1): New dependency.
20674 ($(objpfx)tst-quad2): Likewise.
20675 ($(objpfx)tst-quad1pie): Likewise.
20676 ($(objpfx)tst-quad2pie): Likewise.
20677 * sysdeps/x86_64/tst-quad1.c: New file.
20678 * sysdeps/x86_64/tst-quad1pie.c: New file.
20679 * sysdeps/x86_64/tst-quad2.c: Likewise.
20680 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20681 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20682 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20683 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20684 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20686 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20688 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20689 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20690 * streams/stropts.h (t_scalar_t): Define type.
20692 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20693 (_PATH_PRESERVE): Set to "/var/lib".
20694 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20696 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20699 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20700 if __dir_mkfile succeeded.
20702 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20703 checking for _hurd_dtablesize. Unlock it right after having
20704 finished _hurd_dtable allocation.
20706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20708 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20709 * sysdeps/mach/hurd/configure: Regenerated.
20710 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20711 special-casing to...
20712 * sysdeps/gnu/configure.in: ... this new file.
20713 * sysdeps/unix/sysv/linux/configure: Regenerated.
20714 * sysdeps/gnu/configure: New generated file.
20716 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20717 for Linux: use nsec instead of usec, as well as:
20718 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20719 members of type struct timespec.
20720 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20722 (struct stat64): Likewise.
20723 (_STATBUF_ST_NSEC): New macro.
20724 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20726 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20727 __strtoul_internal rather than strtoul.
20729 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20731 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20734 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20736 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20737 which preserves existing values.
20738 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20740 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20742 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20743 TIMEOUT values. Return EINVAL for NFDS values either negative or
20744 greater than FD_SETSIZE.
20746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20748 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20749 allocated, call __vm_protect to finish enabling the existing space, and
20750 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20751 allocate the remainder.
20753 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20755 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20756 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20760 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20761 sysdeps/mach/hurd/readlink.c.
20763 * posix/tst-sysconf.c (posix_options): Only use
20764 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20765 _POSIX_SYNCHRONIZED_IO when they are defined
20766 * sysdeps/mach/hurd/bits/posix_opt.h:
20767 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20768 (_XOPEN_REALTIME): Undefine macro.
20769 (_XOPEN_REALTIME_THREADS): Undefine macro.
20770 (_XOPEN_SHM): Undefine macro.
20771 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20773 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20775 (_POSIX_ASYNC_IO): Undefine macro.
20776 (_POSIX_PRIORITIZED_IO): Undefine macro.
20777 (_POSIX_SPIN_LOCKS): Define macro to -1.
20779 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20780 SA_NODEFER, SA_RESETHAND.
20781 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20782 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20787 * elf/Makefile (pldd-modules): Define unconditionally.
20789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20791 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20793 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20795 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20796 Return ENOENT when name is empty.
20797 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20801 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20803 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20807 Fix mlock in all cases except non-readable pages.
20808 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20809 instead of VM_PROT_ALL as parameter to __vm_wire function.
20811 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20812 (__mkdir): When path is `/', just fail with EEXIST.
20813 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20817 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20818 <sys/uio.h> (for writev).
20819 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20820 and <sys/param.h> (for MIN).
20822 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20824 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20825 REQUESTED_TIME. Properly set the remaining time and return EINTR
20828 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20830 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20831 Depend on against $(link-rpcuserlibs).
20833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20835 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20836 (__libc_stack_end): Do not use attribute_relro.
20837 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20838 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20839 to libthread-provided value.
20840 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20843 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20846 * bits/libc-lock.h (__libc_once_get): New macro.
20847 * sysdeps/mach/bits/libc-lock.h: Likewise.
20848 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20850 instead of using implementation details.
20852 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20853 * libio/freopen.c: Likewise.
20854 * libio/freopen64.c: Likewise.
20855 * misc/syslog.c: Likewise.
20856 * nscd/connections.c: Likewise.
20857 * nscd/netgroupcache.c: Likewise.
20858 * sysdeps/posix/getcwd.c: Likewise.
20860 2012-05-10 Roland McGrath <roland@hack.frob.com>
20862 * math/w_ilogbf.c: Add #include <limits.h>.
20864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20866 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20867 path instead of returning without unlocking.
20869 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20870 immediate-write ioctls.
20871 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20873 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20875 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20876 __builtin_frame_address instead of making assumptions about the
20877 location of the return address relative to DATA. Force early load of
20878 the return address.
20879 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20880 __builtin_frame_address.
20883 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20884 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20885 implement dup3 and do some further code clean-ups.
20886 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20887 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20891 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20893 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20894 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20895 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20896 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20897 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20900 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20901 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20902 when handler == SIG_ERR, not when handler != SIG_ERR.
20904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20906 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20907 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20910 accept4 for GNU Hurd.
20911 * include/sys/socket.h (__libc_accept4): New prototype.
20912 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20913 to implement __libc_accept4.
20914 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20916 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20918 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20919 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20920 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20921 signal-defines.sym.
20923 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20925 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20927 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20929 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20930 assertion on O_CLOEXEC flag.
20931 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20932 * hurd/intern-fd.c: Likewise.
20933 * hurd/port2fd.c: Likewise.
20935 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20938 * bits/in.h (IPV6_PKTINFO): Define new macro.
20939 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20941 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20946 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20947 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20948 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20949 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20951 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20952 * math/libm-test.inc (logb_test) : Additional logb tests.
20954 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20955 Andreas Jaeger <aj@suse.de>
20957 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20958 * configure: Regenerated.
20959 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20960 * config.make.in (link-obsolete-rpc): New substituted variable.
20961 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20962 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20963 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20964 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20965 so that libc.a contains the symbols.
20966 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20967 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20968 * sunrpc/auth_none.c: Likewise.
20969 * sunrpc/auth_unix.c: Likewise.
20970 * sunrpc/authdes_prot.c: Likewise.
20971 * sunrpc/authuxprot.c: Likewise.
20972 * sunrpc/clnt_gen.c: Likewise.
20973 * sunrpc/clnt_perr.c: Likewise.
20974 * sunrpc/clnt_raw.c: Likewise.
20975 * sunrpc/clnt_simp.c: Likewise.
20976 * sunrpc/clnt_tcp.c: Likewise.
20977 * sunrpc/clnt_udp.c: Likewise.
20978 * sunrpc/clnt_unix.c: Likewise.
20979 * sunrpc/des_crypt.c: Likewise.
20980 * sunrpc/des_soft.c: Likewise.
20981 * sunrpc/get_myaddr.c: Likewise.
20982 * sunrpc/key_call.c: Likewise.
20983 * sunrpc/key_prot.c: Likewise.
20984 * sunrpc/netname.c: Likewise.
20985 * sunrpc/pm_getmaps.c: Likewise.
20986 * sunrpc/pm_getport.c: Likewise.
20987 * sunrpc/pmap_clnt.c: Likewise.
20988 * sunrpc/pmap_prot.c: Likewise.
20989 * sunrpc/pmap_prot2.c: Likewise.
20990 * sunrpc/pmap_rmt.c: Likewise.
20991 * sunrpc/publickey.c: Likewise.
20992 * sunrpc/rpc_cmsg.c: Likewise.
20993 * sunrpc/rpc_common.c: Likewise.
20994 * sunrpc/rpc_dtable.c: Likewise.
20995 * sunrpc/rpc_prot.c: Likewise.
20996 * sunrpc/rpc_thread.c: Likewise.
20997 * sunrpc/rtime.c: Likewise.
20998 * sunrpc/svc.c: Likewise.
20999 * sunrpc/svc_auth.c: Likewise.
21000 * sunrpc/svc_raw.c: Likewise.
21001 * sunrpc/svc_run.c: Likewise.
21002 * sunrpc/svc_tcp.c: Likewise.
21003 * sunrpc/svc_udp.c: Likewise.
21004 * sunrpc/svc_unix.c: Likewise.
21005 * sunrpc/svcauth_des.c: Likewise.
21006 * sunrpc/xcrypt.c: Likewise.
21007 * sunrpc/xdr.c: Likewise.
21008 * sunrpc/xdr_array.c: Likewise.
21009 * sunrpc/xdr_float.c: Likewise.
21010 * sunrpc/xdr_intXX_t.c: Likewise.
21011 * sunrpc/xdr_mem.c: Likewise.
21012 * sunrpc/xdr_rec.c: Likewise.
21013 * sunrpc/xdr_ref.c: Likewise.
21014 * sunrpc/xdr_sizeof.c: Likewise.
21015 * sunrpc/xdr_stdio.c: Likewise.
21017 2012-05-10 Roland McGrath <roland@hack.frob.com>
21019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21020 change. Update copyright years.
21022 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21024 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21026 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21027 Joseph Myers <joseph@codesourcery.com>
21028 Paul Pluzhnikov <ppluzhnikov@google.com>
21031 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21033 [cross-compiling] (extra-libs): Likewise.
21034 [cross-compiling] (extra-libs-others): Likewise.
21035 [cross-compiling] (librpcsvc-routines): Likewise.
21036 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21037 [cross-compiling] (omit-deps): Likewise.
21038 (sunrpc-CPPFLAGS): New variable.
21039 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21040 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21041 (cross-rpcgen-objs): New variable.
21042 (extra-objs): Append $(cross-rpcgen-objs).
21043 ($(cross-rpcgen-objs)): New rule.
21044 ($(objpfx)cross-rpcgen): Likewise.
21045 (rpcgen-cmd): Define to use $(built-program-file). Expand
21047 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21048 ($(objpfx)x%.stmp): Likewise.
21049 * sunrpc/proto.h [IS_IN_build] (_): Define.
21050 [IS_IN_build] (_libc_intl_domainname): Likewise.
21052 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21055 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21056 and R_X86_64_TPOFF64.
21058 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21060 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21061 sysdeps/unix/sysv/syscalls.list.
21064 * sysdeps/unix/sysv/syscalls.list: Remove file.
21066 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21069 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21070 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21071 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21072 (__LC_IDENTIFICATION): Make these macros useful in #if
21073 expressions, as required by C99.
21075 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21077 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21078 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21081 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21083 * stdlib/longlong.h: Updated from GCC.
21085 2012-05-09 Andreas Jaeger <aj@suse.de>
21087 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21088 default is first entry.
21089 (run_mode): Set type.
21090 (main): Remove informal message about syslog.
21091 (options): Fix typo.
21094 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21097 (llrintf): Likewise.
21098 (llrint): Likewise.
21101 (nearbyint): Likewise.
21102 (nearbyintf): Likewise.
21104 2012-05-09 Andreas Jaeger <aj@suse.de>
21105 Pedro Alves <palves@redhat.com>
21107 * nscd/nscd.c (run_mode): Use enum.
21108 (main): Cleanup coding style issue.
21110 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21111 Andreas Jaeger <aj@suse.de>
21113 * nscd/nscd.c (go_background): Replaced with...
21114 (run_mode): ... this.
21115 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21116 (options): Add -F --foreground.
21117 (main): Implement it.
21118 (parse_opt): Parse it.
21120 2012-05-09 Andreas Jaeger <aj@suse.de>
21123 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21124 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21125 -Wconversion warning.
21126 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21129 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21131 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21133 (LC_ALL): Use macro-int-constant.
21134 (LC_COLLATE): Likewise.
21135 (LC_CTYPE): Likewise.
21136 (LC_MESSAGES): Likewise.
21137 (LC_MONETARY): Likewise.
21138 (LC_NUMERIC): Likewise.
21139 (LC_TIME): Likewise.
21140 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21141 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21143 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21145 [C99-based standards] (float_t): Expect type.
21146 [C99-based standards] (double_t): Expect type.
21147 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21149 [C99-based standards] (HUGE_VALL): Likewise.
21150 [C99-based standards] (INFINITY): Likewise.
21151 [C99-based standards] (NAN): Likewise.
21152 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21153 [C99-based standards] (FP_NAN): Likewise.
21154 [C99-based standards] (FP_NORMAL): Likewise.
21155 [C99-based standards] (FP_SUBNORMAL): Likewise.
21156 [C99-based standards] (FP_ZERO): Likewise.
21157 [C99-based standards] (FP_FAST_FMA): Use
21158 optional-macro-int-constant. Specify type. Require == 1.
21159 [C99-based standards] (FP_FAST_FMAF): Likewise.
21160 [C99-based standards] (FP_FAST_FMAL): Likewise.
21161 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21162 [C99-based standards] (FP_ILOGBNAN): Likewise.
21163 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21165 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21166 [C99-based standards] (math_errhandling): Specify type.
21167 [ISO99 || ISO11] (signgam): Do not allow.
21168 [non-C99-based standards] (copysignf): Do not allow.
21169 [non-C99-based standards] (exp2f): Likewise.
21170 [non-C99-based standards] (log2f): Likewise.
21171 [non-C99-based standards] (modff): Allow.
21172 [non-C99-based standards] (erff): Do not allow.
21173 [non-C99-based standards] (erfcf): Likewise.
21174 [non-C99-based standards] (gammaf): Likewise.
21175 [non-C99-based standards] (hypotf): Likewise.
21176 [non-C99-based standards] (j0f): Likewise.
21177 [non-C99-based standards] (j1f): Likewise.
21178 [non-C99-based standards] (jnf): Likewise.
21179 [non-C99-based standards] (lgammaf): Likewise.
21180 [non-C99-based standards] (tgammaf): Likewise.
21181 [non-C99-based standards] (y0f): Likewise.
21182 [non-C99-based standards] (y1f): Likewise.
21183 [non-C99-based standards] (ynf): Likewise.
21184 [non-C99-based standards] (isnanf): Likewise.
21185 [non-C99-based standards] (acoshf): Likewise.
21186 [non-C99-based standards] (asinhf): Likewise.
21187 [non-C99-based standards] (atanhf): Likewise.
21188 [non-C99-based standards] (cbrtf): Likewise.
21189 [non-C99-based standards] (expm1f): Likewise.
21190 [non-C99-based standards] (ilogbf): Likewise.
21191 [non-C99-based standards] (log1pf): Likewise.
21192 [non-C99-based standards] (logbf): Likewise.
21193 [non-C99-based standards] (nextafterf): Likewise.
21194 [non-C99-based standards] (remainderf): Likewise.
21195 [non-C99-based standards] (rintf): Likewise.
21196 [non-C99-based standards] (scalbf): Likewise.
21197 [non-C99-based standards] (copysignl): Likewise.
21198 [non-C99-based standards] (exp2l): Likewise.
21199 [non-C99-based standards] (log2l): Likewise.
21200 [non-C99-based standards] (modfl): Allow.
21201 [non-C99-based standards] (erfl): Do not allow.
21202 [non-C99-based standards] (erfcl): Likewise.
21203 [non-C99-based standards] (gammal): Likewise.
21204 [non-C99-based standards] (hypotl): Likewise.
21205 [non-C99-based standards] (j0l): Likewise.
21206 [non-C99-based standards] (j1l): Likewise.
21207 [non-C99-based standards] (jnl): Likewise.
21208 [non-C99-based standards] (lgammal): Likewise.
21209 [non-C99-based standards] (tgammal): Likewise.
21210 [non-C99-based standards] (y0l): Likewise.
21211 [non-C99-based standards] (y1l): Likewise.
21212 [non-C99-based standards] (ynl): Likewise.
21213 [non-C99-based standards] (isnanl): Likewise.
21214 [non-C99-based standards] (acoshl): Likewise.
21215 [non-C99-based standards] (asinhl): Likewise.
21216 [non-C99-based standards] (atanhl): Likewise.
21217 [non-C99-based standards] (cbrtl): Likewise.
21218 [non-C99-based standards] (expm1l): Likewise.
21219 [non-C99-based standards] (ilogbl): Likewise.
21220 [non-C99-based standards] (log1pl): Likewise.
21221 [non-C99-based standards] (logbl): Likewise.
21222 [non-C99-based standards] (nextafterl): Likewise.
21223 [non-C99-based standards] (remainderl): Likewise.
21224 [non-C99-based standards] (rintl): Likewise.
21225 [non-C99-based standards] (scalbl): Likewise.
21226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21227 [non-C99-based standards] (FP_*): Do not allow.
21228 [C99-based standards] (FP_*): Change to
21229 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21230 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21232 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21233 (SIG_ERR): Likewise.
21234 [X/Open-based standards] (SIG_HOLD): Likewise.
21235 (SIG_IGN): Likewise.
21236 (SIGABRT): Use macro-int-constant. Specify type. Require
21238 (SIGFPE): Likewise.
21239 (SIGILL): Likewise.
21240 (SIGINT): Likewise.
21241 (SIGSEGV): Likewise.
21242 (SIGTER): Likewise.
21243 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21244 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21245 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21246 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21247 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21248 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21249 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21261 [X/Open-based standards] (SIGTRAP): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21266 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21269 2012-05-08 Ian Wienand <ianw@vmware.com>
21272 * time/tzset.c (__tzset_parse_tz): Update default rules for
21273 daylight time changes in the Energy Policy Act of 2005.
21275 2012-05-09 Andreas Jaeger <aj@suse.de>
21278 * elf/ldconfig.c (parse_conf): Change string to make clear that
21279 ldconfig only issued a warning if ld.so.conf does not exist.
21281 2012-05-08 David S. Miller <davem@davemloft.net>
21283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21284 movxtod instead of popping the value on the stack.
21286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21288 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21290 * config.h.in: Add HAVE_ARM_PCS_VFP.
21292 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21295 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21296 checking but the checks are disabled for any reason.
21298 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21300 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21301 and ELF64_R_TYPE with ELFW(R_TYPE).
21303 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21305 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21306 (ulimit): Likewise.
21308 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21309 (settimeofday): Likewise.
21311 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21313 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21314 a struct th_u2 inside the union, and move tu_block/tu_code into
21315 a new th_u3 union of tu_block/tu_code inside of that. Move
21316 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21317 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21318 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21319 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21320 (th_stuff): Change to th_u1.tu_stuff.
21322 (th_msg): Change to th_u1.th_u2.tu_data.
21324 2012-05-07 David S. Miller <davem@davemloft.net>
21326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21329 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21330 (SETUP_PIC_REG): Use it.
21331 (SETUP_PIC_REG_LEAF): Use it.
21333 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21337 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21339 (EXPL_FINITE): Likewise.
21340 (FLDLOG): Likewise.
21341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21342 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21344 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21346 (EXPL_FINITE): Likewise.
21347 (FLDLOG): Likewise.
21348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21349 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21351 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21352 test of -max_value argument for long double.
21353 * sysdeps/i386/fpu/libm-test-ulps: Update.
21354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21356 2012-05-06 David S. Miller <davem@davemloft.net>
21358 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21359 quad soft-float symbols whose references which are compiler
21361 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21363 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21367 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21369 (EXPL_FINITE): Likewise.
21370 (FLDLOG): Likewise.
21373 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21374 Adjust comments for base varying.
21375 (__expl_finite): Change alias to EXPL_FINITE.
21376 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21378 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21379 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21381 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21382 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21384 (EXPL_FINITE): Likewise.
21385 (FLDLOG): Likewise.
21388 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21389 Adjust comments for base varying.
21390 (__expl_finite): Change alias to EXPL_FINITE.
21391 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21396 * math/libm-test.inc (check_float_internal): Correct ulp
21397 calculation for subnormal expected results.
21399 2012-05-06 Andreas Jaeger <aj@suse.de>
21401 * Makeconfig (+math-flags): New, set to -frounding-math.
21402 (+cflags): Add +math-flags so that all of glibc gets compiled with
21405 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21407 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21409 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21415 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21416 (__ieee754_expl): Allow for and saturate large arguments.
21417 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21418 (u_threshold): Likewise.
21419 (__exp): Call __ieee754_exp before checking for overflow and
21421 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21422 (u_threshold): Likewise.
21423 (__expf): Call __ieee754_expf before checking for overflow and
21425 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21426 (u_threshold): Likewise.
21427 (__expl): Call __ieee754_expl before checking for overflow and
21429 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21430 (__ieee754_expl): Allow for and saturate large arguments.
21431 * math/libm-test.inc (exp_test): Add another test. Do not allow
21432 missing overflow exception on overflow.
21433 (expm1_test): Do not allow missing overflow exception on overflow.
21435 * sysdeps/i386/fpu/e_expl.c: Move to ...
21436 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21437 rather than using inline asm.
21438 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21439 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21440 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21442 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21445 (signal): Likewise.
21449 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21451 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21452 sysdeps/unix/common/syscalls.list.
21453 (fchmod): Likewise.
21454 (fchown): Likewise.
21455 (ftruncate): Likewise.
21456 (getrusage): Likewise.
21457 (gettimeofday): Likewise.
21458 (setpgid): Likewise.
21459 (setregid): Likewise.
21460 (setreuid): Likewise.
21461 (sigaction): Likewise.
21462 (truncate): Likewise.
21463 (vhangup): Likewise.
21464 * sysdeps/unix/common/syscalls.list: Remove file.
21465 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21466 * sysdeps/unix/sysv/linux/Implies: Likewise.
21468 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21470 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21472 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21476 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21479 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21482 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21485 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21488 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21491 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21498 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21502 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21505 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21509 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21513 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21515 * sysdeps/unix/common/bits/dirent.h: Remove file.
21516 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21518 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21519 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21520 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21521 * sysdeps/unix/bsd/isatty.c: Likewise.
21522 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21523 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21524 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21526 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21530 long double comparison inaccuracies.
21531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21534 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21536 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21539 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21543 nonzero digits before rounding a hex value.
21544 * stdlib/tst-strtod.c (tests): Add another test.
21546 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21548 * sysdeps/s390/fpu/libm-test-ulps: Update.
21550 2012-05-03 Andreas Jaeger <aj@suse.de>
21552 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21553 does not get optimized out.
21554 (malloc_opt_barrier): New.
21556 2012-05-03 Andreas Jaeger <aj@suse.de>
21557 Roland McGrath <roland@hack.frob.com>
21559 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21560 intermediate file deletion.
21561 (generated): Add .symlist files.
21563 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21566 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21567 Redirect under this condition.
21568 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21569 [__USE_GNU] (__dprintf_chk): Not under this condition.
21570 [__USE_GNU] (__vdprintf_chk): Likewise.
21571 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21572 under this condition.
21573 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21574 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21575 [__USE_XOPEN2K8] (vdprintf): Likewise.
21576 [__USE_GNU] (__dprintf_chk): Not under this condition.
21577 [__USE_GNU] (__vdprintf_chk): Likewise.
21578 [__USE_GNU] (dprintf): Likewise.
21579 [__USE_GNU] (vdprintf): Likewise.
21581 2012-05-03 Roland McGrath <roland@hack.frob.com>
21583 * elf/Makefile (common-generated): Set this instead of generated for
21584 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21585 $(all-built-dso)-derived lists.
21587 2012-05-03 Andreas Jaeger <aj@suse.de>
21589 * sysdeps/i386/fpu/libm-test-ulps: Update.
21592 * FAQ.in: Likewise.
21593 * scripts/gen-FAQ.pl: Likewise.
21594 * manual/install.texi (Installation): Point to online location of
21596 * Makefile (files-for-dist): Remove FAQ.
21599 2012-05-02 Allan McRae <allan@archlinux.org>
21601 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21602 (LDFLAGS-reldepmod5.so): Likewise.
21603 (LDFLAGS-reldep6mod1.so): Likewise.
21604 (LDFLAGS-reldep6mod4.so): Likewise.
21605 (LDFLAGS-reldep8mod3.so): Likewise.
21606 (LDFLAGS-unload4mod1.so): Likewise.
21607 (LDFLAGS-unload4mod2.so): Likewise.
21608 (LDFLAGS-tst-initorder): Likewise.
21609 (LDFLAGS-tst-initordera2.so): Likewise.
21610 (LDFLAGS-tst-initordera3.so): Likewise.
21611 (LDFLAGS-tst-initordera4.so): Likewise.
21612 (LDFLAGS-tst-initorderb2.so): Likewise.
21613 (LDFLAGS-noload): Likewise.
21614 (LDFLAGS-next): Likewise.
21615 (LDFLAGS-order2mod1.so): Likewise.
21616 (LDFLAGS-order2mod2.so): Likewise.
21617 (LDFLAGS-tst-initorder2): Likewise.
21618 (LDFLAGS-tst-initorder2a.so): Likewise.
21619 (LDFLAGS-tst-initorder2b.so): Likewise.
21620 (LDFLAGS-tst-initorder2c.so): Likewise.
21621 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21623 2012-05-02 David S. Miller <davem@davemloft.net>
21625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21627 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21630 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21632 2012-05-02 Andreas Jaeger <aj@suse.de>
21634 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21635 since we manipulate rounding mode.
21636 (CPPFLAGS-test-idouble.c): Likewise.
21637 (CPPFLAGS-test-ifloat.c): Likewise.
21638 (CFLAGS-test-ldouble.c): Likewise.
21639 (CFLAGS-test-double.c): Likewise.
21640 (CFLAGS-test-float.c): Likewise.
21641 (CFLAGS-test-misc.c): Likewise.
21642 (CFLAGS-test-test-fenv.c): Likewise.
21644 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21649 comparisons to determine direction to adjust input.
21651 2012-05-01 Roland McGrath <roland@hack.frob.com>
21653 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21654 output to the target.
21656 * scripts/localplt.awk: New file.
21657 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21658 (check-localplt-CFLAGS): Variable removed.
21659 ($(all-built-dso:=.jmprel)): New static pattern rule.
21660 (generated): Add those targets.
21661 (localplt-built-dso): New variable.
21662 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21664 * elf/check-localplt.c: File removed.
21666 * scripts/check-execstack.awk: New file.
21667 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21668 (check-execstack-CFLAGS): Variable removed.
21669 ($(objpfx)check-execstack.h): Target removed.
21670 ($(objpfx)execstack-default): New target.
21671 (generated): Add that instead of check-execstack.h.
21672 ($(all-built-dso:=.phdr)): New static pattern rule.
21673 (generated): Add those targets.
21674 * elf/check-execstack.c: File removed.
21676 * scripts/check-textrel.awk: New file.
21677 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21678 (check-textrel-CFLAGS): Variable removed.
21679 (all-built-dso): Use := to define.o
21680 ($(all-built-dso:=.dyn)): New static pattern rule.
21681 (generated): Add those targets.
21682 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21683 * config.make.in (READELF): New substituted variable.
21684 * elf/check-textrel.c: File removed.
21686 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21688 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21690 * conform/data/ctype.h-data [C99-based standards] (isblank):
21692 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21693 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21695 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21696 Specify type. Require positive value.
21697 (EILSEQ): Likewise.
21698 (ERANGE): Likewise.
21699 [ISO || POSIX] (EILSEQ): Do not expect.
21700 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21701 Specify type. Require positive value.
21702 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21703 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21704 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21705 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21706 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21707 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21708 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21709 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21710 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21711 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21712 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21713 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21714 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21715 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21716 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21717 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21718 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21719 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21720 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21721 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21722 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21723 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21724 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21725 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21726 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21727 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21728 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21729 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21730 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21731 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21732 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21733 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21734 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21735 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21736 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21737 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21738 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21739 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21744 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21745 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21746 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21747 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21748 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21749 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21750 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21751 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21752 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21753 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21754 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21755 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21756 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21757 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21758 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21759 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21760 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21761 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21762 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21763 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21764 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21765 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21766 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21767 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21768 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21769 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21770 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21771 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21772 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21773 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21774 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21775 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21776 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21777 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21778 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21780 (FLT_ROUNDS): Expect as macro, not constant.
21781 (FLT_MANT_DIG): Use macro-int-constant.
21782 (DBL_MANT_DIG): Likewise.
21783 (LDBL_MANT_DIG): Likewise.
21784 (FLT_DIG): Likewise.
21785 (DBL_DIG): Likewise.
21786 (LDBL_DIG): Likewise.
21787 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21788 (DBL_MIN_EXP): Likewise.
21789 (LDBL_MIN_EXP): Likewise.
21790 (FLT_MAX_EXP): Use macro-int-constant.
21791 (DBL_MAX_EXP): Likewise.
21792 (LDBL_MAX_EXP): Likewise.
21793 (FLT_MAX_10_EXP): Likewise.
21794 (DBL_MAX_10_EXP): Likewise.
21795 (LDBL_MAX_10_EXP): Likewise.
21796 (FLT_MAX): Use macro-constant.
21797 (DBL_MAX): Likewise.
21798 (LDBL_MAX): Likewise.
21799 (FLT_EPSILON): Use macro-constant. Give upper bound.
21800 (DBL_EPSILON): Likewise.
21801 (LDBL_EPSILON): Likewise.
21802 (FLT_MIN): Likewise.
21803 (DBL_MIN): Likewise.
21804 (LDBL_MIN): Likewise.
21805 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21806 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21807 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21808 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21809 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21810 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21811 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21812 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21813 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21814 [ISO11] (FLT_TRUE_MIN): Likewise.
21815 [ISO11] (LDBL_TRUE_MIN): Likewise.
21816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21817 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21818 (SCHAR_MIN): Use macro-int-constant. Specify type.
21819 (SCHAR_MAX): Likewise.
21820 (UCHAR_MAX): Likewise.
21821 (CHAR_MIN): Likewise.
21822 (CHAR_MAX): Likewise.
21823 (MB_LEN_MAX): Use macro-int-constant.
21824 (SHRT_MIN): Use macro-int-constant. Specify type.
21825 (SHRT_MAX): Likewise.
21826 (USHRT_MAX): Likewise.
21827 (INT_MAX): Likewise.
21828 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21830 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21832 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21834 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21835 bound negative. Suffix upper bound with "L".
21836 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21838 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21840 [C99-based standards] (LLONG_MAX): Likewise.
21841 [C99-based standards] (ULLONG_MAX): Likewise.
21842 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21844 [ISO11] (max_align_t): Require type.
21845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21847 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21848 from $CFLAGS, without defining away __attribute__ calls.
21849 (checknamespace): Use $CFLAGS_namespace.
21851 * conform/conformtest.pl (@keywords): Only include C99 keywords
21852 for standards based on C99 or C11.
21854 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21856 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21859 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21860 usability of symbols in #if.
21862 * conform/conformtest.pl: If macro or constant types start
21863 "promoted:", expect the symbol to be of the following type
21864 promoted by the integer promotions.
21866 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21867 in one place. Also handle "macro-constant".
21869 * conform/conformtest.pl: Only accept expected macro values with
21870 "==". Parse all "macro" lines in one place.
21871 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21873 * conform/conformtest.pl: Handle braced types on "constant" lines
21874 instead of handling "typed-constant".
21875 * conform/data/signal.h-data: Use "constant" instead of
21878 * conform/conformtest.pl: Handle "optional-" at start of lines in
21879 one place rather than duplicating several cases. Handle each
21880 format of "macro" line with initial "optional-".
21882 * conform/conformtest.pl: Only accept expected constant or
21883 optional-constant values with "==". Parse all "constant" lines in
21884 one place. Parse all "optional-constant" lines in one place.
21885 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21886 * conform/data/fmtmsg.h-data: Likewise.
21887 * conform/data/netinet/in.h-data: Likewise.
21888 * conform/data/tar.h-data: Likewise.
21889 * conform/data/limits.h-data: Use "==" form on "constant" and
21890 "optional-constant" lines.
21892 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21893 Use -std=c99 for XOPEN2K.
21894 (@knownproblems): Remove.
21895 (newtoken): Don't check %isknown.
21897 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21898 Do not expect macro.
21899 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21900 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21901 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21902 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21903 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21904 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21905 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21906 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21907 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21908 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21909 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21910 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21911 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21912 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21913 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21914 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21915 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21916 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21917 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21918 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21919 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21920 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21921 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21923 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21924 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21925 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21926 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21927 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21928 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21929 [XPG3] (acosh): Likewise.
21930 [XPG3] (asinh): Likewise.
21931 [XPG3] (atanh): Likewise.
21932 [XPG3] (cbrt): Likewise.
21933 [XPG3] (expm1): Likewise.
21934 [XPG3] (ilogb): Likewise.
21935 [XPG3] (log1p): Likewise.
21936 [XPG3] (logb): Likewise.
21937 [XPG3] (nextafter): Likewise.
21938 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21939 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21940 [XPG3] (remainder): Likewise.
21941 [XPG3] (rint): Likewise.
21942 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21943 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21944 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21945 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21946 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21947 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21948 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21949 [UNIX98 || XOPEN2K] (scalb): Expect.
21950 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21951 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21952 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21953 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21954 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21955 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21956 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21957 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21958 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21959 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21960 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21961 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21962 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21963 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21964 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21965 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21966 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21967 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21968 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21969 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21970 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21971 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21972 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21973 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21974 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21975 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21976 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21977 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21978 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21979 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21980 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21981 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21982 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21983 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21984 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21985 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21986 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21987 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21988 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21989 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21990 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21991 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21992 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21993 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21994 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21995 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21996 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21997 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21998 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21999 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22000 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22001 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22002 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22003 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22004 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22005 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22006 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22007 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22008 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22009 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22010 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22011 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22012 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22013 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22014 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22015 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22016 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22017 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22018 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22019 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22020 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22021 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22022 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22023 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22024 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22025 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22026 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22027 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22028 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22029 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22030 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22031 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22032 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22033 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22034 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22035 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22036 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22037 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22038 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22039 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22040 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22041 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22042 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22043 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22044 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22045 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22046 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22047 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22048 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22049 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22050 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22051 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22052 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22053 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22054 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22055 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22057 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22058 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22059 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22060 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22061 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22062 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22063 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22064 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22065 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22066 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22067 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22068 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22075 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22076 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22080 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22081 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22084 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22085 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22086 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22088 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22089 _XOPEN_SOURCE_EXTENDED for XPG4.
22091 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22093 * Makeconfig (localtime): Remove variable.
22094 (inst_localtime-file): Likewise.
22096 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22117 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22121 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22122 comparisons to determine direction to adjust input.
22123 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22124 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22127 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22131 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22132 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22134 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22136 * math/libm-test.inc (nexttoward_test): Add more tests.
22138 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22142 in version GLIBC_2.1, not GLIBC_2.0.
22143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22146 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22149 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22151 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22152 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22153 * math/libm-test.inc (acos_test): Add more tests.
22154 (asin_test): Likewise.
22155 * sysdeps/i386/fpu/libm-test-ulps: Update.
22156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22159 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22161 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22162 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22163 * math/libm-test.inc (acos_test_tonearest): New function.
22164 (acos_test_towardzero): Likewise.
22165 (acos_test_downward): Likewise.
22166 (acos_test_upward): Likewise.
22167 (asin_test_tonearest): Likewise.
22168 (asin_test_towardzero): Likewise.
22169 (asin_test_downward): Likewise.
22170 (asin_test_upward): Likewise.
22171 (main): Call the new functions.
22172 * sysdeps/i386/fpu/libm-test-ulps: Update.
22173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22177 * math/e_exp10.c: Include <float.h>.
22178 (__ieee754_exp10): Handle underflow here rather than multiplying
22179 large negative argument by M_LN10.
22180 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22182 * math/e_exp10l.c: Include <float.h>.
22183 (__ieee754_exp10l): Handle underflow here rather than multiplying
22184 large negative argument by M_LN10l.
22185 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22186 spurious overflow exception on underflow.
22188 2012-04-29 Marek Polacek <polacek@redhat.com>
22190 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22191 (__fortify_function): New macro.
22192 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22193 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22194 __extern_always_inline.
22195 * libio/bits/stdio2.h: Likewise.
22196 * libio/bits/stdio.h: Likewise.
22197 * string/string.h: Likewise.
22198 * string/bits/string3.h: Likewise.
22199 * include/stdio.h: Likewise.
22200 * stdlib/bits/stdlib.h: Likewise.
22201 * stdlib/stdlib.h: Likewise.
22202 * rt/bits/mqueue2.h: Likewise.
22203 * rt/mqueue.h: Likewise.
22204 * posix/bits/unistd.h: Likewise.
22205 * posix/unistd.h: Likewise.
22206 * io/bits/poll2.h: Likewise.
22207 * io/bits/fcntl2.h: Likewise.
22208 * io/fcntl.h: Likewise.
22209 * io/sys/poll.h: Likewise.
22210 * misc/bits/syslog.h: Likewise.
22211 * misc/bits/syslog-ldbl.h: Likewise.
22212 * misc/sys/syslog.h: Likewise.
22213 * socket/bits/socket2.h: Likewise.
22214 * socket/sys/socket.h: Likewise.
22215 * debug/tst-chk1.c: Likewise.
22216 * wcsmbs/bits/wchar2.h: Likewise.
22217 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22218 * wcsmbs/wchar.h: Likewise.
22220 2012-04-29 Andreas Jaeger <aj@suse.de>
22222 * Makerules (tests): Remove enable-check-abi protection.
22223 (check-abi-warn): Remove.
22224 (check-abi-%): Remove check-abi-warn usage.
22226 * configure.in: Remove check-abi configure option.
22227 * configure: Regenerated.
22228 * config.make.in (enable-check-abi): Remove.
22230 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22233 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22234 double functions to double *_finite functions.
22237 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22238 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22240 * stdio-common/Makefile (tests): Add tst-sprintf3.
22241 * stdio-common/tst-sprintf3.c: New file.
22243 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22244 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22246 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22248 * conform/conformtest.pl: Remove duplicate typed-constant
22251 2012-04-28 David S. Miller <davem@davemloft.net>
22253 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22254 (check-abi-%): Remove AWK script prerequisite and explicit
22256 (check-abi): Rewrite to just diff the symlist with the abilist.
22257 (config-tls, config-abi-config): Delete, no longer used.
22258 (update-abi-%): Remove AWK script and explicit abilist directory.
22259 (update-abi): Rewrite to simply compare and conditionally copy the
22260 symlist and the sysdep abilist file. Remove update-abi-config
22262 * abilist/ld.abilist: Remove.
22263 * abilist/libBrokenLocale.abilist: Remove.
22264 * abilist/libanl.abilist: Remove.
22265 * abilist/libcrypt.abilist: Remove.
22266 * abilist/libdl.abilist: Remove.
22267 * abilist/librt.abilist: Remove.
22268 * abilist/libthread_db.abilist: Remove.
22269 * abilist/libutil.abilist: Remove.
22270 * scripts/extract-abilist.awk: Remove.
22271 * scripts/merge-abilist.awk: Remove.
22272 * sysdeps/generic/libcidn.abilist: New file.
22273 * sysdeps/generic/libnss_compat.abilist: New file.
22274 * sysdeps/generic/libnss_db.abilist: New file.
22275 * sysdeps/generic/libnss_dns.abilist: New file.
22276 * sysdeps/generic/libnss_files.abilist: New file.
22277 * sysdeps/generic/libnss_hesiod.abilist: New file.
22278 * sysdeps/generic/libnss_nis.abilist: New file.
22279 * sysdeps/generic/libnss_nisplus.abilist: New file.
22280 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22281 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22282 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22284 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22285 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22286 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22287 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22288 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22289 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22290 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22291 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22292 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22294 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22295 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22296 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22297 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22299 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22300 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22301 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22302 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22303 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22304 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22306 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22307 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22308 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22310 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22413 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22414 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22415 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22418 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22419 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22420 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22421 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22422 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22423 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22424 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22425 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22426 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22478 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22480 * conform/conformtest.pl: Fix typo in handling typed-constant from
22483 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22485 * README: Cut down references to pre-2.6 Linux kernels and
22486 Linuxthreads. Update lists of configurations in libc and ports
22487 and sort alphabetically. Say "or newer" with Linux kernel version
22490 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22492 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22495 * math/libm-test.inc (logb_test_downward): New test to expose
22496 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22499 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22502 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22504 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22505 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22507 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22509 * sysdeps/unix/i386/brk.S: Remove file.
22510 * sysdeps/unix/i386/dl-brk.S: Likewise.
22511 * sysdeps/unix/i386/pipe.S: Likewise.
22512 * sysdeps/unix/i386/sigreturn.S: Likewise.
22513 * sysdeps/unix/i386/syscall.S: Likewise.
22514 * sysdeps/unix/i386/vfork.S: Likewise.
22515 * sysdeps/unix/i386/wait.S: Likewise.
22517 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22518 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22520 * configure.in (arm*-none*): Do not allow without
22521 --enable-hacker-mode.
22522 (netbsd*): Remove case setting base_os.
22523 (386bsd*): Likewise.
22524 (freebsd*): Likewise.
22527 (sunos*): Likewise.
22528 (ultrix*): Likewise.
22529 (newsos*): Likewise.
22530 (dynix*): Likewise.
22536 (minix*): Likewise.
22537 (irix4*): Likewise.
22538 (irix6*): Likewise.
22539 (solaris[2-9]*): Likewise.
22541 * configure: Regenerated.
22543 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22546 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22547 overflow or cancellation in calculating denominator.
22548 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22550 down expression to avoid unexpected rounding in newer GCCs.
22551 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22553 2012-04-26 David S. Miller <davem@davemloft.net>
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22556 long-double compat symbols.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22571 2012-04-25 David S. Miller <davem@davemloft.net>
22573 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22574 HWCAP_* values only after the memory barriers have been defined.
22575 (atomic_full_barrier): Define.
22576 (atomic_read_barrier): Define.
22577 (atomic_write_barrier): Define.
22579 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22581 * shlib-versions: Add libgcc_s version information.
22582 * sysdeps/generic/libgcc_s.h: Remove.
22583 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22585 * sysdeps/gnu/unwind-resume.c: Likewise.
22586 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22588 2012-04-25 David S. Miller <davem@davemloft.net>
22590 * sysdeps/unix/sparc/brk.S: Delete.
22591 * sysdeps/unix/sparc/dl-brk.S: Delete.
22592 * sysdeps/unix/sparc/pipe.S: Delete.
22593 * sysdeps/unix/sparc/sysdep.S: Delete.
22594 * sysdeps/unix/sparc/sysdep.h: Delete.
22595 * sysdeps/unix/sparc/vfork.S: Delete.
22596 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22597 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22599 ret_ERRVAL, r0, r1, MOVE): Define.
22600 (JUMPTARGET): Remove.
22601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22602 sysdeps/unix/sparc/sysdep.h
22603 (ENTRY, END): Remove.
22604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22606 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22608 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22609 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22612 * timezone/README: Update upstream location and email address for
22614 * timezone/zdump.c: Update from tzcode 2012b.
22615 * timezone/zic.c: Likewise.
22617 * configure.in (libc_cv_as_needed): Remove test.
22618 * configure: Regenerated.
22619 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22620 conditional definition.
22621 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22622 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22623 * config.make.in (have-as-needed): Remove variable.
22625 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22626 Paul Pluzhnikov <ppluzhnikov@google.com>
22628 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22631 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22633 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22634 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22635 * sysdeps/sh/strlen.S: Likewise.
22637 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22639 * sysdeps/unix/fork.S: Remove file.
22640 * sysdeps/unix/i386/fork.S: Likewise.
22641 * sysdeps/unix/sparc/fork.S: Likewise.
22643 * sysdeps/unix/system.c: Remove file.
22644 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22646 * sysdeps/unix/getegid.S: Remove file.
22647 * sysdeps/unix/geteuid.S: Likewise.
22649 2012-04-24 Roland McGrath <roland@hack.frob.com>
22651 * scripts/check-localplt.awk: New file.
22652 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22654 * scripts/data/localplt-generic.data: Add a comment.
22656 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22657 NODE when __dir_mkfile failed.
22658 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22659 Reported by Ludovic Courtès <ludo@gnu.org>.
22661 2012-04-24 Andreas Jaeger <aj@suse.de>
22663 * Makerules (common-clean): Also remove gen-as-const-headers
22666 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22668 * Makerules (native-compile): Do not change working directory for
22669 build. Use $(OUTPUT_OPTION) in command.
22670 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22672 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22675 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22676 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22677 * math/libm-test.inc (floor_test): Add more tests.
22678 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22680 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22682 * sysdeps/unix/getdents.c: Remove file.
22683 * sysdeps/unix/sysv/getdents.c: Likewise.
22684 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22686 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22687 sysdeps/unix/mman/syscalls.list.
22689 (mprotect): Likewise.
22691 (munmap): Likewise.
22692 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22693 * sysdeps/unix/mman/syscalls.list: Remove.
22694 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22696 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22697 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22698 * configure: Regenerated.
22699 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22700 $(libgcc_s_suffix).
22701 * config.make.in (libgcc_s_suffix): Remove variable.
22703 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22705 * sysdeps/unix/sysv/gethostname.c: Move to ...
22706 * sysdeps/posix/gethostname.c: ... here.
22708 * sysdeps/unix/execve.S: Remove file.
22710 * sysdeps/unix/_exit.S: Remove file.
22712 2012-04-23 Andreas Jaeger <aj@suse.de>
22715 * manual/Makefile: Remove make dist support, there's no
22716 need for a stand-alone documentation tar ball.
22717 (TEXI2DVI): Define always, it's not in Makeconfig.
22720 (edition): Removed.
22721 (glibc-doc-$(edition).tar): Removed
22725 (ETAGS): Remove, it's in Makeconfig.
22726 (move-if-change): Remove, it's in Makeconfig.
22728 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22731 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22732 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22733 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22734 (strtod_l, strtof_l, strtold_l): Remove __wur.
22735 It is not necessarily an error to ignore strtol's return value.
22736 One can reliably look at the stored endptr to decide whether
22737 the number had valid syntax.
22739 2012-04-21 Andreas Jaeger <aj@suse.de>
22742 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22744 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22747 * sysdeps/unix/sysv/Versions: Remove file.
22749 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22754 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22758 version from __vm86.
22760 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22762 * sysdeps/unix/common/lxstat.c: Remove file.
22763 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22765 * sysdeps/unix/sysv/Makefile: Remove file.
22767 * sysdeps/unix/sysv/direct.h: Remove file.
22769 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22770 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22771 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22772 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22773 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22774 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22775 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22777 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22779 * sysdeps/unix/xmknod.c: Remove file.
22780 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22782 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22784 * sysdeps/unix/sysv/i386/time.S: Remove file.
22786 * sysdeps/unix/fxstat.c: Remove file.
22787 * sysdeps/unix/xstat.c: Likewise.
22788 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22790 * sysdeps/unix/sysv/sigaction.c: Remove file.
22792 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22793 (sysdep_headers): Remove variable.
22794 [termio.h not in sysdep_headers] (generated): Likewise.
22795 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22796 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22797 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22798 * sysdeps/unix/sysv/tcflow.c: Likewise.
22799 * sysdeps/unix/sysv/tcflush.c: Likewise.
22800 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22801 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22802 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22803 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22804 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22806 * sysdeps/unix/siglist.c: Remove file.
22808 * sysdeps/unix/getppid.S: Remove file.
22810 * sysdeps/unix/mkdir.c: Remove file.
22811 * sysdeps/unix/rmdir.c: Likewise.
22813 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22815 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22817 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22818 errlist-compat value.
22820 2012-04-18 David S. Miller <davem@davemloft.net>
22822 * sysdeps/generic/memcopy.h (reg_char): Delete.
22823 * debug/strcat_chk.c: Use char, not reg_char.
22824 * debug/strcpy_chk.c: Likewise.
22825 * debug/strncat_chk.c: Likewise.
22826 * debug/strncpy_chk.c: Likewise.
22827 * string/memchr.c: Likewise.
22828 * string/memrchr.c: Likewise.
22829 * string/rawmemchr.c: Likewise.
22830 * string/strcat.c: Likewise.
22831 * string/strchr.c: Likewise.
22832 * string/strchrnul.c: Likewise.
22833 * string/strcmp.c: Likewise.
22834 * string/strcpy.c: Likewise.
22835 * string/strncat.c: Likewise.
22836 * string/strncmp.c: Likewise.
22837 * string/strncpy.c: Likewise.
22839 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22841 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22842 __builtin_memcopy is called when src and dest ranges are known to not
22845 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22847 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22848 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22849 fwd_align_merge macro call.
22850 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22851 bwd_align_merge macro call.
22852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22854 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22856 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22857 bwd_align_merge macros.
22858 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22859 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22862 2012-04-18 David S. Miller <davem@davemloft.net>
22864 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22866 2012-04-18 Andreas Jaeger <aj@suse.de>
22869 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22870 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22871 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22873 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22874 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22877 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22878 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22879 Adjust for changed ldbl-128 files.
22881 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22882 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22885 2012-04-17 David S. Miller <davem@davemloft.net>
22887 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22889 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22891 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22892 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22893 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22894 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22895 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22896 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22898 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22901 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22902 * math/libm-test.inc: Add ilogb errno and exception tests.
22903 * math/w_ilogb.c: New file: ilogb wrapper.
22904 * math/w_ilogbf.c: New file: ilogbf wrapper.
22905 * math/w_ilogbl.c: New file: ilogbl wrapper.
22906 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22907 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22908 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22909 exception being thrown with 0.0 as argument.
22910 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22911 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22912 exception being thrown with 0.0 as argument.
22913 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22914 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22915 exception being thrown with 0.0 as argument.
22916 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22917 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22918 exception being thrown with 0.0 as argument.
22919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22920 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22921 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22922 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22924 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22925 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22926 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22927 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22929 2012-04-17 Petr Baudis <pasky@ucw.cz>
22931 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22934 2012-04-16 Marek Polacek <polacek@redhat.com>
22936 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22938 2012-04-16 Marek Polacek <polacek@redhat.com>
22940 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22941 operands of fdivp instruction.
22943 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22945 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22946 * elf/tst-auditmod3b.c: Likewise.
22947 * elf/tst-auditmod4b.c: Likewise.
22948 * elf/tst-auditmod5b.c: Likewise.
22949 * elf/tst-auditmod6b.c: Likewise.
22950 * elf/tst-auditmod6c.c: Likewise.
22951 * elf/tst-auditmod7b.c: Likewise.
22952 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22953 * sysdeps/x86_64/preconfigure.in: Likewise.
22954 * sysdeps/x86_64/preconfigure: Regenerated.
22956 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22958 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22961 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22964 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22966 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22969 * locale/iso-639.def: Fix gl language name. Spotted by
22972 2012-04-12 Roland McGrath <roland@hack.frob.com>
22975 * libio/libio.h (__io_write_fn): Update comment.
22977 2012-04-12 Petr Baudis <pasky@ucw.cz>
22980 * stdio.texi (Hook Functions): The user provided writer function
22981 is not allowed to return -1.
22983 2012-04-11 David S. Miller <davem@davemloft.net>
22985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22987 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22989 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22990 Add a leading slash to rtkaio.
22992 2012-04-11 Jim Meyering <meyering@redhat.com>
22995 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22996 It is not necessarily an error to ignore fwrite's return
22997 value. One can reliably use ferror to test for errors after
23000 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23002 * bits/types.h (__snseconds_t): New type.
23003 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23005 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23007 (__SNSECONDS_T_TYPE): Likewise.
23008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23009 (__SNSECONDS_T_TYPE): Likewise.
23010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23011 (__SNSECONDS_T_TYPE): Likewise.
23013 2012-04-10 Andreas Jaeger <aj@suse.de>
23016 * manual/time.texi (Processor Time): Return type of times is
23017 elapsed real time since an arbitrary point in the past.
23018 (CPU Time): Move CLK_TCK from here...
23019 (Processor Time): ...to here. Correct description.
23020 * manual/conf.texi (Constants for Sysconf): Correct description of
23023 2012-04-10 David S. Miller <davem@davemloft.net>
23026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23027 where the is a gap between DT_REL(A) and DT_JMPREL.
23029 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23031 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23032 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23033 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23035 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23037 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23038 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23039 (dl_main): Handle --inhibit-cache.
23040 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23042 * elf/dl-load.c (_dl_map_object): Use it.
23043 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23045 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23048 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23049 (__ieee754_powl): Saturate large exponents rather than testing for
23050 overflow of y*log2(x).
23051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23052 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23056 * math/s_ctan.c: Include <float.h>.
23057 (__ctan): Avoid internal overflow or cancellation in calculating
23059 * math/s_ctanf.c: Likewise.
23060 * math/s_ctanl.c: Likewise.
23061 * math/s_ctanh.c: Likewise.
23062 * math/s_ctanhf.c: Likewise.
23063 * math/s_ctanhl.c: Likewise.
23064 * math/libm-test.inc (ctan_test): Add more tests.
23065 (ctanh_test): Likewise.
23066 * sysdeps/i386/fpu/libm-test-ulps: Update.
23067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23069 2012-04-09 Andreas Jaeger <aj@suse.de>
23072 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23073 is an optional BSD extension.
23076 * manual/stdio.texi (Opening Streams): Document additional fopen
23079 2012-04-09 Roland McGrath <roland@hack.frob.com>
23081 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23082 %eax without telling the compiler.
23084 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23087 * manual/install.texi: Use sourceware.org.
23089 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23092 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23093 (__ieee754_pow): Generate overflow and underflow using huge*huge
23094 and tiny*tiny rather than just returning constant infinity or zero
23095 for large exponents.
23096 * math/libm-test.inc (pow_test): Require overflow exceptions for
23097 applicable cases of large exponents.
23100 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23101 (__ieee754_pow): Use iterative multiplication algorithm only for
23102 integer exponents with absolute value below 1024. Check for odd
23103 integer exponents when using algorithm for real exponents.
23104 * math/libm-test.inc (pow_test): Add more tests.
23105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23107 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23110 * math/libm-test.inc (exp_test): Do not allow overflow exception
23113 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23116 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23117 instead of __kernel_standard_f.
23119 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23121 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23122 * sysdeps/x86_64/memset_chk.S: Likewise.
23124 2012-04-08 Andreas Jaeger <aj@suse.de>
23127 * manual/startup.texi (Environment Access): Describe return value
23128 for putenv and setenv.
23131 * manual/filesys.texi (Directory Entries): Add description for
23135 * manual/filesys.texi (Directory Entries): Clarify that it's file
23136 system not operating system in the description of DT_UNKNOWN.
23139 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23141 2012-04-08 Stephen Compall <s11@member.fsf.org>
23144 * manual/llio.texi (Opening and Closing Files): Add cross
23145 reference to explain mode argument.
23147 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23149 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23150 * sysdeps/x86_64/memset_chk.S: Likewise.
23152 2012-04-07 David S. Miller <davem@davemloft.net>
23154 * elf/elf.h (R_SPARC_WDISP10): Define.
23155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23158 R_SPARC_SIZE64 and R_SPARC_H34.
23160 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23163 conditions and remove no longer applicable assertion.
23165 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23167 * bits/byteswap.h: Include <features.h>.
23168 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23169 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23171 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23173 * bits/byteswap.h (__bswap_16): Removed.
23174 Include <bits/byteswap-16.h> to get __bswap_16.
23175 * sysdeps/i386/bits/byteswap.h: Likewise.
23176 * sysdeps/s390/bits/byteswap.h: Likewise.
23177 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23178 * bits/byteswap-16.h: New file.
23179 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23180 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23181 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23182 * string/Makefile (headers): Add bits/byteswap-16.h.
23184 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23187 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23189 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23190 * nss/tst-nss-static.c: New.
23192 2012-04-06 Robert Millan <rmh@gnu.org>
23195 * manual/llio.texi (File Position Primitive): lseek
23196 refers to WHENCE when it really means OFFSET.
23198 2012-04-06 Andreas Jaeger <aj@suse.de>
23200 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23201 strncmp declarations.
23203 * abilist/libc.abilist: Add __poll and __ppoll.
23205 2012-04-05 David S. Miller <davem@davemloft.net>
23207 * scripts/check-local-headers.sh: Accept a host triplet in the
23208 path matched by the exclude regexp.
23210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23212 * sysdeps/powerpc/powerpc32/dl-machine.h
23213 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23214 * sysdeps/s390/s390-32/dl-machine.h
23215 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23216 * sysdeps/sparc/sparc32/dl-machine.h
23217 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23218 * sysdeps/sparc/sparc64/dl-machine.h
23219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23221 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23223 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23224 undefined symbol errors.
23226 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23229 2012-04-05 Michael Matz <matz@suse.de>
23232 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23234 2012-04-05 Andreas Jaeger <aj@suse.de>
23237 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23240 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23243 which ROUND is no valid rounding mode.
23245 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23247 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23249 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23251 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23253 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23254 an exception using FPU order intentionally.
23256 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23258 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23259 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23260 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23261 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23263 2012-04-05 Simon Josefsson <simon@josefsson.org>
23266 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23267 EINVAL when BUFLEN is too smal.
23269 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23272 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23273 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23275 2012-04-03 Andreas Jaeger <aj@suse.de>
23278 * manual/setjmp.texi (System V contexts): Fix sentence.
23281 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23282 New macro for this case.
23283 [!__GNUC__] (__bswap_64): New inline function for this case.
23284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23285 * bits/byteswap.h: Likewise.
23286 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23287 ull, guard with __GLIBC_HAVE_LONG_LONG.
23289 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23290 __GLIBC_HAVE_LONG_LONG.
23292 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23293 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23295 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23298 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23299 inptr and inend, rather than using last_ch.
23301 2012-04-02 David S. Miller <davem@davemloft.net>
23303 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23304 * stdio-common/printf-parse.h (read_int): Change return type to
23305 'int', return -1 on INT_MAX overflow.
23306 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23307 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23308 overflows INT_MAX. Check for overflow of in-format-string precision
23309 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23310 SIZE_MAX not INT_MAX for integer overflow test.
23311 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23312 skip the construct in the format string but do not record anything.
23313 * stdio-common/bug22.c: Adjust to test both width/prevision
23314 INT_MAX overflow as well as total length INT_MAX overflow. Check
23315 explicitly for proper errno values.
23317 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23319 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23321 * string/test-strcmp.c [! WIDE]: Likewise.
23322 * time/tst-mktime2.c: Likewise for INT_MAX.
23323 * string/test-string.h: #include <sys/param.h> for MIN.
23325 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23326 * sysdeps/i386/init-first.c (init): Likewise.
23327 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23328 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23329 * sysdeps/sh/init-first.c (init): Likewise.
23331 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23333 * po/ru.po: Update from translation team.
23334 * po/vi.po: Likewise.
23336 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23338 * resolv/nss_dns/dns-host.c: Merge copyright years.
23340 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23343 Optimize memcpy with prefetch if
23344 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23345 src, dst pointers have unequal 16 byte alignments.
23347 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23350 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23351 from a CNAME entry and return the minimum ttl for the query.
23352 (gaih_getanswer_slice): Likewise.
23354 2012-03-30 Jeff Law <law@redhat.com>
23356 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23358 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23359 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23361 * resolv/nss_dns/dns-host.c: Update copyright year.
23363 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23365 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23366 requests to save a system call. Fix check that all bytes are sent.
23368 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23369 comments for sendmmsg.
23371 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23374 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23375 with only 1 character between 0x0041 and 0x01b0.
23376 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23377 * wcsmbs/tst-mbsnrtowcs.c: New file.
23379 2012-03-29 David S. Miller <davem@davemloft.net>
23381 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23382 small copies by hand.
23384 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23387 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23388 _nss_compat_initgroups_dyn): Fall back to malloc/free
23389 for large group memberships.
23391 2012-03-28 David S. Miller <davem@davemloft.net>
23393 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23394 that branches into memcpy.
23395 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23398 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23401 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23402 implementation too.
23403 * sysdeps/sparc/mempcpy.S: New file.
23405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23406 the IFUNC routine in the libc case.
23407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23409 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23410 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23411 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23412 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23413 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23414 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23415 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23416 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23418 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23419 loop to 256 bytes instead of 64 bytes and fix test signedness.
23421 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23422 * sysdeps/sparc/sparc32/Makefile: rather than here...
23423 * sysdeps/sparc/sparc64/Makefile: and here.
23425 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23427 * malloc/mallocbug.c: Avoid warnings about unused variables.
23429 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23432 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23433 in the right place. Discard and retry query if response is
23434 larger than input buffer size.
23436 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23442 x for large integer exponent.
23443 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23444 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23445 sign of result as needed afterwards.
23446 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23447 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23448 result for underflowing pow the same as for overflow.
23449 (__kernel_standard_l): Handle powl overflow and underflow here
23450 rather than calling __kernel_standard.
23451 * math/libm-test.inc (pow_test): Add more tests.
23466 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23467 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23468 (__kernel_standard_l): New function.
23469 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23471 * math/w_acosl.c (__acosl): Likewise.
23472 * math/w_asinl.c (__asinl): Likewise.
23473 * math/w_atan2l.c (__atan2l): Likewise.
23474 * math/w_atanhl.c (__atanhl): Likewise.
23475 * math/w_coshl.c (__coshl): Likewise.
23476 * math/w_exp10l.c (__exp10l): Likewise.
23477 * math/w_exp2l.c (__exp2l): Likewise.
23478 * math/w_fmodl.c (__fmodl): Likewise.
23479 * math/w_hypotl.c (__hypotl): Likewise.
23480 * math/w_j0l.c (__j0l, __y0l): Likewise.
23481 * math/w_j1l.c (__j1l, __y1l): Likewise.
23482 * math/w_jnl.c (__jnl, __ynl): Likewise.
23483 * math/w_lgammal.c (__lgammal): Likewise.
23484 * math/w_log10l.c (__log10l): Likewise.
23485 * math/w_log2l.c (__log2l): Likewise.
23486 * math/w_logl.c (__logl): Likewise.
23487 * math/w_powl.c (__powl): Likewise.
23488 * math/w_remainderl.c (__remainderl): Likewise.
23489 * math/w_scalbl.c (sysv_scalbl): Likewise.
23490 * math/w_sinhl.c (__sinhl): Likewise.
23491 * math/w_sqrtl.c (__sqrtl): Likewise.
23492 * math/w_tgammal.c (__tgammal): Likewise.
23493 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23494 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23495 * math/libm-test.inc (acos_test): Add more tests.
23496 (acosh_test): Likewise.
23497 (asin_test): Likewise.
23498 (atanh_test): Likewise.
23499 (exp_test): Likewise.
23500 (exp10_test): Likewise.
23501 (exp2_test): Likewise.
23502 (expm1_test): Likewise.
23503 (lgamma_test): Likewise.
23504 (log_test): Likewise.
23505 (log10_test): Likewise.
23506 (log1p_test): Likewise.
23507 (log2_test): Likewise.
23508 (pow_test): Do not allow some spurious overflow exceptions.
23509 (sqrt_test): Add more tests.
23510 (tgamma_test): Likewise.
23511 (y0_test): Likewise.
23512 (y1_test): Likewise.
23513 (yn_test): Likewise.
23515 2012-03-27 Anton Blanchard <anton@samba.org>
23517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23523 2012-03-27 David S. Miller <davem@davemloft.net>
23525 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23527 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23528 have-as-vis3 check.
23530 2012-03-27 Andreas Jaeger <aj@suse.de>
23532 * sysdeps/x86_64/elf/configure.in: Moved to ...
23533 * sysdeps/x86_64/configure.in: ... here.
23534 * sysdeps/x86_64/elf/start.S: Moved to ...
23535 * sysdeps/x86_64/start.S: ... here.
23536 * sysdeps/x86_64/elf/configure: Delete.
23538 * sysdeps/x86_64/configure.in: Merge contents from
23539 sysdeps/i386/configure.in (without i686 check).
23541 * sysdeps/i386/elf/Versions: Merge into ...
23542 * sysdeps/i386/Versions: ... this.
23543 * sysdeps/i386/elf/Versions: Delete file.
23544 * sysdeps/i386/elf/start.S: Moved to ...
23545 * sysdeps/i386/start.S: ...here.
23546 * sysdeps/i386/elf/configure.in: Merge into...
23547 * sysdeps/i386/configure.in: ...here.
23548 * sysdeps/i386/elf/configure.in: Delete file.
23549 * sysdeps/i386/elf/configure: Delete file.
23551 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23552 * debug/backtracesyms.c: ... here.
23553 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23554 * debug/backtracesymsfd.c: ... here.
23555 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23556 * sysdeps/generic/ifunc-sel.h: ... here.
23558 * sysdeps/unix/i386/start.c: Delete file.
23559 * sysdeps/unix/sparc/start.c: Delete file.
23560 * sysdeps/unix/start.c: Delete file.
23562 * sysdeps/sh/elf/configure.in: Moved to ...
23563 * sysdeps/sh/configure.in: ... here.
23564 * sysdeps/sh/elf/start.S: Moved to ...
23565 * sysdeps/sh/start.S: ... here.
23566 * sysdeps/sh/elf/configure: Delete file.
23568 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23569 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23570 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23571 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23572 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23573 * sysdeps/powerpc/powerpc64/start.S: here.
23574 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23575 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23576 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23577 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23578 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23580 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23581 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23582 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23583 * sysdeps/powerpc/powerpc32/start.S: ... here.
23584 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23585 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23586 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23588 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23589 * sysdeps/powerpc/ifunc-sel.h: ... here.
23590 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23591 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23593 * sysdeps/sparc/elf/configure.in: Moved to ...
23594 * sysdeps/sparc/configure.in: ... here.
23595 * sysdeps/sparc/elf/configure: Delete file.
23596 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23597 * sysdeps/sparc/sparc32/start.S: ... here.
23598 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23599 * sysdeps/sparc/sparc64/start.S: ... here.
23600 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23601 * sysdeps/sparc/sparc32/Makefile: ... this.
23602 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23603 * sysdeps/sparc/sparc64/Makefile: ... this.
23605 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23606 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23607 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23608 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23609 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23610 * sysdeps/s390/s390-32/setjmp.S: ... here.
23611 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23612 * sysdeps/s390/s390-32/configure.in: ... here.
23613 * sysdeps/s390/s390-32/elf/configure: Delete file.
23614 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23615 * sysdeps/s390/s390-32/start.S: ... here.
23617 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23618 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23619 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23620 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23621 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23622 * sysdeps/s390/s390-64/setjmp.S: ... here.
23623 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23624 * sysdeps/s390/s390-64/configure.in: ... here
23625 * sysdeps/s390/s390-64/elf/configure: Delete file.
23626 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23627 * sysdeps/s390/s390-64/start.S: ... here.
23628 * sysdeps/s390/s390-64/elf/configure: Delete.
23630 * configure.in: Remove support for elf directories in sysdeps.
23632 * configure: Regenerated.
23633 * sysdeps/i386/configure: Regenerated.
23634 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23635 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23636 * sysdeps/s390/s390-32/configure: Regenerated.
23637 * sysdeps/s390/s390-64/configure: Regenerated.
23638 * sysdeps/sh/configure: Regenerated.
23639 * sysdeps/sparc/configure: Regenerated.
23640 * sysdeps/x86_64/configure: Regenerated.
23642 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23646 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23647 denormal result into account.
23649 2012-03-25 Roland McGrath <roland@hack.frob.com>
23651 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23652 Reported by Allan McRae <allan@archlinux.org>.
23654 2012-03-23 Jeff Law <law@redhat.com>
23656 * nss/getnssent.c (__nss_getent): Fix typo.
23658 2012-03-23 David S. Miller <davem@davemloft.net>
23660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23662 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23664 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23665 to pad to uint64_t for each field.
23666 (dl_tls_index): Replace unsigned long with uint64_t.
23668 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23669 Paul Pluzhnikov <ppluzhnikov@google.com>
23672 * grp/Makefile (otherlibs): Don't set it.
23673 * inet/Makefile (otherlibs): Likewise.
23674 * login/Makefile (otherlibs): Likewise.
23675 * nscd/Makefile (otherlibs): Likewise.
23676 * posix/Makefile (otherlibs): Likewise.
23677 * pwd/Makefile (otherlibs): Likewise.
23678 * rt/Makefile (otherlibs): Likewise.
23679 * sunrpc/Makefile (otherlibs): Likewise.
23680 * nss/Makefile (otherlibs): Likewise.
23681 Add libnss_files to routines and static-only-routines.
23682 ($(objpfx)getent): Remove rule.
23683 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23684 static-only-routines.
23686 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23689 * math/s_cexp.c: Include <float.h>.
23690 (__cexp): Handle exp result overflowing not necessarily
23691 overflowing both real and imaginary parts of result.
23692 * math/s_cexpf.c: Likewise.
23693 * math/s_cexpl.c: Likewise.
23694 * math/libm-test.inc (cexp_test): Add more tests.
23695 * sysdeps/i386/fpu/libm-test-ulps: Update.
23696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23698 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23700 * include/link.h (ELFW): New macro.
23701 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23702 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23704 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23706 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23709 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23711 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23713 (struct La_x32_retval): Likewise.
23715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23717 * sysdeps/x86_64/preconfigure.in: New file.
23718 * sysdeps/x86_64/preconfigure: New generated file.
23720 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23723 * math/e_exp2l.c: Include <float.h>.
23724 (__ieee754_exp2l): Handle overflow and underflow cases
23725 separately. Only pass fractional part of argument to
23727 * math/libm-test.inc (exp2_test): Add more tests.
23729 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23730 negating x to take absolute value.
23731 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23736 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23737 computing low part if x was negated.
23738 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23740 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23742 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23743 la_x32_gnu_pltexit.
23744 (pltexit): Cast int_retval to ptrdiff_t.
23745 * elf/tst-auditmod3b.c: Likewise.
23746 * elf/tst-auditmod4b.c: Likewise.
23747 * elf/tst-auditmod5b.c: Likewise.
23748 * elf/tst-auditmod6b.c: Likewise.
23749 * elf/tst-auditmod6c.c: Likewise.
23750 * elf/tst-auditmod7b.c: Likewise.
23752 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23753 and x32_gnu_pltexit.
23755 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23756 __ELF_NATIVE_CLASS.
23757 (La_x32_regs): New macro.
23758 (La_x32_retval): Likewise.
23759 (la_x32_gnu_pltenter): New function prototype.
23760 (la_x32_gnu_pltexit): Likewise.
23762 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23769 * configure.in (libc_cv_cc_nofma): Check for option to disable
23770 generation of FMA instructions.
23771 * configure: Regenerate.
23772 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23773 * sysdeps/ieee754/dbl-64/Makefile: New file.
23774 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23775 Remove brandred-fma4.
23776 (CFLAGS-brandred-fma4.c): Remove.
23777 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23778 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23783 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23786 LLONG_MAX != LONG_MAX.
23787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23788 (_fitoa_word): Likewise.
23789 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23790 LLONG_MAX != LONG_MAX.
23791 * stdio-common/_itowa.h: Include <_itoa.h>.
23792 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23793 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23794 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23795 only if not defined.
23796 (_ITOA_WORD_TYPE): Likewise.
23797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23798 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23800 2012-03-21 David S. Miller <davem@davemloft.net>
23802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23804 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23806 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23807 of x86_64 when setting libc_cv_slibdir, libdir and
23809 * sysdeps/unix/sysv/linux/configure: Regenerated.
23811 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23813 * manual/lang.texi (Old Varargs): Remove section.
23814 (How Variadic): Update menu.
23815 (va_start): Do not mention varargs.h.
23817 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23818 Joseph Myers <joseph@codesourcery.com>
23820 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23822 * configure: Regenerated.
23824 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23826 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23827 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23830 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23833 * Makefile (files-for-dist): Remove NOTES.
23834 (NOTES): Remove rule.
23835 * README: Don't refer to NOTES.
23836 * manual/creature.texi: Don't include macros.texi.
23837 * manual/intro.texi (creature.texi): Remove comment referring to
23840 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23841 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23842 * configure: Regenerated.
23843 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23844 LIBC_TRY_CC_OPTION.
23845 (libc_cv_as_i686): Likewise.
23846 (libc_cv_cc_avx): Likewise.
23847 (libc_cv_cc_sse2avx): Likewise.
23848 (libc_cv_cc_fma4): Likewise.
23849 (libc_cv_cc_novzeroupper): Likewise.
23850 * sysdeps/i386/configure: Regenerated.
23853 * sysdeps/i386/fpu/s_cexp.S: Remove.
23854 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23855 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23856 * math/libm-test.inc (cexp_test): Add more tests.
23857 * sysdeps/i386/fpu/libm-test-ulps: Update.
23858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23860 2012-03-21 Allan McRae <allan@archlinux.org>
23862 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23864 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23867 * math/w_exp2.c: Do not include <float.h>.
23868 (o_threshold, u_threshold): Remove.
23869 (__exp2): Calculate result before checking finiteness and calling
23871 * math/w_exp2f.c: Likewise.
23872 * math/w_exp2l.c: Likewise.
23873 * math/libm-test.inc (exp2_test): Require overflow exception for
23877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23878 range of signed 64-bit integers before using fistpll. Remove
23879 checks for whether integers fit in mantissa bits.
23880 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23881 the range of signed 32-bit integers before using fistpl. Remove
23882 checks for whether integers fit in mantissa bits.
23883 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23884 (__ieee754_powl): Test for y outside the range of signed 64-bit
23885 integers before using fistpll. Reduce 64-bit values to 63-bit
23887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23888 divide-by-zero is raised for zero to large negative powers.
23889 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23890 (__ieee754_powl): Test for y outside the range of signed 64-bit
23891 integers before using fistpll. Reduce 64-bit values to 63-bit
23893 * math/libm-test.inc (pow_test): Add more tests.
23895 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23897 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23898 <stdio-common/_itoa.h>.
23899 * debug/segfault.c: Likewise.
23900 * elf/dl-cache.c: Likewise.
23901 * elf/dl-minimal.c: Likewise.
23902 * elf/dl-misc.c: Likewise.
23903 * elf/dl-sysdep.c: Likewise.
23904 * elf/dl-version.c: Likewise.
23905 * elf/rtld.c: Likewise.
23906 * hurd/hurdsock.c: Likewise.
23907 * hurd/lookup-retry.c: Likewise.
23908 * malloc/malloc.c: Likewise.
23909 * malloc/mtrace.c: Likewise.
23910 * nscd/nscd_getgr_r.c: Likewise.
23911 * nscd/nscd_getpw_r.c: Likewise.
23912 * nscd/nscd_getserv_r.c: Likewise.
23913 * posix/getopt_init.c: Likewise.
23914 * posix/wordexp.c: Likewise.
23915 * stdio-common/_itoa.c: Likewise.
23916 * stdio-common/printf_fphex.c: Likewise.
23917 * stdio-common/vfprintf.c: Likewise.
23918 * string/_strerror.c: Likewise.
23919 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23920 * sysdeps/i386/i686/hp-timing.h: Likewise.
23921 * sysdeps/mach/_strerror.c: Likewise.
23922 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23923 * sysdeps/mach/hurd/sethostid.c: Likewise.
23924 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23925 * sysdeps/mach/xpg-strerror.c: Likewise.
23926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23928 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23929 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23930 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23931 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23932 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23933 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23934 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23935 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23936 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23937 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23938 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23939 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23940 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23941 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23942 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23943 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23944 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23945 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23946 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23948 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23950 * stdio-common/_itoa.h: Moved to ...
23951 * sysdeps/generic/_itoa.h: Here.
23953 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23955 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23956 instead of "_itoa.h" and "_itowa.h".
23957 * stdio-common/vfprintf.: Likewise.
23959 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23961 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23963 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23964 (__signbit): Likwise.
23965 (llrintf): Likwise.
23968 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23970 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23973 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23975 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23976 OVERFLOW_EXCEPTION_OK.
23977 * math/libm-test.inc ("Philosophy"): Update comment about
23979 (OVERFLOW_EXCEPTION): Define.
23980 (OVERFLOW_EXCEPTION_OK): Likewise.
23981 (INVALID_EXCEPTION_OK): Renumber.
23982 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23983 (IGNORE_ZERO_INF_SIGN): Likewise.
23984 (test_exceptions): Handle FE_OVERFLOW.
23985 (exp10_test): Expect overflow exceptions.
23986 (exp2_test): Likewise.
23987 (expm1_test): Likewise.
23988 (nextafter_test): Likewise.
23989 (pow_test): Likewise.
23990 (scalbn_test): Likewise.
23991 (scalbln_test): Likewise.
23993 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23995 * sysdeps/x86_64/bits/atomic.h
23996 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23998 (atomic_exchange_acq): Likewise.
23999 (__arch_exchange_and_add_body): Likewise.
24000 (__arch_add_body): Likewise.
24001 (atomic_add_negative): Likewise.
24002 (atomic_add_zero): Likewise.
24004 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24006 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24007 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24009 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24011 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24012 Check __x86_64__ instead of __WORDSIZE.
24014 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24016 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24018 2012-03-19 David S. Miller <davem@davemloft.net>
24020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24022 * sysdeps/sparc/fpu/fenv_private.h: New file.
24023 * sysdeps/sparc/fpu/math_private.h: Use it.
24024 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24026 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24027 (libc_feholdexcept_setroundl): Remove.
24028 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24030 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24031 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24033 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24035 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24036 int64_t instead of long int.
24037 (INSERT_WORDS64): Likwise.
24039 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24041 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24042 _Unwind_GetCFA return to _Unwind_Ptr first.
24044 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24047 * math/s_clog.c: Include <float.h>.
24048 (__clog): Scale large or subnormal inputs.
24049 * math/s_clogf.c: Likewise.
24050 * math/s_clogl.c: Likewise.
24051 * math/s_clog10.c: Include <float.h>.
24052 (M_LOG10_2): Define.
24053 (__clog10): Scale large or subnormal inputs.
24054 * math/s_clog10f.c: Likewise.
24055 * math/s_clog10l.c: Likewise.
24056 * math/libm-test.inc (clog_test): Add more tests.
24057 (clog10_test): Likewise.
24058 * sysdeps/i386/fpu/libm-test-ulps: Update.
24059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24064 * math/libm-test.inc (atan2_test): Add another test.
24066 * Makerules (common-objdir-compile): Remove.
24067 * sysdeps/unix/Makefile (config-generated): Do not add
24068 $(unix-generated) to variable.
24069 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24070 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24072 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24074 [generic bits/local_lim.h] (before-compile): Do not append to
24076 [generic bits/local_lim.h] (common-generated): Likewise.
24077 [generic sys/param.h] (before-compile): Do not append to variable.
24078 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24079 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24080 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24081 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24083 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24084 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24085 [generic sys/param.h] ($(addprefix
24086 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24087 [generic sys/param.h] (common-generated): Do not append to
24089 [generic sys/param.h] (sysdep_headers): Likewise.
24090 [generic bits/errno.h] (before-compile): Do not append to
24092 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24094 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24095 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24096 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24097 [generic bits/errno.h] (common-generated): Do not append to
24099 [generic bits/ioctls.h] (before-compile): Do not append to
24101 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24103 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24104 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24105 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24107 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24108 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24109 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24110 [generic bits/ioctls.h] (common-generated): Do not append to
24112 [generic sys/syscall.h] (syscall.h): Remove variable.
24113 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24115 [generic sys/syscall.h] (before-compile): Do not append to
24117 [generic sys/syscall.h] (common-generated): Likewise.
24118 * sysdeps/unix/errnos-tmpl.c: Remove file.
24119 * sysdeps/unix/errnos.awk: Likewise.
24120 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24121 * sysdeps/unix/ioctls.awk: Likewise.
24122 * sysdeps/unix/mk-local_lim.c: Likewise.
24123 * sysdeps/unix/snarf-ioctls: Likewise.
24125 2012-03-19 Richard Henderson <rth@twiddle.net>
24127 * sysdeps/i386/fpu/fenv_private.h: New file.
24128 * sysdeps/i386/fpu/math_private.h: Use it.
24129 (math_opt_barrier, math_force_eval): Remove.
24130 (libc_feholdexcept_setround_53bit): Remove.
24131 (libc_feupdateenv_53bit): Remove.
24132 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24133 (math_opt_barrier, math_force_eval): Remove.
24134 (libc_feholdexcept): Remove.
24135 (libc_feholdexcept_setround): Remove.
24136 (libc_fetestexcept, libc_fesetenv): Remove.
24137 (libc_feupdateenv_test): Remove.
24138 (libc_feupdateenv, libc_feholdsetround): Remove.
24139 (libc_feresetround): Remove.
24141 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24142 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24144 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24145 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24146 (libc_feupdateenv_testl): New.
24147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24148 (libc_feupdateenv_testf): New.
24149 (libc_feupdateenv): Use libc_feupdateenv_test.
24150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24153 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24154 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24155 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24156 (libc_feresetround_noex): New.
24157 (libc_feresetround_noexf): New.
24158 (libc_feresetround_noexl): New.
24159 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24160 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24161 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24162 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24167 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24169 SET_RESTORE_ROUND_NOEX.
24170 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24171 SET_RESTORE_ROUND_NOEXF.
24172 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24173 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24174 (libc_feholdsetroundf): New.
24175 (libc_feresetround, libc_feresetroundf): New.
24177 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24178 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24179 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24181 * sysdeps/generic/math_private.h: Include <fenv.h>.
24182 (default_libc_feholdexcept): New.
24183 (default_libc_feholdexcept_setround): New.
24184 (default_libc_fesetenv, default_libc_feupdateenv): New.
24185 (libc_feholdexcept): Only define if undefined.
24186 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24187 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24188 (libc_feholdexcept_setroundl): Likewise.
24189 (libc_feholdexcept_setround_53bit): Likewise.
24190 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24191 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24192 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24193 (libc_feupdateenv_53bit): Likewise.
24194 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24195 (libc_feholdexcept): Convert from macro to inline function.
24196 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24197 (libc_fesetenv, libc_feupdateenv): Likewise.
24199 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24200 not previously defined.
24201 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24202 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24203 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24204 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24205 * sysdeps/ieee754/flt-32/math_private.h: New file.
24206 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24207 math_private.h below SET_FLOAT_WORD.
24208 (__isnan, __isinf_ns, __finite): Remove.
24209 (__isnanf, __isinf_nsf, __finitef): Remove.
24211 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24215 2012-03-17 David S. Miller <davem@davemloft.net>
24218 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24221 2012-03-16 David S. Miller <davem@davemloft.net>
24223 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24227 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24229 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24230 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24231 sysdep_routines when subdir is sysvipc.
24232 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24233 __getshmlba helper.
24235 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24237 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24239 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24242 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24244 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24245 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24246 (__lround): Renamed to ...
24247 (__llround): This. Replace long int with long long int.
24248 Define lround functions as aliases of llround functions.
24249 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24251 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24253 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24254 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24255 adresses to uintptr_t. Replace "long int" and "unsigned long
24256 int" with "greg_t" on va_arg.
24258 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24260 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24261 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24263 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24264 Move e_machine check before EI_CLASS check. Handle x32
24265 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24266 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24267 SKIP_EM_IA_64 and include
24268 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24270 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24271 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24272 (add_system_dir): New macro.
24274 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24275 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24277 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24288 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24290 * math/w_j0f.c (j0f): Likewise.
24292 * math/w_j0l.c (__j0l): Likewise.
24294 * math/w_j1.c (j1): Likewise.
24296 * math/w_j1f.c (j1f): Likewise.
24298 * math/w_j1l.c (__j1l): Likewise.
24300 * math/w_jn.c (jn): Likewise.
24302 * math/w_jnf.c (jnf): Likewise.
24304 * math/w_jnl.c (__jnl): Likewise.
24306 * math/libm-test.inc (j0_test): Add more tests.
24307 (j1_test): Likewise.
24308 (jn_test): Likewise. Add trailing semicolon to existing test.
24309 (y0_test): Likewise.
24310 (y1_test): Likewise.
24311 * sysdeps/i386/fpu/libm-test-ulps: Update.
24312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24317 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24318 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24320 (__tanl): Set errno for infinite argument.
24321 * sysdeps/i386/fpu/mptan.c: Remove.
24322 * sysdeps/i386/fpu/s_tan.S: Likewise.
24323 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24324 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24325 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24326 * math/libm-test.inc (tan_test): Add more tests and enable more
24327 tests for double and long double.
24328 * sysdeps/i386/fpu/libm-test-ulps: Update.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24331 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24333 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24334 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24336 2012-03-16 Roland McGrath <roland@hack.frob.com>
24338 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24339 * configure.in: Use it for both main tree and add-ons.
24340 * configure: Regenerated.
24342 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24344 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24346 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24348 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24352 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24353 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24358 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24360 != 0 for prec == 2.
24361 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24362 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24363 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24364 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24365 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24366 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24367 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24368 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24369 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24370 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24371 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24372 * math/libm-test.inc (cos_test): Add more tests and enable more
24373 tests for long double.
24374 (sin_test): Likewise.
24375 (sincos_test): Likewise.
24376 * sysdeps/i386/fpu/libm-test-ulps: Update.
24377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24379 2012-03-16 David S. Miller <davem@davemloft.net>
24381 * sysdeps/sparc/fpu/math_private.h: New file.
24383 2012-03-15 David S. Miller <davem@davemloft.net>
24385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24399 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24400 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24402 * sysdeps/sparc/sparc-ifunc.h: New file.
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24448 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24450 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24454 2012-03-15 Andreas Jaeger <aj@suse.de>
24457 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24458 ieee754/flt-32 implementation for sin, cos and sincos.
24459 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24460 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24461 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24462 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24463 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24464 ieee754/flt-32 implementation for tan.
24466 * math/libm-test.inc (cos_test): Enable some large input tests for
24468 (sin_test): Likewise.
24469 (sincos_test): Likewise.
24470 (tan_test): Add tests for large input.
24472 * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 2012-03-15 Andreas Jaeger <aj@suse.de>
24477 * math/libm-test.inc (cos_test): Add more test cases.
24478 (sin_test): Likewise.
24479 (sincos_test): Likewise.
24481 2012-03-15 Andreas Jaeger <aj@suse.de>
24484 * math/libm-test.inc (cos_test): Add a test case for large input
24486 (sin_test): Likewise.
24487 (sincos_test): Likewise.
24489 2012-03-15 Andreas Jaeger <aj@suse.de>,
24490 Joseph Myers <joseph@codesourcery.com>
24493 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24494 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24495 * sysdeps/i386/fpu/branred.c: Likewise.
24496 * sysdeps/i386/fpu/dosincos.c: Likewise.
24497 * sysdeps/i386/fpu/mpa.c: Likewise.
24498 * sysdeps/i386/fpu/s_cos.S: Likewise.
24499 * sysdeps/i386/fpu/s_sin.S: Likewise.
24500 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24501 * sysdeps/i386/fpu/sincos32.c: Likewise.
24503 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24505 (libc_feupdateenv_53bit): Define.
24506 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24508 (libc_feupdateenv_53bit): Define.
24510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24511 53 bit (without extend i386 double precision).
24513 * math/libm-test.inc (sincos_test): Add tests for large input.
24517 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24519 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24523 2012-03-15 David S. Miller <davem@davemloft.net>
24525 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24526 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24527 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24528 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24553 fmin/fmax sysdep routines.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24556 2012-03-14 David S. Miller <davem@davemloft.net>
24558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24630 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24635 * sysdeps/sparc/configure.in: New file.
24636 * sysdeps/sparc/configure: Generate.
24637 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24638 * configure: Regenerate.
24639 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24640 * config.make.in (have-as-vis3): New.
24641 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24642 available use -Av9d instead of -Av9a.
24643 * sysdeps/sparc/sparc64/Makefile: Likewise.
24644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24659 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24660 fzeros/fnegs to load 0x80000000 into a float register instead of
24662 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24664 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24668 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24669 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24670 ($(inst_includedir)/bits/syscall.h): Remove rule.
24671 ($(objpfx)bits/syscall.d): Include instead of
24672 $(objpfx)syscall-list.d.
24673 (generated): Change syscall-list.h and syscall-list.d to
24674 bits/syscall.h and bits/syscall.d.
24676 2012-03-14 Roland McGrath <roland@hack.frob.com>
24679 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24681 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24684 * math/s_csqrt.c: Include <float.h>.
24685 (__csqrt): Scale large or subnormal inputs.
24686 * math/s_csqrtf.c: Likewise.
24687 * math/s_csqrtl.c: Likewise.
24688 * math/libm-test.inc (csqrt_test): Add more tests.
24689 * sysdeps/i386/fpu/libm-test-ulps: Update.
24690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24693 * math/libm-test.inc (hypot_test): Add more tests.
24695 2012-03-13 David S. Miller <davem@davemloft.net>
24698 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24699 double-precision for the calculation instead of scaling.
24701 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24703 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24704 manipulate bits before adding and subtracting TWO52[sx].
24705 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24708 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24710 2012-03-13 David S. Miller <davem@davemloft.net>
24712 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24713 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24715 rtld-global-offsets.h
24716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24718 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24721 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24723 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24724 'err' in the ifdef scope in which it is actually used.
24726 * nss/nss_db/db-init.c: Include string.h
24728 2012-03-12 David S. Miller <davem@davemloft.net>
24730 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24731 masking out of the most significant byte of random value used.
24732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24733 Fix coding style in previous change.
24735 * sysdeps/unix/sysv/linux/kernel-features.h
24736 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24737 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24739 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24742 2012-03-11 David S. Miller <davem@davemloft.net>
24744 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24745 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24747 for 'resultvar' otherwise things get truncated on 64-bit.
24749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24750 Fix masking out of the most significant byte of random value used.
24752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24754 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24758 2012-03-09 David S. Miller <davem@davemloft.net>
24760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24761 variables with appropriate CPP guards.
24762 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24763 frame pointer, not the stack pointer. Correct layout comments. Fix test
24764 on resulting framesize and the management of the outregs buffer for pltexit.
24765 Preserve floating point return values across _dl_call_pltexit call.
24766 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24767 framesize and the management of the outregs buffer for pltexit.
24768 Preserve floating point return values across _dl_call_pltexit
24770 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24771 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24772 (print_exit): Fix format string for return register value.
24774 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24776 * sunrpc/Makefile (others): Add rpcgen.
24777 ($(objpfx)rpcgen): Remove special build rule and dependency on
24779 * sunrpc/rpcgen.c: New file.
24781 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24784 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24785 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24786 * sysdeps/i386/crti.S: Likewise.
24787 * sysdeps/i386/crtn.S: Likewise.
24788 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24789 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24790 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24791 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24792 * sysdeps/sh/crti.S: Likewise.
24793 * sysdeps/sh/crtn.S: Likewise.
24794 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24797 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24799 * locale/programs/locfile-kw.gperf: Likewise.
24800 * locale/programs/charmap-kw.h: Regenerated.
24801 * locale/programs/locfile-kw.h: Likewise.
24804 * intl/plural.y: Replace FSF snail mail address with URL.
24805 * intl/plural.c: Regenerated.
24807 2012-03-09 Richard Henderson <rth@twiddle.net>
24809 * include/math_private.h: Remove file.
24810 * math/math_private.h: Move file ...
24811 * sysdeps/generic/math_private.h: ... here.
24813 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24814 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24815 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24817 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24818 and <math_private.h>.
24819 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24820 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24821 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24822 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24823 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24827 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24828 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24830 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24831 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24835 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24837 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24838 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24865 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24869 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24889 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24892 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24893 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24902 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24906 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24907 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24908 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24909 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24910 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24912 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24913 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24914 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24916 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24917 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24918 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24919 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24920 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24921 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24922 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24923 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24924 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24925 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24926 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24927 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24928 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24929 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24930 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24931 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24932 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24933 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24934 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24935 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24936 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24937 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24938 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24940 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24941 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24942 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24943 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24944 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24946 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24947 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24948 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24949 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24950 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24951 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24952 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24953 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24954 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24955 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24956 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24957 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24958 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24959 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24960 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24962 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24963 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24964 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24965 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24966 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24967 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24968 * sysdeps/ieee754/k_standard.c: Likewise.
24969 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24972 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24974 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24975 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24978 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24979 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24980 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24983 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24986 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24989 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24992 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24995 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24996 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24999 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25000 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25001 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25002 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25003 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25004 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25006 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25008 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25011 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25012 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25020 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25021 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25022 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25024 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25025 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25027 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25028 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25077 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25090 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25091 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25092 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25095 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25096 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25101 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25103 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25104 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25108 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25112 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25113 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25114 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25119 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25129 * sysdeps/ieee754/s_lib_version.c: Likewise.
25130 * sysdeps/ieee754/s_matherr.c: Likewise.
25131 * sysdeps/ieee754/s_signgam.c: Likewise.
25132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25133 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25134 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25135 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25136 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25137 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25138 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25139 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25140 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25141 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25142 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25143 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25144 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25145 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25146 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25147 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25148 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25149 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25154 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25156 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25157 * sunrpc/rpc_main.c: Likewise.
25158 * sunrpc/rpc_svcout.c: Likewise.
25160 2012-03-09 David S. Miller <davem@davemloft.net>
25162 * include/math_private.h: New file.
25164 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25166 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25167 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25168 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25169 from <bits/socket_type.h>.
25170 (enum __socket_type): Don't define here.
25171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25173 bits/socket_type.h.
25176 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25177 checking __USE_GNU.
25179 * Makerules ($(inst_includedir)/%.h): New rule.
25180 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25181 (install-others): Remove variable setting.
25182 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25184 2012-03-08 Richard Henderson <rth@twiddle.net>
25186 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25187 from macro to inline function; merge with the
25188 !__LIBC_INTERNAL_MATH_INLINES version.
25189 (__ieee754_sqrtf): Likewise.
25191 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25192 to inline function.
25193 (__rintf, __floor, __floorf): Likewise.
25195 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25196 macro to inline function.
25197 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25199 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25200 not <math/math_private.h>.
25202 2012-03-08 David S. Miller <davem@davemloft.net>
25204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25206 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25208 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25210 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25212 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25213 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25215 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25217 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25218 be defined individually, they must be defined as a block. Define
25219 S for printing a string instead of hidint the different by using a
25220 macro for adding the 'l'.
25221 * stdio-common/tst-fphex-wide.c: Adjust.
25223 2012-03-07 Marek Polacek <polacek@redhat.com>
25225 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25227 2012-03-08 Marek Polacek <polacek@redhat.com>
25230 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25231 * stdio-common/tst-fphex.c: Define a few macros to make the
25232 test reusable. Use them.
25233 * stdio-common/tst-fphex-wide.c: New file.
25235 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25238 * manual/macros.texi (gnusystems): New macro.
25239 (nongnusystems): Likewise.
25240 (gnulinuxhurdsystems): Likewise.
25241 (gnuhurdsystems): Likewise..
25242 (gnulinuxsystems): Likewise.
25243 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25244 variants of the GNU system, not "GNU system".
25245 * manual/conf.texi: Likewise.
25246 * manual/errno.texi: Likewise. Update example of errno macro
25248 * manual/filesys.texi: Likewise.
25249 (getumask): Document as specific to GNU/Hurd.
25250 * manual/install.texi: Likewise. Reword some references to
25252 * manual/intro.texi: Likewise.
25253 * manual/io.texi: Likewise.
25254 (File Name Portability): Detail which constraints are inapplicable
25255 to all GNU systems and which are only inapplicable to GNU/Hurd.
25256 * manual/job.texi: Likewise.
25257 * manual/llio.texi: Likewise.
25258 (O_NOCTTY): Document as present on GNU/Linux.
25259 * manual/maint.texi: Likewise.
25260 * manual/memory.texi: Likewise.
25261 * manual/pattern.texi: Likewise.
25262 * manual/pipe.texi: Likewise.
25263 * manual/process.texi: Likewise.
25264 * manual/resource.texi: Likewise.
25265 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25267 * manual/setjmp.texi: Likewise.
25268 * manual/signal.texi: Likewise.
25269 * manual/startup.texi: Likewise.
25270 * manual/stdio.texi: Likewise.
25271 * manual/terminal.texi: Likewise.
25272 (ONLCR): Document as POSIX.
25273 (OXTABS): Document availability on GNU/Linux as XTABS.
25274 (ONOEOT): Document availability separately from other bits.
25275 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25276 * manual/time.texi: Likewise.
25277 * manual/users.texi: Likewise.
25278 * INSTALL: Regenerated.
25279 * sysdeps/gnu/errlist.c: Regenerated.
25281 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25282 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25283 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25285 * configure: Regenerated.
25287 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25289 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25290 default includes instead of AC_HEADER_CHECK.
25291 * sysdeps/i386/configure: Regenerated.
25294 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25295 * math/s_cacoshf.c (__cacoshf): Likewise.
25296 * math/s_cacoshl.c (__cacoshl): Likewise.
25297 * math/s_casinh.c (__casinh): Set signs of result from argument.
25298 * math/s_casinhf.c (__casinhf): Likewise.
25299 * math/s_casinhl.c (__casinhl): Likewise.
25300 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25301 (casinh_test): Add more tests.
25302 * sysdeps/i386/fpu/libm-test-ulps: Update.
25303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25305 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25307 * po/zh_TW.po: Update from translation team.
25309 * login/Makefile (distribute): Remove variable.
25310 * catgets/Makefile: Likewise.
25311 * mach/Makefile: Likewise.
25312 * malloc/Makefile: Likewise.
25313 * misc/Makefile: Likewise.
25314 * iconv/Makefile: Likewise.
25315 * nscd/Makefile: Likewise.
25316 * hurd/Makefile: Likewise.
25317 * manual/Makefile: Likewise.
25318 * locale/Makefile: Likewise.
25319 * intl/Makefile: Likewise.
25320 * conform/Makefile: Likewise.
25321 * nss/Makefile: Likewise.
25322 * time/Makefile: Likewise.
25323 * soft-fp/Makefile: Likewise.
25324 * dirent/Makefile: Likewise.
25325 * gmon/Makefile: Likewise.
25326 * po/Makefile: Likewise.
25327 * rt/Makefile: Likewise.
25328 * socket/Makefile: Likewise.
25329 * math/Makefile: Likewise.
25330 * signal/Makefile: Likewise.
25331 * debug/Makefile: Likewise.
25332 * elf/Makefile: Likewise.
25333 * timezone/Makefile: Likewise.
25334 * stdlib/Makefile: Likewise.
25335 * iconvdata/Makefile: Likewise.
25336 * sunrpc/Makefile: Likewise.
25337 * io/Makefile: Likewise.
25338 * argp/Makefile: Likewise.
25339 * inet/Makefile: Likewise.
25340 * hesiod/Makefile: Likewise.
25341 * grp/Makefile: Likewise.
25342 * csu/Makefile: Likewise.
25343 * wctype/Makefile: Likewise.
25344 * crypt/Makefile: Likewise.
25345 * libio/Makefile: Likewise.
25346 * string/Makefile: Likewise.
25347 * nis/Makefile: Likewise.
25348 * resolv/Makefile: Likewise.
25349 * stdio-common/Makefile: Likewise.
25350 * wcsmbs/Makefile: Likewise.
25351 * dlfcn/Makefile: Likewise.
25352 * posix/Makefile: Likewise.
25355 * timezone/Makefile: Don't install timezone files, just the programs
25358 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25360 * nss/databases.def: Add missing gshadow entry.
25362 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25364 2012-03-06 Marek Polacek <polacek@redhat.com>
25367 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25368 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25369 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25370 * stdio-common/tst-long-dbl-fphex.c: New file.
25372 2012-03-06 David S. Miller <davem@davemloft.net>
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25375 (set_obp_int): New function.
25376 (get_obp_int): New function.
25377 (__get_clockfreq_via_dev_openprom): Likewise.
25378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25379 Avoid unused variable warnings on 'val' and use builtin_expect.
25380 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25382 (INLINE_CLONE_SYSCALL): Likewise.
25384 2012-03-05 David S. Miller <davem@davemloft.net>
25386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25388 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25393 only for |x| >= 40.
25394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25396 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25399 Replace gettimeofday with __vdso_gettimeofday.
25401 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25402 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25403 __vdso_clock_gettime and __vdso_getcpu.
25405 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25406 time with __vdso_time.
25408 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25410 * manual/lang.texi (size_t): Note types to which size_t may be
25411 equivalent with the GNU C Library, but do not describe when
25412 differences between them are significant.
25414 2012-03-05 Andreas Jaeger <aj@suse.de>
25416 * sysdeps/i386/fpu/libm-test-ulps: Update.
25418 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25421 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25422 (__ieee754_pow): Save and restore rounding mode and use
25423 round-to-nearest for main computations.
25424 * math/libm-test.inc (pow_test_tonearest): New function.
25425 (pow_test_towardzero): Likewise.
25426 (pow_test_downward): Likewise.
25427 (pow_test_upward): Likewise.
25428 (main): Call the new functions.
25429 * sysdeps/i386/fpu/libm-test-ulps: Update.
25430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25433 * math/libm-test.inc (cosh_test_tonearest): New function.
25434 (cosh_test_towardzero): Likewise.
25435 (cosh_test_downward): Likewise.
25436 (cosh_test_upward): Likewise.
25437 (sinh_test_tonearest): Likewise.
25438 (sinh_test_towardzero): Likewise.
25439 (sinh_test_downward): Likewise.
25440 (sinh_test_upward): Likewise.
25441 (main): Call the new functions.
25442 * sysdeps/i386/fpu/libm-test-ulps: Update.
25443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25445 2012-03-05 Tom de Vries <tom@codesourcery.com>
25447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25448 default stack guard is set in last bytes.
25449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25451 2012-03-05 Kees Cook <keescook@chromium.org>
25453 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25456 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25457 possibly allocate from heap instead of stack.
25458 * stdio-common/bug-vfprintf-nargs.c: New file.
25459 * stdio-common/Makefile (tests): Add nargs overflow test.
25461 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25465 2012-03-03 Marek Polacek <polacek@redhat.com>
25467 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25468 * math/math_private.h: Likewise.
25469 * stdlib/tst-strtod.c: Likewise.
25470 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25471 * sysdeps/x86_64/bits/atomic.h: Likewise.
25473 2012-03-02 David S. Miller <davem@davemloft.net>
25475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25479 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25480 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25481 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25482 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25484 2012-03-02 Roland McGrath <roland@hack.frob.com>
25487 * manual/examples/README: New file, says the example source files
25488 can be used under GPL>=2.
25489 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25490 line containing just "*/".
25491 * manual/examples/add.c: Add copyright header (GPL>=2).
25492 * manual/examples/argp-ex1.c: Likewise.
25493 * manual/examples/argp-ex2.c: Likewise.
25494 * manual/examples/argp-ex3.c: Likewise.
25495 * manual/examples/argp-ex4.c: Likewise.
25496 * manual/examples/atexit.c: Likewise.
25497 * manual/examples/db.c: Likewise.
25498 * manual/examples/dir.c: Likewise.
25499 * manual/examples/dir2.c: Likewise.
25500 * manual/examples/execinfo.c: Likewise.
25501 * manual/examples/filecli.c: Likewise.
25502 * manual/examples/filesrv.c: Likewise.
25503 * manual/examples/fmtmsgexpl.c: Likewise.
25504 * manual/examples/genpass.c: Likewise.
25505 * manual/examples/inetcli.c: Likewise.
25506 * manual/examples/inetsrv.c: Likewise.
25507 * manual/examples/isockad.c: Likewise.
25508 * manual/examples/longopt.c: Likewise.
25509 * manual/examples/memopen.c: Likewise.
25510 * manual/examples/memstrm.c: Likewise.
25511 * manual/examples/mkfsock.c: Likewise.
25512 * manual/examples/mkisock.c: Likewise.
25513 * manual/examples/mygetpass.c: Likewise.
25514 * manual/examples/pipe.c: Likewise.
25515 * manual/examples/popen.c: Likewise.
25516 * manual/examples/rprintf.c: Likewise.
25517 * manual/examples/search.c: Likewise.
25518 * manual/examples/select.c: Likewise.
25519 * manual/examples/setjmp.c: Likewise.
25520 * manual/examples/sigh1.c: Likewise.
25521 * manual/examples/sigusr.c: Likewise.
25522 * manual/examples/stpcpy.c: Likewise.
25523 * manual/examples/strdupa.c: Likewise.
25524 * manual/examples/strftim.c: Likewise.
25525 * manual/examples/strncat.c: Likewise.
25526 * manual/examples/subopt.c: Likewise.
25527 * manual/examples/swapcontext.c: Likewise.
25528 * manual/examples/termios.c: Likewise.
25529 * manual/examples/testopt.c: Likewise.
25530 * manual/examples/testpass.c: Likewise.
25531 * manual/examples/timeval_subtract.c: Likewise.
25534 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25536 * manual/timeval_subtract.c.texi: ... here, new file.
25538 2012-03-02 David S. Miller <davem@davemloft.net>
25540 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25542 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25545 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25546 (__sin): Save and restore rounding mode and use round-to-nearest
25547 for all computations.
25548 (__cos): Save and restore rounding mode and use round-to-nearest
25549 for all computations.
25550 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25552 (tan): Save and restore rounding mode and use round-to-nearest for
25554 * math/libm-test.inc (cos_test_tonearest): New function.
25555 (cos_test_towardzero): Likewise.
25556 (cos_test_downward): Likewise.
25557 (cos_test_upward): Likewise.
25558 (sin_test_tonearest): Likewise.
25559 (sin_test_towardzero): Likewise.
25560 (sin_test_downward): Likewise.
25561 (sin_test_upward): Likewise.
25562 (tan_test_tonearest): Likewise.
25563 (tan_test_towardzero): Likewise.
25564 (tan_test_downward): Likewise.
25565 (tan_test_upward): Likewise.
25566 (main): Call the new functions.
25567 * sysdeps/i386/fpu/libm-test-ulps: Update.
25568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25571 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25572 small n, then large n, before computing and testing k+n.
25573 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25578 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25579 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25582 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25586 * math/libm-test.inc (scalbn_test): Add more tests.
25587 (scalbln_test): Likewise.
25589 * manual/filesys.texi (mode_t): Describe constraints on size and
25590 signedness, not exact equivalence to a particular type.
25592 (ino64_t): Likewise.
25594 (nlink_t): Likewise.
25595 (blkcnt_t): Likewise.
25596 (blkcnt64_t): Likewise.
25597 * manual/llio.texi (off_t): Likewise.
25600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25601 (__ieee754_exp): Save and restore rounding mode and use
25602 round-to-nearest for all computations.
25603 * math/libm-test.inc (exp_test_tonearest): New function.
25604 (exp_test_towardzero): Likewise.
25605 (exp_test_downward): Likewise.
25606 (exp_test_upward): Likewise.
25607 (main): Call the new functions.
25608 * sysdeps/i386/fpu/libm-test-ulps: Update.
25609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25611 2012-03-01 Chris Demetriou <cgd@google.com>
25613 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25614 have predictable order.
25616 2012-03-01 David S. Miller <davem@davemloft.net>
25618 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25620 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25621 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25622 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25623 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25625 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25626 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25627 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25629 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25630 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25631 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25632 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25633 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25637 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25638 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25639 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25641 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25642 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25643 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25644 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25645 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25648 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25649 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25650 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25651 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25652 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25654 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25655 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25657 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25658 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25659 * sysdeps/sparc/elf/configure: Regenerated.
25661 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25663 * configure.in (AS, LD): Require binutils 2.20 or later.
25664 * configure: Regenerated.
25665 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25666 as required minimum version.
25667 * INSTALL: Regenerated.
25671 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25672 before squaring exponent.
25673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25674 bottom long double and 27 bits of top long double before squaring
25676 * math/libm-test.inc (erfc_test): Add more tests.
25677 * sysdeps/i386/fpu/libm-test-ulps: Update.
25678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25681 2012-03-01 Kai Tietz <ktietz@redhat.com>
25683 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25684 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25685 containing bit-fields.
25686 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25687 * soft-fp/single.h (_FP_UNION_S): Likewise.
25688 * soft-fp/double.h (_FP_UNION_D): Likewise.
25690 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25693 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25694 not include ../strcmp.S.
25695 [USE_AS_STRNCASECMP_L]: Likewise.
25696 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25697 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25698 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25699 (__strncasecmp_l_ia32): Define as alias to
25700 __strncasecmp_l_nonascii.
25703 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25704 * sysdeps/i386/fpu/libm-test-ulps: Update.
25705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25707 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25710 2012-02-29 Jeff Law <law@redhat.com>
25712 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25713 out of bounds read.
25715 2012-02-29 Marek Polacek <polacek@redhat.com>
25718 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25719 * elf/Makefile: Add rules to run tst-unused-dep.out.
25721 2012-02-28 David S. Miller <davem@davemloft.net>
25723 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25724 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25727 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25728 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25730 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25732 * math/libm-test.inc (llround_test): Move one test from
25733 lround_test. Use TEST_f_L in moved test.
25734 (lround_test): Move misplaced test to llround_test. Add testcase
25737 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25739 * sysdeps/x86_64/fpu/e_expf.S: New file.
25740 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25742 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25745 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25746 of remain_len that may cause incomplete multi-byte character and
25748 * posix/bug-regex33.c: New file.
25749 * posix/Makefile (tests): Add bug-regex33.
25751 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25753 * manual/macros.texi: New file.
25754 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25755 * manual/libc.texinfo: Include macros.texi.
25756 * manual/creatute.texi: Likewise.
25757 * manual/install.texi: Likewise.
25758 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25759 @glibcadj{} in references to the GNU C Library.
25760 * manual/charset.texi: Likewise.
25761 * manual/conf.texi: Likewise.
25762 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25763 when not using those macros.
25764 * manual/creature.texi: Likewise.
25765 * manual/crypt.texi: Likewise.
25766 * manual/errno.texi: Likewise.
25767 * manual/filesys.texi: Likewise.
25768 * manual/header.texi: Likewise.
25769 * manual/install.texi: Likewise.
25770 * manual/intro.texi: Likewise.
25771 * manual/io.texi: Likewise.
25772 * manual/job.texi: Likewise.
25773 * manual/lang.texi: Likewise.
25774 * manual/libc.texiinfo: Likewise.
25775 * manual/llio.texi: Likewise.
25776 * manual/locale.texi: Likewise.
25777 * manual/maint.texi: Likewise.
25778 * manual/math.texi: Likewise.
25779 * manual/memory.texi: Likewise.
25780 * manual/message.texi: Likewise.
25781 * manual/nss.texi: Likewise.
25782 * manual/pattern.texi: Likewise.
25783 * manual/process.texi: Likewise.
25784 * manual/resource.texi: Likewise.
25785 * manual/search.texi: Likewise.
25786 * manual/setjmp.texi: Likewise.
25787 * manual/signal.texi: Likewise.
25788 * manual/socket.texi: Likewise.
25789 * manual/startup.texi: Likewise.
25790 * manual/stdio.texi: Likewise.
25791 * manual/string.texi: Likewise.
25792 * manual/sysinfo.texi: Likewise.
25793 * manual/syslog.texi: Likewise.
25794 * manual/terminal.texi: Likewise.
25795 * manual/time.texi: Likewise.
25796 * manual/users.texi: Likewise.
25797 * INSTALL: Regenerated.
25798 * NOTES: Regenerated.
25799 * sysdeps/gnu/errlist.c: Regenerated.
25801 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25803 * include/dirent.h: Include <dirstream.h> before
25806 2012-02-28 David S. Miller <davem@davemloft.net>
25808 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25809 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25813 2012-02-27 David S. Miller <davem@davemloft.net>
25815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25818 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25821 frame pointer instead of stack pointer relative arg slot.
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25826 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25829 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25831 2012-02-27 David S. Miller <davem@davemloft.net>
25833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25839 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25840 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25842 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25844 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25845 later. Allow versions 5-9.
25846 * configure: Regenerated.
25847 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25848 required minimum version and 4.6 as recommended version. Do not
25849 mention bugs in GCC 2.7 and 2.8.
25850 * INSTALL: Regenerated.
25852 2012-02-27 David S. Miller <davem@davemloft.net>
25854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25858 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25859 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25860 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25861 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25864 manipulate bits before adding and subtracting TWO112[sx].
25865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25867 2012-02-27 Roland McGrath <roland@hack.frob.com>
25870 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25871 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25872 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25873 being in POSIX, because they are in 1003.1-2008.
25875 * rt/tst-aio.c: Include <fcntl.h>.
25876 * rt/tst-aio7.c: Likewise.
25877 * rt/tst-aio64.c: Likewise.
25879 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25881 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25883 * manual/install.texi (--with-headers): Describe headers as
25884 interface headers, not private headers.
25885 (Specific advice for GNU/Linux systems): Describe use of headers
25886 from "make headers_install", not private headers from older
25888 * INSTALL: Regenerated.
25889 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25891 * sysdeps/unix/sysv/linux/configure: Regenerated.
25893 * manual/llio.texi (fclean): Remove documentation.
25895 * manual/Makefile (libc-texi-generated): New variable. Include
25897 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25898 $(libc-texi-generated), not duplicated list of files.
25899 (version.texi, stamp-version): New rules.
25900 (realclean): Remove $(libc-texi-generated), not individual files
25901 from that list. Do not remove dir-add.texinfo.
25902 * manual/libc.texinfo: Comment out uses of edition numbers and
25903 references to printed manual. Remove last-updated dates.
25904 (EDITION): Comment out.
25906 (VERSION, UPDATED): Remove.
25907 (version.texi): Include.
25909 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25911 * sysdeps/posix/spawni.c: Include <signal.h>.
25912 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25913 * sysdeps/pthread/aio_fsync.c: Likewise.
25915 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25917 * conform/Makefile (tests): Run only when not cross-compiling and
25918 when fast-check is not defined.
25920 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25921 * conform/data/limits.h-data: Fixes for POSIX2008.
25922 * conform/run-conformtest.sh: Run all tests.
25923 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25925 * include/bits/dlfcn.h: Likewise.
25926 * include/langinfo.h: Likewise.
25927 * include/monetary.h: Likewise.
25928 * include/sys/poll.h: Likewise.
25930 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25932 * posix/spawn.h: Define __need_sigset_t.
25933 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25934 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25935 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25936 to get sigevent_t only.
25937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25938 only for __USE_GNU.
25939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25940 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25941 process_vm_writev only for __USE_GNU.
25942 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25944 * conform/Makefile: For now ignore errors from run-conformtest.
25945 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25946 POSIX to avoid namespace pollution. Don't prepend headers.
25947 * conform/data/aio.h-data: Fixes for POSIX testing.
25948 * conform/data/fcntl.h-data: Likewise.
25949 * conform/data/glob.h-data: Likewise.
25950 * conform/data/grp.h-data: Likewise.
25951 * conform/data/pthread.h-data: Likewise.
25952 * conform/data/pwd.h-data: Likewise.
25953 * conform/data/signal.h-data: Likewise.
25954 * conform/data/spawn.h-data: Likewise.
25955 * conform/data/stdio.h-data: Likewise.
25956 * conform/data/stdlib.h-data: Likewise.
25957 * conform/data/stropts.h-data: Likewise.
25958 * conform/data/sys/mman.h-data: Likewise.
25959 * conform/data/sys/stat.h-data: Likewise.
25960 * conform/data/sys/types.h-data: Likewise.
25961 * conform/data/sys/wait.h-data: Likewise.
25962 * conform/data/time.h-data: Likewise.
25963 * conform/data/unistd.h-data: Likewise.
25964 * conform/data/utime.h-data: Likewise.
25966 * io/sys/stat.h: fchmod was always in POSIX.
25967 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25968 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25969 * rt/aio.h: Define __need_timespec before including <time.h>.
25970 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25971 struct. Add forward declaration of pthread_attr_t and use it in
25973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25974 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25975 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25976 always remove CLK_TCK definition.
25978 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25980 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25982 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25984 * conform/run-conformtest.sh: New file.
25985 * conform/Makefile: Run run-conformtest for tests.
25986 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25989 * conform/data/uchar.h-data: New file.
25990 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25991 * conform/data/arpa/inet.h-data: Likewise.
25992 * conform/data/assert.h-data: Likewise.
25993 * conform/data/complex.h-data: Likewise.
25994 * conform/data/cpio.h-data: Likewise.
25995 * conform/data/ctype.h-data: Likewise.
25996 * conform/data/dirent.h-data: Likewise.
25997 * conform/data/dlfcn.h-data: Likewise.
25998 * conform/data/errno.h-data: Likewise.
25999 * conform/data/fcntl.h-data: Likewise.
26000 * conform/data/float.h-data: Likewise.
26001 * conform/data/fmtmsg.h-data: Likewise.
26002 * conform/data/fnmatch.h-data: Likewise.
26003 * conform/data/ftw.h-data: Likewise.
26004 * conform/data/glob.h-data: Likewise.
26005 * conform/data/grp.h-data: Likewise.
26006 * conform/data/iconv.h-data: Likewise.
26007 * conform/data/inttypes.h-data: Likewise.
26008 * conform/data/langinfo.h-data: Likewise.
26009 * conform/data/libgen.h-data: Likewise.
26010 * conform/data/limits.h-data: Likewise.
26011 * conform/data/locale.h-data: Likewise.
26012 * conform/data/math.h-data: Likewise.
26013 * conform/data/monetary.h-data: Likewise.
26014 * conform/data/mqueue.h-data: Likewise.
26015 * conform/data/ndbm.h-data: Likewise.
26016 * conform/data/net/if.h-data: Likewise.
26017 * conform/data/netdb.h-data: Likewise.
26018 * conform/data/netinet/in.h-data: Likewise.
26019 * conform/data/nl_types.h-data: Likewise.
26020 * conform/data/poll.h-data: Likewise.
26021 * conform/data/pthread.h-data: Likewise.
26022 * conform/data/pwd.h-data: Likewise.
26023 * conform/data/regex.h-data: Likewise.
26024 * conform/data/sched.h-data: Likewise.
26025 * conform/data/search.h-data: Likewise.
26026 * conform/data/semaphore.h-data: Likewise.
26027 * conform/data/setjmp.h-data: Likewise.
26028 * conform/data/signal.h-data: Likewise.
26029 * conform/data/spawn.h-data: Likewise.
26030 * conform/data/stdarg.h-data: Likewise.
26031 * conform/data/stdio.h-data: Likewise.
26032 * conform/data/stdlib.h-data: Likewise.
26033 * conform/data/string.h-data: Likewise.
26034 * conform/data/strings.h-data: Likewise.
26035 * conform/data/stropts.h-data: Likewise.
26036 * conform/data/sys/ipc.h-data: Likewise.
26037 * conform/data/sys/mman.h-data: Likewise.
26038 * conform/data/sys/msg.h-data: Likewise.
26039 * conform/data/sys/resource.h-data: Likewise.
26040 * conform/data/sys/select.h-data: Likewise.
26041 * conform/data/sys/sem.h-data: Likewise.
26042 * conform/data/sys/shm.h-data: Likewise.
26043 * conform/data/sys/socket.h-data: Likewise.
26044 * conform/data/sys/stat.h-data: Likewise.
26045 * conform/data/sys/statvfs.h-data: Likewise.
26046 * conform/data/sys/time.h-data: Likewise.
26047 * conform/data/sys/timeb.h-data: Likewise.
26048 * conform/data/sys/times.h-data: Likewise.
26049 * conform/data/sys/types.h-data: Likewise.
26050 * conform/data/sys/uio.h-data: Likewise.
26051 * conform/data/sys/un.h-data: Likewise.
26052 * conform/data/sys/utsname.h-data: Likewise.
26053 * conform/data/sys/wait.h-data: Likewise.
26054 * conform/data/syslog.h-data: Likewise.
26055 * conform/data/tar.h-data: Likewise.
26056 * conform/data/termios.h-data: Likewise.
26057 * conform/data/utime.h-data: Likewise.
26058 * conform/data/utmpx.h-data: Likewise.
26059 * conform/data/varargs.h-data: Likewise.
26060 * conform/data/wchar.h-data: Likewise.
26061 * conform/data/wctype.h-data: Likewise.
26062 * conform/data/wordexp.h-data: Likewise.
26064 * include/stropts.h: New file.
26065 * include/uchar.h: New file.
26066 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26067 * include/assert.h: Likewise.
26068 * include/ctype.h: Likewise.
26069 * include/dirent.h: Likewise.
26070 * include/dlfcn.h: Likewise.
26071 * include/fcntl.h: Likewise.
26072 * include/fnmatch.h: Likewise.
26073 * include/glob.h: Likewise.
26074 * include/grp.h: Likewise.
26075 * include/libio.h: Likewise.
26076 * include/locale.h: Likewise.
26077 * include/math.h: Likewise.
26078 * include/net/if.h: Likewise.
26079 * include/netdb.h: Likewise.
26080 * include/netinet/in.h: Likewise.
26081 * include/pthread.h: Likewise.
26082 * include/pwd.h: Likewise.
26083 * include/regex.h: Likewise.
26084 * include/sched.h: Likewise.
26085 * include/search.h: Likewise.
26086 * include/setjmp.h: Likewise.
26087 * include/signal.h: Likewise.
26088 * include/stdio.h: Likewise.
26089 * include/stdlib.h: Likewise.
26090 * include/string.h: Likewise.
26091 * include/sys/cdefs.h: Likewise.
26092 * include/sys/mman.h: Likewise.
26093 * include/sys/msg.h: Likewise.
26094 * include/sys/resource.h: Likewise.
26095 * include/sys/select.h: Likewise.
26096 * include/sys/socket.h: Likewise.
26097 * include/sys/stat.h: Likewise.
26098 * include/sys/statvfs.h: Likewise.
26099 * include/sys/time.h: Likewise.
26100 * include/sys/times.h: Likewise.
26101 * include/sys/uio.h: Likewise.
26102 * include/sys/utsname.h: Likewise.
26103 * include/sys/wait.h: Likewise.
26104 * include/termios.h: Likewise.
26105 * include/time.h: Likewise.
26106 * include/ulimit.h: Likewise.
26107 * include/unistd.h: Likewise.
26108 * include/utime.h: Likewise.
26109 * include/wchar.h: Likewise.
26110 * include/wctype.h: Likewise.
26111 * include/wordexp.h: Likewise.
26113 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26115 * time/time.h: TIME_UTC must be a macro.
26116 Make timespec_get available for ISO C11 only as well.
26118 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26120 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26121 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26125 * configure.in: Use -o not -a in test for unsupported multi-arch.
26127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26129 * manual/texinfo.tex: Update to version 2012-01-19.16.
26131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26133 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26135 2012-02-24 Roland McGrath <roland@hack.frob.com>
26138 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26139 * manual/fdl-1.3.texi: New file.
26140 * manual/fdl-1.1.texi: File removed.
26143 * manual/libc.texinfo (FDL_VERSION): New @set.
26144 Use it for mention of FDL in cover text.
26145 (Documentation License): Use it in @include file name.
26147 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26148 Roland McGrath <roland@hack.frob.com>
26151 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26152 not LONG_LONG_MAX and LONG_LONG_MIN.
26153 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26154 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26156 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26158 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26162 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26163 manipulate bits before adding and subtracting TWO23[sx].
26164 * math/libm-test.inc (nearbyint_test): Add more tests.
26166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26169 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26170 bits before adding and subtracting TWO23[sx].
26171 * math/libm-test.inc (rint_test): Add more tests.
26172 (rint_test_tonearest): Likewise.
26173 (rint_test_towardzero): Likewise.
26174 (rint_test_downward): Likewise.
26175 (rint_test_upward: Likewise.
26177 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26180 * include/stdc-predef.h: New file. Extracted from features.h.
26181 * include/features.h: Include stdc-predef.h.
26182 * Makefile (headers): Add stdc-predef.h.
26183 * CONFORMANCE (Compiler limitations): Update.
26185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26187 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26189 2012-02-21 David S. Miller <davem@davemloft.net>
26191 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26192 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26194 2012-02-20 David S. Miller <davem@davemloft.net>
26196 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26197 using a normal save/restore sequence, rather than allocating a
26198 dummy stack frame just to store a frame pointer and restore.
26199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26201 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26203 * manual/install.texi: Fix stray word in line-wrapped comment.
26205 2012-02-20 David S. Miller <davem@davemloft.net>
26207 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26208 both binutils and gcc support GOTDATA.
26210 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26211 "rd %pc" in the PIC register setup sequences.
26213 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26214 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26215 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26216 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26217 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26220 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26222 (SYSCALL_ERROR_HANDLER): Likewise.
26223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26226 (SYSCALL_ERROR_HANDLER): Likewise.
26228 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26229 (HAVE_GCC_GOTDATA): New.
26230 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26231 relocation support in both binutils and gcc.
26232 * sysdeps/sparc/elf/configure: Regenerate.
26234 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26235 * sysdeps/sparc/sparc32/elf/configure: Delete.
26236 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26237 * sysdeps/sparc/sparc64/elf/configure: Delete.
26238 * sysdeps/sparc/elf/configure.in: New file.
26239 * sysdeps/sparc/elf/configure: Generate.
26241 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26242 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26243 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26244 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26245 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26247 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26249 * manual/install.texi: Do not mention specific glibc version
26251 * manual/libc.texinfo (VERSION, UPDATED): Update.
26252 (@copying): Use @copyright{} and range of years.
26254 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26257 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26258 [crti.S not in sysdirs] (generated): Do not append.
26259 [crti.S not in sysdirs] (omit-deps): Likewise.
26260 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26261 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26262 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26263 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26264 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26266 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26267 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26268 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26269 * csu/defs.awk: Remove file.
26270 * sysdeps/generic/initfini.c: Likewise.
26271 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26273 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26276 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26278 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26279 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26283 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26285 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26286 (__EPOLL_PACKED): Define to empty if not defined by
26288 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26292 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26294 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26295 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26297 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26299 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26303 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26305 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26308 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26309 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26312 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26317 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26319 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26320 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26322 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26324 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26327 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26329 * math/w_acos.c: Use non-signaling floating-point comparisons.
26330 * math/w_acosf.c: Likewise.
26331 * math/w_acosh.c: Likewise.
26332 * math/w_acoshf.c: Likewise.
26333 * math/w_acoshl.c: Likewise.
26334 * math/w_acosl.c: Likewise.
26335 * math/w_asin.c: Likewise.
26336 * math/w_asinf.c: Likewise.
26337 * math/w_asinl.c: Likewise.
26338 * math/w_atanh.c: Likewise.
26339 * math/w_atanhf.c: Likewise.
26340 * math/w_atanhl.c: Likewise.
26341 * math/w_exp2.c: Likewise.
26342 * math/w_exp2f.c: Likewise.
26343 * math/w_exp2l.c: Likewise.
26344 * math/w_j0.c: Likewise.
26345 * math/w_j0f.c: Likewise.
26346 * math/w_j0l.c: Likewise.
26347 * math/w_j1.c: Likewise.
26348 * math/w_j1f.c: Likewise.
26349 * math/w_j1l.c: Likewise.
26350 * math/w_jn.c: Likewise.
26351 * math/w_jnf.c: Likewise.
26352 * math/w_log.c: Likewise.
26353 * math/w_log10.c: Likewise.
26354 * math/w_log10f.c: Likewise.
26355 * math/w_log10l.c: Likewise.
26356 * math/w_log2.c: Likewise.
26357 * math/w_log2f.c: Likewise.
26358 * math/w_log2l.c: Likewise.
26359 * math/w_logf.c: Likewise.
26360 * math/w_logl.c: Likewise.
26361 * math/w_sqrt.c: Likewise.
26362 * math/w_sqrtf.c: Likewise.
26363 * math/w_sqrtl.c: Likewise.
26364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26365 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26367 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26368 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26370 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26373 * manual/string.texi (strnlen): Use correct parameter name in
26374 equivalent expression.
26376 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26379 * manual/users.texi (seteuid): Consistently use neweuid for
26382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26385 * manual/nss.texi (Services in the NSS configuration): Correct
26386 list of services in example configuration file.
26388 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26391 * manual/arith.texi: Remove statements about negative zero
26392 behaving identically to zero.
26394 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26397 * manual/install.texi: Do not document upgrading from libc5.
26399 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26402 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26404 2012-02-18 David S. Miller <davem@davemloft.net>
26406 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26407 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26408 %o7 across the call.
26409 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26412 SETUP_PIC_REG_LEAF.
26413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26414 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26415 * sysdeps/sparc/crtn.S: Likewise.
26417 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26419 * aout/Makefile: Remove.
26421 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26424 * manual/examples/argp-ex1.c (main): Format definition in GNU
26426 * manual/examples/argp-ex2.c (main): Likewise.
26427 * manual/examples/argp-ex3.c (main): Likewise.
26428 * manual/examples/argp-ex4.c (main): Likewise.
26429 * manual/examples/longopt.c (main): Use new-style prototype
26431 * manual/examples/strncat.c (main): Specify return type and use
26432 (void) for arguments.
26433 * manual/examples/subopt.c (main): Use char **argv argument.
26435 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26438 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26441 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26444 * manual/string.texi (strchr): Change when strchrnul is
26447 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26450 * manual/locale.texi (setlocale): Document LOCPATH.
26452 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26455 * manual/process.texi (execle): Move @dots{} before last argument.
26457 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26460 * manual/charset.texi (Generic Charset Conversion): Fix typo
26461 (LC_TYPE -> LC_CTYPE).
26463 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26466 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26467 (scalbnf): Likewise.
26468 (scalbnl): Likewise.
26469 (scalbln): Likewise.
26470 (scalblnf): Likewise.
26471 (scalblnl): Likewise.
26472 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26473 (vwarnx): Likewise.
26476 * manual/filesys.texi (telldir): Use braces around return type.
26477 * manual/llio.texi (mmap): Add space after comma.
26478 (mmap64): Likewise.
26479 * manual/math.texi (jn): Use @var{} on parameter names.
26485 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26487 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26489 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26490 (sched_get_priority_max): Likewise.
26491 * manual/signal.texi (sigvec): Add space after comma.
26492 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26494 (if_indextoname): Likewise.
26495 (if_freenameindex): Likewise.
26496 (sendto): Use ',' instead of '.' in prototype.
26497 * manual/startup.texi (syscall): Use @dots{} instead of literal
26499 * manual/stdio.texi (__fpending): Separate initial words of
26500 paragraph from @deftypefun line.
26501 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26503 (vsyslog): Use @var{} on parameter names.
26504 * manual/terminal.texi (stty): Use @var{} on parameter names.
26505 * manual/users.texi (getutmp): Use @var{} on parameter names.
26506 (getutmpx): Likewise.
26508 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26511 * manual/stdio.texi (fopen): Fix typos in description of
26514 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26517 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26518 get clock_id definition.
26520 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26523 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26524 (madvise): Cast every argument to void on its own.
26526 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26529 * manual/startup.texi (Exit Status): Fix typo.
26531 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26534 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26535 * manual/examples/argp-ex2.c: Likewise.
26536 * manual/examples/argp-ex3.c: Likewise.
26538 2012-02-16 Richard Henderson <rth@redhat.com>
26540 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26541 * sysdeps/s390/s390-32/initfini.c: Remove.
26542 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26543 * sysdeps/s390/s390-64/initfini.c: Remove.
26545 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26547 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26548 compiler output for sysdeps/generic/initfini.c.
26549 * sysdeps/sh/elf/initfini.c: Remove file.
26551 2012-02-16 David S. Miller <davem@davemloft.net>
26554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26556 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26557 * sysdeps/sparc/crti.S: New file.
26558 * sysdeps/sparc/crtn.S: New file.
26559 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26560 * sysdeps/sparc/sparc64/Makefile: Likewise.
26562 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26565 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26567 2012-02-15 Roland McGrath <roland@hack.frob.com>
26570 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26572 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26573 (write, read, close): Likewise.
26574 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26576 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26578 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26579 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26580 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26581 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26583 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26587 2012-02-14 Marek Polacek <polacek@redhat.com>
26589 * sysdeps/x86_64/crti.S: New file.
26590 * sysdeps/x86_64/crtn.S: New file.
26591 * sysdeps/x86_64/elf/initfini.c: Remove file.
26593 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26595 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26596 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26597 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26598 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26600 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26604 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26606 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26607 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26608 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26609 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26611 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26615 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26617 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26618 __feraiseexcept instead of feraiseexcept.
26620 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26621 nanosleep invocations.
26622 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26623 strings, and add error checking for a nanosleep invocations.
26625 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26627 Replace FSF snail mail address with URLs, as per GNU coding standards.
26628 Most of the snail mail addresses were wrong anyway, and omitting
26629 them makes the source code easier to maintain. Almost all of the
26630 changes are to license notices and to locale LC_IDENTIFICATION
26631 addresses, except for this one:
26632 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26633 not its snail mail address.
26635 2012-02-09 Richard Henderson <rth@twiddle.net>
26637 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26638 of kernel-features.h.
26640 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26642 2012-02-08 Marek Polacek <polacek@redhat.com>
26644 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26645 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26646 * sysdeps/gnu/_G_config.h: Likewise.
26647 * sysdeps/generic/_G_config.h: Likewise.
26649 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26651 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26655 * sysdeps/powerpc/powerpc32/crti.S: New file.
26656 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26657 * sysdeps/powerpc/powerpc64/crti.S: New file.
26658 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26660 * Makeconfig (have-initfini): Don't set.
26661 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26662 * configure.in (nopic_initfini): Don't substitute.
26663 * config.h.in (HAVE_INITFINI): Don't #undef.
26664 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26665 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26667 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26669 Support crti.S and crtn.S provided directly by architectures.
26670 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26671 [crti.S in sysdirs] (omit-deps): Likewise.
26672 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26673 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26674 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26675 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26676 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26677 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26678 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26679 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26680 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26681 compiler output for sysdeps/generic/initfini.c.
26682 * sysdeps/i386/elf/Makefile: Remove file.
26683 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26685 2012-02-07 Marek Polacek <polacek@redhat.com>
26687 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26688 * sysdeps/gnu/_G_config.h: Likewise.
26689 * sysdeps/mach/hurd/_G_config.h: Likewise.
26691 2012-02-07 Marek Polacek <polacek@redhat.com>
26693 * math/Makefile (tests): Add tst-CMPLX2.
26694 * math/tst-CMPLX2.c: New file.
26696 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26700 * math/libm-test.inc (jn_test): Add missing L suffix.
26702 2012-02-06 Marek Polacek <polacek@redhat.com>
26704 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26705 * sysdeps/i386/fpu/e_powf.S: Likewise.
26706 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26707 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26709 * sysdeps/i386/fpu/e_pow.S: Likewise.
26710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26714 * sysdeps/i386/fpu/e_log2.S: Likewise.
26715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26717 * sysdeps/i386/fpu/e_powl.S: Likewise.
26718 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26719 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26720 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26721 * sysdeps/i386/fpu/e_logl.S: Likewise.
26722 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26723 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26724 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26725 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26728 * sysdeps/i386/fpu/e_log.S: Likewise.
26729 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26730 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26731 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26732 * sysdeps/i386/fpu/e_logf.S: Likewise.
26733 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26734 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26735 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26736 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26737 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26738 * sysdeps/i386/fpu/e_log10.S: Likewise.
26739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26744 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26745 * sysdeps/i386/asm-syntax.h: Likewise.
26746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26747 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26749 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26750 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26751 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26752 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26753 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26754 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26755 * sysdeps/powerpc/sysdep.h: Likewise.
26756 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26759 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26762 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26764 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26766 * sysdeps/i386/sysdep.h: Include <features.h>.
26767 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26770 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26772 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26774 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26777 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26780 (SETUP_PIC_REG): Use GET_PC_THUNK.
26781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26784 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26786 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26787 for non-PIC compilation.
26788 (SETUP_PIC_REG): Add .p2align directive.
26789 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26790 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26791 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26792 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26793 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26795 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26797 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26798 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26799 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26800 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26801 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26802 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26803 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26804 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26805 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26806 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26807 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26808 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26809 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26811 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26812 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26815 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26816 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26817 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26818 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26819 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26822 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26823 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26824 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26825 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26826 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26827 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26828 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26829 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26831 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26833 * math/tst-CMPLX.c: Include <stdio.h>.
26835 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26837 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26839 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26840 * sysdeps/sparc/bits/mathdef.h: Likewise.
26842 2012-01-31 Marek Polacek <polacek@redhat.com>
26844 * libio/libio.h: Don't define _PARAMS.
26845 * locale/programs/config.h: Don't define PARAMS.
26846 * stdlib/strtol_l.c: Likewise.
26847 (__strtol_l): Remove PARAMS from the prototype.
26849 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26851 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26852 names. Just use the correct names. Remove unnecessary wrapper
26854 * malloc/arena.c: Likewise.
26855 * malloc/hooks.c: Likewise.
26857 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26858 ARENA_TEST says not to. Simplify test for creation of a new arena.
26859 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26861 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26863 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26865 (update_get_addr): New function.
26866 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26867 GET_ADDR_MODULE parameter.
26869 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26871 * crypt/cert.c: Remove __STDC__ conditionals.
26872 * crypt/crypt-entry.c: Likewise.
26873 * crypt/crypt_util.c: Likewise.
26874 * libio/filedoalloc.c: Likewise.
26875 * libio/fileops.c: Likewise.
26876 * libio/genops.c: Likewise.
26877 * libio/iofclose.c: Likewise.
26878 * libio/iofdopen.c: Likewise.
26879 * libio/iofopen.c: Likewise.
26880 * libio/iofopen64.c: Likewise.
26881 * libio/iogetdelim.c: Likewise.
26882 * libio/iopopen.c: Likewise.
26883 * libio/obprintf.c: Likewise.
26884 * libio/oldfileops.c: Likewise.
26885 * libio/oldiofclose.c: Likewise.
26886 * libio/oldiofdopen.c: Likewise.
26887 * libio/oldiofopen.c: Likewise.
26888 * libio/oldiopopen.c: Likewise.
26889 * libio/wfiledoalloc.c: Likewise.
26890 * libio/wgenops.c: Likewise.
26891 * locale/programs/xmalloc.c: Likewise.
26892 * misc/syslog.c: Likewise.
26893 * stdio-common/xbug.c: Likewise.
26894 * string/memchr.c: Likewise.
26895 * string/memcmp.c: Likewise.
26896 * string/memrchr.c: Likewise.
26897 * string/rawmemchr.c: Likewise.
26898 * sysdeps/posix/getcwd.c: Likewise.
26899 * time/strftime_l.c: Likewise.
26901 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26903 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26904 * config.make.in (config-cflags-sse2avx): Define.
26905 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26908 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26910 * scripts/config.guess: Update from upstream config git repository.
26911 * scripts/config.sub: Likewise.
26913 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26915 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26917 (R_TILEPRO_*, R_TILEGX_*): New macros.
26919 * scripts/firstversions.awk: Fix bug in version range handling.
26921 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26923 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26925 * include/sys/epoll.h: New file.
26926 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26929 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26931 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26932 Avoid unnecessary __WORDSIZE == 64 test.
26933 (fmaxf): Use VEX format if possible.
26938 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26939 * math/math_private.h: Remove libc_fegetround* and
26941 * sysdeps/i386/configure.in: Check for -msse2avx.
26942 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26943 also if SSE2AVX is defined.
26944 Remove libc_fegetround* and libc_fesetround*.
26945 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26946 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26955 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26957 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26959 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26963 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26966 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26968 * Makeconfig (libm): Define.
26969 * elf/Makefile: Add rules to build and run tst-relsort1.
26970 * elf/tst-relsort1.c: New file.
26971 * elf/tst-relsort1mod1.c: New file.
26972 * elf/tst-relsort1mod2.c: New file.
26974 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26976 * math/s_ldexp.c: Remove __STDC__ conditionals.
26977 * math/s_ldexpf.c: Likewise.
26978 * math/s_ldexpl.c: Likewise.
26979 * math/s_nextafter.c: Likewise.
26980 * math/s_nexttowardf.c: Likewise.
26981 * math/s_significand.c: Likewise.
26982 * math/s_significandf.c: Likewise.
26983 * math/s_significandl.c: Likewise.
26984 * math/w_jnl.c: Likewise.
26985 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26986 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26987 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26988 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26989 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27004 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27005 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27006 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27007 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27008 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27009 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27010 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27011 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27012 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27013 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27014 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27015 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27016 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27017 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27018 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27019 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27021 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27025 * sysdeps/ieee754/k_standard.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27030 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27087 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27088 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27092 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27098 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27101 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27102 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27103 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27105 * sysdeps/ieee754/s_matherr.c: Likewise.
27106 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27107 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27111 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27113 * crypt/md5.h: Remove __STDC__ conditionals.
27114 * libio/libioP.h: Likewise.
27115 * locale/programs/config.h: Likewise.
27116 * sysdeps/generic/sysdep.h: Likewise.
27117 * sysdeps/i386/asm-syntax.h: Likewise.
27118 * sysdeps/s390/asm-syntax.h: Likewise.
27119 * sysdeps/unix/sysdep.h: Likewise.
27120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27123 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27125 * libio/libio.h: Remove __STDC__ conditionals.
27126 * malloc/obstack.h: Likewise.
27127 * math/complex.h: Likewise.
27128 * math/math.h: Likewise.
27129 * sysdeps/generic/_G_config.h: Likewise.
27130 * sysdeps/gnu/_G_config.h: Likewise.
27131 * sysdeps/mach/hurd/_G_config.h: Likewise.
27132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27133 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27134 * sysdeps/sparc/bits/mathdef.h: Likewise.
27136 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27140 Clean up HAS_* macros.
27141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27142 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27144 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27146 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27147 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27148 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27152 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27154 * elf/tst-unique3.cc (gets): Remove declaration.
27155 * elf/tst-unique3lib.cc (gets): Likewise.
27156 * elf/tst-unique3lib2.cc (gets): Likewise.
27157 * elf/tst-unique4.cc (gets): Likewise.
27159 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27161 * include/stdio.h: Add C++ protection. Add gets declarations and
27163 * debug/tst-chk1.c: Don't declare gets here.
27164 * stdio-common/tst-gets.c: Likewise.
27166 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27168 * posix/glob: Remove directory.
27170 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27172 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27174 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27176 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27177 of the non-standard EPFNOSUPPORT.
27179 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27181 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27182 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27183 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27185 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27187 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27189 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27191 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27193 * nscd/grpcache.c (cache_addgr): Likewise.
27194 * nscd/hstcache.c (cache_addhst): Likewise.
27195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27196 * nscd/pwdcache.c (cache_addpw): Likewise.
27197 * nscd/servicescache.c (cache_addserv): Likewise.
27199 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27201 * malloc/malloc.c: Various cleanups.
27202 * malloc/hooks.c: Likewise.
27204 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27205 * stdlib/bug-fmtmsg1.c: New file.
27207 * stdlib/fmtmsg.c (init): Add missing unlock.
27208 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27210 2012-01-12 Marek Polacek <polacek@redhat.com>
27212 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27215 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27217 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27218 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27219 macro to ensure uniqueness of label name.
27220 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27221 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27223 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27227 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27228 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27229 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27232 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27236 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27237 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27240 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27247 * math/bits/math-finite.h: Add ldexp support.
27249 2012-01-10 Marek Polacek <polacek@redhat.com>
27251 * locale/programs/localedef.h (show_archive_content): Add noreturn
27254 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27256 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27258 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27260 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27262 * io/Makefile (headers): Add bits/poll2.h.
27264 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27267 typo #include statement.
27269 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27271 * include/sys/cdefs.h: Define __attribute_alloc_size.
27272 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27273 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27274 * elf/pldd.c: Likewise.
27275 * iconv/iconv_charmap.c: Likewise.
27276 * iconv/iconvconfig.c: Likewise.
27277 * iconv/strtab.c: Likewise.
27278 * locale/programs/locale.c: Likewise.
27279 * locale/programs/localedef.h: Likewise.
27280 * locale/programs/simple-hash.c: Likewise.
27281 * nscd/nscd.h: Likewise.
27282 * nss/makedb.c: Likewise.
27283 * sysdeps/generic/ldconfig.h: Likewise.
27284 * locale/programs/localedef.c: Remove xmalloc prototype.
27285 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27287 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27292 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27294 * math/Makefile (tests): Add tst-CMPLX.
27295 * math/tst-CMPLX.c: New file.
27297 * math/complex.h (CMPLXL): Fix typo.
27299 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27300 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27302 * debug/tst-chk1.c: Add poll and ppoll tests.
27303 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27304 * include/sys/poll.h: Add hidden proto for ppoll.
27305 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27306 * sysdeps/mach/hurd/ppoll.c: Likewise.
27307 * io/ppoll.c: Likewise.
27308 * debug/poll_chk.c: New file.
27309 * debug/ppoll_chk.c: New file.
27310 * include/bits/poll2.h: New file.
27311 * io/bits/poll2.h: New file.
27314 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27316 * configure.in: static is always set to yes. Remove.
27317 * config.make.in: Don't set build-static.
27318 * Makeconfig: Remove use of build-static.
27319 * dlfcn/Makefile: Likewise.
27320 * elf/Makefile: Likewise.
27321 * math/Makefile: Likewise.
27322 * misc/Makefile: Likewise.
27323 * nptl/Makefile: Likewise.
27324 * sysdeps/mach/hurd/Makefile: Likewise.
27326 * configure.in: PWD_P is not used anymore.
27327 * config.make.in: Remove PWD_P entry.
27329 * configure.in: Remove last remnants of RANLIB.
27330 No need to check for signed size_t anymore.
27331 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27333 Remove __builtin_expect test because we require at least gcc 3.4.
27334 * aclocal.m4: Likewise.
27336 * wcsmbs/mbrtoc16.c: Implement using towc function.
27337 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27338 * wcsmbs/wcsmbsload.c: Likewise.
27339 * iconv/gconv_simple.c: Likewise.
27340 * iconv/gconv_int.h: Likewise.
27341 * iconv/gconv_builtin.h: Likewise.
27342 * iconv/iconv_prog.c: Remove CHAR16 handling.
27344 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27346 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27348 * configure.in: Remove --with-elf and --enable-bounded options.
27349 Dont set base_machine for ia64. More non-ELF conditions removed.
27350 Remove testing and setting of leading underscore information.
27351 * config.make.in (build-bounded): Set to no.
27352 * config.h.in: Remove NO_UNDERSCORES entry.
27353 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27355 * csu/start.c: Remove !NO_UNDERSCORE code.
27356 * locale/localeinfo.h: Likewise.
27357 * sysdeps/generic/machine-gmon.h: Likewise.
27358 * sysdeps/generic/sysdep.h: Likewise.
27359 * sysdeps/i386/sysdep.h: Likewise.
27360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27361 * sysdeps/mach/sysdep.h: Likewise.
27362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27364 * sysdeps/sh/sysdep.h: Likewise.
27365 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27366 * sysdeps/unix/i386/sysdep.S: Likewise.
27367 * sysdeps/unix/sparc/start.c: Likewise.
27368 * sysdeps/unix/sparc/sysdep.S: Likewise.
27369 * sysdeps/unix/sparc/sysdep.h: Likewise.
27370 * sysdeps/unix/start.c: Likewise.
27371 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27372 * sysdeps/x86_64/sysdep.h: Likewise.
27374 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27377 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27379 * argp/argp-fmtstream.h: Use const instead __const.
27380 * argp/argp.h: Likewise.
27381 * assert/assert.h: Likewise.
27382 * bits/fenv.h: Likewise.
27383 * bits/sched.h: Likewise.
27384 * bits/sigset.h: Likewise.
27385 * bits/sigthread.h: Likewise.
27386 * catgets/nl_types.h: Likewise.
27387 * conform/data/pthread.h-data: Likewise.
27388 * crypt/crypt-private.h: Likewise.
27389 * crypt/crypt.h: Likewise.
27390 * crypt/crypt_util.c: Likewise.
27391 * ctype/ctype.h: Likewise.
27392 * debug/execinfo.h: Likewise.
27393 * debug/mbsnrtowcs_chk.c: Likewise.
27394 * debug/mbsrtowcs_chk.c: Likewise.
27395 * debug/wcsnrtombs_chk.c: Likewise.
27396 * debug/wcsrtombs_chk.c: Likewise.
27397 * debug/wcstombs_chk.c: Likewise.
27398 * dirent/dirent.h: Likewise.
27399 * dlfcn/dlfcn.h: Likewise.
27400 * elf/neededtest4.c: Likewise.
27401 * grp/grp.h: Likewise.
27402 * gshadow/gshadow.h: Likewise.
27403 * iconv/gconv.h: Likewise.
27404 * iconv/gconv_int.h: Likewise.
27405 * iconv/gconv_simple.c: Likewise.
27406 * iconv/iconv.h: Likewise.
27407 * iconv/loop.c: Likewise.
27408 * iconv/skeleton.c: Likewise.
27409 * include/aio.h: Likewise.
27410 * include/aliases.h: Likewise.
27411 * include/argz.h: Likewise.
27412 * include/arpa/inet.h: Likewise.
27413 * include/assert.h: Likewise.
27414 * include/dirent.h: Likewise.
27415 * include/dlfcn.h: Likewise.
27416 * include/execinfo.h: Likewise.
27417 * include/fcntl.h: Likewise.
27418 * include/fenv.h: Likewise.
27419 * include/glob.h: Likewise.
27420 * include/grp.h: Likewise.
27421 * include/libintl.h: Likewise.
27422 * include/mntent.h: Likewise.
27423 * include/netdb.h: Likewise.
27424 * include/pwd.h: Likewise.
27425 * include/rpc/netdb.h: Likewise.
27426 * include/sched.h: Likewise.
27427 * include/search.h: Likewise.
27428 * include/shadow.h: Likewise.
27429 * include/signal.h: Likewise.
27430 * include/stdio.h: Likewise.
27431 * include/stdlib.h: Likewise.
27432 * include/string.h: Likewise.
27433 * include/sys/socket.h: Likewise.
27434 * include/sys/stat.h: Likewise.
27435 * include/sys/statfs.h: Likewise.
27436 * include/sys/statvfs.h: Likewise.
27437 * include/sys/syslog.h: Likewise.
27438 * include/sys/time.h: Likewise.
27439 * include/sys/uio.h: Likewise.
27440 * include/time.h: Likewise.
27441 * include/unistd.h: Likewise.
27442 * include/utmp.h: Likewise.
27443 * include/wchar.h: Likewise.
27444 * include/wctype.h: Likewise.
27445 * inet/aliases.h: Likewise.
27446 * inet/arpa/inet.h: Likewise.
27447 * inet/netinet/ether.h: Likewise.
27448 * inet/netinet/in.h: Likewise.
27449 * intl/libintl.h: Likewise.
27450 * io/bits/fcntl2.h: Likewise.
27451 * io/fcntl.h: Likewise.
27452 * io/ftw.h: Likewise.
27453 * io/sys/poll.h: Likewise.
27454 * io/sys/stat.h: Likewise.
27455 * io/sys/statfs.h: Likewise.
27456 * io/sys/statvfs.h: Likewise.
27457 * io/utime.h: Likewise.
27458 * libio/bits/stdio.h: Likewise.
27459 * libio/bits/stdio2.h: Likewise.
27460 * libio/libio.h: Likewise.
27461 * libio/libioP.h: Likewise.
27462 * libio/stdio.h: Likewise.
27463 * locale/lc-ctype.c: Likewise.
27464 * locale/locale.h: Likewise.
27465 * login/utmp.h: Likewise.
27466 * malloc/arena.c: Likewise.
27467 * malloc/malloc.c: Likewise.
27468 * malloc/malloc.h: Likewise.
27469 * malloc/mcheck.c: Likewise.
27470 * malloc/mtrace.c: Likewise.
27471 * math/bits/mathcalls.h: Likewise.
27472 * math/fenv.h: Likewise.
27473 * math/math_private.h: Likewise.
27474 * misc/bits/error.h: Likewise.
27475 * misc/bits/syslog.h: Likewise.
27476 * misc/err.h: Likewise.
27477 * misc/error.h: Likewise.
27478 * misc/fstab.h: Likewise.
27479 * misc/mntent.h: Likewise.
27480 * misc/regexp.h: Likewise.
27481 * misc/search.h: Likewise.
27482 * misc/sgtty.h: Likewise.
27483 * misc/sys/mman.h: Likewise.
27484 * misc/sys/syslog.h: Likewise.
27485 * misc/sys/uio.h: Likewise.
27486 * misc/sys/xattr.h: Likewise.
27487 * misc/ttyent.h: Likewise.
27488 * nis/rpcsvc/ypclnt.h: Likewise.
27489 * nss/nss.h: Likewise.
27490 * posix/bits/unistd.h: Likewise.
27491 * posix/fnmatch.h: Likewise.
27492 * posix/glob.h: Likewise.
27493 * posix/sched.h: Likewise.
27494 * posix/spawn.h: Likewise.
27495 * posix/sys/wait.h: Likewise.
27496 * posix/unistd.h: Likewise.
27497 * posix/wordexp.h: Likewise.
27498 * pwd/pwd.h: Likewise.
27499 * resolv/netdb.h: Likewise.
27500 * resource/sys/resource.h: Likewise.
27501 * rt/aio.h: Likewise.
27502 * rt/bits/mqueue2.h: Likewise.
27503 * rt/mqueue.h: Likewise.
27504 * shadow/shadow.h: Likewise.
27505 * signal/signal.h: Likewise.
27506 * socket/send.c: Likewise.
27507 * socket/sendto.c: Likewise.
27508 * socket/sys/socket.h: Likewise.
27509 * stdio-common/printf.h: Likewise.
27510 * stdlib/bits/stdlib.h: Likewise.
27511 * stdlib/fmtmsg.h: Likewise.
27512 * stdlib/monetary.h: Likewise.
27513 * stdlib/stdlib.h: Likewise.
27514 * stdlib/ucontext.h: Likewise.
27515 * streams/stropts.h: Likewise.
27516 * string/argz.h: Likewise.
27517 * string/bits/string2.h: Likewise.
27518 * string/string.h: Likewise.
27519 * string/strings.h: Likewise.
27520 * sunrpc/rpc/auth.h: Likewise.
27521 * sunrpc/rpc/auth_des.h: Likewise.
27522 * sunrpc/rpc/clnt.h: Likewise.
27523 * sunrpc/rpc/netdb.h: Likewise.
27524 * sunrpc/rpc/pmap_clnt.h: Likewise.
27525 * sunrpc/rpc/xdr.h: Likewise.
27526 * sysdeps/generic/inttypes.h: Likewise.
27527 * sysdeps/generic/net/if.h: Likewise.
27528 * sysdeps/generic/sys/swap.h: Likewise.
27529 * sysdeps/gnu/net/if.h: Likewise.
27530 * sysdeps/gnu/utmpx.h: Likewise.
27531 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27532 * sysdeps/i386/i486/bits/string.h: Likewise.
27533 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27534 * sysdeps/s390/bits/string.h: Likewise.
27535 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27536 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27537 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27538 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27539 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27540 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27541 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27542 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27543 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27544 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27545 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27546 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27547 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27548 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27549 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27550 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27551 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27554 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27555 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27556 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27557 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27558 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27559 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27560 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27561 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27563 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27564 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27565 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27566 * sysvipc/sys/ipc.h: Likewise.
27567 * sysvipc/sys/msg.h: Likewise.
27568 * sysvipc/sys/sem.h: Likewise.
27569 * sysvipc/sys/shm.h: Likewise.
27570 * termios/termios.h: Likewise.
27571 * time/sys/time.h: Likewise.
27572 * time/time.h: Likewise.
27573 * wcsmbs/bits/wchar2.h: Likewise.
27574 * wcsmbs/uchar.h: Likewise.
27575 * wcsmbs/wchar.h: Likewise.
27576 * wctype/wctype.h: Likewise.
27579 * Makeconfig: Remove all but ELF support including AIX support.
27580 * Makerules: Likewise.
27581 * config.h.in: Likewise.
27582 * config.make.in: Likewise.
27583 * configure: Likewise.
27584 * configure.in: Likewise.
27585 * csu/Makefile: Likewise.
27586 * csu/version.c: Likewise.
27587 * debug/Makefile: Likewise.
27588 * dlfcn/Makefile: Likewise.
27589 * elf/Makefile: Likewise.
27590 * extra-lib.mk: Likewise.
27591 * iconv/Makefile: Likewise.
27592 * include/libc-symbols.h: Likewise.
27593 * include/shlib-compat.h: Likewise.
27594 * resolv/Makefile: Likewise.
27595 * resolv/res_libc.c: Likewise.
27596 * rt/Makefile: Likewise.
27597 * sysdeps/i386/asm-syntax.h: Likewise.
27598 * sysdeps/i386/sysdep.h: Likewise.
27599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27600 * sysdeps/mach/sysdep.h: Likewise.
27601 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27602 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27603 * sysdeps/s390/asm-syntax.h: Likewise.
27604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27606 * sysdeps/sh/sysdep.h: Likewise.
27607 * sysdeps/unix/sparc/sysdep.h: Likewise.
27608 * sysdeps/wordsize-32/divdi3.c: Likewise.
27609 * sysdeps/x86_64/sysdep.h: Likewise.
27611 * argp/Versions: Remove _argp_unlock_xxx.
27614 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27615 * abilist/libBrokenLocale.abilist: Likewise.
27616 * abilist/libanl.abilist: Likewise.
27617 * abilist/libc.abilist: Likewise.
27618 * abilist/libcrypt.abilist: Likewise.
27619 * abilist/libdl.abilist: Likewise.
27620 * abilist/libm.abilist: Likewise.
27621 * abilist/libnsl.abilist: Likewise.
27622 * abilist/libpthread.abilist: Likewise.
27623 * abilist/libresolv.abilist: Likewise.
27624 * abilist/librt.abilist: Likewise.
27625 * abilist/libthread_db.abilist: Likewise.
27626 * abilist/libutil.abilist: Likewise.
27627 * abilist/libnss_db.abilist: New file.
27629 * scripts/abilist.awk: Add support for indirect functions.
27631 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27633 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27635 * shlib-versions: Remove entries for ports architectures.
27637 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27639 * elf/stackguard-macros.h: Remove support for IA-64.
27640 * elf/tst-auditmod1.c: Likewise.
27641 * sysdeps/generic/ldsodefs.h: Likewise.
27643 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27644 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27648 * configure.in: Remove --enable-omitfp support.
27650 * config.make.in: Likewise.
27651 * Makeconfig: Likewise.
27652 * manual/install.texi: Likewise.
27654 In case anyone cares, the IA-64 architecture could move to ports.
27655 * sysdeps/ia64/*: Removed.
27656 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27657 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27660 * configure.in: Remove entries for unsupported architectures.
27663 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27664 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27666 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27667 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27668 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27669 fall back to using wcrtomb.
27670 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27671 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27673 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27674 * wcsmbs/tst-c16c32-1.c: New file.
27676 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27679 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27681 * elf/tst-unique3.cc: Add explicit declaration of gets.
27682 * elf/tst-unique3lib.cc: Likewise.
27683 * elf/tst-unique3lib2.cc: Likewise.
27684 * elf/tst-unique4.cc: Likewise.
27686 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27688 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27691 * assert/assert.h (static_assert): Don't define for C++.
27692 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27693 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27695 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27697 * iconv/loop.c (single loop): Fix assertion in storing of
27700 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27702 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27704 * posix/getconf.c: Update copyright year.
27705 * nss/getent.c: Likewise.
27706 * nss/makedb.c: Likewise.
27707 * iconv/iconvconfig.c: Likewise.
27708 * iconv/iconv_prog.c: Likewise.
27709 * elf/ldconfig.c: Likewise.
27710 * elf/pldd.c: Likewise.
27711 * elf/sotruss.ksh: Likewise.
27712 * catgets/gencat.c: Likewise.
27713 * csu/version.c: Likewise.
27714 * elf/ldd.bash.in: Likewise.
27715 * elf/sprof.c (print_version): Likewise.
27716 * locale/programs/locale.c: Likewise.
27717 * locale/programs/localedef.c: Likewise.
27718 * login/programs/pt_chown.c: Likewise.
27719 * nscd/nscd.c (print_version): Likewise.
27720 * debug/xtrace.sh: Likewise.
27721 * malloc/memusage.sh: Likewise.
27722 * malloc/mtrace.pl: Likewise.
27723 * debug/catchsegv.sh: Likewise.
27725 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27727 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27730 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27733 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27734 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27736 * iconv/gconv_int.h: Likewise.
27737 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27738 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27739 from libc for GLIBC_2.16.
27740 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27741 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27742 * wcsmbs/uchar.h: Really define mbstate_t.
27743 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27744 * wcsmbs/c16rtomb.c: New file.
27745 * wcsmbs/mbrtoc16.c: New file.
27746 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27747 for C/POSIX locale.
27748 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27749 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27751 * wcsmbs/wchar.h: Add missing __restrict.
27753 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27756 * time/Makefile (routines): Add timespec_get.
27757 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27758 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27759 timespec for ISO C11.
27760 * time/timespec_get.c: New file.
27761 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27762 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27765 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27766 * stdlib/stdlib.h: Declare aligned_alloc.
27767 * Versions.def: Add GLIBC_2.16 for libc.
27768 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27771 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27774 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27778 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27781 * assert/assert.h (static_assert): Define.
27783 * version.h: Update for 2.16 development version.
27786 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27789 * version.h (RELEASE): Bump for 2.15 release.
27790 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27792 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27793 Patch by Marek Polacek <mpolacek@redhat.com>.
27795 * bits/byteswap.h: Protect long long constants with __extension__.
27796 * sysdeps/i386/bits/byteswap.h: Likewise.
27797 * sysdeps/ia64/bits/byteswap.h: Likewise.
27798 * sysdeps/s390/bits/byteswap.h: Likewise.
27799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27801 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27805 destination buffer.
27806 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27808 2011-12-23 Marek Polacek <polacek@redhat.com>
27810 * elf/dl-addr.c (determine_info): Add inline keyword.
27811 * elf/tst-auditmod4b.c (check_avx): Likewise.
27812 * elf/tst-auditmod6b.c (check_avx): Likewise.
27813 * elf/tst-auditmod6c.c (check_avx): Likewise.
27814 * elf/tst-auditmod7b.c (check_avx): Likewise.
27816 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27818 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27821 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27824 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27825 processing for last bytes.
27827 2011-08-06 Bruno Haible <bruno@clisp.org>
27830 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27831 U+0385, not to U+1FEE.
27834 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27835 entry for U+00A5 U+0301.
27837 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27840 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27841 buffer for the output is too small.
27843 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27847 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27848 SSE flags if possible.
27850 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27854 processing for last bytes.
27856 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27858 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27859 (syscall-list-default-options, syscall-list-default-condition)
27860 (syscall-list-includes): Define.
27861 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27862 list of ABIs and options and #if conditions for each ABI. Do not
27863 handle common syscalls between ABIs specially.
27864 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27866 (syscall-list-variants, syscall-list-32bit-options)
27867 (syscall-list-32bit-condition, syscall-list-64bit-options)
27868 (syscall-list-64bit-condition): Define.
27869 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27870 (syscall-list-variants, syscall-list-32bit-options)
27871 (syscall-list-32bit-condition, syscall-list-64bit-options)
27872 (syscall-list-64bit-condition): Define.
27873 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27875 (syscall-list-variants, syscall-list-32bit-options)
27876 (syscall-list-32bit-condition, syscall-list-64bit-options)
27877 (syscall-list-64bit-condition): Define.
27878 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27880 (syscall-list-variants, syscall-list-32bit-options)
27881 (syscall-list-32bit-condition, syscall-list-64bit-options)
27882 (syscall-list-64bit-condition): Define.
27884 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27886 * locale/iso-639.def: Add brx entry.
27889 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27890 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27892 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27893 __feraiseexcept_renamed.
27895 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27898 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27899 EPOLLET with unsigned values.
27900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27903 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27904 to large cancellation.
27905 * math/s_cacoshf.c: Likewise.
27906 * math/s_cacoshl.c: Likewise.
27908 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27912 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27913 * math/s_cacoshf.c: Likewise.
27914 * math/s_cacoshl.c: Likewise.
27916 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27919 * iconv/gconv.h: Define __GCONV_SWAP.
27920 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27921 * iconvdata/utf-16.c: Likewise.
27922 * iconvdata/utf-32.c: Likewise.
27924 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27927 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27928 numerator after shifting it by one limb.
27930 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27933 under [__USE_EXTERN_INLINES].
27935 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27938 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27940 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27942 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27943 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27945 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27946 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27947 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27948 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27949 for strncasecmp/strncasecmp_l compilation.
27950 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27951 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27953 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27956 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27959 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27962 * time/tzfile.c (__tzfile_read): Check values from file header.
27964 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27966 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27967 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27968 * powerpc/powerpc32/dl-start.S: Likewise.
27969 * powerpc/powerpc32/elf/start.S: Likewise.
27970 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27971 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27972 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27973 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27974 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27975 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27976 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27977 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27978 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27979 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27980 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27981 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27982 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27983 * powerpc/powerpc32/memset.S: Likewise.
27984 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27985 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27986 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27987 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27988 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27989 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27990 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27991 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27992 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27993 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27995 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27996 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27998 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28000 * math/libm-test.inc: Added more nearbyint tests.
28001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28006 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28008 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28011 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28013 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28014 Add wcscpy-ssse3 wcscpy-c.
28015 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28016 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28017 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28018 * sysdeps/x86_64/wcschr.S: New file.
28019 * sysdeps/x86_64/wcsrchr.S: New file.
28020 * string/test-strcmp.c: Remove checking of wcscmp function for
28022 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28023 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28024 wcsrchr-sse2 wcsrchr-c.
28025 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28026 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28027 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28028 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28029 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28030 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28031 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28032 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28034 * wcsmbc/wcschr.c (WCSCHR): New macro.
28036 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28038 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28039 * wcsmbs/test-wcsrchr.c: New file.
28040 * string/test-strrchr.c: Add wcsrchr support.
28042 * wcsmbs/test-wcscpy.c: New file.
28043 * string/test-strcpy.c: Add wcscpy support.
28046 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28051 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28054 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28056 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28058 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28059 Minor optimizations.
28061 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28062 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28063 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28065 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28067 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28068 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28069 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28070 for gcc to avoid warnings.
28071 * inet/Makefile (tests): Add tst-checks.
28072 * inet/tst-checks.c: New file.
28074 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28077 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28080 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28081 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28083 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28085 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28087 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28090 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28092 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28094 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28095 conditional on GCC version.
28096 (__arch_compare_and_exchange_val_8_acq)
28097 (__arch_compare_and_exchange_val_16_acq)
28098 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28099 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28100 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28102 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28104 * sysdeps/sh/backtrace.c: New file.
28106 2011-12-02 Andreas Schwab <schwab@redhat.com>
28108 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28111 2011-12-01 Andreas Schwab <schwab@redhat.com>
28113 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28114 falling back to utime.
28116 2011-11-30 Andreas Schwab <schwab@redhat.com>
28118 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28119 expectations for float.
28121 2011-11-29 Andreas Schwab <schwab@redhat.com>
28123 * locale/weight.h (findidx): Add parameter len.
28124 * locale/weightwc.h (findidx): Likewise.
28125 * posix/fnmatch_loop.c (FCT): Adjust caller.
28126 * posix/regcomp.c (build_equiv_class): Likewise.
28127 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28128 * posix/regexec.c (check_node_accept_bytes): Likewise.
28129 * string/strcoll_l.c (STRCOLL): Likewise.
28130 * string/strxfrm_l.c (STRXFRM): Likewise.
28132 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28134 * Makefile.in: Remove CVSOPT handling.
28135 * configure.in: Remove use of AC_REVISION.
28136 * iconvdata/Makefile (distribute): No need to filter out CVS.
28137 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28140 2011-11-16 Andreas Schwab <schwab@redhat.com>
28142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28143 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28144 [USE_AS_STRNCASECMP_L]: Likewise.
28145 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28146 NO_TLS_DIRECT_SEG_REFS.
28147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28148 Fix argument offsets for non-PIC.
28149 [USE_AS_STRNCASECMP_L]: Likewise.
28150 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28151 NO_TLS_DIRECT_SEG_REFS.
28153 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28155 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28157 * locale/loadlocale.c (_nl_load_locale): Likewise.
28159 2011-11-15 Andreas Schwab <schwab@redhat.com>
28161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28162 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28164 (SYSCALL_GETTIME): Set errno on error.
28166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28167 count references to noai6ai_cached.
28169 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28171 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28173 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28174 FD_CLOEXEC for /proc/self/maps.
28176 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28177 FD_CLOEXEC for /proc/meminfo.
28179 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28182 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28183 FD_CLOEXEC for given file.
28185 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28187 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28188 FD_CLOEXEC for /etc/hosts.
28189 (_gethtent): Likewise.
28191 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28193 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28194 cancellation and set FD_CLOEXEC for /etc/netgroup.
28196 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28197 reading /etc/publickey.
28199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28200 allow cancellation when reading /etc/group.
28202 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28204 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28206 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28207 when using data file.
28209 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28211 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28212 (write_nis_obj): Use "c" and "e" in fopen.
28214 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28216 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28218 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28220 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28222 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28225 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28227 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28229 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28231 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28232 file parsing and set FD_CLOEXEC.
28234 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28236 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28238 2011-11-14 Andreas Schwab <schwab@redhat.com>
28240 * malloc/arena.c (arena_get2): Don't call reused_arena when
28241 _int_new_arena failed.
28243 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28245 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28246 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28251 to compile strcasecmp and strncasecmp.
28252 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28253 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28257 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28259 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28260 locale-defines.sym to gen-as-const-headers.
28261 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28262 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28264 to compile strcasecmp and strncasecmp.
28265 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28266 strcasecmp_l and strncasecmp_l.
28267 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28268 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28269 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28270 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28271 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28272 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28273 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28274 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28275 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28276 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28277 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28279 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28281 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28282 result of SYSDEP_GETTIME_CPU to retval.
28283 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28284 parameter list to macro. Remove trailing semicolon. Adjust users.
28286 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28289 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28291 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28293 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28294 from unused variable.
28296 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28298 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28301 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28304 * sunrpc/rpc_prot.c (rejected): Fix case value.
28306 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28307 unsigned long long int to avoid warnings in shift.
28309 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28311 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28315 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28316 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28318 * nis/nis_table.c (nis_list): Use variable of correct type for
28319 result of __follow_path call.
28321 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28323 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28324 of math functions ceil, trunc, floor, round, and sqrt, when
28325 avaliable on the platform.
28326 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28328 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28329 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28330 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28332 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28334 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28337 2011-11-11 Roland McGrath <roland@hack.frob.com>
28339 * include/unistd.h: Fix __readlink return type.
28340 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28342 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28344 * stdlib/ucontext.h: Undo last change for makecontext.
28346 2011-11-11 Andreas Schwab <schwab@redhat.com>
28348 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28350 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28351 * setjmp/setjmp.h: Mark functions as non-leaf.
28352 * setjmp/bits/setjmp2.h: Likewise.
28353 * stdlib/ucontext.h: Likewise.
28355 2011-11-10 Andreas Schwab <schwab@redhat.com>
28357 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28358 (reused_arena): Don't check arena limit.
28359 (arena_get2): Atomically check arena limit.
28361 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28363 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28364 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28369 2011-11-07 Andreas Schwab <schwab@redhat.com>
28371 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28372 handler when locking.
28374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28375 Fix size of allocated buffer.
28377 2011-11-04 Andreas Schwab <schwab@redhat.com>
28380 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28381 declarations for long double functions.
28382 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28384 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28386 2011-11-03 Andreas Schwab <schwab@redhat.com>
28388 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28391 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28394 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28396 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28398 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28400 * include/alloca.h (stackinfo_alloca_round): Define.
28401 (extend_alloca): Use it.
28402 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28403 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28406 * scripts/check-local-headers.sh: Ignore libaudit.h.
28408 * nscd/Makefile (extra-objs): Make recursively expanded.
28410 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28412 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28415 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28416 * posix/tst-rfc3484-2.c: Likewise.
28417 * posix/tst-rfc3484-3.c: Likewise.
28419 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28421 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28423 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28424 process_vm_writev from libc using GLIBC_2.15 version.
28426 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28428 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28430 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28433 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28436 * nss/getent.c (initgroups_keys): Show error message in case no group
28439 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28440 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28441 __bump_nl_timestamp.
28442 * nscd/connections (nscd_init): When host database is served open
28443 netlink socket and request notification about configuration changes.
28444 (main_loop_poll): Track netlink file descriptor and bump timestamp
28445 in case data becomes available.
28446 (main_loop_epoll): Likewise.
28447 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28448 (database_pers_head): Add extra_data fileds.
28449 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28450 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28451 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28454 in6ai data, call __free_in6ai.
28455 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28456 Add -DHAVE_NETLINK.
28457 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28458 interface information. Reuse previous data if netlink timestamp
28460 (__bump_nl_timestamp): New function.
28461 (__free_in6ai): New function.
28463 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28466 close_not_cancel_no_status here.
28467 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28469 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28472 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28475 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28476 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28477 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28479 2011-07-03 Andreas Jaeger <aj@suse.de>
28482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28483 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28484 * math/libm-test.inc (sin_test): Add test case.
28486 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28489 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28490 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28492 * elf/chroot_canon.c (chroot_canon): Cleanups.
28494 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28497 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28500 * string/test-strchr.c: Make usable for strchrnul testing.
28501 * string/test-strchrnul.c: New file.
28502 * string/Makefile (strop-tests): Add strchrnul.
28504 * po/it.po: Update from translation team.
28505 * po/es.po: Likewise.
28507 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28510 the three constants needed as parameters. Drop the others.
28511 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28512 __m128i_strloadu_tolower.
28513 Create and initialize variable zero and use it in all the places
28514 where _mm_setzero_si128 was used.
28516 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28517 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28518 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28519 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28521 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28524 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28525 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28526 __mpranred, __mptan.
28527 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28528 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28529 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28530 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28534 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28535 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28537 2011-10-28 Andreas Schwab <schwab@redhat.com>
28539 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28540 redefine if SHARED.
28541 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28544 wide char related routines to wcsmbs subdir.
28546 2011-10-27 Andreas Schwab <schwab@redhat.com>
28549 * misc/sys/cdefs.h (__THROWNL): Define.
28550 * posix/unistd.h: Use __THREADNL instead of __THREAD
28551 for memory synchronization functions.
28553 2011-10-26 Roland McGrath <roland@hack.frob.com>
28556 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28558 * manual/stdio.texi (Obstack Streams): Node removed.
28560 2011-10-26 Andreas Schwab <schwab@redhat.com>
28562 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28563 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28564 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28566 * math/math_private.h (math_force_eval): Allow non-addressable
28568 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28570 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28573 file is not needed.
28575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28576 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28578 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28580 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28582 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28588 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28589 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28590 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28592 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28593 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28594 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28595 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28597 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28598 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28599 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28600 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28602 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28604 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28605 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28607 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28608 place. Use VEX encoding when compiling for AVX.
28610 2011-10-25 Andreas Schwab <schwab@redhat.com>
28612 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28613 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28615 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28617 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28619 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28620 useless if() expression.
28621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28632 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28633 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28639 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28641 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28643 2011-10-25 Andreas Schwab <schwab@redhat.com>
28645 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28649 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28651 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28652 .text section. Avoid duplicate constants.
28653 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28663 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28664 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28665 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28668 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28669 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28670 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28677 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28678 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28679 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28680 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28681 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28682 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28683 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28699 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28701 * sysdeps/x86_64/dla.h: Move to ...
28702 * sysdeps/x86_64/fpu/dla.h: ...here.
28703 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28704 situations. Use __builtin_fma only for gcc 4.6 and up.
28706 * config.make.in: Add have-mfma4 entry.
28707 * configure.in: Substitute libc_cv_cc_fma4.
28708 * math/Makefile (dbl-only-routines): Add sincostab.
28709 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28710 Use __sincostab not sincos.
28711 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28718 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28719 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28720 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28721 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28724 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28726 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28727 define aliases when function name is a macro.
28728 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28729 sysdeps/ieee754/dbl-64/sincos.tbl.
28730 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28731 fma4-enabled routines.
28732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28733 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28734 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28735 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28742 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28744 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28745 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28747 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28748 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28749 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28750 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28752 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28753 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28759 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28760 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28761 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28763 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28774 2011-10-24 Andreas Schwab <schwab@redhat.com>
28776 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28778 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28780 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28782 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28784 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28786 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28787 Remove unused variable magic_bits.
28788 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28790 * string/strnlen.c: Define and use STRNLEN macro.
28791 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28792 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28794 * wcsmbs/wcslen.c: Define and use WCSLEN.
28795 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28796 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28797 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28798 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28799 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28800 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28801 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28803 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28806 strnlen-sse2-no-bsf.
28807 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28809 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28810 Add strnlen support.
28811 (USE_AS_STRNLEN): New macro.
28812 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28813 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28814 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28815 * sysdeps/x86_64/wcslen.S: New file.
28817 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28820 XMM-moves are used for copying on small sizes.
28822 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28824 * wcsmbs/Makefile (strop-tests): Add wcschr.
28825 * wcsmbs/test-wcschr.c: New file.
28826 * string/test-strchr.c: Update.
28827 Add wcschr support.
28830 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28832 * wcsmbs/Makefile (strop-tests): Add wcslen.
28833 * wcsmbs/test-wcslen.c: New file.
28834 * string/test-strlen.c: Update.
28835 Add wcslen support.
28838 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28840 * po/it.po: Update from translation team.
28842 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28844 * sysdeps/x86_64/wcscmp.S: Update.
28845 Fix wrong comparison semantics.
28846 wcscmp shall use signed comparison not unsigned.
28847 Don't use substraction to avoid overflow bug.
28848 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28849 * wcsmbc/wcscmp.c: Likewise.
28850 * string/test-strcmp.c: Likewise.
28851 Add new tests to check cases with negative values.
28853 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28855 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28856 * sysdeps/x86_64/dla.h: ...here. New file.
28857 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28867 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28870 __ynl_finite aliases.
28872 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28876 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28878 [DLA_FMA] (EMULV): Use DLA_FMA.
28879 [DLA_FMA] (MUL12): Use EMULV.
28880 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28881 that are not needed.
28882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28890 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28892 * math/s_nan.c: Undef __nan.
28893 * math/s_nanf.c: Undef __nanf.
28894 * math/s_nanl.c: Undef __nanl.
28895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28898 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28900 * math/s_catan.c: Add branch predictions.
28901 * math/s_catanf.c: Likewise.
28902 * math/s_catanh.c: Likewise.
28903 * math/s_catanhf.c: Likewise.
28904 * math/s_catanhl.c: Likewise.
28905 * math/s_catanl.c: Likewise.
28906 * math/s_cexp.c: Likewise.
28907 * math/s_cexpf.c: Likewise.
28908 * math/s_cexpl.c: Likewise.
28909 * math/s_clog.c: Likewise.
28910 * math/s_clog10.c: Likewise.
28911 * math/s_clog10f.c: Likewise.
28912 * math/s_clog10l.c: Likewise.
28913 * math/s_clogf.c: Likewise.
28914 * math/s_clogl.c: Likewise.
28915 * math/s_csqrt.c: Likewise.
28916 * math/s_csqrtf.c: Likewise.
28917 * math/s_csqrtl.c: Likewise.
28918 * math/s_ctanf.c: Likewise.
28919 * math/s_ctanh.c: Likewise.
28920 * math/s_ctanhf.c: Likewise.
28921 * math/s_ctanhl.c: Likewise.
28922 * math/s_ctanl.c: Likewise.
28924 * math/math_private.h: Define __nan, __nanf, __nanl.
28925 * math/s_cacosh.c: Include <math_private.h>.
28926 * math/s_cacoshl.c: Likewise.
28927 * math/s_casinh.c: Likewise.
28928 * math/s_casinhf.c: Likewise.
28929 * math/s_casinhl.c: Likewise.
28930 * math/s_ccos.c: Rely entire on ccosh.
28931 * math/s_ccosf.c: Rely entire on ccoshf.
28932 * math/s_ccosl.c: Rely entirely on ccoshl.
28933 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28934 Remove tests for FE_INVALID.
28935 * math/s_ccoshf.c: Likewise.
28936 * math/s_ccoshl.c: Likewise.
28937 * math/s_csin.c: Likewise.
28938 * math/s_csinf.c: Likewise.
28939 * math/s_csinh.c Likewise.
28940 * math/s_csinhf.c: Likewise.
28941 * math/s_csinhl.c: Likewise.
28942 * math/s_csinl.c: Likewise.
28943 * math/s_ctan.c: Likewise.
28944 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28945 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28948 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28951 compilation problems.
28953 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28956 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28958 * sysdeps/i386/configure.in: Test for -mfma4 option.
28959 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28960 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28961 COMMON_CPUID_INDEX_80000001.
28962 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28963 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28964 use it if FMA3 is not supported.
28965 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28967 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28968 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28970 2011-10-20 Andreas Schwab <schwab@redhat.com>
28973 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28974 it would create a cycle with a link time dependency.
28976 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28978 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28980 * string/Makefile (strop-tests): Add rawmemchr.
28981 * string/test-rawmemchr.c: New file.
28983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28985 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28986 when compiling str{,n}casecmp and when AVX is available. Hook up
28987 new optimized code in initializers.
28989 2011-10-19 Andreas Schwab <schwab@redhat.com>
28991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28992 __feraiseexcept instead of feraiseexcept.
28994 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28996 * math/math_private.h: Define defaults for libc_fetestexcept and
28998 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28999 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29000 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29003 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29004 libc_fetestexcept and libc_feupdateenv.
29006 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29007 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29008 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29009 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29010 libc_feholdexcept_setround.
29012 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29013 Add s_nearbyint-c and s_nearbyintf-c.
29014 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29015 nearbyintf inlines.
29016 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29017 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29018 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29019 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29021 * math/math_private.h: Define defaults for libc_fegetround,
29022 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29023 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29024 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29026 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29027 standard functions.
29028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29029 Remove comments and hacks for old compiler versions.
29030 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29031 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29032 libc_feholdexceptl.
29034 2011-10-18 Andreas Schwab <schwab@redhat.com>
29036 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29037 (__feraiseexcept_renamed): Add __NTH.
29038 (feraiseexcept): Add __NTH. Rename local variables to fix
29039 namespace violations.
29041 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29043 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29047 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29048 recently added interfaces.
29049 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29051 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29052 about macro parameter expansion.
29054 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29055 __NO_MATH_INLINES is defined. Cleanups.
29057 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29058 and __floorf is target has SSE4.1.
29059 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29060 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29061 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29062 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29064 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29066 (floorf): Likewise.
29068 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29070 2011-10-17 Andreas Schwab <schwab@redhat.com>
29072 * misc/sys/cdefs.h: Fix last change.
29074 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29077 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29079 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29081 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29089 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29090 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29091 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29092 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29093 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29094 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29095 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29096 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29098 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29099 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29100 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29101 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29102 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29105 ceil, ceilf, floor, floorf.
29107 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29108 Perform IRELATIVE relocations last.
29110 * elf/do-rel.h: Add another parameter nrelative, replacing the
29111 local variable with the same name. Change name of the function
29112 to end in Rel or Rela (uppercase).
29113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29114 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29115 elf_dynamic_do_##reloc function.
29117 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29119 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29120 is sufficient, at least on modern CPUs.
29122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29124 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29127 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29129 * math/bits/math-finite.h: Add entries for exp.
29130 * math/e_expl.c: Add __*_finite alias.
29131 * sysdeps/i386/fpu/e_exp.S: Likewise.
29132 * sysdeps/i386/fpu/e_expf.S: Likewise.
29133 * sysdeps/i386/fpu/e_expl.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29139 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29140 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29142 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29143 is sufficient, at least on modern CPUs.
29145 * ctype/ctype-info.c (__ctype_init): Define.
29146 * include/ctype.h (__ctype_init): Declare.
29147 (__ctype_b_loc): The variable is always initialized.
29148 (__ctype_toupper_loc): Likewise.
29149 (__ctype_tolower_loc): Likewise.
29150 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29151 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29153 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29155 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29157 * configure.in: Also look in $cxxmachine/include for C++ system
29160 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29162 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29163 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29164 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29165 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29166 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29167 (USE_AS_WMEMCMP): New macro.
29169 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29170 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29171 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29172 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29174 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29175 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29176 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29177 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29178 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29179 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29180 (USE_AS_WMEMCMP): New macro.
29181 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29182 * sysdeps/string/test-memcmp.c: Update.
29183 Fix simple_wmemcmp.
29185 * wcsmbs/wmemcmp.c: Update.
29186 (WMEMCMP): New macro.
29189 2011-10-12 Andreas Jaeger <aj@suse.de>
29192 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29194 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29196 * libio/iofwide.c (do_length): Avoid warning.
29198 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29200 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29202 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29204 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29205 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29206 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29207 * sysdeps/i386/i686/fpu/e_log.S: New file.
29208 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29209 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29211 * ctype/ctype.h: Add support for inlined isXXX functions when
29212 compiling C++ code.
29214 2011-10-14 Andreas Schwab <schwab@redhat.com>
29216 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29218 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29220 2011-10-13 Roland McGrath <roland@hack.frob.com>
29223 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29225 2011-10-13 Andreas Schwab <schwab@redhat.com>
29227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29228 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29231 * sysdeps/x86_64/memrchr.S: Check for zero size.
29233 * string/stratcliff.c: Add memrchr tests.
29235 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29238 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29239 rawmemchr-sse2 rawmemchr-sse2-bsf.
29240 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29241 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29242 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29243 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29244 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29245 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29246 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29247 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29248 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29249 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29250 * string/memrchr.c (MEMRCHR): New macro.
29252 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29254 Add integration with gcc's -ffinite-math-only and optimize wrapper
29256 * Versions.def: Define GLIBC_2.15 version for libm.
29257 * math/Makefile (headers): Add bits/math-finite.h.
29258 * math/bits/math-finite.h: New file.
29259 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29260 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29261 * math/e_acoshl.c: Add __*_finite alias.
29262 * math/e_acosl.c: Likewise.
29263 * math/e_asinl.c: Likewise.
29264 * math/e_atan2l.c: Likewise.
29265 * math/e_atanhl.c: Likewise.
29266 * math/e_coshl.c: Likewise.
29267 * math/e_exp10.c: Likewise.
29268 * math/e_exp10f.c: Likewise.
29269 * math/e_exp10l.c: Likewise.
29270 * math/e_exp2l.c: Likewise.
29271 * math/e_fmodl.c: Likewise.
29272 * math/e_gammal_r.c: Likewise.
29273 * math/e_hypotl.c: Likewise.
29274 * math/e_j0l.c: Likewise.
29275 * math/e_j1l.c: Likewise.
29276 * math/e_jnl.c: Likewise.
29277 * math/e_lgammal_r.c: Likewise.
29278 * math/e_log10l.c: Likewise.
29279 * math/e_log2l.c: Likewise.
29280 * math/e_logl.c: Likewise.
29281 * math/e_powl.c: Likewise.
29282 * math/e_sinhl.c: Likewise.
29283 * math/e_sqrtl.c: Likewise.
29284 * math/e_scalb.c: Completely rewritten and optimized.
29285 * math/e_scalbf.c: Likewise.
29286 * math/e_scalbl.c: Likewise.
29287 * math/w_acos.c: Likewise.
29288 * math/w_acosf.c: Likewise.
29289 * math/w_acosl.c: Likewise.
29290 * math/w_acosh.c: Likewise.
29291 * math/w_acoshf.c: Likewise.
29292 * math/w_acoshl.c: Likewise.
29293 * math/w_asin.c: Likewise.
29294 * math/w_asinf.c: Likewise.
29295 * math/w_asinl.c: Likewise.
29296 * math/w_atan2.c: Likewise.
29297 * math/w_atan2f.c: Likewise.
29298 * math/w_atan2l.c: Likewise.
29299 * math/w_atanh.c: Likewise.
29300 * math/w_atanhf.c: Likewise.
29301 * math/w_atanhl.c: Likewise.
29302 * math/w_exp10.c: Likewise.
29303 * math/w_exp10f.c: Likewise.
29304 * math/w_exp10l.c: Likewise.
29305 * math/w_fmod.c: Likewise.
29306 * math/w_fmodf.c: Likewise.
29307 * math/w_fmodl.c: Likewise.
29308 * math/w_j0.c: Likewise.
29309 * math/w_j0f.c: Likewise.
29310 * math/w_j0l.c: Likewise.
29311 * math/w_j1.c: Likewise.
29312 * math/w_j1f.c: Likewise.
29313 * math/w_j1l.c: Likewise.
29314 * math/w_jn.c: Likewise.
29315 * math/w_jnf.c: Likewise.
29316 * math/w_log.c: Likewise.
29317 * math/w_logf.c: Likewise.
29318 * math/w_logl.c: Likewise.
29319 * math/w_log10.c: Likewise.
29320 * math/w_log10f.c: Likewise.
29321 * math/w_log10l.c: Likewise.
29322 * math/w_log2.c: Likewise.
29323 * math/w_log2f.c: Likewise.
29324 * math/w_log2l.c: Likewise.
29325 * math/w_pow.c: Likewise.
29326 * math/w_powf.c: Likewise.
29327 * math/w_powl.c: Likewise.
29328 * math/w_remainder.c: Likewise.
29329 * math/w_remainderf.c: Likewise.
29330 * math/w_remainderl.c: Likewise.
29331 * math/w_scalb.c: Likewise.
29332 * math/w_scalbf.c: Likewise.
29333 * math/w_scalbl.c: Likewise.
29334 * math/w_sqrt.c: Likewise.
29335 * math/w_sqrtf.c: Likewise.
29336 * math/w_sqrtl.c: Likewise.
29337 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29338 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29340 * math/math_private.h: Declare __kernel_standard_f.
29341 * math/w_cosh.c: Remove cruft and optimize a bit.
29342 * math/w_coshf.c: Likewise.
29343 * math/w_coshl.c: Likewise.
29344 * math/w_exp2.c: Likewise.
29345 * math/w_exp2f.c: Likewise.
29346 * math/w_exp2l.c: Likewise.
29347 * math/w_hypot.c: Likewise.
29348 * math/w_hypotf.c: Likewise.
29349 * math/w_hypotl.c: Likewise.
29350 * math/w_lgamma.c: Likewise.
29351 * math/w_lgamma_r.c: Likewise.
29352 * math/w_lgammaf.c: Likewise.
29353 * math/w_lgammaf_r.c: Likewise.
29354 * math/w_lgammal.c: Likewise.
29355 * math/w_lgammal_r.c: Likewise.
29356 * math/w_sinh.c: Likewise.
29357 * math/w_sinhf.c: Likewise.
29358 * math/w_sinhl.c: Likewise.
29359 * math/w_tgamma.c: Likewise.
29360 * math/w_tgammaf.c: Likewise.
29361 * math/w_tgammal.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29364 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29365 Minor optimizations. Pretty printing. Remove cruft.
29366 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29367 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29368 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29369 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29370 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29371 * sysdeps/i386/fpu/e_asin.S: Likewise.
29372 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29373 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29374 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29375 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29376 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29379 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29380 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29381 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29382 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29383 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29384 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29385 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29386 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29387 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29388 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29389 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29390 * sysdeps/i386/fpu/e_log.S: Likewise.
29391 * sysdeps/i386/fpu/e_log10.S: Likewise.
29392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29394 * sysdeps/i386/fpu/e_log2.S: Likewise.
29395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29396 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29397 * sysdeps/i386/fpu/e_logf.S: Likewise.
29398 * sysdeps/i386/fpu/e_logl.S: Likewise.
29399 * sysdeps/i386/fpu/e_pow.S: Likewise.
29400 * sysdeps/i386/fpu/e_powf.S: Likewise.
29401 * sysdeps/i386/fpu/e_powl.S: Likewise.
29402 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29403 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29404 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29405 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29406 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29408 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29409 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29410 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29411 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29414 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29415 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29416 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29417 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29418 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29422 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29424 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29425 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29428 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29432 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29435 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29436 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29437 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29438 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29439 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29440 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29442 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29444 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29445 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29446 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29447 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29448 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29449 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29450 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29451 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29452 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29502 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29503 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29504 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29505 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29506 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29507 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29508 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29509 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29510 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29511 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29512 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29513 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29514 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29516 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29518 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29519 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29521 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29522 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29523 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29524 (__isnanf): Likewise.
29525 (__isinf_ns): Likewise.
29526 (__isinf_nsf): Likewise.
29527 (__finite): Likewise.
29528 (__finitef): Likewise.
29529 (__ieee754_sqrt): Define as macro.
29530 (__ieee754_sqrtf): Define as macro.
29531 (__ieee754_sqrtl): Define as macro.
29532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29534 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29535 __FINITE_MATH_ONLY__ consistent.
29536 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29538 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29540 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29545 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29547 * po/ja.po: Update from translation team.
29549 2011-10-08 Roland McGrath <roland@hack.frob.com>
29551 * locale/programs/locarchive.c (prepare_address_space): New function.
29552 (create_archive, enlarge_archive, open_archive): Use it.
29554 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29555 inside [SHARED], where it is used.
29557 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29559 * nss/getent.c (netgroup_keys): Remove unused variable.
29560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29562 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29564 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29565 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29568 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29569 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29570 * math/Makefile (libm-calls): Add s_isinf_ns.
29571 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29572 * math/multc3.c: Likewise.
29573 * math/s_casin.c: Likewise.
29574 * math/s_casinf.c: Likewise.
29575 * math/s_casinl.c: Likewise.
29576 * math/s_ccos.c: Likewise.
29577 * math/s_ccosf.c: Likewise.
29578 * math/s_ccosl.c: Likewise.
29579 * math/s_ctan.c: Likewise.
29580 * math/s_ctanf.c: Likewise.
29581 * math/s_ctanh.c: Likewise.
29582 * math/s_ctanhf.c: Likewise.
29583 * math/s_ctanhl.c: Likewise.
29584 * math/s_ctanl.c: Likewise.
29585 * math/w_fmod.c: Likewise.
29586 * math/w_fmodf.c: Likewise.
29587 * math/w_fmodl.c: Likewise.
29588 * math/w_remainder.c: Likewise.
29589 * math/w_remainderf.c: Likewise.
29590 * math/w_remainderl.c: Likewise.
29591 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29592 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29595 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29596 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29597 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29598 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29600 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29602 * stdio-common/printf_fphex.c: Likewise.
29603 * stdio-common/printf_size.c: Likewise.
29605 * math/e_exp10.c: Include math_private.h using <...> not "...".
29606 * math/e_exp10f.c: Likewise.
29607 * math/e_exp10l.c: Likewise.
29608 * math/e_exp2l.c: Likewise.
29609 * math/e_j0l.c: Likewise.
29610 * math/e_j1l.c: Likewise.
29611 * math/e_jnl.c: Likewise.
29612 * math/e_lgammal_r.c: Likewise.
29613 * math/e_rem_pio2l.c: Likewise.
29614 * math/e_scalb.c: Likewise.
29615 * math/e_scalbf.c: Likewise.
29616 * math/e_scalbl.c: Likewise.
29617 * math/k_cosl.c: Likewise.
29618 * math/k_sinl.c: Likewise.
29619 * math/k_tanl.c: Likewise.
29620 * math/s_cacoshf.c: Likewise.
29621 * math/s_catan.c: Likewise.
29622 * math/s_catanf.c: Likewise.
29623 * math/s_catanh.c: Likewise.
29624 * math/s_catanhf.c: Likewise.
29625 * math/s_catanhl.c: Likewise.
29626 * math/s_catanl.c: Likewise.
29627 * math/s_ccosh.c: Likewise.
29628 * math/s_ccoshf.c: Likewise.
29629 * math/s_ccoshl.c: Likewise.
29630 * math/s_cexp.c: Likewise.
29631 * math/s_cexpf.c: Likewise.
29632 * math/s_cexpl.c: Likewise.
29633 * math/s_clog.c: Likewise.
29634 * math/s_clog10.c: Likewise.
29635 * math/s_clog10f.c: Likewise.
29636 * math/s_clog10l.c: Likewise.
29637 * math/s_clogf.c: Likewise.
29638 * math/s_clogl.c: Likewise.
29639 * math/s_csin.c: Likewise.
29640 * math/s_csinf.c: Likewise.
29641 * math/s_csinh.c: Likewise.
29642 * math/s_csinhf.c: Likewise.
29643 * math/s_csinhl.c: Likewise.
29644 * math/s_csinl.c: Likewise.
29645 * math/s_csqrt.c: Likewise.
29646 * math/s_csqrtf.c: Likewise.
29647 * math/s_csqrtl.c: Likewise.
29648 * math/s_ctan.c: Likewise.
29649 * math/s_ctanf.c: Likewise.
29650 * math/s_ctanh.c: Likewise.
29651 * math/s_ctanhf.c: Likewise.
29652 * math/s_ctanhl.c: Likewise.
29653 * math/s_ctanl.c: Likewise.
29654 * math/s_ldexp.c: Likewise.
29655 * math/s_ldexpf.c: Likewise.
29656 * math/s_ldexpl.c: Likewise.
29657 * math/s_significand.c: Likewise.
29658 * math/s_significandf.c: Likewise.
29659 * math/s_significandl.c: Likewise.
29660 * math/w_acos.c: Likewise.
29661 * math/w_acosf.c: Likewise.
29662 * math/w_acosh.c: Likewise.
29663 * math/w_acoshf.c: Likewise.
29664 * math/w_acoshl.c: Likewise.
29665 * math/w_acosl.c: Likewise.
29666 * math/w_asin.c: Likewise.
29667 * math/w_asinf.c: Likewise.
29668 * math/w_asinl.c: Likewise.
29669 * math/w_atan2.c: Likewise.
29670 * math/w_atan2f.c: Likewise.
29671 * math/w_atan2l.c: Likewise.
29672 * math/w_atanh.c: Likewise.
29673 * math/w_atanhf.c: Likewise.
29674 * math/w_atanhl.c: Likewise.
29675 * math/w_cosh.c: Likewise.
29676 * math/w_coshf.c: Likewise.
29677 * math/w_coshl.c: Likewise.
29678 * math/w_dremf.c: Likewise.
29679 * math/w_exp10.c: Likewise.
29680 * math/w_exp10f.c: Likewise.
29681 * math/w_exp10l.c: Likewise.
29682 * math/w_exp2.c: Likewise.
29683 * math/w_exp2f.c: Likewise.
29684 * math/w_fmod.c: Likewise.
29685 * math/w_fmodf.c: Likewise.
29686 * math/w_fmodl.c: Likewise.
29687 * math/w_hypot.c: Likewise.
29688 * math/w_hypotf.c: Likewise.
29689 * math/w_hypotl.c: Likewise.
29690 * math/w_j0.c: Likewise.
29691 * math/w_j0f.c: Likewise.
29692 * math/w_j0l.c: Likewise.
29693 * math/w_j1.c: Likewise.
29694 * math/w_j1f.c: Likewise.
29695 * math/w_j1l.c: Likewise.
29696 * math/w_jn.c: Likewise.
29697 * math/w_jnf.c: Likewise.
29698 * math/w_jnl.c: Likewise.
29699 * math/w_lgamma.c: Likewise.
29700 * math/w_lgamma_r.c: Likewise.
29701 * math/w_lgammaf.c: Likewise.
29702 * math/w_lgammaf_r.c: Likewise.
29703 * math/w_lgammal.c: Likewise.
29704 * math/w_lgammal_r.c: Likewise.
29705 * math/w_log.c: Likewise.
29706 * math/w_log10.c: Likewise.
29707 * math/w_log10f.c: Likewise.
29708 * math/w_log10l.c: Likewise.
29709 * math/w_log2.c: Likewise.
29710 * math/w_log2f.c: Likewise.
29711 * math/w_log2l.c: Likewise.
29712 * math/w_logf.c: Likewise.
29713 * math/w_logl.c: Likewise.
29714 * math/w_pow.c: Likewise.
29715 * math/w_powf.c: Likewise.
29716 * math/w_powl.c: Likewise.
29717 * math/w_remainder.c: Likewise.
29718 * math/w_remainderf.c: Likewise.
29719 * math/w_remainderl.c: Likewise.
29720 * math/w_scalb.c: Likewise.
29721 * math/w_scalbf.c: Likewise.
29722 * math/w_scalbl.c: Likewise.
29723 * math/w_sinh.c: Likewise.
29724 * math/w_sinhf.c: Likewise.
29725 * math/w_sinhl.c: Likewise.
29726 * math/w_sqrt.c: Likewise.
29727 * math/w_sqrtf.c: Likewise.
29728 * math/w_sqrtl.c: Likewise.
29729 * math/w_tgamma.c: Likewise.
29730 * math/w_tgammaf.c: Likewise.
29731 * math/w_tgammal.c: Likewise.
29733 * po/ja.po: Update from translation team.
29735 2011-09-29 Andreas Jaeger <aj@suse.de>
29738 * sunrpc/netname.c (netname2host): Fix logic.
29742 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29744 * math/w_remainder.c (__remainder): Likewise.
29745 * math/w_remainderf.c (__remainderf): Likewise.
29746 * math/libm-test.inc (remainder_test): Add test cases.
29748 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29750 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29753 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29755 * string/test-memcmp.c: Avoid unncessary #defines.
29756 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29758 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29760 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29761 Use new sse2 version for core i3 - i7 as it's faster
29762 than sse42 version.
29763 (bit_Prefer_PMINUB_for_stringop): New.
29764 * sysdeps/x86_64/rawmemchr.S: Update.
29765 Replace with faster SSE2 version.
29766 * sysdeps/x86_64/memrchr.S: New file.
29767 * sysdeps/x86_64/memchr.S: Update.
29768 Replace with faster SSE2 version.
29770 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29772 * elf/dl-load.c (lose): Add cast to avoid warning.
29774 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29776 * po/ca.po: Update from translation team.
29778 * inet/getnetgrent_r.c: Hook up nscd.
29779 * nscd/Makefile (routines): Add nscd_netgroup.
29780 (nscd-modules): Add netgroupcache.
29781 (CFLAGS-netgroupcache.c): Define.
29782 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29783 (cache_search): Add const to second parameter.
29784 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29786 (dbs): Add netgrdb entry.
29787 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29788 (verify_persistent_db): Handle netgrdb.
29789 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29790 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29792 (netgroup_response_header): Define.
29793 (innetgroup_response_header): Define.
29794 (datahead): Add netgroup_response_header and innetgroup_response_header
29796 * nscd/nscd.conf: Add entries for netgroup cache.
29797 * nscd/nscd.h (dbtype): Add netgrdb.
29798 (_PATH_NSCD_NETGROUP_DB): Define.
29799 (netgroup_iov_disabled): Declare.
29800 (xmalloc, xcalloc, xrealloc): Move declarations here.
29801 (cache_search): Adjust prototype.
29802 Add netgroup-related prototypes.
29803 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29804 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29805 (__nscd_innetgr): Declare.
29806 * nscd/selinux.c (perms): Use access_vector_t as element type and
29807 add netgroup-related initializers.
29808 * nscd/netgroupcache.c: New file.
29809 * nscd/nscd_netgroup.c: New file.
29810 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29811 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29812 For four parameters use innetgr.
29813 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29814 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29815 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29816 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29818 * nscd/connections.c (register_traced_file): Don't register file
29819 for disabled databases.
29821 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29823 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29825 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29826 from tree and freeing node.
29828 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29830 * nss/nsswitch.c (__nss_database_lookup): Handle
29831 nss_parse_service_list out of memory case.
29833 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29835 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29836 out of memory case.
29838 2011-10-04 Andreas Schwab <schwab@redhat.com>
29840 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29841 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29843 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29844 elf_machine_rela, elf_machine_lazy_rel.
29845 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29846 (ELF_DYNAMIC_DO_REL): Likewise.
29847 (ELF_DYNAMIC_DO_RELA): Likewise.
29848 (ELF_DYNAMIC_RELOCATE): Likewise.
29849 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29850 to ELF_DYNAMIC_DO_REL.
29851 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29852 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29853 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29856 skip_ifunc, don't call ifunc function if non-zero.
29857 (elf_machine_rela): Likewise.
29858 (elf_machine_lazy_rel): Likewise.
29859 (elf_machine_lazy_rela): Likewise.
29860 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29861 (elf_machine_lazy_rel): Likewise.
29862 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29864 (elf_machine_lazy_rel): Likewise.
29865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29867 (elf_machine_lazy_rel): Likewise.
29868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29869 (elf_machine_lazy_rel): Likewise.
29870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29871 (elf_machine_lazy_rel): Likewise.
29872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29873 (elf_machine_lazy_rel): Likewise.
29874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29875 (elf_machine_lazy_rel): Likewise.
29876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29877 (elf_machine_lazy_rel): Likewise.
29878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29879 (elf_machine_lazy_rel): Likewise.
29881 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29883 * nss/nss_files/files-init.c (_nss_files_init): Use static
29884 initialization for all the *_traced_file variables.
29886 2011-09-28 Andreas Schwab <schwab@redhat.com>
29888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29890 2011-09-27 Roland McGrath <roland@hack.frob.com>
29893 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29895 2011-09-27 Andreas Schwab <schwab@redhat.com>
29897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29898 Reread the line before reparsing it.
29900 2011-09-26 Andreas Schwab <schwab@redhat.com>
29902 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29904 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29905 Maxim Kuvyrkov <maxim@codesourcery.com>
29906 Joseph Myers <joseph@codesourcery.com>
29908 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29909 if needed for __stack_chk_guard.
29911 2011-09-19 Roland McGrath <roland@hack.frob.com>
29913 * sysdeps/posix/spawni.c (script_execute): Always define it.
29914 It will be optimized away if unused.
29915 (maybe_script_execute): New function.
29916 (__spawni): Call it.
29918 * Makerules: Don't include tls.make.
29919 (config-tls): Always set to thread.
29920 * tls.make.c: File removed.
29922 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29924 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29925 * config.make.in (CPPFLAGS-config): New substituted variable.
29927 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29932 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29933 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29935 2011-09-15 Roland McGrath <roland@hack.frob.com>
29937 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29938 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29940 (CALL_FAIL): Likewise.
29941 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29942 (CALL_FAIL): Macro removed.
29943 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29945 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29947 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29948 for __FINITE_MATH_ONLY__ == 1.
29950 2011-09-15 Andreas Schwab <schwab@redhat.com>
29952 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29953 __ieee754_sqrt instead of sqrt.
29954 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29955 __ieee754_sqrtf instead of sqrtf.
29956 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29957 __floorf instead of floorf.
29958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29959 __floorf, __truncf instead of floorf, truncf.
29961 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29963 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29965 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29966 __extern_always_inline.
29967 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29970 2011-09-14 Andreas Schwab <schwab@redhat.com>
29972 * elf/rtld.c (dl_main): Also relocate in dependency order when
29973 doing symbol dependency testing.
29975 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29978 Always define `refsym'.
29980 2011-09-13 Andreas Schwab <schwab@redhat.com>
29982 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29983 (__FD_ELT): Renamed from __FDELT.
29984 * misc/bits/select2.h (__FD_ELT): Likewise.
29985 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29986 __FD_MASK instead of __FDELT, __FDMASK.
29987 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29989 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29992 * elf/Makefile (gen-ldd): Fix pattern.
29994 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29995 (init_tls): Likewise.
29997 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30001 2011-09-12 Andreas Schwab <schwab@redhat.com>
30003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30004 `struct cmsghdr *' instead of `void *'.
30005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30008 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30010 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30012 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30013 ldd_rewrite_script.
30015 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30017 * configure.in: Remove --with-tls option.
30018 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30019 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30020 out in case it is missing.
30021 * sysdeps/ia64/elf/configure.in: Likewise.
30022 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30023 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30024 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30025 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30026 * sysdeps/sh/elf/configure.in: Likewise.
30027 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30028 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30029 * sysdeps/x86_64/elf/configure.in: Likewise.
30030 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30031 * sysdeps/mach/hurd/tls.h: Likewise.
30034 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30037 * configure.in: Fix use of AC_INIT.
30039 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30041 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30043 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30045 * malloc/hooks.c: Likewise.
30048 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30049 variables statically.
30050 (narenas): Initialize.
30051 (list_lock): Initialize.
30052 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30053 initializtion of main_arena and list_lock. Small cleanups.
30054 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30055 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30056 Add initializers to main_arena and mp_.
30057 (malloc_state): Remove pagesize member. Change all users to use
30060 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30061 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30062 is always initialized.
30064 * malloc/malloc.c: Removed unused configurations and dead code.
30065 * malloc/arena.c: Likewise.
30066 * malloc/hooks.c: Likewise.
30067 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30069 * include/tls.h: Removed. USE___THREAD must always be defined.
30070 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30071 * elf/dl-libc.c: Likewise.
30072 * elf/dl-tsd.c: Likewise.
30073 * include/errno.h: Likewise.
30074 * include/netdb.h: Likewise.
30075 * include/resolv.h: Likewise.
30076 * inet/herrno-loc.c: Likewise.
30077 * inet/herrno.c: Likewise.
30078 * malloc/arena.c: Likewise.
30079 * malloc/hooks.c: Likewise.
30080 * malloc/malloc.c: Likewise.
30081 * resolv/res-state.c: Likewise.
30082 * resolv/res_libc.c: Likewise.
30083 * sysdeps/i386/dl-machine.h: Likewise.
30084 * sysdeps/ia64/dl-machine.h: Likewise.
30085 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30086 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30087 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30088 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30089 * sysdeps/sh/dl-machine.h: Likewise.
30090 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30091 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30092 * sysdeps/unix/i386/sysdep.S: Likewise.
30093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30094 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30099 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30103 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30104 * sysdeps/x86_64/dl-machine.h: Likewise.
30105 * tls.make.c: Likewise.
30107 * configure.in: Remove --with-__thread option. Make tests for
30108 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30109 tls_model attribute fail if no support is available. Remove
30111 * Makeconfig: Adjust for dropped configure option. All features are
30113 * Makerules: Likewise.
30114 * Versions.def: Likewise.
30115 * argp/argp-fmtstream.c: Likewise.
30116 * argp/argp-fmtstream.h: Likewise.
30117 * argp/argp-help.c: Likewise.
30118 * assert/assert.c: Likewise.
30119 * config.h.in: Likewise.
30120 * config.make.in: Likewise.
30121 * configure: Likewise.
30122 * configure.in: Likewise.
30123 * csu/Versions: Likewise.
30124 * csu/init.c: Likewise.
30125 * elf/tst-audit2.c: Likewise.
30126 * elf/tst-tls10.c: Likewise.
30127 * elf/tst-tls10.h: Likewise.
30128 * elf/tst-tls11.c: Likewise.
30129 * elf/tst-tls12.c: Likewise.
30130 * elf/tst-tls14.c: Likewise.
30131 * elf/tst-tlsmod11.c: Likewise.
30132 * elf/tst-tlsmod12.c: Likewise.
30133 * elf/tst-tlsmod13.c: Likewise.
30134 * elf/tst-tlsmod13a.c: Likewise.
30135 * elf/tst-tlsmod14a.c: Likewise.
30136 * elf/tst-tlsmod15b.c: Likewise.
30137 * elf/tst-tlsmod16a.c: Likewise.
30138 * elf/tst-tlsmod16b.c: Likewise.
30139 * elf/tst-tlsmod7.c: Likewise.
30140 * elf/tst-tlsmod8.c: Likewise.
30141 * elf/tst-tlsmod9.c: Likewise.
30142 * gmon/gmon.c: Likewise.
30143 * grp/fgetgrent_r.c: Likewise.
30144 * grp/putgrent.c: Likewise.
30145 * hurd/fopenport.c: Likewise.
30146 * include/libc-symbols.h: Likewise.
30147 * include/tls.h: Likewise.
30148 * intl/gettextP.h: Likewise.
30149 * intl/loadinfo.h: Likewise.
30150 * locale/global-locale.c: Likewise.
30151 * locale/localeinfo.h: Likewise.
30152 * mach/devstream.c: Likewise.
30153 * malloc/arena.c: Likewise.
30154 * malloc/set-freeres.c: Likewise.
30155 * misc/err.c: Likewise.
30156 * misc/getttyent.c: Likewise.
30157 * misc/mntent_r.c: Likewise.
30158 * posix/getopt.c: Likewise.
30159 * posix/wordexp.c: Likewise.
30160 * pwd/fgetpwent_r.c: Likewise.
30161 * resolv/Versions: Likewise.
30162 * resolv/res_hconf.c: Likewise.
30163 * shadow/fgetspent_r.c: Likewise.
30164 * shadow/putspent.c: Likewise.
30165 * stdio-common/printf_fphex.c: Likewise.
30166 * stdio-common/tmpfile.c: Likewise.
30167 * stdlib/abort.c: Likewise.
30168 * stdlib/fmtmsg.c: Likewise.
30169 * sunrpc/auth_unix.c: Likewise.
30170 * sunrpc/clnt_perr.c: Likewise.
30171 * sunrpc/clnt_tcp.c: Likewise.
30172 * sunrpc/clnt_udp.c: Likewise.
30173 * sunrpc/clnt_unix.c: Likewise.
30174 * sunrpc/openchild.c: Likewise.
30175 * sunrpc/svc_simple.c: Likewise.
30176 * sunrpc/svc_tcp.c: Likewise.
30177 * sunrpc/svc_udp.c: Likewise.
30178 * sunrpc/svc_unix.c: Likewise.
30179 * sunrpc/xdr.c: Likewise.
30180 * sunrpc/xdr_array.c: Likewise.
30181 * sunrpc/xdr_rec.c: Likewise.
30182 * sunrpc/xdr_ref.c: Likewise.
30183 * sunrpc/xdr_stdio.c: Likewise.
30185 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30187 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30189 2011-07-03 Andreas Jaeger <aj@suse.de>
30191 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30192 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30193 regenerate with gen-libm-tests.pl.
30195 2010-05-12 Petr Baudis <pasky@suse.cz>
30198 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30199 around j0() zero points by switching to j1().
30200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30203 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30205 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30212 Patch in part by Pavel Roskin <proski@gnu.org>.
30215 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30217 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30218 Free memory block if necessary.
30221 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30222 be NULL. Don't lock in this case.
30224 2011-09-09 Roland McGrath <roland@hack.frob.com>
30226 * elf/elf.h (ELFOSABI_GNU): New macro.
30227 (ELFOSABI_LINUX): Define to that.
30229 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30231 * string/strncat.c (strncat): Undef the symbol in case it has been
30232 defined in bits/string.h.
30234 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30236 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30238 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30241 2011-08-17 Andreas Jaeger <aj@suse.de>
30243 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30245 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30246 Ian Lance Taylor <iant@google.com>
30248 * math/libm-test.inc (lround_test): New testcase.
30249 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30251 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30253 * Makefile: Remove support for automatic cvs check-ins.
30254 * Makerules: Likewise.
30255 * config.make.in: Likewise.
30256 * configure.in: Likewise.
30257 * intl/Makefile: Likewise.
30258 * locale/Makefile: Likewise.
30259 * po/Makefile: Likewise.
30260 * posix/Makefile: Likewise.
30261 * sysdeps/gnu/Makefile: Likewise.
30262 * sysdeps/mach/hurd/Makefile: Likewise.
30263 * sysdeps/sparc/sparc32/Makefile: Likewise.
30266 * posix/Makefile (bug-regex32-ENV): Define.
30267 Patch by John Stanley <jpsinthemix@verizon.net>.
30269 * misc/Makefile (headers): Add bits/select2.h.
30270 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30271 * misc/bits/select2.h: New file.
30272 * include/bits/select2.h: New file.
30273 * debug/Makefile (routines): Add fdelt_chk.
30274 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30275 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30277 * debug/fdelt_chk.c: New file.
30279 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30280 * wcsmbs/test-wmemcmp.c: Likewise.
30281 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30282 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30284 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30286 * string/Makefile (strop-tests): Add memcmp.
30287 * string/test-wmemcmp.c: New file.
30288 * string/test-memcmp.c: Add wmemcmp support.
30290 2011-09-08 Roland McGrath <roland@hack.frob.com>
30293 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30296 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30297 garbage value in a __mach_port_mod_refs call in the cases of the
30298 task-self and thread-self ports.
30300 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30302 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30304 2011-09-08 Andreas Schwab <schwab@redhat.com>
30306 * elf/dl-load.c (lose): Check for non-null L.
30308 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30310 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30312 * elf/dl-libc.c (dlerror_run): Pass back error code from
30316 * elf/dl-load.c (lose): Free l_origin if it is valid.
30318 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30320 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30323 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30325 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30327 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30329 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30330 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30331 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30333 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30334 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30335 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30336 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30337 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30338 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30340 2011-08-15 Alan Modra <amodra@gmail.com>
30343 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30344 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30345 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30346 ppc_mcount to static-only-routines.
30347 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30349 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30350 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30352 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30355 for finite and infinity parameters.
30357 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30360 and add nop instructions for throughput optimization.
30361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30363 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30366 aligned copy for power7 with vector-scalar instructions.
30367 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30369 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30374 2011-09-07 Andreas Schwab <schwab@redhat.com>
30377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30380 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30382 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30383 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30384 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30388 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30391 Forgot to demangle the pointer.
30393 * sysdeps/i386/sysdep.h: Define atom_text_section.
30394 * sysdeps/x86_64/sysdep.h: Likewise.
30395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30396 section with atom_text_section.
30397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30399 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30401 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30405 already be defined. Change to take two parameters and don't assign
30406 result to variable. Adjust all users.
30407 Define INTERNAL_GETTIME if not already defined.
30408 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30411 HAVE_CLOCK_GETTIME_VSYSCALL.
30412 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30415 gettimeofday vsyscall, just use time.
30417 2011-09-06 Andreas Schwab <schwab@redhat.com>
30419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30422 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30424 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30428 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30429 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30430 syscall if possible.
30432 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30434 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30435 e_ident. Don't pass to find_mapsXX.
30436 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30438 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30441 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30442 * sysdeps/x86_64/multiarch/strchr.S: Update.
30443 Check bit_slow_BSF bit.
30444 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30445 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30446 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30448 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30451 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30453 (tryshell): Define.
30454 (__spawni): Change last parameter to be flag. Test
30455 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30456 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30457 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30458 * posix/spawni.c: Likewise.
30459 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30460 * posix/spawnp.c: Likewise. Change normal version to use
30461 SPAWN_XFLAGS_USE_PATH.
30462 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30463 SPAWN_XFLAGS_TRY_SHELL.
30466 * posix/glob.h: Remove gcc 1.x support.
30469 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30471 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30474 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30476 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30477 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30478 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30481 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30483 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30485 * sysdeps/x86_64/wcscmp.S: New file.
30487 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30488 wcscmp-c wcscmp-sse2
30489 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30490 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30492 * wcsmbs/wcscmp.c: Allow renaming.
30494 2011-09-05 David S. Miller <davem@davemloft.net>
30496 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30497 stack slot, rather than the struct return pointer slot.
30498 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30499 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30503 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30505 * po/ja.po: Update from translation team.
30508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30509 kernel in 64-bit binaries.
30511 2011-09-01 David S. Miller <davem@davemloft.net>
30513 * elf/elf.h (HWCAP_SPARC_*): Move to..
30514 * sysdeps/sparc/sysdep.h: this new file and add new values.
30515 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30516 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30517 _DL_HWCAP_COUNT to 24.
30518 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30520 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30521 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30522 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30524 instead of magic constants.
30525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30527 2011-08-31 David S. Miller <davem@davemloft.net>
30529 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30531 Reimplement to do errno handling inline.
30532 (SYSCALL_ERROR_HANDLER): New macro.
30533 (__SYSCALL_STRING): Do not do errno handling in asm.
30534 (__CLONE_SYSCALL_STRING): Delete.
30535 (__INTERNAL_SYSCALL_STRING): Delete.
30536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30537 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30538 (PSEUDO): Reimplement to do errno handling inline.
30539 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30540 (SYSCALL_ERROR_HANDLER): New macro.
30541 (__SYSCALL_STRING): Do not do errno handling in asm.
30542 (__CLONE_SYSCALL_STRING): Delete.
30543 (__INTERNAL_SYSCALL_STRING): Delete.
30544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30545 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30547 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30548 (inline_syscall*): Add 'err' argument.
30549 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30550 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30551 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30552 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30554 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30555 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30557 2011-08-30 Andreas Schwab <schwab@redhat.com>
30559 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30561 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30563 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30566 2011-08-24 David S. Miller <davem@davemloft.net>
30568 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30570 2011-08-24 Andreas Schwab <schwab@redhat.com>
30572 * elf/Makefile: Add rules to build and run unload8 test.
30573 * elf/unload8.c: New file.
30574 * elf/unload8mod1.c: New file.
30575 * elf/unload8mod1x.c: New file.
30576 * elf/unload8mod2.c: New file.
30577 * elf/unload8mod3.c: New file.
30579 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30582 2011-08-23 David S. Miller <davem@davemloft.net>
30584 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30585 subtract stack bias.
30586 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30587 %sp not %fp in calculations.
30588 (_JMPBUF_UNWINDS_ADJ): Likewise.
30590 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30591 (aio_suspend): Call it to force an exception region around the
30592 AIO_MISC_WAIT() invocation.
30594 2011-08-23 Andreas Schwab <schwab@redhat.com>
30596 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30599 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30601 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30603 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30604 and <dl-machine.h>.
30605 (Elf64_FuncDesc): Remove.
30607 2011-08-22 David S. Miller <davem@davemloft.net>
30609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30610 sigaltstack check, add missing cfi directives.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30612 missing cfi directives, and sigaltstack handling.
30614 2011-08-16 Andreas Schwab <schwab@redhat.com>
30617 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30618 object is seen twice.
30619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30621 * elf/Makefile (distribute): Add tst-initorder2.c.
30622 (tests): Add tst-initorder2.
30623 (modules-names): Add tst-initorder2a tst-initorder2b
30624 tst-initorder2c tst-initorder2d. Add rules to build them.
30625 ($(objpfx)tst-initorder2.out): New rule.
30626 * elf/tst-initorder2.c: New file.
30627 * elf/tst-initorder2.exp: New file.
30629 2011-08-22 Andreas Schwab <schwab@redhat.com>
30631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30633 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30634 dependencies back to end of function.
30636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30637 $(elfobjdir)/ld.so.
30639 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30642 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30644 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30645 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30646 of __vdso_gettimeofday.
30647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30648 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30650 (_libc_vdso_platform_setup): Remove initialization of
30651 __vdso_gettimeofday and __vdso_time.
30653 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30655 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30656 and fgetc_unlocked.
30657 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30660 * elf/dl-open.c (add_to_global): Report additions to the global scope
30661 for LD_DEBUG=scopes.
30662 (dl_open_worker): Also print scope of newly loaded dependencies.
30663 (_dl_show_scope): Indicate if there is no scope.
30666 * stdio-common/Makefile (tests): Add bug24.
30667 * stdio-common/bug24.c: New file.
30669 2011-08-19 Andreas Jaeger <aj@suse.de>
30672 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30673 non-existant file when using close-on-exec mode.
30675 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30678 the very first instruction.
30680 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30681 the CFI state in the end.
30682 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30683 inclusion of dl-trampoline.h.
30684 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30686 2011-08-19 Andreas Schwab <schwab@redhat.com>
30688 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30689 expectations for long double.
30691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30692 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30694 2011-08-14 David S. Miller <davem@davemloft.net>
30696 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30697 artificual limit depends upon the system page size.
30699 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30701 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30702 * resolv/Makefile: Define CFLAGS-libresolv.
30704 2011-08-17 Andreas Schwab <schwab@redhat.com>
30706 * nss/makedb.c (compute_tables): Make variables used in nested
30709 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30711 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30712 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30713 if buffer was too small.
30715 * elf/pldd.c (main): Attach to all threads in the process.
30716 Rewrite /proc handling to use *at functions.
30718 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30720 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30721 specifies first scope to show.
30722 (dl_open_worker): Update callers. Move printing scope of new
30723 object to before the relocation.
30724 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30725 * sysdeps/generic/ldsodefs.h: Update declaration.
30727 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30728 string for the scope number.
30730 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30732 * nscd/servicescache.c (cache_addserv): Make sure written is always
30735 2011-08-14 Roland McGrath <roland@hack.frob.com>
30737 * sysdeps/i386/i486/bits/atomic.h
30738 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30739 statement expression, so as to suppress "set but not used" warning.
30740 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30742 * string/strncat.c (STRNCAT): Use prototype definition.
30744 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30745 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30747 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30748 (localedef-modules): Add localedef.
30749 (locale-modules): Add locale.
30751 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30752 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30753 to avoid a warning.
30755 2011-08-14 David S. Miller <davem@davemloft.net>
30757 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30758 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30760 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30762 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30763 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30764 * elf/rtld.c (dl_main): Set l_name of vDSO.
30765 Call _dl_show_scope when DL_DEBUG_SCOPES.
30766 (process_dl_debug): Recognize scopes flag and also set it for all.
30767 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30768 Declare _dl_show_scope.
30770 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30771 (do_dlopen): Pass caller_dlopen to dl_open.
30772 (__libc_dlopen_mode): Initialize caller_dlopen.
30774 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30775 of libc. Make tolower call locale-independent. Optimize a bit by
30776 using isdigit instead of isalnum.
30777 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30779 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30781 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30782 was a dependency or dynamically loaded.
30784 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30786 * intl/l10nflist.c: Allow architecture-specific pop function.
30787 * sysdeps/x86_64/l10nflist.c: New file.
30789 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30792 2011-08-10 Andreas Schwab <schwab@redhat.com>
30794 * include/dirent.h: Add libc_hidden_proto for scandirat and
30795 scandirat64. Don't declare __scandirat64.
30796 * dirent/scandirat.c: Add libc_hidden_def.
30797 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30798 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30800 2011-08-10 David S. Miller <davem@davemloft.net>
30802 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30806 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30808 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30810 * Versions.def [libc]: Add GLIBC_2.15.
30811 * dirent/Makefile (routines): Add scandirat and scandirat64.
30812 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30814 * dirent/dirent.h: Declare scandirat and scandirat64.
30815 * dirent/scandirat.c: New file.
30816 * dirent/scandirat64.c: New file.
30817 * sysdeps/wordsize-64/scandirat.c: New file.
30818 * sysdeps/wordsize-64/scandirat64.c: New file.
30819 * dirent/opendir.c: Define opendirat.
30820 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30822 * dirent/scandir64.c: Adjust for scandir.c change.
30823 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30824 __scandirat64, and __scandir_cancel_handler.
30825 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30826 additional parameter and use openat instead of open (outside of ld.so).
30827 Add new __opendir as wrapper around __opendirat.
30828 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30829 here without requiring old scandirat implementation.
30831 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30833 * dirent/scandir.c (cancel_handler): Renamed to
30834 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30835 defined. Adjust users.
30836 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30839 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30841 * string/test-string.h (IMPL): Use __STRING to expand name and then
30844 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30847 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30849 * string/Makefile: Update.
30850 (strop-tests): Append strncat.
30851 * string/test-wcscmp.c: New file.
30852 New comprehensive test for wcscmp.
30853 * string/test-strcmp.c: Update.
30854 (WIDE): New define.
30856 2011-07-22 Andreas Schwab <schwab@redhat.com>
30858 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30861 2011-07-26 Andreas Schwab <schwab@redhat.com>
30863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30864 encoding to ACE if AI_IDN.
30866 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30869 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30871 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30874 Fix overflow bug in strncat.
30875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30877 * string/test-strncat.c: Update.
30878 Add new tests for checking overflow bugs.
30880 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30883 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30884 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30885 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30886 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30887 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30888 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30889 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30890 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30893 (USE_AS_STRCAT): Define.
30894 Add strcat and strncat support.
30895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30897 2011-07-25 Andreas Schwab <schwab@redhat.com>
30899 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30900 __n bigger than INT_MAX+1.
30901 (__strncmp_g): Likewise.
30903 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30905 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30906 * libio/stido.h: Likewise.
30908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30913 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30916 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30920 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30925 (_dl_x86_64_save_sse): Likewise.
30927 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30931 (_dl_x86_64_save_sse): Likewise.
30933 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30935 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30937 2011-07-21 Andreas Schwab <schwab@redhat.com>
30939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30941 (_dl_x86_64_save_sse): Use correct AVX check.
30943 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30945 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30946 bug in strncpy/strncat.
30947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30949 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30951 * string/tester.c (test_strcat): Add tests for different alignments
30952 of source and destination.
30953 (test_strncat): Likewise.
30955 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30958 * posix/glob.c (glob): Check passed in values before using them in
30959 expressions to avoid some overflows.
30960 (glob_in_dir): Likewise.
30963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30964 check for AVX enablement so that we don't crash with old kernels and
30966 * elf/tst-audit4.c: Add same checks here.
30967 * elf/tst-audit6.c: Likewise.
30969 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30971 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30973 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30975 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30977 * po/cs.po: Update from translation team.
30978 * po/bg.po: Likewise.
30980 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30982 * misc/sys/cdefs.h: Add support for const attribute.
30983 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30984 to gnu_dev_{major,minor,makedev} functions.
30986 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30988 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30990 2011-07-20 Andreas Schwab <schwab@redhat.com>
30992 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30995 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30998 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30999 register in order to avoid conflicts with the soft frame pointer
31000 being held in r11 when necessary.
31001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31002 (INTERNAL_VSYSCALL_NCS): Likewise.
31004 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31006 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31007 * elf/dl-fini.c (_dl_fini): Adjust caller.
31008 * elf/dl-close.c (_dl_close_worker): Likewise.
31009 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31011 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31013 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31014 "aux_cache->nlibs < 0".
31016 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31017 in the reload-count case.
31019 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31022 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31023 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31024 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31025 * sysdeps/x86_64/multiarch/strcat.S: New file.
31026 * sysdeps/x86_64/multiarch/strncat.S: New file.
31027 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31029 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31030 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31032 (USE_AS_STRCAT): Define.
31033 Add strcat and strncat support.
31034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31035 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31036 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31037 * string/strncat.c: Update.
31038 (USE_AS_STRNCAT): Define.
31039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31040 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31042 * sysdeps/x86_64/multiarch/init-arch.h
31043 (bit_Prefer_PMINUB_for_stringop): New.
31044 (index_Prefer_PMINUB_for_stringop): Likewise.
31045 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31046 bit_Prefer_PMINUB_for_stringop.
31048 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31050 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31052 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31053 of casting of buffer.
31054 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31055 buffer32 and buffer64.
31056 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31057 writes instead of casting of buffer.
31058 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31060 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31063 2011-07-19 Andreas Schwab <schwab@redhat.com>
31065 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31067 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31069 * nscd/nscd.c (termination_handler): Don't do anything for a database
31070 if it has not yet been initialized.
31072 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31074 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31076 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31078 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31080 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31082 * po/nl.po: Update from translation team.
31083 * po/sv.po: Likewise.
31085 2011-07-16 Roland McGrath <roland@hack.frob.com>
31087 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31088 now disallowed by GCC.
31090 * configure.in (use-default-link): Default to yes if a test -shared
31091 link meets our qualifications.
31092 * configure: Regenerated.
31094 * config.make.in (output-format): New variable.
31095 * configure.in: Check for ld --print-output-format support.
31096 * configure: Regenerated.
31097 * Makerules ($(common-objpfx)format.lds)
31098 [$(output-format) != unknown]: Just use $(output-format),
31099 instead of the linker-script munging.
31101 2011-07-14 Roland McGrath <roland@hack.frob.com>
31103 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31104 of $(common-objpfx)shlib.lds.
31105 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31107 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31108 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31110 * configure.in (-z relro check): Adjust test code to add a large
31111 writable data section after it.
31112 * configure: Regenerated.
31114 2011-07-11 Roland McGrath <roland@hack.frob.com>
31116 * configure.in (-z relro check): Fix test code to make the variable
31118 * configure: Regenerated.
31120 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31122 * nscd/nscd.h (struct traced_file): Define.
31123 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31124 elements. Add traced_files.
31125 (inotify_fd): Declare.
31126 (register_traced_file): Declare.
31127 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31128 (inotify_fd): Export.
31129 (resolv_conf_descr): Remove.
31130 (nscd_init): Move inotify descriptor creation to main.
31131 Don't register files for notification here.
31132 (register_traced_file): New function.
31133 (invalidate_cache): Don't use reset_res to determine whether to call
31134 res_init, go through the list of registered files.
31135 (main_loop_poll): The inotify descriptors are now stored in the
31136 structures for the traced files.
31137 (main_loop_epoll): Likewise
31138 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31139 to __nss_disable_nscd.
31140 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31141 for a database anymore. Check the records for all the registered
31143 * nss/Makefile (libnss_files-routines): Add files-init.
31144 (libnss_db-routines): Add db-init.
31145 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31146 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31147 * nss/nss_db/db-init.c: New file.
31148 * nss/nss_files/files-init.c: New file.
31149 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31150 __nss_lookup_function.
31151 (__nss_lookup_function): Call nss_load_library.
31152 (nss_load_all_libraries): New function.
31153 (__nss_disable_nscd): Take parameter with callback function for files
31154 to register. Set is_nscd. Load all the DSOs for the NSS modules
31155 used for the cached services.
31156 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31157 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31158 options for features to all the files in nscd.
31160 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31162 2011-07-10 Roland McGrath <roland@hack.frob.com>
31164 * csu/elf-init.c (__libc_csu_init): Comment typo.
31166 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31168 * po/pl.po: Update from translation team.
31169 * po/ja.po: Likewise.
31170 * po/ru.po: Likewise.
31171 * po/ko.po: Likewise.
31172 * po/fr.po: Likewise.
31174 2011-07-09 Roland McGrath <roland@hack.frob.com>
31176 * configure.in (.ctors/.dtors header and trailer check):
31177 Use an empirical test on a built program.
31178 * configure: Regenerated.
31180 * configure.in (-z relro check): Use an empirical test on a built DSO.
31181 Detect, but do not require, on ia64.
31182 * configure: Regenerated.
31184 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31185 Update tests that use readelf to use $READELF instead.
31186 * configure: Regenerated.
31188 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31190 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31191 if the result is not used.
31193 2011-07-05 Andreas Jaeger <aj@suse.de>
31196 * stdlib/tst-strtod.c: Add testcase.
31198 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31200 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31201 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31202 The latter has a higher limit. Take additional parameter to pass to
31204 (__pathconf): Pass file to __statfs_link_max.
31205 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31207 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31211 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31212 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31215 (__statfs_filesize_max): Likewise.
31216 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31218 2011-07-05 Andreas Jaeger <aj@suse.de>
31220 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31222 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31224 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31226 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31229 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31231 * Makefile (strop-tests): Add strncat.
31232 * string/test-strncat.c: New file.
31234 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31236 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31238 2011-06-21 Andreas Jaeger <aj@suse.de>
31240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31241 Copy rule from iconvdata/Makefile.
31243 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31246 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31247 but no long options are defined, just return 'W'.
31249 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31252 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31254 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31256 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31258 (innetgr): Likewise.
31260 2011-07-05 Roland McGrath <roland@hack.frob.com>
31262 * config.make.in (install_root): Default to $(DESTDIR).
31264 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31268 2011-07-02 Roland McGrath <roland@hack.frob.com>
31270 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31272 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31273 containing directory rather than embedding absolute directory names.
31275 * scripts/check-local-headers.sh: Rewritten using awk.
31276 Match by word, not by line. Print error messages for matches.
31277 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31279 * Makerules [shlib-lds-flags empty]:
31280 ($(common-objpfx)libc_pic.opts): New target.
31281 ($(common-objpfx)libc_pic.os.clean): New target.
31282 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31284 * config.make.in (OBJCOPY): New variable.
31285 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31286 * configure: Regenerated.
31288 * config.make.in (use-default-link): New variable.
31289 * configure.in (use_default_link): Grok --with-default-link to set it.
31290 * configure: Regenerated.
31291 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31292 (shlib-lds, shlib-lds-flags): Define to empty.
31294 * Makerules (shlib-lds): New variable.
31295 (shlib-lds-flags): New variable.
31296 (build-shlib, build-moduile, build-module-asneeded): Use it.
31297 ($(common-objpfx)libc.so): Use $(shlib-lds).
31298 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31299 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31301 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31302 DT_FLAGS/DT_FLAGS_1 with zero flags.
31304 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31305 linker script munging.
31307 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31309 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31311 * crypt/sha512.c (sha512_process_block): Perform total addition using
31312 128-bit if possible.
31313 (__sha512_finish_ctx): Likewise.
31314 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31316 * crypt/sha256.c (SWAP64): Define.
31317 (sha256_process_block): Perform total addition using 64-bit if
31319 (__sha256_finish_ctx): Likewise.
31321 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31323 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31325 * nscd/hstcache.c (cache_addhst): Likewise.
31326 * nscd/grpcache.c (cache_addgr): Likewise.
31327 * nscd/aicache.c (addhstaiX): Likewise
31328 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31330 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31332 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31334 * nscd/hstcache.c (cache_addhst): Likewise.
31335 * nscd/grpcache.c (cache_addgr): Likewise.
31336 * nscd/aicache.c (addhstaiX): Likewise
31338 2011-07-01 Andreas Schwab <schwab@redhat.com>
31340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31341 domain only when needed.
31343 2011-06-30 Andreas Schwab <schwab@redhat.com>
31345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31346 is always restored.
31348 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31350 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31351 are re-adding the entry.
31352 * nscd/servicescache.c (cache_addserv): Likewise.
31354 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31356 * sysdeps/generic/dl-irel.h: fix protection against multiple
31358 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31360 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31363 * malloc/memusage.sh: Fix quoting in message.
31364 * debug/xtrace.sh: Likewise.
31366 * configure.in: Remove support for --experimental-malloc option, make
31368 * config.make.in: Likewise.
31369 * malloc/Makefile: Likewise.
31371 2011-06-27 Andreas Schwab <schwab@redhat.com>
31373 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31374 two-byte characters.
31376 2011-06-27 Roland McGrath <roland@hack.frob.com>
31378 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31379 AC_CACHE_CHECK invocation.
31380 * configure: Regenerated.
31382 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31384 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31387 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31388 bit from old_res_options.
31390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31392 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31393 value type for setfct.
31395 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31398 __gettimeofday instead of gettimeofday.
31400 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31402 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31404 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31411 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31414 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31415 strcpy-sse2-unaligned strncpy-sse2-unaligned
31416 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31417 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31418 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31419 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31420 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31423 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31424 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31425 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31426 (STRCPY): Support SSE2 and SSSE3 versions.
31428 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31432 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31433 kernels which artificially limit size of requests.
31435 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31438 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31439 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31440 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31441 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31442 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31443 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31444 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31447 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31448 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31449 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31450 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31451 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31453 Enable unaligned load optimization for Intel Core i3, i5 and i7
31455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31457 (index_Fast_Unaligned_Load): Define.
31458 (HAS_FAST_UNALIGNED_LOAD): Define.
31460 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31462 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31464 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31468 until it is clear that the information is realy needed.
31469 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31471 2011-06-22 Andreas Schwab <schwab@redhat.com>
31473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31475 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31478 /sys/devices/system/cpu/online if it is usable.
31480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31481 reading the information from the /proc filesystem to once a second.
31483 2011-06-21 Andreas Jaeger <aj@suse.de>
31485 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31486 NULL after inclusion of kernel headers.
31488 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31490 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31491 calls to internal_setent.
31494 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31495 addresses using gethostbyname4_r ignore IPv4 addresses.
31497 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31498 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31500 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31502 2011-06-20 David S. Miller <davem@davemloft.net>
31504 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31506 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31508 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31509 (elf_irel): Use it.
31510 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31511 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31512 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31513 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31514 * sysdeps/x86_64/dl-irel.h: Likewise.
31516 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31517 * elf/dl-sym.c: Likewise.
31519 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31521 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31522 need to dereference resplen2.
31524 2011-06-14 Andreas Schwab <schwab@redhat.com>
31526 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31528 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31530 * Makeconfig: Define vardbdir and inst_vardbdir.
31531 * nss/Makefile: Add rules to install db-Makefile.
31533 * nss/nss_db/db-XXX.c: Cleanup.
31535 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31536 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31538 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31539 * nss/makedb.c: Implement -g option to specify that value strings
31540 are generated and should not be added to table iterated over for
31542 * nss/nss_db/db-initgroups.c: New file.
31544 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31547 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31548 (internal_getgrouplist): Adjust to name change.
31549 Update use_initgroups_entry if this is not the first call.
31550 * nss/databases.def: Add initgroups entry.
31552 * nss/makedb.c (compute_tables): Check result of multiple hash table
31553 sizes to minimize maximum chain length.
31555 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31557 * Versions.def: Add entry for libnss_db.
31558 * shlib-versions: Likewise.
31559 * nss/Makefile: Add rules to build libnss_db.
31560 * nss/Versions: Add libnss_db information. Organize libnss_files
31562 * nss/db-Makefile: Add gshadow support. Change rules for the new
31563 makedb progra. Some minor improvements to generate smaller files.
31564 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31566 * nss/makedb.c: ...here.
31567 Improve database format to be smaller and require less memory at
31569 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31571 * nss/nss_db/db-netgrp.c: Likewise.
31572 * nss/nss_db/db-open.c: Likewise.
31573 * nss/nss_files/flies-XXX.x: Adjust comments.
31574 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31575 * nss/nss_files/files-grp.c: Likewise.
31576 * nss/nss_files/files-hosts.c: Likewise.
31577 * nss/nss_files/files-network.c: Likewise.
31578 * nss/nss_files/files-proto.c: Likewise.
31579 * nss/nss_files/files-pwd.c: Likewise.
31580 * nss/nss_files/files-rpc.c: Likewise.
31581 * nss/nss_files/files-service.c: Likewise.
31582 * nss/nss_files/files-sgrp.c: Likewise.
31583 * nss/nss_files/files-spwd.c: Likewise.
31584 * nss/nss_db/db-alias.c: Removed.
31585 * nss/nss_db/dummy-db.h: Removed.
31587 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31589 * nss/makedb.c: Rewritten to not use database library.
31590 * nss/Makefile: Update to build new makedb program.
31592 2011-06-14 Andreas Jaeger <aj@suse.de>
31594 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31595 memset declaration.
31597 2011-06-10 Andreas Schwab <schwab@redhat.com>
31599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31602 2011-06-10 Roland McGrath <roland@hack.frob.com>
31604 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31605 * elf/Makefile ($(objpfx)ld.so): Likewise.
31607 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31608 Don't list ld.so twice in dependencies.
31610 * posix/bug-regex31.c: Include <stdlib.h>.
31612 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31614 * nis/nss_compat/compat-spwd.c
31615 (getspent_next_nss_netgr): Remove unused variable.
31616 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31618 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31619 nonmembers" output to use the right array.
31621 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31623 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31625 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31626 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31627 * catgets/gencat.c (read_input_file): Likewise.
31628 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31630 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31631 variable definition inside #if's controlling its use.
31633 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31635 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31637 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31639 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31642 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31644 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31645 * configure: Regenerated.
31647 * Makerules: Revert last change.
31648 * elf/Makefile: Likewise.
31650 2011-06-09 Roland McGrath <roland@hack.frob.com>
31652 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31653 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31654 (reloc-link): Likewise.
31656 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31658 * elf/Makefile: Add rules to build pldd.
31659 * elf/pldd.c: New file.
31660 * elf/pldd-xx.c: New file.
31662 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31664 * version.h: Update for 2.15 development version.
31666 2011-06-07 David S. Miller <davem@davemloft.net>
31668 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31671 elf_machine_lazy_rel): Likewise.
31672 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31674 elf_machine_lazy_rel): Likewise.
31675 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31676 dl_hwcap via passed in argument.
31677 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31680 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31682 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31684 2011-06-06 Roland McGrath <roland@hack.frob.com>
31687 * manual/fdl-1.1.texi: New file, verbatim from:
31688 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31689 * manual/lgpl-2.1.texi: New file, verbatim from:
31690 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31691 * manual/Makefile (licenses): New variable, list those new file names.
31693 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31695 * manual/fdl.texi: File removed.
31696 * manual/lesser.texi: File removed.
31697 * manual/libc.texinfo (Copying, Documentation License):
31698 Use new @include file names, put @appendix directive before @include.
31700 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31703 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31704 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31705 (mq_open): Add __NTH.
31707 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31710 Assume Intel Core i3/i5/i7 processor if AVX is available.
31712 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31717 2011-05-31 Andreas Schwab <schwab@redhat.com>
31719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31720 memory. Use alloca_account. Fix memory leak when retrying.
31722 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31724 * version.h (RELEASE): Bump for 2.14 release.
31725 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31727 * config.make.in (RANLIB): Remove entry.
31729 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31731 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31732 (libc.pot): Work around missing support for .ksh extension in xgettext.
31735 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31736 if both request failed.
31737 (send_dg): In case of server errors clear resplen or *resplen2.
31740 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31741 when there are multiple maps.
31742 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31743 (_dl_fini): Remove test here.
31745 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31747 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31750 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31751 bit from old_res_options.
31752 (gaih_inet): Likewise.
31755 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31758 * resolv/res_init.c (res_setoptions): Make the code more compact.
31761 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31765 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31767 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31770 * malloc/malloc.h: Declare malloc hook variables as volatile.
31772 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31776 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31777 raise in the comment.
31778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31780 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31782 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31785 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31786 grow the buffers more if it already has to be sufficient.
31787 (build_wcs_upper_buffer): Likewise.
31788 * posix/regexec.c (check_matching): Likewise.
31789 (clean_state_log_if_needed): Likewise.
31790 (extend_buffers): Don't enlarge buffers beyond size of the input
31792 Patches mostly by Emil Wojak <emil@wojak.eu>.
31793 * posix/bug-regex32.c: New file.
31794 * posix/Makefile (tests): Add bug-regex32.
31796 * locale/findlocale.c (_nl_find_locale): Return right away if
31797 _nl_explode_name failed.
31798 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31800 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31802 * debug/xtrace.sh: Unify messages.
31803 * malloc/memusage.sh: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31807 time symbol from vDSO. Substitute with vsyscall if not available.
31808 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31811 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31812 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31813 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31814 Add sendmmsg and internal_sendmmsg.
31815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31816 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31817 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31819 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31820 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31823 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31827 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31833 * iconvdata/Makefile (tests): Add bug-iconv9.
31834 * iconvdata/bug-iconv9.c: New file.
31836 2011-05-27 Andreas Schwab <schwab@redhat.com>
31839 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31841 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31844 (struct user_regs_struct): Change intcs field back to cs.
31846 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31848 * po/ja.po: Update from translation team.
31850 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31853 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31856 2011-05-20 Andreas Schwab <schwab@redhat.com>
31858 * stdlib/longlong.h: Update from GCC.
31860 2011-05-23 Andreas Schwab <schwab@redhat.com>
31862 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31864 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31865 Add parameter name.
31866 (__sysconf): Pass it down.
31868 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31871 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31873 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31874 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31875 add in in __libc_use_alloca calls. Adjust callers.
31876 (glob): Use malloc in some situations.
31878 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31879 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31882 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31884 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31885 and CLOCK_BOOTTIME_ALARM.
31888 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31891 * string/_strerror.c (__strerror_r): Print negative errors as signed
31895 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31896 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31897 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31899 * configure.in: Fix typo in redirection and correct removal of test
31900 files in two cases.
31903 * locale/setlocale.c (new_composite_name): Fix test to check for
31904 identical name of all categories.
31907 * libio/filedoalloc.c (local_isatty): New function.
31908 (_IO_file_doallocate): Use local_isatty.
31909 * stdio-common/perror.c (perror): In case a new stream is used
31910 forward the stream error.
31911 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31914 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31919 * include/alloca.h (extend_alloca_account): Define.
31922 * posix/regex.h: Fix comments with documentation of user-accessible
31923 fields after compilation and describe correct free'ing of pattern
31924 after re_compile_pattern.
31925 Patch by Reuben Thomas <rrt@sc3d.org>.
31927 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31929 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31930 and -mno-altivec to prevent the compiler from using Altivec and/or
31931 VSX instructions when the corresponding registers are not available.
31933 2011-05-19 Andreas Schwab <schwab@redhat.com>
31935 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31937 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31939 * libio/freopen.c (freopen): Use __dup2, not dup2.
31940 * libio/freopen64.c (freopen64): Likewise.
31942 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31945 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31946 * math/Makefile (tests): Add test-powl.
31947 (CFLAGS-test-powl.c): Define.
31948 * math/test-powl.c: New file.
31950 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31952 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31954 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31957 * iconvdata/gb18030.c: Update to GB18020-2005.
31959 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31961 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31962 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31963 Patch by Aharon Robbins <arnold@skeeve.com>.
31966 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31970 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31971 through underflows.
31974 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31975 point to strings before performing equality test for error_one_per_line
31979 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31983 (struct user_fpregs_struct): Avoid __uint*_t types.
31986 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31987 symbol info. Use it instead of calling _dl_addr locally.
31988 (lock_and_info): New function.
31989 (tr_freehook): Call lock_and_info and pass symbol info as additional
31990 parameter to tr_where.
31991 (tr_mallochook): Likewise.
31992 (tr_reallochook): Likewise.
31993 (tr_memalignhook): Likewise.
31995 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31996 used and couldn't be at all thread-safe.
31998 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32000 * libio/freopen.c (freopen): Don't close old file descriptor
32001 before the new one is opened. Instead dup the new file descriptor
32002 to the old one after the new stream is created.
32003 * libio/freopen64.c (freopen64): Likewise.
32004 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32005 * libio/fileops.c (_IO_new_file_close_it): Handle new
32006 _IO_FLAGS2_NOCLOSE flag.
32007 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32008 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32009 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32010 _IO_FLAGS2_NOCLOSE flag.
32011 * include/unistd.h: Add hidden_proto for dup3.
32012 Define __have_dup3.
32013 * io/dup3.c: Define hidden symbol.
32014 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32017 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32018 when an incomplete long option is used.
32019 * posix/tst-getopt_long1.c: New file.
32020 * posix/Makefile (tests): Add tst-getopt_long1.
32023 * scripts/config.guess: Update from autoconf-2.68.
32024 * scripts/config.sub: Likewise.
32027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32029 (has_cpuclock): ...this. New function.
32030 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32031 macro here based on has_cpuclock code.
32034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32035 First byte (not low byte) is now always NUL.
32036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32039 Use non-cancelable interfaces.
32042 * locale/iso-639.def: Add entry for Sorani.
32045 * include/stdlib.h: Move include protection to the right place.
32046 Define abort_msg_s. Declare __abort_msg with it.
32047 * stdlib/abort.c (__abort_msg): Adjust type.
32048 * assert/assert.c (__assert_fail_base): New function. Majority
32049 of code from __assert_fail. Allocate memory for __abort_msg with
32051 (__assert_fail): Now call __assert_fail_base.
32052 * assert/assert-perr.c: Remove bulk of implementation. Use
32053 __assert_fail_base.
32054 * include/assert.hL Declare __assert_fail_base.
32055 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32057 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32059 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32063 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32064 until all modules are registered in the DTV.
32065 * elf/Makefile: Add rules to build and run tst-tls19.
32066 * elf/tst-tls19.c: New file.
32067 * elf/tst-tls19mod1.c: New file.
32068 * elf/tst-tls19mod2.c: New file.
32069 * elf/tst-tls19mod3.c: New file.
32070 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32073 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32077 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32078 two-byte sequence errors.
32079 * iconvdata/Makefile (tests): Add bug-iconv8.
32080 * iconvdata/bug-iconv8.c: New file.
32083 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32086 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32089 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32090 (dummy_getcfa): New function.
32091 (init): Get _Unwind_GetCFA address, use dummy if not found.
32092 (backtrace_helper): In recursion check, also check whether CFA changes.
32093 (__backtrace): Completely initialize arg.
32095 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32096 storing incomplete byte sequence in state object. Avoid testing for
32097 guaranteed too small input if we know there is enough data available.
32099 2011-05-11 Andreas Schwab <schwab@redhat.com>
32101 * Makeconfig (+link-pie): Indent.
32102 * Rules (binaries-pie): Define if $(have-fpie) and
32104 (binaries-shared): Also filter out $(binaries-pie).
32105 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32106 * nscd/Makefile (others-pie): Add nscd.
32107 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32108 ($(objpfx)nscd): Remove command override.
32109 * login/Makefile (others-pie): Add pt_chown.
32110 ($(objpfx)pt_chown): Remove command override.
32111 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32112 remove command overrides.
32114 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32116 * libio/tst_putwc.c: Fix error messages.
32119 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32120 currently writing and seek to current position when not.
32121 * libio/Makefile (tests): Add bug-fclose1.
32122 * libio/bug-fclose1.c: New file.
32124 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32127 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32128 don't set DF_1_NODELETE here.
32129 (do_lookup_x): When entering new entry test for copy relocation
32130 and if necessary set DF_1_NODELETE flag.
32131 * elf/tst-unique4.cc: New file.
32132 * elf/tst-unique4.h: New file.
32133 * elf/tst-unique4lib.cc: New file.
32134 * elf/Makefile: Add rules to build and run tst-unique4.
32135 Patch by Piotr Bury <pbury@goahead.com>.
32137 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32140 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32143 * misc/mntent_r.c (addmntent): Flush the stream after the output
32146 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32147 (is_trusted_path_normalize): Skip initial colon. Append slash
32148 to empty buffer. Duplicate is_trusted_path code but allow
32149 constructed patch to be prefix.
32150 (is_dst): Allow $ORIGIN followed by /.
32151 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32152 Correct testing of result of is_trusted_path_normalize
32153 (decompose_rpath): Fix warning.
32155 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32158 * grp/initgroups.c (internal_getgrouplist): When we found the service
32159 list through the initgroups entry in nsswitch.conf do not always
32160 continue on a successful lookup. Don't always use the
32161 __nss_group_database value if it is set.
32162 * nss/nsswitch.conf (initgroups): Change action for successful db
32163 lookup to continue for compatibility.
32165 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32168 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32170 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32172 * iconvdata/tst-tables.sh: Likewise.
32173 * iconvdata/cp770.c: New file.
32174 * iconvdata/cp771.c: New file.
32175 * iconvdata/cp772.c: New file.
32176 * iconvdata/cp773.c: New file.
32177 * iconvdata/cp774.c: New file.
32178 * iconvdata/testdata/CP770: New file.
32179 * iconvdata/testdata/CP770..UTF8: New file.
32180 * iconvdata/testdata/CP771: New file.
32181 * iconvdata/testdata/CP771..UTF8: New file.
32182 * iconvdata/testdata/CP772: New file.
32183 * iconvdata/testdata/CP772..UTF8: New file.
32184 * iconvdata/testdata/CP773: New file.
32185 * iconvdata/testdata/CP773..UTF8: New file.
32186 * iconvdata/testdata/CP774: New file.
32187 * iconvdata/testdata/CP774..UTF8: New file.
32189 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32191 * iconvdata/gen-8bit-gap.sh: Likewise.
32192 * iconvdata/gen-8bit.sh: Likewise.
32194 * locale/iso-639.def: Add ary entry.
32197 * locale/C-translit.h.in: Add U20A1 transliteration.
32200 * locale/iso-639.def: Add wae entry.
32201 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32204 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32208 * locale/C-translit.h.in: Add entry for U20B9.
32209 Patch by pravin.d.s@gmail.com.
32211 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32214 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32215 ENAMETOOLONG use generic getcwd.
32216 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32217 in rtld. Use *stat64.
32218 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32219 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32220 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32221 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32222 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32223 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32224 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32225 __fstatat64 macros.
32226 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32227 * dirent/rewinddir.c: Add libc_hidden_def.
32228 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32229 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32231 * include/dirent.h (__alloc_dir): Add flags parameter.
32232 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32233 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32235 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32236 from fdopendir if O_CLOEXEC is already set.
32238 2011-03-15 Alan Modra <amodra@gmail.com>
32240 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32241 l_tls_firstbyte_offset non-zero. Save padding offset in
32242 l_tls_firstbyte_offset for later use.
32243 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32244 freeing static tls block.
32246 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32248 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32249 where #ifdef was intended. The intent is to prevent ARG_MAX from
32250 being defined by the kernel headers.
32252 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32255 * resolv/resolv.h: Define RES_NOTLDQUERY.
32256 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32257 no-tld-query and set RES_NOTLDQUERY.
32258 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32259 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32260 modern BIND to search name as TLD unless forbidden.
32262 2011-05-07 Petr Baudis <pasky@suse.cz>
32263 Ulrich Drepper <drepper@gmail.com>
32266 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32267 (is_trusted_path): ...to here.
32268 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32269 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32270 using is_trusted_path_normalize() in setuid scripts.
32272 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32275 __BEGIN/__END_DECLS.
32277 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32280 NSS_STATUS_NOTFOUND if no record was found.
32282 2011-05-05 Andreas Schwab <schwab@redhat.com>
32284 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32285 (headers-not-in-tirpc): Remove rpc/netdb.h
32286 * resolv/netdb.h: Revert last change.
32288 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32290 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32291 circular dependency between libgcc.a and libc.a.
32293 2011-05-05 Andreas Schwab <schwab@redhat.com>
32295 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32296 * nis/Makefile: Don't install rpcsvc/*.
32297 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32298 instead of <rpc/types.h>.
32299 (MAXHOSTNAMELEN): Define.
32301 2011-05-03 Andreas Schwab <schwab@redhat.com>
32303 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32305 2011-04-28 Maciej Babinski <mbabinski@google.com>
32308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32309 gethostbyname4_r when IPv6 results are possible.
32311 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32314 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32315 _PC_PIPE_BUF handling.
32317 2011-04-30 Bruno Haible <bruno@clisp.org>
32320 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32321 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32323 * inet/getnameinfo.c (getnameinfo): Likewise.
32325 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32327 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32328 to groups setting in database lookup.
32329 * nss/nsswitch.conf: Add initgroups entry.
32331 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32334 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32336 Patch by Eric Blake <eblake@redhat.com>.
32338 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32340 * sunrpc/Makefile (need-export-routines): Add svc_run.
32341 (routines): Remove svc_run.
32342 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32343 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32344 * sunrpc/svc_run.c (svc_run): Likewise.
32345 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32347 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32350 problem in reallocation in last patch.
32352 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32354 * sunrpc/Makefile: Move inclusion of Rules.
32356 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32358 * nss/nss_files/files-initgroups.c: New file.
32359 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32360 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32361 _nss_files_initgroups_dyn.
32363 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32365 * elf/elf.h (R_ARM_IRELATIVE): Define.
32367 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32369 * po/ru.po: Update from translation team.
32371 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32373 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32376 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32379 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32380 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32385 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32387 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32393 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32396 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32398 * stdlib/bug-getcontext.c: New file.
32399 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32401 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32403 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32404 instructions into .machine "z9-109".
32405 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32406 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32408 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32410 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32411 between environment variables and auxiliary vector.
32413 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32415 * Makefile: Add rules to build linkobj/libc.so.
32416 * include/libc-symbols.h: Define libc_hidden_nolink.
32417 * include/rpc/auth.h: Mark functions which are to be hidden.
32418 * include/rpc/auth_des.h: Likewise.
32419 * include/rpc/auth_unix.h: Likewise.
32420 * include/rpc/clnt.h: Likewise.
32421 * include/rpc/des_crypt.h: Likewise.
32422 * include/rpc/key_prot.h: Likewise.
32423 * include/rpc/pmap_clnt.h: Likewise.
32424 * include/rpc/pmap_prot.h: Likewise.
32425 * include/rpc/pmap_rmt.h: Likewise.
32426 * include/rpc/rpc_msg.h: Likewise.
32427 * include/rpc/svc.h: Likewise.
32428 * include/rpc/svc_auth.h: Likewise.
32429 * include/rpc/xdr.h: Likewise.
32430 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32431 * nss/Makefile: Likewise.
32432 * sunrpc/Makefile: Don't install headers. Build library with normal
32433 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32434 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32435 for the compat linking library. Remove use of INTDEF/INTUSE.
32436 * sunrpc/auth_none.c: Likewise.
32437 * sunrpc/auth_unix.c: Likewise.
32438 * sunrpc/authdes_prot.c: Likewise.
32439 * sunrpc/authuxprot.c: Likewise.
32440 * sunrpc/clnt_gen.c: Likewise.
32441 * sunrpc/clnt_perr.c: Likewise.
32442 * sunrpc/clnt_raw.c: Likewise.
32443 * sunrpc/clnt_simp.c: Likewise.
32444 * sunrpc/clnt_tcp.c: Likewise.
32445 * sunrpc/clnt_udp.c: Likewise.
32446 * sunrpc/clnt_unix.c: Likewise.
32447 * sunrpc/des_crypt.c: Likewise.
32448 * sunrpc/des_soft.c: Likewise.
32449 * sunrpc/get_myaddr.c: Likewise.
32450 * sunrpc/key_call.c: Likewise.
32451 * sunrpc/key_prot.c: Likewise.
32452 * sunrpc/netname.c: Likewise.
32453 * sunrpc/pm_getmaps.c: Likewise.
32454 * sunrpc/pm_getport.c: Likewise.
32455 * sunrpc/pmap_clnt.c: Likewise.
32456 * sunrpc/pmap_prot.c: Likewise.
32457 * sunrpc/pmap_prot2.c: Likewise.
32458 * sunrpc/pmap_rmt.c: Likewise.
32459 * sunrpc/publickey.c: Likewise.
32460 * sunrpc/rpc_cmsg.c: Likewise.
32461 * sunrpc/rpc_common.c: Likewise.
32462 * sunrpc/rpc_dtable.c: Likewise.
32463 * sunrpc/rpc_prot.c: Likewise.
32464 * sunrpc/rpc_thread.c: Likewise.
32465 * sunrpc/rtime.c: Likewise.
32466 * sunrpc/svc.c: Likewise.
32467 * sunrpc/svc_auth.c: Likewise.
32468 * sunrpc/svc_authux.c: Likewise.
32469 * sunrpc/svc_raw.c: Likewise.
32470 * sunrpc/svc_run.c: Likewise.
32471 * sunrpc/svc_simple.c: Likewise.
32472 * sunrpc/svc_tcp.c: Likewise.
32473 * sunrpc/svc_udp.c: Likewise.
32474 * sunrpc/svc_unix.c: Likewise.
32475 * sunrpc/svcauth_des.c: Likewise.
32476 * sunrpc/xcrypt.c: Likewise.
32477 * sunrpc/xdr.c: Likewise.
32478 * sunrpc/xdr_array.c: Likewise.
32479 * sunrpc/xdr_float.c: Likewise.
32480 * sunrpc/xdr_intXX_t.c: Likewise.
32481 * sunrpc/xdr_mem.c: Likewise.
32482 * sunrpc/xdr_rec.c: Likewise.
32483 * sunrpc/xdr_ref.c: Likewise.
32484 * sunrpc/xdr_sizeof.c: Likewise.
32485 * sunrpc/xdr_stdio.c: Likewise.
32487 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32490 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32491 * sysdeps/ia64/dl-tls.h: Likewise.
32492 * sysdeps/powerpc/dl-tls.h: Likewise.
32493 * sysdeps/s390/dl-tls.h: Likewise.
32494 * sysdeps/sh/dl-tls.h: Likewise.
32495 * sysdeps/sparc/dl-tls.h: Likewise.
32496 * sysdeps/x86_64/dl-tls.h: Likewise.
32497 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32499 2011-03-14 Andreas Schwab <schwab@redhat.com>
32501 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32502 rpath element also skip the following colon.
32503 (expand_dynamic_string_token): Add is_path parameter and pass
32504 down to DL_DST_REQUIRED and _dl_dst_substitute.
32505 (decompose_rpath): Call expand_dynamic_string_token with
32506 non-zero is_path. Ignore empty rpaths.
32507 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32510 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32515 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32518 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32519 Patch by Filipe David Manana <fdmanana@apache.org>.
32521 2011-04-07 Andreas Schwab <schwab@redhat.com>
32523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32524 Maintain aligned stack.
32525 (CHECK_RSP): Remove unused macro.
32527 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32529 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32532 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32534 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32536 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32538 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32541 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32542 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32543 * sysdeps/x86_64/memmove.c: New file.
32544 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32545 (memcpy): Renamed to ...
32546 (__new_memcpy): This.
32547 (memcpy): Provide GLIBC_2_14 memcpy.
32548 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32549 (memcpy): Provide GLIBC_2_2_5 memcpy.
32551 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32554 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32556 2011-03-30 Andreas Schwab <schwab@redhat.com>
32558 * misc/syncfs.c: New file.
32559 * misc/Makefile (routines): Add syncfs.
32560 * posix/unistd.h: Declare syncfs.
32561 * sysdeps/unix/syscalls.list: Add syncfs.
32563 2011-04-01 Andreas Schwab <schwab@redhat.com>
32565 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32572 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32575 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32585 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32586 sync_file_range.c with -fexceptions.
32587 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32588 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32589 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32590 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32591 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32592 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32594 sync_file_range as cancellation point
32595 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32596 now a wrapper around __call_sync_file_range with cancellation handling.
32597 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32598 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32599 function name to __call_sync_file_range.
32600 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32601 Add call_sync_file_range.
32603 2011-04-01 Andreas Schwab <schwab@redhat.com>
32605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32610 * iconv/iconv.h: Fix typo in comment.
32611 * io/fcntl.h: Likewise.
32612 * libio/stdio.h: Likewise.
32613 * posix/spawn.h: Likewise.
32614 * posix/unistd.h: Likewise.
32615 * stdlib/stdlib.h: Likewise.
32616 * time/time.h: Likewise.
32617 * wcsmbs/wchar.h: Likewise.
32619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32620 open_by_handle): Add.
32621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32622 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32623 Augment a few comments.
32624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32629 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32632 * io/fcntl.h (AT_EMPTY_PATH): Define.
32634 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32636 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32637 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32638 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32640 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32641 * Versions.def: Add GLIBC_2.14.
32642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32645 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32647 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32649 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32651 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32654 * string/test-strncmp.c (do_page_test): New function.
32655 (check2): Likewise.
32656 (test_main): Call check2.
32657 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32659 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32662 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32663 Handle cache information in CPU leaf 4.
32664 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32666 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32669 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32670 character representation.
32671 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32673 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32675 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32676 END(__isnan) to END(__isnanf) to match function entry point/label
32677 EALIGN(__isnanf,...).
32679 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32681 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32683 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32686 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32687 copy from the symbol referenced in the relocation to initialize the
32689 Patch by Piotr Bury <pbury@goahead.com>.
32690 * elf/Makefile: Add rules to build and tst-unique3.
32691 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32692 * elf/tst-unique3.cc: New file.
32693 * elf/tst-unique3.h: New file.
32694 * elf/tst-unique3lib.cc: New file.
32695 * elf/tst-unique3lib2.cc: New file.
32697 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32699 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32701 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32702 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32705 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32707 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32708 to-be-loaded object along a path to loader is ld.so.
32710 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32711 Ulrich Drepper <drepper@gmail.com>
32713 * sysdeps/x86_64/memset.S: After aligning destination, code
32714 branches to different locations depending on the value of
32715 misalignment, when multiarch is enabled. Fix this.
32717 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32719 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32720 Set _x86_64_preferred_memory_instruction for AMD processsors.
32721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32722 Set bit_Prefer_SSE_for_memop for AMD processors.
32724 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32726 * libio/fmemopen.c (fmemopen): Optimize a bit.
32728 2011-03-03 Andreas Schwab <schwab@redhat.com>
32730 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32732 2011-03-03 Roland McGrath <roland@redhat.com>
32734 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32736 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32738 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32739 __bzero_ultra1 instead of __memset_ultra1.
32741 2011-02-23 Andreas Schwab <schwab@redhat.com>
32742 Ulrich Drepper <drepper@gmail.com>
32745 * include/link.h (struct link_map): Add l_orig_initfini.
32746 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32747 returning unsuccessfully.
32748 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32749 close of a file loaded at startup, restore the original l_initfini
32751 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32752 list, store the pointer.
32753 * elf/Makefile ($(objpfx)noload-mem): New rule.
32754 (noload-ENV): Define.
32755 (tests): Add $(objpfx)noload-mem.
32756 * elf/noload.c: Include <memcheck.h>.
32757 (main): Call mtrace. Close all opened handles.
32759 2011-02-17 Andreas Schwab <schwab@redhat.com>
32762 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32763 dependencies are missing.
32765 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32767 Fix __if_freereq crash: Unlike the generic version which uses free,
32769 * sysdeps/mach/hurd/ifreq.h: New file.
32771 2011-01-27 Petr Baudis <pasky@suse.cz>
32772 Ulrich Drepper <drepper@gmail.com>
32775 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32776 to extend_alloca().
32777 * stdio-common/bug23.c: New file.
32778 * stdio-common/Makefile (tests): Add bug23.
32780 2010-09-28 Andreas Schwab <schwab@redhat.com>
32781 Ulrich Drepper <drepper@gmail.com>
32784 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32785 before performing relro protection. At old place add assertion
32786 to make sure nothing changed.
32788 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32789 Glauber de Oliveira Costa <glommer@gmail.com>
32791 * elf/elf.h: Add new ARM TLS relocs.
32793 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32796 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32798 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32800 * sysdeps/wordsize-64/tst-writev.c: New file.
32802 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32804 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32805 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32806 insns in _dl_start to prevent a TOC reference before relocs are
32809 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32812 * Makeconfig: Remove RANLIB definition.
32813 * Makerules: Don't use RANLIB.
32814 * aclocal.m4: Remove ranlib test.
32815 * configure.in: No need to check for ranlib.
32816 * elf/rtld-Rules: Don't use RANLIB.
32818 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32820 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32822 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32823 inclusion protection macro.
32825 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32826 SIGRTMIN and SIGRTMAX and print information in that case only when
32827 SIGRTMIN is defined.
32829 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32831 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32832 arginfo fn returning -1.
32834 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32835 and thousands string is zero terminated.
32837 2011-02-03 Andreas Schwab <schwab@redhat.com>
32839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32840 sysdeps/unix/sysv/linux/bits/socket.h.
32842 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32844 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32845 (__CPU_COUNT): Remove old macros.
32846 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32847 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32848 (__CPU_ALLOC, __CPU_FREE): Add macros.
32849 (__sched_cpualloc, __sched_cpufree): Add declarations.
32851 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32853 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32854 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32855 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32856 (readdhstai): Return value of addhstaiX call.
32857 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32858 (addgrbyX): Return value returned by cache_addgr.
32859 (readdgrbyname): Return value returned by addgrbyX.
32860 (readdgrbygid): Likewise.
32861 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32862 (addpwbyX): Return value returned by cache_addpw.
32863 (readdpwbyname): Return value returned by addhstbyX.
32864 (readdpwbyuid): Likewise.
32865 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32866 (addservbyX): Return value returned by cache_addserv.
32867 (readdservbyname): Return value returned by addservbyX:
32868 (readdservbyport): Likewise.
32869 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32870 (addhstbyX): Return value returned by cache_addhst.
32871 (readdhstbyname): Return value returned by addhstbyX.
32872 (readdhstbyaddr): Likewise.
32873 (readdhstbynamev6): Likewise.
32874 (readdhstbyaddrv6): Likewise.
32875 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32876 (readdinitgroups): Return value returned by addinitgroupsX.
32877 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32878 (prune_cache): Keep track of timeout value of re-added entries.
32879 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32880 * nscd/nscd.h: Adjust prototypes of readd* functions.
32882 2011-02-04 Roland McGrath <roland@redhat.com>
32884 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32885 (nis_stats): Likewise.
32886 * nis/nis_modify.c (nis_modify): Likewise.
32887 * nis/nis_remove.c (nis_remove): Likewise.
32888 * nis/nis_add.c (nis_add): Likewise.
32890 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32892 * posix/fnmatch_loop.c: Add some consts.
32894 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32896 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32899 * config.make.in (config-cflags-novzeroupper): Define.
32900 * configure.in: Substitute libc_cv_cc_novzeroupper.
32901 * elf/Makefile (AVX-CFLAGS): Define.
32902 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32903 (CFLAGS-tst-auditmod4a.c): Likewise.
32904 (CFLAGS-tst-auditmod4b.c): Likewise.
32905 (CFLAGS-tst-auditmod6b.c): Likewise.
32906 (CFLAGS-tst-auditmod6c.c): Likewise.
32907 (CFLAGS-tst-auditmod7b.c): Likewise.
32908 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32910 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32912 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32913 function to the callback.
32914 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32916 2011-02-02 Andreas Schwab <schwab@redhat.com>
32918 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32921 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32924 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32926 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32928 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32931 * elf/Makefile: Add rules to build and run new test.
32932 * elf/tst-initorder.c: New file.
32933 * elf/tst-initorder.exp: New file.
32934 * elf/tst-initordera1.c: New file.
32935 * elf/tst-initordera2.c: New file.
32936 * elf/tst-initordera3.c: New file.
32937 * elf/tst-initordera4.c: New file.
32938 * elf/tst-initorderb1.c: New file.
32939 * elf/tst-initorderb2.c: New file.
32940 * elf/tst-order-a1.c: New file.
32941 * elf/tst-order-a2.c: New file.
32942 * elf/tst-order-a3.c: New file.
32943 * elf/tst-order-a4.c: New file.
32944 * elf/tst-order-b1.c: New file.
32945 * elf/tst-order-b2.c: New file.
32946 * elf/tst-order-main.c: New file.
32947 New test case by George Gensure <werkt0@gmail.com>.
32949 2010-10-01 Andreas Schwab <schwab@redhat.com>
32951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32952 decoding ACE if AI_CANONIDN.
32954 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32956 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32958 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32960 * version.h (RELEASE): Bump for 2.13 release.
32961 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32963 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32967 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32969 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32974 * posix/getconf.c: Update copyright year.
32975 * catgets/gencat.c: Likewise.
32976 * csu/version.c: Likewise.
32977 * debug/catchsegv.sh: Likewise.
32978 * debug/xtrace.sh: Likewise.
32979 * elf/ldconfig.c: Likewise.
32980 * elf/ldd.bash.in: Likewise.
32981 * elf/sprof.c (print_version): Likewise.
32982 * iconv/iconv_prog.c: Likewise.
32983 * iconv/iconvconfig.c: Likewise.
32984 * locale/programs/locale.c: Likewise.
32985 * locale/programs/localedef.c: Likewise.
32986 * malloc/memusage.sh: Likewise.
32987 * malloc/mtrace.pl: Likewise.
32988 * nscd/nscd.c (print_version): Likewise.
32989 * nss/getent.c: Likewise.
32991 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32992 PF_CAIF, and PF_ALG.
32993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32995 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32997 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32998 (modules-names): Use them.
32999 (ifunc-test-modules, ifunc-pie-tests): Define.
33000 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33001 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33002 (test-extras): Likewise.
33003 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33004 $(compile-command.c).
33005 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33006 (all-built-dso): Define.
33007 (check-textrel.out, check-execstack.out): Depend on it.
33009 * configure.in: Don't override --enable-multi-arch.
33011 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33014 * nscd/hstcache.c (tryagain): Define.
33015 (cache_addhst): Return tryagain not notfound for temporary errors.
33016 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33019 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33022 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33023 to make the syscall.
33024 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33027 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33028 and fall back to matching as normal character if the string ends before
33029 the matching ']' is found. This is what POSIX requires.
33030 * posix/testfnm.c: Adjust test result.
33031 * posix/globtest.sh: Adjust test result. Add new test.
33032 * posix/tst-fnmatch.input: Likewise.
33033 * posix/tst-fnmatch2.c: Add new test.
33035 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33037 * elf/Makefile (check-execstack): Revert last change. Depend on
33039 (check-execstack.h): New target.
33040 (generated): Add check-execstack.h.
33041 * elf/check-execstack.c: Include "check-execstack.h".
33042 (main): Revert last change.
33043 (handle_file): Return zero if GNU_STACK is absent and
33044 DEFAULT_STACK_PERMS doesn't include PF_X.
33046 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33048 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33049 in child fails because the descriptor is already closed.
33050 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33051 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33052 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33055 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33059 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33060 temporary buffer used to handle multi lookups locally.
33061 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33063 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33065 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33068 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33070 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33071 alignment for SSE2.
33073 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33076 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33077 characters. When rounding increased number of integer digits recompute
33079 * stdio-common/tst-grouping.c: New file.
33080 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33082 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33084 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33085 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33087 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33089 * bits/select.h: Likewise.
33091 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33093 * po/ja.po: Update from translation team.
33095 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33098 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33099 implementation just like for lxstat, fxstatat, et al.
33101 2010-12-27 Jim Meyering <meyering@redhat.com>
33104 * posix/regexec.c (build_trtable): Return failure indication upon
33105 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33107 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33110 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33111 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33116 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33119 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33120 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33122 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33124 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33125 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33126 script has SORT_BY_INIT_PRIORITY.
33127 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33128 NO_CTORS_DTORS_SECTIONS is defined.
33129 * elf/soinit.c: Likewise.
33130 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33131 NO_CTORS_DTORS_SECTIONS is defined.
33132 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33133 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33134 * sysdeps/sh/init-first.c: Likewise.
33135 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33137 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33139 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33140 always use the slow path.
33142 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33144 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33145 similar rule which adds the sysdep directories to the header search in
33146 order to pick up the correct platform stackinfo.h.
33147 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33148 perform test if it is, otherwise return successfully without testing.
33149 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33150 DEFAULT_STACK_PERMS define in stackinfo.h.
33151 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33152 defined in stackinfo.h.
33153 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33154 DEFAULT_STACK_PERMS defined in stackinfo.h.
33155 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33156 * sysdeps/ia64/stackinfo.h: Likewise.
33157 * sysdeps/s390/stackinfo.h: Likewise.
33158 * sysdeps/sh/stackinfo.h: Likewise.
33159 * sysdeps/sparc/stackinfo.h: Likewise.
33160 * sysdeps/x86_64/stackinfo.h: Likewise.
33161 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33162 PF_X for powerpc64. Retain PF_X for powerpc32.
33164 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33166 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33168 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33169 GETDENTS_64BIT_ALIGNED.
33171 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33173 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33175 2010-12-10 Andreas Schwab <schwab@redhat.com>
33177 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33181 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33183 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33184 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33186 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33189 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33192 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33194 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33196 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33198 * po/it.po: Update from translation team.
33200 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33205 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33207 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33209 2010-11-24 Andreas Schwab <schwab@redhat.com>
33211 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33213 (gaih_getanswer_slice): Likewise.
33215 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33219 2010-05-31 Petr Baudis <pasky@suse.cz>
33222 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33223 silently even in the chroot mode.
33225 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33227 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33228 last patch a bit. Pretty printing
33230 2010-05-31 Petr Baudis <pasky@suse.cz>
33233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33234 initialization of skip_initgroups_dyn.
33236 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33241 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33243 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33245 2010-11-11 Andreas Schwab <schwab@redhat.com>
33247 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33248 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33249 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33250 ($(objpfx)tst-fnmatch-mem): New rule.
33251 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33252 * posix/tst-fnmatch.c (main): Call mtrace.
33254 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33257 Support Intel processor model 6 and model 0x2c.
33259 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33264 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33267 * string/test-strncasecmp.c (check_result): New function.
33268 (do_one_test): Use it.
33269 (check1): New function.
33270 (test_main): Use it.
33271 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33272 Support strcasecmp and strncasecmp.
33274 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33277 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33280 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33282 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33286 * sysdeps/x86_64/multiarch/bzero.S: New file.
33287 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33288 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33289 * sysdeps/x86_64/multiarch/memset.S: New file.
33290 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33292 Set bit_Prefer_SSE_for_memop for Intel processors.
33293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33295 (index_Prefer_SSE_for_memop): Define.
33296 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33298 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33300 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33301 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33303 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33306 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33307 (__x86_64_raw_data_cache_size_half): Likewise.
33308 (__x86_64_raw_shared_cache_size): Likewise.
33309 (__x86_64_raw_shared_cache_size_half): Likewise.
33311 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33312 (__x86_64_raw_data_cache_size_half): Likewise.
33313 (__x86_64_raw_shared_cache_size): Likewise.
33314 (__x86_64_raw_shared_cache_size_half): Likewise.
33315 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33316 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33317 and __x86_64_raw_shared_cache_size_half. Round
33318 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33319 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33320 to multiple of 256 bytes.
33322 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33326 of inacessible symlinks. Verify result of symlink before returning it.
33327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33328 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33330 2010-10-28 Erich Ritz <erichritz@gmail.com>
33332 * math/math.h (isinf): Fix typo in comment.
33334 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33336 * po/da.po: Update from translation team.
33338 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33340 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33341 is added to the list.
33343 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33344 Ulrich Drepper <drepper@gmail.com>
33346 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33347 the global list here. Move code to...
33348 (_dl_add_to_namespace_list): ...here. New function.
33349 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33350 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33351 * elf/dl-load.c (lose): Don't remove the element from the list.
33352 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33353 (_dl_map_object): Likewise.
33355 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33358 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33359 into all bytes of SSE register.
33360 Patch by Richard Li <richardpku@gmail.com>.
33362 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33365 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33368 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33370 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33371 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33372 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33378 2010-10-22 Andreas Schwab <schwab@redhat.com>
33380 * include/dlfcn.h (__RTLD_SECURE): Define.
33381 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33382 mode & __RTLD_SECURE instead.
33383 (open_path): Rename preloaded parameter to secure.
33384 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33385 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33386 * elf/dl-deps.c (openaux): Likewise.
33387 * elf/rtld.c (struct map_args): Remove is_preloaded.
33388 (map_doit): Don't use it.
33389 (dl_main): Likewise.
33390 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33391 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33393 2010-09-09 Andreas Schwab <schwab@redhat.com>
33395 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33396 (sysd-rules-targets): Remove duplicates.
33397 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33398 rtld-%.$o dependency.
33400 2010-10-18 Andreas Schwab <schwab@redhat.com>
33402 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33403 _dl_map_object do it.
33405 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33407 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33408 fast fma builtins, define the macros in the C99 standard.
33409 (FP_FAST_FMAF): Likewise.
33410 (FP_FAST_FMAL): Likewise.
33411 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33413 * bits/mathdef.h: Update copyright year.
33414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33416 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33418 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33419 builtins, define the macros in the C99 standard.
33420 (FP_FAST_FMAF): Likewise.
33421 (FP_FAST_FMAL): Likewise.
33422 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33424 (FP_FAST_FMAF): Likewise.
33426 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33429 * math/libm-test.inc (fma_test): Some new testcases.
33430 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33432 y and infinite z. Do multiplication by C already in long double.
33433 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33435 y and infinite z. Do bitwise or of inexact bit into u.d.
33436 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33437 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33438 * sysdeps/i386/fpu/s_fma.S: Removed.
33439 * sysdeps/i386/fpu/s_fmal.S: Removed.
33441 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33444 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33446 computation is not scheduled after fetestexcept. Fix value
33447 of minimum denormal long double.
33449 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33452 * math/libm-test.inc (fma_test): Add some more tests.
33453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33456 2010-10-15 Andreas Schwab <schwab@redhat.com>
33458 * scripts/data/localplt-s390-linux-gnu.data: New file.
33459 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33461 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33464 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33465 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33467 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33469 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33471 if one of x and y is very large and the other is subnormal.
33472 * sysdeps/s390/fpu/s_fmaf.c: New file.
33473 * sysdeps/s390/fpu/s_fma.c: New file.
33474 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33475 * sysdeps/powerpc/fpu/s_fma.S: New file.
33476 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33477 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33478 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33480 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33483 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33486 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33487 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33488 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33489 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33490 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33493 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33496 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33497 * posix/bug-regex31.input: Add test case.
33499 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33501 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33502 * posix/bug-regex31.input: New file.
33505 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33506 (parse_sub_exp): Fix last change, use postorder.
33508 * posix/bug-regex31.c: New file.
33509 * posix/Makefile: Add rules to build and run bug-regex31.
33511 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33514 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33517 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33518 to have entries in sys_siglist.
33521 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33524 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33527 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33528 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33529 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33530 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33531 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33532 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33533 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33534 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33535 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33536 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33537 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33538 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33539 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33540 * math/ftestexcept.c (fetestexcept): Likewise.
33541 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33542 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33543 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33544 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33545 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33546 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33549 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33552 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33555 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33557 * string/bug-strstr1.c: New file.
33558 * string/Makefile: Add rules to build and run bug-strstr1.
33560 2010-10-05 Eric Blake <eblake@redhat.com>
33563 * string/str-two-way.h (two_way_long_needle): Always clear memory
33564 when skipping input due to the shift table.
33566 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33569 * malloc/mcheck.c: Handle large requests.
33572 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33573 for strncmp and strncasecmp.
33574 * string/stratcliff.c: Add tests for strcmp and strncmp.
33575 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33577 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33579 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33582 2010-09-30 Andreas Jaeger <aj@suse.de>
33584 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33585 (CGROUP_SUPER_MAGIC): Define.
33586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33587 Handle btrfs and cgroup file systems.
33588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33591 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33593 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33594 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33596 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33599 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33600 trying to locate the ELF header.
33602 2010-09-27 Andreas Schwab <schwab@redhat.com>
33605 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33606 Mask out sign-bit copies when constructing f_fsid.
33608 2010-09-24 Petr Baudis <pasky@suse.cz>
33610 * debug/stack_chk_fail_local.c: Add missing licence exception.
33611 * debug/warning-nop.c: Likewise.
33613 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33616 implementing getdents64 using getdents syscall, set d_type if
33617 __ASSUME_GETDENTS32_D_TYPE.
33619 2010-09-16 Andreas Schwab <schwab@redhat.com>
33621 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33622 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33624 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33627 * posix/unistd.h: Undo change of feature selection for ftruncate from
33630 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33632 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33635 2010-09-20 Andreas Schwab <schwab@redhat.com>
33637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33641 2010-09-14 Andreas Schwab <schwab@redhat.com>
33643 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33644 variables after CHECK_SP call.
33645 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33647 2010-09-13 Andreas Schwab <schwab@redhat.com>
33648 Ulrich Drepper <drepper@redhat.com>
33650 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33651 re-relocationg ld.so.
33652 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33653 _dl_init_paths call.
33654 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33657 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33659 * resolv/res_init.c (__res_vinit): Count the default server we added.
33661 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33662 Ulrich Drepper <drepper@redhat.com>
33665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33666 (____longjmp_chk): Use %ebx for saving value across system call.
33669 2010-09-06 Andreas Schwab <schwab@redhat.com>
33671 * manual/Makefile: Don't mix pattern rules with normal rules.
33673 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33675 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33677 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33678 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33679 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33680 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33684 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33687 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33688 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33690 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33692 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33693 * sysdeps/x86_64/addmul_1.S: Likewise.
33694 * sysdeps/x86_64/lshift.S: Likewise.
33695 * sysdeps/x86_64/mul_1.S: Likewise.
33696 * sysdeps/x86_64/rshift.S: Likewise.
33697 * sysdeps/x86_64/sub_n.S: Likewise.
33698 * sysdeps/x86_64/submul_1.S: Likewise.
33700 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33702 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33703 Define __sched_param instead of SCHED_* and sched_param when
33704 <bits/sched.h> is included with __need_schedparam defined.
33705 * bits/sched.h [__need_schedparam]
33706 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33707 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33708 (__defined_schedparam): Define to 1.
33709 (__sched_param): New structure, identical to sched_param.
33710 (__need_schedparam): Undefine.
33712 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33715 (epoll_create1): Declare.
33717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33719 2010-08-31 Andreas Schwab <schwab@redhat.com>
33722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33723 shifting retval into place.
33725 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33727 * nis/rpcsvc/nis.h: Update copyright notice.
33728 * nis/rpcsvc/nis.x: Likewise.
33729 * nis/rpcsvc/nis_callback.h: Likewise.
33730 * nis/rpcsvc/nis_callback.x: Likewise.
33731 * nis/rpcsvc/nis_object.x: Likewise.
33732 * nis/rpcsvc/nis_tags.h: Likewise.
33733 * nis/rpcsvc/yp.h: Likewise.
33734 * nis/rpcsvc/yp.x: Likewise.
33735 * nis/rpcsvc/ypupd.h: Likewise.
33736 * nis/yp_xdr.c: Likewise.
33737 * nis/ypupdate_xdr.c: Likewise.
33739 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33740 mainly the body of pmap_getport. Add parameters to specify timeouts.
33741 (pmap_getport): Use __libc_rpc_getport.
33742 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33743 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33744 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33746 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33751 2010-08-27 Roland McGrath <roland@redhat.com>
33753 * sysdeps/i386/i686/multiarch/Makefile
33754 (CFLAGS-varshift.c): New variable.
33756 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33758 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33759 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33763 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33765 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33767 * sysdeps/x86_64/strlen.S: Unroll the loop.
33768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33769 strlen-sse2 strlen-sse2-bsf.
33770 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33771 __strlen_no_bsf if bit_Slow_BSF is set.
33772 (__strlen_sse42): Removed.
33773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33774 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33776 2010-08-25 Roland McGrath <roland@redhat.com>
33778 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33779 * sysdeps/x86_64/multiarch/varshift.c: New file.
33780 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33781 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33782 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33783 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33785 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33788 strlen-sse2 strlen-sse2-bsf.
33789 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33790 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33791 (__strlen_sse2): Removed.
33792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33795 bit_Slow_BSF for Atom.
33796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33797 (index_Slow_BSF): Define.
33798 (HAS_SLOW_BSF): Define.
33800 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33803 * resolv/res_init.c (__res_vinit): When no server address at all
33804 is given default to loopback.
33806 2010-08-24 Roland McGrath <roland@redhat.com>
33808 * configure.in: Remove config-name.h generation.
33809 * configure: Regenerated.
33810 * config-name.in: File removed.
33811 * scripts/config-uname.sh: New file.
33812 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33813 ($(objdir)config-name.h): New target.
33815 * sunrpc/rpc_parse.h: Avoid nested comment.
33817 2010-08-24 Richard Henderson <rth@redhat.com>
33818 Ulrich Drepper <drepper@redhat.com>
33819 H.J. Lu <hongjiu.lu@intel.com>
33821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33823 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33824 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33825 _mm_alignr_epi8 with _mm_loadu_si128.
33826 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33827 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33828 (__m128i_shift_right): Removed.
33829 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33830 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33831 * sysdeps/x86_64/multiarch/varshift.h: New file.
33832 * sysdeps/x86_64/multiarch/varshift.S: New file.
33834 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33836 * configure.in: Move assembler checks to before sysdep dir checking.
33838 2010-08-20 Petr Baudis <pasky@suse.cz>
33840 * LICENSES: Sync the sunrpc license.
33842 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33844 * sunrpc/auth_des.c: Update copyright notice once again.
33845 * sunrpc/auth_none.c: Likewise.
33846 * sunrpc/auth_unix.c: Likewise.
33847 * sunrpc/authdes_prot.c: Likewise.
33848 * sunrpc/authuxprot.c: Likewise.
33849 * sunrpc/bindrsvprt.c: Likewise.
33850 * sunrpc/clnt_gen.c: Likewise.
33851 * sunrpc/clnt_perr.c: Likewise.
33852 * sunrpc/clnt_raw.c: Likewise.
33853 * sunrpc/clnt_simp.c: Likewise.
33854 * sunrpc/clnt_tcp.c: Likewise.
33855 * sunrpc/clnt_udp.c: Likewise.
33856 * sunrpc/clnt_unix.c: Likewise.
33857 * sunrpc/des_crypt.c: Likewise.
33858 * sunrpc/des_soft.c: Likewise.
33859 * sunrpc/get_myaddr.c: Likewise.
33860 * sunrpc/getrpcport.c: Likewise.
33861 * sunrpc/key_call.c: Likewise.
33862 * sunrpc/key_prot.c: Likewise.
33863 * sunrpc/openchild.c: Likewise.
33864 * sunrpc/pm_getmaps.c: Likewise.
33865 * sunrpc/pm_getport.c: Likewise.
33866 * sunrpc/pmap_clnt.c: Likewise.
33867 * sunrpc/pmap_prot.c: Likewise.
33868 * sunrpc/pmap_prot2.c: Likewise.
33869 * sunrpc/pmap_rmt.c: Likewise.
33870 * sunrpc/rpc/auth.h: Likewise.
33871 * sunrpc/rpc/auth_unix.h: Likewise.
33872 * sunrpc/rpc/clnt.h: Likewise.
33873 * sunrpc/rpc/des_crypt.h: Likewise.
33874 * sunrpc/rpc/key_prot.h: Likewise.
33875 * sunrpc/rpc/netdb.h: Likewise.
33876 * sunrpc/rpc/pmap_clnt.h: Likewise.
33877 * sunrpc/rpc/pmap_prot.h: Likewise.
33878 * sunrpc/rpc/pmap_rmt.h: Likewise.
33879 * sunrpc/rpc/rpc.h: Likewise.
33880 * sunrpc/rpc/rpc_des.h: Likewise.
33881 * sunrpc/rpc/rpc_msg.h: Likewise.
33882 * sunrpc/rpc/svc.h: Likewise.
33883 * sunrpc/rpc/svc_auth.h: Likewise.
33884 * sunrpc/rpc/types.h: Likewise.
33885 * sunrpc/rpc/xdr.h: Likewise.
33886 * sunrpc/rpc_clntout.c: Likewise.
33887 * sunrpc/rpc_cmsg.c: Likewise.
33888 * sunrpc/rpc_common.c: Likewise.
33889 * sunrpc/rpc_cout.c: Likewise.
33890 * sunrpc/rpc_dtable.c: Likewise.
33891 * sunrpc/rpc_hout.c: Likewise.
33892 * sunrpc/rpc_main.c: Likewise.
33893 * sunrpc/rpc_parse.c: Likewise.
33894 * sunrpc/rpc_parse.h: Likewise.
33895 * sunrpc/rpc_prot.c: Likewise.
33896 * sunrpc/rpc_sample.c: Likewise.
33897 * sunrpc/rpc_scan.c: Likewise.
33898 * sunrpc/rpc_scan.h: Likewise.
33899 * sunrpc/rpc_svcout.c: Likewise.
33900 * sunrpc/rpc_tblout.c: Likewise.
33901 * sunrpc/rpc_util.c: Likewise.
33902 * sunrpc/rpc_util.h: Likewise.
33903 * sunrpc/rpcinfo.c: Likewise.
33904 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33905 * sunrpc/rpcsvc/key_prot.x: Likewise.
33906 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33907 * sunrpc/rpcsvc/mount.x: Likewise.
33908 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33909 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33910 * sunrpc/rpcsvc/rex.x: Likewise.
33911 * sunrpc/rpcsvc/rstat.x: Likewise.
33912 * sunrpc/rpcsvc/rusers.x: Likewise.
33913 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33914 * sunrpc/rpcsvc/spray.x: Likewise.
33915 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33916 * sunrpc/rtime.c: Likewise.
33917 * sunrpc/svc.c: Likewise.
33918 * sunrpc/svc_auth.c: Likewise.
33919 * sunrpc/svc_authux.c: Likewise.
33920 * sunrpc/svc_raw.c: Likewise.
33921 * sunrpc/svc_run.c: Likewise.
33922 * sunrpc/svc_simple.c: Likewise.
33923 * sunrpc/svc_tcp.c: Likewise.
33924 * sunrpc/svc_udp.c: Likewise.
33925 * sunrpc/svc_unix.c: Likewise.
33926 * sunrpc/svcauth_des.c: Likewise.
33927 * sunrpc/xcrypt.c: Likewise.
33928 * sunrpc/xdr.c: Likewise.
33929 * sunrpc/xdr_array.c: Likewise.
33930 * sunrpc/xdr_float.c: Likewise.
33931 * sunrpc/xdr_mem.c: Likewise.
33932 * sunrpc/xdr_rec.c: Likewise.
33933 * sunrpc/xdr_ref.c: Likewise.
33934 * sunrpc/xdr_sizeof.c: Likewise.
33935 * sunrpc/xdr_stdio.c: Likewise.
33937 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33940 2010-08-19 Andreas Schwab <schwab@redhat.com>
33942 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33944 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33946 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33947 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33948 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33949 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33950 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33951 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33953 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33956 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33957 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33958 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33959 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33961 2010-07-26 Anton Blanchard <anton@samba.org>
33963 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33964 * malloc/arena.c (heap_trim): Likewise.
33966 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33968 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33971 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33973 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33975 * sysdeps/i386/elf/Makefile: New file.
33977 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33979 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33980 from fanotify_init.
33981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33984 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33986 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33988 * sysdeps/multiarch/strcmp.S: Likewise.
33990 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33992 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33993 strncase_l-nonascii.
33994 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33995 Add strncase_l-ssse3.
33996 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33997 * sysdeps/x86_64/strcmp.S: Likewise.
33998 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33999 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34000 * sysdeps/x86_64/strncase.S: New file.
34001 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34002 * sysdeps/x86_64/strncase_l.S: New file.
34003 * string/Makefile (strop-tests): Add strncasecmp.
34004 * string/test-strncasecmp.c: New file.
34006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34009 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34010 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34012 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34014 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34016 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34018 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34022 2010-05-01 Alan Modra <amodra@gmail.com>
34024 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34025 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34026 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34027 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34028 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34029 tidying. Don't tail-call __sigjmp_save for static lib.
34030 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34032 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34033 (CALL_MCOUNT): Add eh info, and nop after bl.
34034 (TAIL_CALL_SYSCALL_ERROR): New macro.
34035 (PSEUDO_RET): Use it.
34036 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34037 Correct save location of integer regs and cr.
34038 (_dl_profile_resolve): Correct cr save location. Delete nops
34039 after bl when SHARED. Reduce cfi size a little by better
34040 placement of cfi directives.
34041 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34042 make a stack frame. Instead use parm save area as a temp.
34043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34044 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34046 Don't make a stack frame for parent, use parm save area.
34047 Increase child stack frame to 112 bytes. Don't save unused reg,
34048 and adjust reg usage. Set up cfi on error recovery and
34049 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34051 (__makecontext): Add dummy nop after jump to exit.
34052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34053 Use correct parm save area and cr save, reduce stack frame.
34054 Correct cfi for possible PSEUDO_RET frame setup.
34055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34056 Branch to local label emitted by PSEUDO_RET rather than
34059 2010-08-12 Andreas Schwab <schwab@redhat.com>
34062 * locale/programs/locale.c (print_assignment): New function.
34063 (show_locale_vars): Use it.
34065 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34067 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34069 (struct statfs64): Likewise.
34070 (_STATFS_F_FLAGS): Define.
34071 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34073 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34074 (ST_VALID): Define locally.
34075 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34076 __statvfs_getflags, use the provided value.
34077 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34078 __ASSUME_STATFS_F_FLAGS.
34080 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34082 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34083 Add sys/fanotify.h.
34084 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34085 fanotify_mask for GLIBC_2.13.
34086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34087 fanotify_init and fanotify_mark.
34088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34089 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34091 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34093 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34094 prlimit64 for GLIBC_2.13.
34095 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34097 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34100 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34101 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34105 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34108 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34109 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34111 * nss/Makefile: Add rules to build and run tst-nss-test1.
34112 * shlib-versions: Add entry for libnss_test1.
34113 * nss/nss_test1.c: New file.
34114 * nss/tst-nss-test1.c: New file.
34116 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34117 (__nss_configure_lookup): Set appropriate entry in
34118 __nss_configure_lookup to true.
34119 * nss/nsswitch.h: Define enum with indeces of databases in
34120 databases and __nss_database_custom arrays. Declare
34121 __nss_database_custom.
34122 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34123 to avoid using nscd when custom rules are installed.
34124 * nss/getXXbyYY_r.c: Likewise.
34125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34127 * nss/nss_files/files-parse.c: Whitespace fixes.
34129 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34132 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34133 * posix/fnmatch_loop.c: Likewise.
34135 2010-07-17 Andi Kleen <ak@linux.intel.com>
34137 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34138 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34139 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34140 * Versions.def [GLIBC_2.13]: Add.
34142 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34145 Also fail if tpwd after pwuid call is NULL.
34147 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34149 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34150 when converting to ms.
34152 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34154 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34155 EOPNOTSUPP errors with ENOTTY.
34156 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34157 EOPNOTSUPP errors with ENOTTY.
34159 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34161 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34162 Add strcasecmp_l-ssse3.
34163 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34165 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34169 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34171 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34173 * string/Makefile (strop-tests): Add strcasecmp.
34174 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34175 strcasecmp_l-nonascii.
34176 (gen-as-const-headers): Add locale-defines.sym.
34177 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34178 * sysdeps/x86_64/strcasecmp.S: New file.
34179 * sysdeps/x86_64/strcasecmp_l.S: New file.
34180 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34181 * sysdeps/x86_64/locale-defines.sym: New file.
34182 * string/test-strcasecmp.c: New file.
34184 * string/test-strcasestr.c: Test both ends of the range of characters.
34185 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34187 2010-07-29 Roland McGrath <roland@redhat.com>
34190 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34192 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34194 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34197 2010-07-27 Andreas Schwab <schwab@redhat.com>
34199 * manual/memory.texi (Malloc Tunable Parameters): Document
34202 2010-07-26 Roland McGrath <roland@redhat.com>
34205 * configure.in (-fgnu89-inline check): Set and substitute
34206 gnu89_inline, not libc_cv_gnu89_inline.
34207 * configure: Regenerated.
34208 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34210 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34212 * string/test-strnlen.c: New file.
34213 * string/Makefile (strop-tests): Add strnlen.
34214 * string/tester.c (test_strnlen): Add a few more test cases.
34215 * string/tst-strlen.c: Better error reporting.
34217 * sysdeps/x86_64/strnlen.S: New file.
34219 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34222 lower-latency instructions.
34224 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34226 * string/test-strcasestr.c: New file.
34227 * string/test-strstr.c: New file.
34228 * string/Makefile (strop-tests): Add strstr and strcasestr.
34229 * string/str-two-way.h: Don't undefine MAX.
34230 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34232 2010-07-21 Andreas Schwab <schwab@redhat.com>
34234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34235 strcasestr-nonascii.
34236 (CFLAGS-strcasestr-nonascii.c): Define.
34237 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34239 Remove unused attribute.
34241 2010-07-20 Roland McGrath <roland@redhat.com>
34243 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34244 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34245 ld.so.cache was broken. With it, there is no way to disable dsocaps
34246 like LD_HWCAP_MASK can disable hwcaps.
34248 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34250 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34252 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34254 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34255 call in strcasestr.
34256 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34257 __strcasestr_sse42_nonascii.
34258 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34259 strcasestr-nonascii.c.
34260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34262 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34269 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34274 2010-07-06 Andreas Schwab <schwab@redhat.com>
34277 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34280 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34283 _PC_PIPE_BUF using F_GETPIPE_SZ.
34285 2010-07-05 Roland McGrath <roland@redhat.com>
34287 * manual/arith.texi (Rounding Functions): Fix rint description
34288 implicit in round description.
34290 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34292 * elf/Makefile: Fix linking for a few tests to make recent linker
34295 2010-06-30 Andreas Schwab <schwab@redhat.com>
34297 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34298 $(common-objpfx)libc_nonshared.a.
34300 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34302 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34303 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34304 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34305 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34306 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34307 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34309 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34324 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34325 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34326 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34327 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34328 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34329 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34330 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34331 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34332 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34333 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34334 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34335 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34351 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34353 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34354 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34355 * string/memmove.c (memmove): Renamed to ...
34356 (MEMMOVE): ...this. Default to memmove.
34357 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34358 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34361 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34362 mempcpy-ssse3-back memmove-ssse3-back.
34363 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34366 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34367 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34368 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34369 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34370 * sysdeps/x86_64/multiarch/memmove.c: New file.
34371 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34372 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34373 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34374 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34375 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34378 (index_Fast_Copy_Backward): Define.
34379 (HAS_ARCH_FEATURE): Define.
34380 (HAS_FAST_REP_STRING): Define.
34381 (HAS_FAST_COPY_BACKWARD): Define.
34383 2010-06-21 Andreas Schwab <schwab@redhat.com>
34385 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34386 Restore proper fallback handling.
34388 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34391 * posix/group_member.c (__group_member): Correct checking loop.
34393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34394 OOM in getpwuid_r correctly. Return error number when the caller
34395 should return, otherwise -1.
34396 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34397 call returning > 0 value.
34398 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34400 2010-06-07 Andreas Schwab <schwab@redhat.com>
34402 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34403 libc_nonshared.a from targets in modules-names.
34405 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34407 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34410 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34417 2010-06-02 Andreas Schwab <schwab@redhat.com>
34419 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34421 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34432 2010-06-14 Roland McGrath <roland@redhat.com>
34434 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34436 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34438 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34439 __REDIRECT followed by __THROW.
34440 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34441 * posix/getopt.h (getopt): Likewise.
34443 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34445 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34446 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34447 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34449 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34450 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34452 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34456 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34460 Properly check family and model.
34462 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34466 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34468 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34470 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34472 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34475 2010-05-19 Andreas Schwab <schwab@redhat.com>
34477 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34480 2010-05-21 Andreas Schwab <schwab@redhat.com>
34482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34483 and internal_recvmmsg.
34484 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34485 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34487 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34489 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34490 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34491 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34493 2010-05-20 Andreas Schwab <schwab@redhat.com>
34495 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34497 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34499 POWER7 optimizations.
34500 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34501 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34503 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34505 * version.h: Update for 2.13 development version.
34507 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34509 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34510 exceptions. Return 0.
34512 2010-05-07 Roland McGrath <roland@redhat.com>
34514 * elf/ldconfig.c (main): Add a const.
34516 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34518 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34519 (args_options): Add no-idn option.
34520 (ahosts_keys_int): Add idn_flags to ai_flags.
34521 (parse_option): Handle 'i' option to clear idn_flags.
34523 * malloc/malloc.c (_int_free): Possible race in the most recently
34524 added check. Only act on the data if no current modification
34527 See ChangeLog.17 for earlier changes.