1 2013-10-17 Andreas Schwab <schwab@suse.de>
4 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5 to determine canonical name.
7 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
33 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68 2013-10-17 Joseph Myers <joseph@codesourcery.com>
71 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
72 make result into a quiet NaN.
74 2013-10-16 Joseph Myers <joseph@codesourcery.com>
76 * soft-fp/adddf3.c: Fix horizontal whitespace.
77 * soft-fp/addsf3.c: Likewise.
78 * soft-fp/addtf3.c: Likewise.
79 * soft-fp/divdf3.c: Likewise.
80 * soft-fp/divsf3.c: Likewise.
81 * soft-fp/divtf3.c: Likewise.
82 * soft-fp/double.h: Likewise.
83 * soft-fp/eqdf2.c: Likewise.
84 * soft-fp/eqsf2.c: Likewise.
85 * soft-fp/eqtf2.c: Likewise.
86 * soft-fp/extenddftf2.c: Likewise.
87 * soft-fp/extended.h: Likewise.
88 * soft-fp/extendsfdf2.c: Likewise.
89 * soft-fp/extendsftf2.c: Likewise.
90 * soft-fp/extendxftf2.c: Likewise.
91 * soft-fp/fixdfdi.c: Likewise.
92 * soft-fp/fixdfsi.c: Likewise.
93 * soft-fp/fixdfti.c: Likewise.
94 * soft-fp/fixsfdi.c: Likewise.
95 * soft-fp/fixsfsi.c: Likewise.
96 * soft-fp/fixsfti.c: Likewise.
97 * soft-fp/fixtfdi.c: Likewise.
98 * soft-fp/fixtfsi.c: Likewise.
99 * soft-fp/fixtfti.c: Likewise.
100 * soft-fp/fixunsdfdi.c: Likewise.
101 * soft-fp/fixunsdfsi.c: Likewise.
102 * soft-fp/fixunsdfti.c: Likewise.
103 * soft-fp/fixunssfdi.c: Likewise.
104 * soft-fp/fixunssfsi.c: Likewise.
105 * soft-fp/fixunssfti.c: Likewise.
106 * soft-fp/fixunstfdi.c: Likewise.
107 * soft-fp/fixunstfsi.c: Likewise.
108 * soft-fp/fixunstfti.c: Likewise.
109 * soft-fp/floatdidf.c: Likewise.
110 * soft-fp/floatdisf.c: Likewise.
111 * soft-fp/floatditf.c: Likewise.
112 * soft-fp/floatsidf.c: Likewise.
113 * soft-fp/floatsisf.c: Likewise.
114 * soft-fp/floatsitf.c: Likewise.
115 * soft-fp/floattidf.c: Likewise.
116 * soft-fp/floattisf.c: Likewise.
117 * soft-fp/floattitf.c: Likewise.
118 * soft-fp/floatundidf.c: Likewise.
119 * soft-fp/floatundisf.c: Likewise.
120 * soft-fp/floatunditf.c: Likewise.
121 * soft-fp/floatunsidf.c: Likewise.
122 * soft-fp/floatunsisf.c: Likewise.
123 * soft-fp/floatunsitf.c: Likewise.
124 * soft-fp/floatuntidf.c: Likewise.
125 * soft-fp/floatuntisf.c: Likewise.
126 * soft-fp/floatuntitf.c: Likewise.
127 * soft-fp/fmadf4.c: Likewise.
128 * soft-fp/fmasf4.c: Likewise.
129 * soft-fp/fmatf4.c: Likewise.
130 * soft-fp/gedf2.c: Likewise.
131 * soft-fp/gesf2.c: Likewise.
132 * soft-fp/getf2.c: Likewise.
133 * soft-fp/ledf2.c: Likewise.
134 * soft-fp/lesf2.c: Likewise.
135 * soft-fp/letf2.c: Likewise.
136 * soft-fp/muldf3.c: Likewise.
137 * soft-fp/mulsf3.c: Likewise.
138 * soft-fp/multf3.c: Likewise.
139 * soft-fp/negdf2.c: Likewise.
140 * soft-fp/negsf2.c: Likewise.
141 * soft-fp/negtf2.c: Likewise.
142 * soft-fp/op-1.h: Likewise.
143 * soft-fp/op-2.h: Likewise.
144 * soft-fp/op-4.h: Likewise.
145 * soft-fp/op-8.h: Likewise.
146 * soft-fp/op-common.h: Likewise.
147 * soft-fp/quad.h: Likewise.
148 * soft-fp/single.h: Likewise.
149 * soft-fp/soft-fp.h: Likewise.
150 * soft-fp/sqrtdf2.c: Likewise.
151 * soft-fp/sqrtsf2.c: Likewise.
152 * soft-fp/sqrttf2.c: Likewise.
153 * soft-fp/subdf3.c: Likewise.
154 * soft-fp/subsf3.c: Likewise.
155 * soft-fp/subtf3.c: Likewise.
156 * soft-fp/truncdfsf2.c: Likewise.
157 * soft-fp/trunctfdf2.c: Likewise.
158 * soft-fp/trunctfsf2.c: Likewise.
159 * soft-fp/trunctfxf2.c: Likewise.
160 * soft-fp/unorddf2.c: Likewise.
161 * soft-fp/unordsf2.c: Likewise.
162 * soft-fp/unordtf2.c: Likewise.
164 2013-10-15 Joseph Myers <joseph@codesourcery.com>
166 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
167 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
169 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
171 * elf/dl-libc.c: Clear initfini list after freeing.
173 2013-10-14 Joseph Myers <joseph@codesourcery.com>
175 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
176 * soft-fp/addsf3.c: Likewise.
177 * soft-fp/addtf3.c: Likewise.
178 * soft-fp/divdf3.c: Likewise.
179 * soft-fp/divsf3.c: Likewise.
180 * soft-fp/divtf3.c: Likewise.
181 * soft-fp/double.h: Likewise.
182 * soft-fp/eqdf2.c: Likewise.
183 * soft-fp/eqsf2.c: Likewise.
184 * soft-fp/eqtf2.c: Likewise.
185 * soft-fp/extenddftf2.c: Likewise.
186 * soft-fp/extended.h: Likewise.
187 * soft-fp/extendsfdf2.c: Likewise.
188 * soft-fp/extendsftf2.c: Likewise.
189 * soft-fp/extendxftf2.c: Likewise.
190 * soft-fp/fixdfdi.c: Likewise.
191 * soft-fp/fixdfsi.c: Likewise.
192 * soft-fp/fixdfti.c: Likewise.
193 * soft-fp/fixsfdi.c: Likewise.
194 * soft-fp/fixsfsi.c: Likewise.
195 * soft-fp/fixsfti.c: Likewise.
196 * soft-fp/fixtfdi.c: Likewise.
197 * soft-fp/fixtfsi.c: Likewise.
198 * soft-fp/fixtfti.c: Likewise.
199 * soft-fp/fixunsdfdi.c: Likewise.
200 * soft-fp/fixunsdfsi.c: Likewise.
201 * soft-fp/fixunsdfti.c: Likewise.
202 * soft-fp/fixunssfdi.c: Likewise.
203 * soft-fp/fixunssfsi.c: Likewise.
204 * soft-fp/fixunssfti.c: Likewise.
205 * soft-fp/fixunstfdi.c: Likewise.
206 * soft-fp/fixunstfsi.c: Likewise.
207 * soft-fp/fixunstfti.c: Likewise.
208 * soft-fp/floatdidf.c: Likewise.
209 * soft-fp/floatdisf.c: Likewise.
210 * soft-fp/floatditf.c: Likewise.
211 * soft-fp/floatsidf.c: Likewise.
212 * soft-fp/floatsisf.c: Likewise.
213 * soft-fp/floatsitf.c: Likewise.
214 * soft-fp/floattidf.c: Likewise.
215 * soft-fp/floattisf.c: Likewise.
216 * soft-fp/floattitf.c: Likewise.
217 * soft-fp/floatundidf.c: Likewise.
218 * soft-fp/floatundisf.c: Likewise.
219 * soft-fp/floatunsidf.c: Likewise.
220 * soft-fp/floatunsisf.c: Likewise.
221 * soft-fp/floatuntidf.c: Likewise.
222 * soft-fp/floatuntisf.c: Likewise.
223 * soft-fp/floatuntitf.c: Likewise.
224 * soft-fp/fmadf4.c: Likewise.
225 * soft-fp/fmasf4.c: Likewise.
226 * soft-fp/fmatf4.c: Likewise.
227 * soft-fp/gedf2.c: Likewise.
228 * soft-fp/gesf2.c: Likewise.
229 * soft-fp/getf2.c: Likewise.
230 * soft-fp/ledf2.c: Likewise.
231 * soft-fp/lesf2.c: Likewise.
232 * soft-fp/letf2.c: Likewise.
233 * soft-fp/muldf3.c: Likewise.
234 * soft-fp/mulsf3.c: Likewise.
235 * soft-fp/multf3.c: Likewise.
236 * soft-fp/negdf2.c: Likewise.
237 * soft-fp/negsf2.c: Likewise.
238 * soft-fp/negtf2.c: Likewise.
239 * soft-fp/op-1.h: Likewise.
240 * soft-fp/op-2.h: Likewise.
241 * soft-fp/op-4.h: Likewise.
242 * soft-fp/op-8.h: Likewise.
243 * soft-fp/op-common.h: Likewise.
244 * soft-fp/quad.h: Likewise.
245 * soft-fp/single.h: Likewise.
246 * soft-fp/soft-fp.h: Likewise.
247 * soft-fp/sqrtdf2.c: Likewise.
248 * soft-fp/sqrtsf2.c: Likewise.
249 * soft-fp/sqrttf2.c: Likewise.
250 * soft-fp/subdf3.c: Likewise.
251 * soft-fp/subsf3.c: Likewise.
252 * soft-fp/subtf3.c: Likewise.
253 * soft-fp/truncdfsf2.c: Likewise.
254 * soft-fp/trunctfdf2.c: Likewise.
255 * soft-fp/trunctfsf2.c: Likewise.
256 * soft-fp/trunctfxf2.c: Likewise.
257 * soft-fp/unorddf2.c: Likewise.
258 * soft-fp/unordsf2.c: Likewise.
259 * soft-fp/unordtf2.c: Likewise.
261 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
264 * misc/error.c (error_tail): Fix possible buffer overflow.
266 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
269 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
272 2013-10-14 P. J. McDermott <pj@pehjota.net>
275 * elf/ldd.bash.in (try_trace): New function. Delete previous code
276 testing pipefail option.
278 2013-10-12 Joseph Myers <joseph@codesourcery.com>
280 * soft-fp/double.h: Indent preprocessor directives inside #if.
281 * soft-fp/extended.h: Likewise.
282 * soft-fp/op-2.h: Likewise.
283 * soft-fp/op-4.h: Likewise.
284 * soft-fp/op-common.h: Likewise.
285 * soft-fp/quad.h: Likewise.
286 * soft-fp/single.h: Likewise.
287 * soft-fp/soft-fp.h: Likewise.
289 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
291 * iconv/iconv_prog.c: Fix typos.
292 * stdio-common/psiginfo-data.h: Likewise.
294 2013-10-12 Reuben Thomas <rrt@sc3d.org>
297 * locale/setlocale.c: Fix typo.
299 2013-10-12 Joseph Myers <joseph@codesourcery.com>
302 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
303 signaling NaN arguments.
304 * soft-fp/unordsf2.c (__unordsf2): Likewise.
305 * soft-fp/unordtf2.c (__unordtf2): Likewise.
308 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
310 * soft-fp/gesf2.c (__gesf2): Likewise.
311 * soft-fp/getf2.c (__getf2): Likewise.
312 * soft-fp/ledf2.c (__ledf2): Likewise.
313 * soft-fp/lesf2.c (__lesf2): Likewise.
314 * soft-fp/letf2.c (__letf2): Likewise.
316 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
317 * soft-fp/eqsf2.c (__eqsf2): Likewise.
318 * soft-fp/eqtf2.c (__eqtf2): Likewise.
319 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
320 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
321 * soft-fp/fixdfti.c (__fixdfti): Likewise.
322 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
323 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
324 * soft-fp/fixsfti.c (__fixsfti): Likewise.
325 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
326 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
327 * soft-fp/fixtfti.c (__fixtfti): Likewise.
328 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
329 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
330 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
331 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
332 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
333 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
334 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
335 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
336 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
337 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
338 * soft-fp/floatdisf.c (__floatdisf): Likewise.
339 * soft-fp/floatsisf.c (__floatsisf): Likewise.
340 * soft-fp/floattidf.c (__floattidf): Likewise.
341 * soft-fp/floattisf.c (__floattisf): Likewise.
342 * soft-fp/floattitf.c (__floattitf): Likewise.
343 * soft-fp/floatundidf.c (__floatundidf): Likewise.
344 * soft-fp/floatundisf.c (__floatundisf): Likewise.
345 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
346 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
347 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
348 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
349 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
350 * soft-fp/gesf2.c (__gesf2): Likewise.
351 * soft-fp/getf2.c (__getf2): Likewise.
352 * soft-fp/ledf2.c (__ledf2): Likewise.
353 * soft-fp/lesf2.c (__lesf2): Likewise.
354 * soft-fp/letf2.c (__letf2): Likewise.
356 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
357 Undefine and redefine.
358 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
359 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
360 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
361 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
362 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
363 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
364 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
365 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
366 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
367 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
368 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
369 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
370 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
371 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
372 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
375 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
376 without decrementing exponent if mantissa >= that for the
378 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
379 denominator, not >. Decrement exponent in < case instead of
380 incrementing in >= case.
381 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
382 without decrementing exponent if mantissa >= that for the
385 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
386 computing saturated result for unsigned overflow.
388 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
389 Jeff Law <law@redhat.com>
391 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
392 (atan2Mp): Add systemtap probe marker.
393 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
394 (__ieee754_log): Add systemtap probe marker.
395 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
396 (atanMp): Add systemtap probe marker.
397 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
398 (tanMp): Add systemtap probe marker.
399 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
400 (__slowexp): Add systemtap probe marker.
401 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
402 (__slowpow): Add systemtap probe marker.
403 * manual/probes.texi: Document probes.
405 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
408 * libio/fileops.c (_IO_new_file_write): Return count of bytes
410 (_IO_new_file_xsputn): Don't return EOF if nothing has been
412 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
413 written to buffer but not flushed.
414 * libio/iofwrite_u.c: Likewise.
415 * libio/iopadn.c: Return bytes returned even if EOF was
417 * libio/iowpadn.c: Likewise.
418 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
419 if _IO_padn does not write the whole buffer.
420 [!COMPILE_WPRINTF] (PAD): Likewise.
422 2013-10-10 David S. Miller <davem@davemloft.net>
424 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
427 2013-10-10 Joseph Myers <joseph@codesourcery.com>
429 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
430 instead of FSF address.
431 * soft-fp/fixdfti.c: Likewise.
432 * soft-fp/fixsfti.c: Likewise.
433 * soft-fp/fixtfti.c: Likewise.
434 * soft-fp/fixunsdfti.c: Likewise.
435 * soft-fp/fixunssfti.c: Likewise.
436 * soft-fp/fixunstfti.c: Likewise.
437 * soft-fp/floattidf.c: Likewise.
438 * soft-fp/floattisf.c: Likewise.
439 * soft-fp/floattitf.c: Likewise.
440 * soft-fp/floatuntidf.c: Likewise.
441 * soft-fp/floatuntisf.c: Likewise.
442 * soft-fp/floatuntitf.c: Likewise.
443 * soft-fp/trunctfxf2.c: Likewise.
445 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
446 * soft-fp/fixdfti.c: Likewise.
447 * soft-fp/fixsfti.c: Likewise.
448 * soft-fp/fixtfti.c: Likewise.
449 * soft-fp/fixunsdfti.c: Likewise.
450 * soft-fp/fixunssfti.c: Likewise.
451 * soft-fp/fixunstfti.c: Likewise.
452 * soft-fp/floattidf.c: Likewise.
453 * soft-fp/floattisf.c: Likewise.
454 * soft-fp/floattitf.c: Likewise.
455 * soft-fp/floatuntidf.c: Likewise.
456 * soft-fp/floatuntisf.c: Likewise.
457 * soft-fp/floatuntitf.c: Likewise.
458 * soft-fp/trunctfxf2.c: Likewise.
460 2013-10-10 David S. Miller <davem@davemloft.net>
462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
464 2013-10-10 Joseph Myers <joseph@codsourcery.com>
466 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
467 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
468 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
469 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
470 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
471 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
472 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
475 for NaNs before doing comparisons on argument.
476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
479 2013-10-10 Will Newton <will.newton@linaro.org>
481 * malloc/hooks.c (memalign_check): Ensure the value of bytes
482 passed to _int_memalign does not overflow.
484 2013-10-10 Torvald Riegel <triegel@redhat.com>
486 * scripts/bench.pl: Add include-sources directive.
487 * benchtests/README: Update documentation.
489 2013-10-10 Joseph Myers <joseph@codesourcery.com>
491 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
492 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
493 instead of FP_INIT_ROUNDMODE.
494 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
495 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
498 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
499 copy class of input value.
500 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
501 not handle exceptions.
502 * soft-fp/negsf2.c (__negsf2): Likewise.
503 * soft-fp/negtf2.c (__negtf2): Likewise.
504 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
506 2013-10-09 Joseph Myers <joseph@codesourcery.com>
508 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
509 semicolon. From Linux kernel.
511 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
513 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
515 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
518 * manual/socket.texi: Added statement about buffer
519 for gethostbyname2_r.
521 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
523 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
524 Use .p2align directive instead, throughout.
525 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
526 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
527 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
530 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
531 * sysdeps/x86_64/strchr.S: Likewise.
532 * sysdeps/x86_64/strrchr.S: Likewise.
534 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
536 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
538 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
540 * sysdeps/generic/math_private.h (__mpsin1): Remove
542 (__mpcos1): Likewise.
543 (__mpsin): New argument __range_reduce.
545 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
546 (slow): Use __mpsin and __mpcos.
559 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
560 range_reduce. Merge in __mpsin1.
563 (__mpcos1): Likewise.
565 2013-10-07 Joseph Myers <joseph@codesourcery.com>
567 * locale/loadlocale.c (_nl_intern_locale_data): Use
569 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
570 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
571 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
572 obstack data is appropriately aligned.
573 (obstack_int32_grow_fast): Likewise.
574 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
575 * locale/programs/locfile.c (add_locale_uint32): Likewise.
576 (add_locale_uint32_array): Likewise.
578 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
580 * benchtests/Makefile: Remove ARGLIST and RET variables.
581 ($(objpfx)bench-%.c): Pass only function name to the script.
582 * benchtests/README: Update documentation.
583 * benchtests/acos-inputs: Add new directives.
584 * benchtests/acosh-inputs: Likewise.
585 * benchtests/asin-inputs: Likewise.
586 * benchtests/asinh-inputs: Likewise.
587 * benchtests/atan-inputs: Likewise.
588 * benchtests/atanh-inputs: Likewise.
589 * benchtests/cos-inputs: Likewise.
590 * benchtests/cosh-inputs: Likewise.
591 * benchtests/exp-inputs: Likewise.
592 * benchtests/log-inputs: Likewise.
593 * benchtests/pow-inputs: Likewise.
594 * benchtests/rint-inputs: Likewise.
595 * benchtests/sin-inputs: Likewise.
596 * benchtests/sinh-inputs: Likewise.
597 * benchtests/tan-inputs: Likewise.
598 * benchtests/tanh-inputs: Likewise.
599 * scripts/bench.pl: Add support for new directives.
601 2013-10-07 Alan Modra <amodra@gmail.com>
603 * README: Fix careless merge.
605 2013-10-05 Alan Modra <amodra@gmail.com>
607 * NEWS: Mention powerpc64le support and bugs fixed.
608 * README: Both big-endian and little-endian powerpc64 supported.
610 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
612 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
613 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
614 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
615 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
617 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
619 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
622 2013-10-04 Joseph Myers <joseph@codesourcery.com>
624 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
625 Move -mhard-float appending from
626 ports/sysdeps/powerpc/powerpc32/Makefile.
627 [$(with-fp) = yes] (ASFLAGS): Likewise.
628 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
629 * sysdeps/powerpc/nofpu: Move directory from
630 ports/sysdeps/powerpc/nofpu.
631 * sysdeps/powerpc/soft-fp: Move directory from
632 ports/sysdeps/powerpc/soft-fp.
633 * sysdeps/powerpc/powerpc32/405: Move directory from
634 ports/sysdeps/powerpc/powerpc32/405.
635 * sysdeps/powerpc/powerpc32/440: Move directory from
636 ports/sysdeps/powerpc/powerpc32/440.
637 * sysdeps/powerpc/powerpc32/464: Move directory from
638 ports/sysdeps/powerpc/powerpc32/464.
639 * sysdeps/powerpc/powerpc32/476: Move directory from
640 ports/sysdeps/powerpc/powerpc32/476.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
642 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
644 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
646 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
648 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
650 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
651 * README: Update for powerpc-*-linux-gnu software floating point
654 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
655 case to powerpc/powerpc32*.
656 * sysdeps/unix/sysv/linux/configure: Regenerated.
658 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
659 (_FPU_MASK_OM): Define as 0x04.
660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
671 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
674 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
677 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
679 * locale/iso-3166.def: Update iso-1366.def and related occurrences
681 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
683 * manual/threads.texi (Default Thread Attributes): Fix typo.
685 2013-10-04 Will Newton <will.newton@linaro.org>
687 * malloc/Makefile: Add tst-memalign.
688 * malloc/tst-memalign.c: New file.
690 * malloc/tst-posix_memalign.c: Add comments.
691 (do_test): Add comments and call free on all potentially
692 allocated pointers. Add space after cast.
694 * malloc/tst-pvalloc.c: Add comments.
695 (do_test): Add comments and call free on all potentially
696 allocated pointers. Remove duplicate check for NULL pointer.
697 Add space after cast.
699 * malloc/tst-valloc.c: Add comments.
700 (do_test): Add comments and call free on all potentially
701 allocated pointers. Remove duplicate check for NULL pointer.
702 Add space after cast.
704 2013-10-04 Alan Modra <amodra@gmail.com>
706 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
707 Use stdint types in rather than __attribute__((mode())).
708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
710 2013-10-04 Alan Modra <amodra@gmail.com>
712 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
713 Correct handling of unaligned relocs for little-endian.
714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
716 2013-10-04 Alan Modra <amodra@gmail.com>
718 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
719 * configure: Regenerate.
720 * nptl/shlib-versions: Powerpc*le starts at 2.18.
721 * shlib-versions: Likewise.
723 2013-10-04 Alan Modra <amodra@gmail.com>
725 * string/tester.c (test_memrchr): Increment reported test cycle.
727 2013-10-04 Alan Modra <amodra@gmail.com>
729 * string/test-memcpy.c (do_one_test): When reporting errors, print
730 string address and don't overrun end of string.
732 2013-10-04 Alan Modra <amodra@gmail.com>
734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
735 insrdi. Make better use of reg selection to speed exit slightly.
736 Schedule entry path a little better. Remove useless "are we done"
737 checks on entry to main loop. Handle wrapping around zero address.
738 Correct main loop count. Handle single left-over word from main
739 loop inline rather than by using loop_small. Remove extra word
740 case in loop_small caused by wrong loop count. Add little-endian
742 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
746 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
747 support. Avoid rlwimi.
748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
750 2013-10-04 Alan Modra <amodra@gmail.com>
752 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
754 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
755 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
756 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
758 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
759 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
761 2013-10-04 Alan Modra <amodra@gmail.com>
763 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
764 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
765 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
766 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
767 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
768 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
769 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
770 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
771 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
772 use of regs. Use power7 mtocrf. Tidy function tails.
774 2013-10-04 Alan Modra <amodra@gmail.com>
776 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
777 Formatting. Consistently use rXXX register defines or rN defines.
778 Use early exit labels that avoid restoring unused non-volatile regs.
779 Make cr field use more consistent with rWORDn compares. Rename
780 regs used as shift registers for unaligned loop, using rN defines
781 for short lifetime/multiple use regs.
782 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
783 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
784 addi 1,1,64 to pop stack frame. Simplify return value code.
785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
787 2013-10-04 Alan Modra <amodra@gmail.com>
789 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
790 support. Correct typos, formatting. Optimize tail. Use insrdi
792 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
793 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
794 little-endian support. Correct typos.
795 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
797 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
798 in loop and entry code to keep "and." results.
799 (strchr): Add little-endian support. Comment. Move cntlzd
801 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
803 2013-10-04 Alan Modra <amodra@gmail.com>
805 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
806 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
807 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
808 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
810 2013-10-04 Alan Modra <amodra@gmail.com>
812 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
813 (rTMP): Define as r11.
814 (strcmp): Add little-endian support. Optimise tail.
815 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
816 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
817 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
818 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
821 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
823 2013-10-04 Alan Modra <amodra@gmail.com>
825 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
826 little-endian support. Remove unnecessary "are we done" tests.
827 Handle "s" wrapping around zero and extremely large "size".
828 Correct main loop count. Handle single left-over word from main
829 loop inline rather than by using small_loop. Correct comments.
830 Delete "zero" tail, use "end_max" instead.
831 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
833 2013-10-04 Alan Modra <amodra@gmail.com>
835 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
836 support. Don't branch over align.
837 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
838 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
839 support. Rearrange tmp reg use to suit. Comment.
840 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
842 2013-10-04 Alan Modra <amodra@gmail.com>
844 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
846 2013-10-04 Alan Modra <amodra@gmail.com>
848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
849 conditional form of branch and link when obtaining pc.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
852 2013-10-04 Alan Modra <amodra@gmail.com>
854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
859 2013-10-04 Alan Modra <amodra@gmail.com>
861 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
862 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
863 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
864 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
865 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
866 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
867 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
868 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
869 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
870 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
872 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
873 Alistair Popple <alistair@ozlabs.au.ibm.com>
874 Alan Modra <amodra@gmail.com>
877 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
878 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
879 _dl_hwcap access for little-endian.
880 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
881 destroy vmx regs when saving unaligned.
882 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
883 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
884 destroy vmx regs when saving unaligned.
886 2013-10-04 Alan Modra <amodra@gmail.com>
888 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
889 Don't use a union to pack hi/low value.
891 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
893 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
895 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
896 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
897 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
898 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
899 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
901 2013-10-04 Alan Modra <amodra@gmail.com>
903 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
904 constants to usual value for .cst8 section, and remove redundant
906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
907 constant for 0x1p52. Load little-endian words of double from
908 correct stack offsets.
910 2013-10-04 Alan Modra <amodra@gmail.com>
912 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
913 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
914 words of double from correct stack offsets.
915 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
916 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
917 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
919 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
923 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
927 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
928 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
929 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
930 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
931 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
933 2013-10-04 Alan Modra <amodra@gmail.com>
935 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
936 64-bit int/double union.
937 (_FPU_SETCW): Likewise.
938 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
939 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
941 2013-10-04 Alan Modra <amodra@gmail.com>
943 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
944 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
946 2013-10-04 Alan Modra <amodra@gmail.com>
948 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
949 use vector int constants.
950 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
952 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
954 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
955 array with long long.
956 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
957 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
958 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
959 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
960 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
961 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
962 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
963 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
964 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
965 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
966 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
967 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
970 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
972 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
973 (__signbit): Likewise. Correct for little-endian.
974 (__signbitl): Call __signbit.
975 (lrint): Correct for little-endian.
976 (lrintf): Call lrint.
978 2013-10-04 Alan Modra <amodra@gmail.com>
980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
981 union 32-bit int array member with 64-bit int array.
982 (t515, tm256): Double rather than long double.
983 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
985 2013-10-04 Alan Modra <amodra@gmail.com>
987 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
989 (IEEE854_LONG_DOUBLE_BIAS): Delete.
990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
991 version of math_ldbl.h.
993 2013-10-04 Alan Modra <amodra@gmail.com>
995 [BZ #15734], [BZ #15735]
996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
997 all uses of ieee875 long double macros and unions. Simplify test
998 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
999 ldbl_extract_mantissa value for ix,iy exponents. Properly
1000 normalize after ldbl_extract_mantissa, and don't add hidden bit
1001 already handled. Don't treat low word of ieee854 mantissa like
1002 low word of IBM long double and mask off bit when testing for
1004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1005 all uses of ieee875 long double macros and unions. Simplify tests
1006 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1007 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1008 two1022, instead use their values. Recognise that tests for large
1009 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1010 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1011 Rewrite all uses of ieee875 long double macros and unions. Simplify
1012 test for 0.0L and nan. Correct negation.
1013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1014 ieee875 long double macros and unions. Correct output for large
1015 magnitude x. Correct absolute value calculation.
1016 (__erfcl): Likewise.
1017 * math/libm-test.inc: Add tests for errors discovered in IBM long
1018 double versions of fmodl, remainderl, erfl and erfcl.
1020 2013-10-04 Alan Modra <amodra@gmail.com>
1022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1023 all uses of ieee854 long double macros and unions. Simplify tests
1024 for long doubles that are fully specified by the high double.
1025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1028 Remove dead code too.
1029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1030 (__ieee754_ynl): Likewise.
1031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1034 Remove dead code too.
1035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1036 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1038 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1040 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1042 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1043 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1044 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1045 Comment on variable precision.
1046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1047 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1049 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1050 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1051 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1052 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1053 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1055 2013-10-04 Alan Modra <amodra@gmail.com>
1057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1059 all uses of ieee854 long double macros and unions.
1060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1071 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1072 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1073 Simplify sign and nan test too.
1074 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1075 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1076 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1077 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1079 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1084 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1085 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1086 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1089 2013-10-04 Alan Modra <amodra@gmail.com>
1091 * stdio-common/printf_size.c (__printf_size): Don't use
1092 union ieee854_long_double in fpnum union.
1093 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1094 signbit macro to retrieve sign from long double.
1095 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1096 retrieve sign from long double.
1097 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1098 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1099 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1100 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1101 * math/test-misc.c (main): Don't use union ieee854_long_double.
1103 2013-10-04 Alan Modra <amodra@gmail.com>
1106 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1107 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1108 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1109 calculation. Remove unnecessary test for denormal exponent.
1110 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1111 Correct handling of denormals. Avoid undefined shift behaviour.
1112 Correct normalisation of low mantissa when low double is denormal.
1113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1114 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1115 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1116 Correct normalisation of low mantissa. Test for overflow of high
1117 mantissa and normalise.
1118 (ldbl_nearbyint): Use more readable constant for two52.
1119 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1120 (__mpn_construct_long_double): Fix test for overflow of high
1121 mantissa and correct normalisation. Avoid undefined shift.
1123 2013-10-04 Alan Modra <amodra@gmail.com>
1125 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1126 (union ibm_extended_long_double): Define as an array of ieee754_double.
1127 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1129 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1130 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1132 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1134 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1135 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1136 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1137 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1139 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1141 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1142 page size instead of calling getpagesize.
1144 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1145 (LOCFILE_ALIGN_MASK): Likewise.
1146 (LOCFILE_ALIGN_UP): Likewise.
1147 (LOCFILE_ALIGNED_P): Likewise.
1148 * locale/programs/ld-collate.c (collate_output): Use the new
1149 macros instead of __alignof__ (int32_t).
1150 * locale/weight.h (findidx): Likewise.
1152 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1155 * manual/string.texi: Fix strncat and wcsncat.
1157 2013-10-03 Brooks Moses <bmoses@google.com>
1160 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1161 * Makerules: ...here, and adjust associated comments.
1163 2013-10-02 Will Newton <will.newton@linaro.org>
1165 * malloc/Makefile: Add tst-pvalloc.
1166 * malloc/tst-pvalloc.c: New file.
1168 2013-10-02 Will Newton <will.newton@linaro.org>
1170 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1171 improve test coverage.
1173 2013-10-02 Will Newton <will.newton@linaro.org>
1175 * malloc/Makefile: Add tst-posix_memalign.
1176 * malloc/tst-posix_memalign.c: New file.
1178 2013-10-01 Eric Blake <eblake@redhat.com>
1180 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1181 Use __THROWNL rather than __THROW on static functions.
1183 2013-09-30 Petr Machata <pmachata@redhat.com>
1185 * elf/elf.h (R_AARCH64_ABS16): New macro.
1186 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1187 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1188 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1189 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1190 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1191 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1192 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1193 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1194 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1195 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1196 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1197 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1198 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1199 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1200 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1201 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1202 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1203 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1204 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1205 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1206 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1207 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1208 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1209 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1210 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1211 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1212 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1213 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1214 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1215 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1216 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1217 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1218 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1219 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1220 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1221 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1222 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1223 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1224 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1225 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1226 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1227 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1228 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1229 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1230 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1231 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1232 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1233 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1234 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1235 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1236 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1237 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1238 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1239 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1240 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1241 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1242 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1243 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1244 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1245 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1246 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1247 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1248 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1249 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1250 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1251 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1252 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1253 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1254 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1255 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1256 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1257 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1258 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1259 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1260 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1261 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1262 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1263 (R_AARCH64_TLSDESC_LDR): Likewise.
1264 (R_AARCH64_TLSDESC_ADD): Likewise.
1265 (R_AARCH64_TLSDESC_CALL): Likewise.
1267 2013-09-30 Andreas Schwab <schwab@suse.de>
1270 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1271 the nss database lookup.
1272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1275 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1277 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1279 2013-09-28 P. J. McDermott <pj@pehjota.net>
1281 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1282 ${Bash-specific parameter/pattern/string} parameter expansion.
1283 * sysdeps/unix/make-syscalls.sh: Likewise.
1285 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1287 * sysdeps/sh/stackguard-macros.h: New file.
1289 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1293 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1294 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1296 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1298 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1301 Fix thread ID register.
1303 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1305 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1306 [POSIX || UNIX98]: Require rather than permitting all symbols from
1308 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1309 element of struct sched_param.
1310 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1311 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1312 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1313 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1316 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1318 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1319 argument calculation.
1321 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1323 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1325 [POSIX] (pthread_attr_t): Do not require type.
1326 [POSIX] (pthread_cond_t): Likewise.
1327 [POSIX] (pthread_condattr_t): Likewise.
1328 [POSIX] (pthread_key_t): Likewise.
1329 [POSIX] (pthread_mutex_t): Likewise.
1330 [POSIX] (pthread_mutexattr_t): Likewise.
1331 [POSIX] (pthread_once_t): Likewise.
1332 [POSIX] (pthread_t): Likewise.
1333 [POSIX-based standards] (pthread_atfork): Expect function.
1335 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1336 Richard Sandiford <richard@codesourcery.com>
1338 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1339 (swap_endianness_p): New extern variable.
1340 (set_big_endian): New inline function.
1341 (maybe_swap_uint32): Likewise.
1342 (maybe_swap_uint32_array): Likewise.
1343 (maybe_swap_uint32_obstack): Likewise.
1344 * locale/programs/locfile.c: Include <stdbool.h>.
1345 (swap_endianness_p): New variable.
1346 (add_locale_uint32): Call maybe_swap_uint32.
1347 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1348 (write_locale_data): Call maybe_swap_uint32_array.
1349 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1351 (obstack_int32_grow_fast): Likewise.
1352 (output_weightwc): Call maybe_swap_uint32_obstack.
1353 (collate_output): Likewise.
1354 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1355 (OPT_LITTLE_ENDIAN): Likewise.
1356 (options): Add --little-endian and --big-endian options.
1357 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1358 * locale/programs/locarchive.c: Include "locfile.h".
1362 (create_archive): Use the new macros to access fields of
1363 structures directly mapped from or written to locale archives.
1364 (oldlocrecentcmp): Likewise.
1365 (enlarge_archive): Likewise.
1366 (insert_name): Likewise.
1367 (add_alias): Likewise.
1368 (add_locale): Likewise.
1369 (delete_locales_from_archive): Likewise.
1370 (show_archive_content): Likewise.
1371 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1374 2013-09-24 Roland McGrath <roland@hack.frob.com>
1376 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1377 http://www.gnu.org/doc/freemanuals.texi.
1378 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1380 2013-09-24 Will Newton <will.newton@linaro.org>
1382 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1385 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1387 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1390 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1392 * manual/threads.texi (POSIX Threads): Fix a typo.
1394 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1397 * string/tst-strcoll-overflow.c: New test case.
1398 * string/Makefile (xtests): Add tst-strcoll-overflow.
1399 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1400 cache if string sizes may cause integer overflow.
1403 * string/strcoll_l.c (coll_seq): New members rule, idx,
1404 save_idx and back_us.
1405 (get_next_seq_nocache): New function.
1406 (do_compare_nocache): New function.
1407 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1410 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1413 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1414 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1415 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1418 * elf/Makefile (tests): Add tst-ptrguard1.
1419 (tests-static): Add tst-ptrguard1-static.
1420 (tst-ptrguard1-ARGS): Define.
1421 (tst-ptrguard1-static-ARGS): Define.
1422 * elf/tst-ptrguard1.c: New file.
1423 * elf/tst-ptrguard1-static.c: New file.
1424 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1425 * sysdeps/i386/stackguard-macros.h: Likewise.
1426 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1427 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1428 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1429 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1430 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1431 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1433 2013-09-23 Hector Marco <hecmargi@upv.es>
1434 Ismael Ripoll <iripoll@disca.upv.es>
1435 Carlos O'Donell <carlos@redhat.com>
1438 * sysdeps/generic/stackguard-macros.h: Define
1439 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1440 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1441 Define __pointer_chk_guard_local.
1442 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1443 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1445 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1448 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1450 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1452 * include/string.h (__ffs): Declare as hidden.
1453 * string/ffs.c (__ffs): Define as hidden.
1454 * sysdeps/i386/ffs.c (__ffs): Likewise.
1455 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1456 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1457 * sysdeps/s390/ffs.c (__ffs): Likewise.
1458 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1460 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1462 * NEWS: Mention malloc probes.
1464 * malloc/arena.c (new_heap): New memory_heap_new probe.
1465 (grow_heap): New memory_heap_more probe.
1466 (shrink_heap): New memory_heap_less probe.
1467 (heap_trim): New memory_heap_free probe.
1468 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1469 (systrim): New memory_sbrk_less probe.
1470 * manual/probes.texi: Document them.
1472 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1473 * manual/probes.texi: Document it.
1475 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1476 (__libc_realloc): Add memory_realloc_retry probe.
1477 (__libc_memalign): Add memory_memalign_retry probe.
1478 (__libc_valloc): Add memory_valloc_retry probe.
1479 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1480 (__libc_calloc): Add memory_calloc_retry probe.
1481 * manual/probes.texi: Document them.
1483 * malloc/arena.c (get_free_list): Add probe
1484 memory_arena_reuse_free_list.
1485 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1486 and memory_arena_reuse.
1487 (arena_get2) [!PER_THREAD]: Likewise.
1488 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1489 memory_arena_reuse_realloc.
1490 * manual/probes.texi: Document them.
1492 * malloc/malloc.c (__libc_free): Add
1493 memory_mallopt_free_dyn_thresholds probe.
1494 (__libc_mallopt): Add multiple memory_mallopt probes.
1495 * manual/probes.texi: Document them.
1497 * malloc/malloc.c: Include stap-probe.h.
1498 (__libc_mallopt): Add memory_mallopt probe.
1499 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1500 * manual/probes.texi: New.
1501 * manual/Makefile (chapters): Add probes.
1502 * manual/threads.texi: Set next node.
1504 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1507 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1508 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1509 Add `Chinese' to `nan' entry name.
1511 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1514 (POLYNOMIAL): Likewise.
1515 (TAYLOR_SINCOS): Likewise.
1516 (TAYLOR_SLOW): Likewise.
1517 (__sin): Use TAYLOR_SINCOS.
1519 (slow): Use TAYLOR_SLOW.
1524 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1526 * stdlib/strtod_l.c: Fix buffer overrun.
1528 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1530 * benchtests/Makefile (bench): Add sincos.
1531 * benchtests/bench-sincos.c: New file.
1533 * math/libm-test.inc (cos_test_data): New test inputs.
1534 (sin_test_data): Likewise.
1536 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1544 (bsloww1): Likewise.
1545 (bsloww2): Likewise.
1547 (csloww1): Likewise.
1548 (csloww2): Likewise.
1550 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1559 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1561 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1562 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1563 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1564 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1565 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1566 * elf/cache.c (print_entry): Handle the new cache flags.
1568 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1569 Aldy Hernandez <aldyh@redhat.com>
1571 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1572 Change condition to [_SOFT_FLOAT].
1573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1585 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1588 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1591 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1594 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1595 (__longjmp): Use LOAD_GP to load saved GPRs.
1596 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1597 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1598 (__sigsetjmp): Use SAVE_GP to save GPRs.
1600 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1601 Do not append -msoft-float.
1602 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1604 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1606 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1608 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1611 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1612 (_FPU_GETCW): Use initial "__" on variable and field names but not
1613 on macro parameter name.
1614 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1615 parentheses around reference to macro parameter.
1617 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1619 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1621 (ctype_startup): Use uint32_t in cast and sizeof for
1624 2013-09-11 Jia Liu <proljc@gmail.com>
1626 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1628 [__FreeBSD__]: Likewise.
1630 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1633 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1634 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1635 (strchr): Remove __strchr_sse42 ifunc selection.
1636 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1637 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1639 2013-09-11 Will Newton <will.newton@linaro.org>
1641 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1642 parameter to RES. Remove hardcoded 1000 value.
1643 * benchtests/bench-skeleton.c (main): Pass RES parameter
1644 to TIMING_INIT and multiply result by 1000.
1646 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1650 2013-09-11 Andreas Schwab <schwab@suse.de>
1652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1654 (O_TMPFILE) [__USE_GNU]: Define.
1655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1658 2013-09-11 Will Newton <will.newton@linaro.org>
1661 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1664 2013-09-11 Will Newton <will.newton@linaro.org>
1667 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1670 2013-09-11 Will Newton <will.newton@linaro.org>
1673 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1676 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1678 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1679 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1684 2013-09-10 Allan McRae <allan@archlinux.org>
1687 * manual/arith.texi (Parsing of Floats): Clarify
1691 * manual/install.texi (Running make install): Mention
1693 * INSTALL: Regenerated.
1695 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1697 * csu/init-first.c (_init): Remove the !SHARED condition around
1698 FPU control word initialization.
1699 * elf/dl-support.c (_dl_fpu_control): New variable.
1700 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1701 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1702 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1703 * math/test-fpucw-static.c: New file.
1704 * math/test-fpucw-ieee.c: New file.
1705 * math/test-fpucw-ieee-static.c: New file.
1706 * math/Makefile (tests): Add `test-fpucw-ieee' and
1708 (tests-static): New variable.
1709 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1711 [($(build-shared),yes)]
1712 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1714 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1717 2013-09-09 Allan McRae <allan@archlinux.org>
1720 * manual/string.texi (Collation Functions): Fix typo in
1722 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1725 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1728 * libio/memstream.c (open_memstream): Fix memory leak.
1729 * libio/wmemstream.c (open_wmemstream): Likewise.
1732 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1734 2013-09-09 Will Newton <will.newton@linaro.org>
1736 * malloc/Makefile: Add tst-realloc to tests.
1737 * malloc/tst-realloc.c: New file.
1739 2013-09-09 Allan McRae <allan@archlinux.org>
1742 * COPYING: Update from GNU website to fix FSF address.
1743 * COPYING.LIB: Likewise.
1745 2013-09-06 David S. Miller <davem@davemloft.net>
1747 * po/zh_TW.po: Update Chinese (traditional) translation from
1748 translation project.
1750 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1751 Joseph Myers <joseph@codesourcery.com>
1753 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1755 (obstack_chunk_alloc): New macro.
1756 (obstack_chunk_free): Likewise.
1757 (record_offset): New function.
1758 (init_locale_data): Likewise.
1759 (align_locale_data): Likewise.
1760 (add_locale_empty): Likewise.
1761 (add_locale_raw_data): Likewise.
1762 (add_locale_raw_obstack): Likewise.
1763 (add_locale_string): Likewise.
1764 (add_locale_wstring): Likewise.
1765 (add_locale_uint32): Likewise.
1766 (add_locale_uint32_array): Likewise.
1767 (add_locale_char): Likewise.
1768 (start_locale_structure): Likewise.
1769 (end_locale_structure): Likewise.
1770 (start_locale_prelude): Likewise.
1771 (end_locale_prelude): Likewise.
1772 (write_locale_data): Take locale_file structure rather than an
1774 * locale/programs/locfile.h: Include "obstack.h".
1775 (struct locale_file): Change to store locale file contents instead
1777 (init_locale_data): New prototype.
1778 (align_locale_data): Likewise.
1779 (add_locale_empty): Likewise.
1780 (add_locale_raw_data): Likewise.
1781 (add_locale_raw_obstack): Likewise.
1782 (add_locale_string): Likewise.
1783 (add_locale_wstring): Likewise.
1784 (add_locale_uint32): Likewise.
1785 (add_locale_uint32_array): Likewise.
1786 (add_locale_char): Likewise.
1787 (start_locale_structure): Likewise.
1788 (end_locale_structure): Likewise.
1789 (start_locale_prelude): Likewise.
1790 (end_locale_prelude): Likewise.
1791 (write_locale_data): Update prototype.
1792 * locale/programs/3level.h (struct TABLE): Remove result field.
1793 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1794 Use new locale_file interface.
1795 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1796 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1797 * locale/programs/ld-address.c (address_output): Use new
1798 locale_file interface.
1799 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1801 (collate_finish): Don't call collseq_table_finalize.
1802 (collate_output): Use new locale_file interface.
1803 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1805 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1806 (TABLE): Move defines earlier in file.
1807 (ELEMENT): Likewise.
1808 (DEFAULT): Likewise.
1809 (wctrans_table_add): Move macro and inline function earlier in
1811 (struct wctype_table): Move type earlier in file.
1812 (add_locale_wctype_table): New static prototype.
1813 (struct locale_ctype_t): Use logical types instead of struct iovec
1814 pointers for members.
1815 (ctype_output): Use new locale_file interface.
1816 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1817 new locale_file interface.
1818 (allocate_arrays): Update for use of new locale_file interface.
1819 * locale/programs/ld-identification.c (identification_output): Use
1820 new locale_file interface.
1821 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1822 * locale/programs/ld-messages.c (messages_output): Likewise.
1823 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1824 * locale/programs/ld-name.c (name_output): Likewise.
1825 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1826 * locale/programs/ld-paper.c (paper_output): Likewise.
1827 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1828 * locale/programs/ld-time.c (time_output): Likewise.
1830 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832 * benchtests/Makefile: Add memrchr benchmark.
1833 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1834 benchmark as memrchr.
1835 * benchtests/bench-memrchr-ifunc.c: New file.
1836 * benchtests/bench-memrchr.c: New file.
1838 2013-09-06 Will Newton <will.newton@linaro.org>
1840 * benchtests/Makefile (string-bench): Add memcpy.
1842 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1843 Cong Wang <amwang@redhat.com>
1845 * sysdeps/unix/sysv/linux/bits/in.h
1846 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1847 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1848 before __USE_KERNEL_IPV6_DEFS uses.
1849 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1851 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1852 sockaddr_in6, or ipv6_mreq.
1854 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1857 memory access for final bytes in some large inputs.
1858 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1860 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862 * string/test-memrchr.c: New file.
1863 * string/test-memrchr-ifunc.c: New file.
1864 * string/Makefile: Add new memrchr testcase.
1866 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1869 fanotify_init returns EPERM.
1871 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1873 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1875 (top level): Treat second token from macro or constant entries for
1876 allowed headers as allowed.
1877 * include/complex.h: Condition internal declarations on
1879 * include/fenv.h: Condition include of <stdbool.h> and internal
1880 declarations on [!_ISOMAC].
1882 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1885 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1887 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1889 * configure.in (--enable-versioning): Remove configure option.
1890 (libc_cv_asm_symver_directive): Remove configure test.
1891 (libc_cv_ld_version_script_option): Likewise.
1892 (VERSIONING): Remove variable and AC_SUBST.
1893 (DO_VERSIONING): Remove AC_DEFINE.
1894 * configure: Regenerated.
1895 * config.h.in (DO_VERSIONING): Remove macro.
1896 * Makerules [$(versioning) = yes]: Change conditionals to
1897 [$(build-shared) = yes].
1898 * config.make.in (versioning): Remove variable.
1899 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1900 [$(build-shared) = yes].
1901 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1902 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1903 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1904 [$(build-shared) = yes].
1905 * extra-lib.mk [$(versioning) = yes]: Likewise.
1906 * hurd/Makefile [$(versioning) = yes]: Likewise.
1907 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1909 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1911 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1912 [SHARED && !NO_HIDDEN].
1913 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1915 [SHARED && DO_VERSIONING]: Likewise..
1916 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1917 [$(build-shared) = yes].
1918 * manual/install.texi (--disable-versioning): Remove
1920 * INSTALL: Regenerated.
1921 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1923 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1924 [$(build-shared) = yes].
1925 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1926 * sysdeps/i386/i686/multiarch/strstr-c.c
1927 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1928 [SHARED && !NO_HIDDEN].
1929 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1930 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1931 * sysdeps/powerpc/powerpc32/dl-machine.c
1932 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1933 * sysdeps/powerpc/powerpc32/sysdep.h
1934 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1935 to [SHARED && PIC && !NO_HIDDEN].
1936 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1937 conditional to [SHARED].
1939 2013-09-04 Will Newton <will.newton@linaro.org>
1941 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1942 * benchtests/bench-string.h: Include bench-timing.h instead
1943 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1944 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1945 call to HP_TIMING_DIFF_INIT.
1946 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1947 instead of hp-timing.h macros.
1948 * benchtests/bench-memchr.c: Likewise.
1949 * benchtests/bench-memcmp.c: Likewise.
1950 * benchtests/bench-memcpy.c: Likewise.
1951 * benchtests/bench-memmem.c: Likewise.
1952 * benchtests/bench-memmove.c: Likewise.
1953 * benchtests/bench-memset.c: Likewise.
1954 * benchtests/bench-rawmemchr.c: Likewise.
1955 * benchtests/bench-strcasecmp.c: Likewise.
1956 * benchtests/bench-strcasestr.c: Likewise.
1957 * benchtests/bench-strcat.c: Likewise.
1958 * benchtests/bench-strchr.c: Likewise.
1959 * benchtests/bench-strcmp.c: Likewise.
1960 * benchtests/bench-strcpy.c: Likewise.
1961 * benchtests/bench-strcpy_chk.c: Likewise.
1962 * benchtests/bench-strlen.c: Likewise.
1963 * benchtests/bench-strncasecmp.c: Likewise.
1964 * benchtests/bench-strncat.c: Likewise.
1965 * benchtests/bench-strncmp.c: Likewise.
1966 * benchtests/bench-strncpy.c: Likewise.
1967 * benchtests/bench-strnlen.c: Likewise.
1968 * benchtests/bench-strpbrk.c: Likewise.
1969 * benchtests/bench-strrchr.c: Likewise.
1970 * benchtests/bench-strspn.c: Likewise.
1971 * benchtests/bench-strstr.c: Likewise.
1973 2013-09-04 Will Newton <will.newton@linaro.org>
1975 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1977 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1981 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1982 * math/libm-test.inc (lgamma_test_data): Add more tests.
1983 * sysdeps/i386/fpu/libm-test-ulps: Update.
1984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1988 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1992 Add strcmp-sse2-unaligned
1993 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1995 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1997 * Versions.def (libc): Add GLIBC_2.19.
1999 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2001 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2002 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2004 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2007 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2008 intermediate calculations in recurrence.
2009 (__ieee754_ynf): Likewise.
2010 * math/libm-test.inc (jn_test_data): Do not allow spurious
2011 underflow exception. Add more tests.
2012 (yn_test_data): Add more tests.
2013 * sysdeps/i386/fpu/libm-test-ulps: Update.
2014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2016 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2020 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2022 * csu/init-first.c: Fix then/than typos.
2023 * locale/programs/ld-collate.c: Likewise.
2024 * locale/programs/linereader.h: Likewise.
2025 * manual/charset.texi: Likewise.
2026 * manual/filesys.texi: Likewise.
2027 * manual/stdio.texi: Likewise.
2028 * manual/string.texi: Likewise.
2029 * stdlib/fmtmsg.c: Likewise.
2030 * sysdeps/i386/stpncpy.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2036 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2038 * elf/dl-open.c: Fix typos.
2039 * iconvdata/gbbig5.c: Likewise.
2040 * iconvdata/iso-2022-jp.c: Likewise.
2041 * iconv/gconv_int.h: Likewise.
2042 * iconv/loop.c: Likewise.
2043 * nis/rpcsvc/nis.h: Likewise.
2044 * resolv/ns_name.c: Likewise.
2045 * stdio-common/vfscanf.c: Likewise.
2046 * streams/stropts.h: Likewise.
2047 * sunrpc/rpc_thread.c: Likewise.
2048 * sysdeps/i386/strpbrk.S: Likewise.
2049 * sysdeps/ieee754/k_standard.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2052 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2053 * sysdeps/mach/hurd/profil.c: Likewise.
2054 * sysdeps/s390/dl-procinfo.h: Likewise.
2055 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2058 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2061 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2063 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2066 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2074 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2076 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2079 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2080 Roland McGrath <roland@hack.frob.com>
2082 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2083 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2085 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2087 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2088 __executable_start symbol instead of _start.
2090 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2092 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2093 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2095 * sysdeps/gnu/ldsodefs.h: ... this new file.
2097 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2098 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2099 instead of ELFOSABI_LINUX.
2101 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2102 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2103 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2104 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2106 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2107 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2110 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2111 (ibm_extended_long_double): Add ieee_nan member.
2112 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2113 (do_test): New function.
2115 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2117 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2118 functions, renamed from truncdfsf_test, trunctfsf_test,
2120 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2122 (do_test): Run all these.
2124 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2126 * argp/argp-help.c: Fix typos.
2127 * argp/argp-parse.c: Likewise.
2128 * debug/backtracesyms.c: Likewise.
2129 * elf/elf.h: Likewise.
2130 * malloc/malloc.c: Likewise.
2131 * nis/nis_print.c: Likewise.
2132 * resolv/res_comp.c: Likewise.
2133 * stdlib/stdlib.h: Likewise.
2134 * sunrpc/clnt_tcp.c: Likewise.
2135 * sunrpc/clnt_udp.c: Likewise.
2136 * sunrpc/clnt_unix.c: Likewise.
2137 * sysdeps/unix/bsd/ptsname.c: Likewise.
2138 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2146 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2148 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2150 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2153 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2156 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2157 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2158 ($(objpfx)bug-dl-leaf): New rule.
2159 ($(objpfx)bug-dl-leaf.so): Likewise.
2160 ($(objpfx)bug-dl-leaf.out): Likewise.
2161 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2162 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2163 * dlfcn/bug-dl-leaf.c: New test.
2164 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2165 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2166 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2167 (dlclose): Likewise.
2168 (dlmopen): Likewise.
2170 2013-08-27 Roland McGrath <roland@hack.frob.com>
2172 * include/netdb.h [!_ISOMAC]:
2173 Don't include <tls.h>.
2174 (h_errno, __libc_h_errno): Move declaration and macros out of
2177 * include/resolv.h [_RESOLV_H_]:
2178 Don't include <tls.h>.
2179 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2180 * resolv/res_libc.c: Don't include <tls.h>.
2181 (_res): Use __attribute__ ((nocommon)) in place of
2182 __attribute__ ((section (".bss"))).
2184 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2185 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2187 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2189 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2190 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2192 * resolv/res_mkquery.c: Include <sys/time.h>.
2194 * inet/ifreq.c: Moved to ...
2195 * sysdeps/unix/ifreq.c: ... here.
2196 * inet/ifreq.c: New file, true stub version.
2198 * socket/sa_len.c: New file.
2199 * socket/Makefile (aux): Add it.
2200 * sysdeps/unix/sysv/linux/Makefile
2201 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2202 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2203 and #include <socket/sa_len.c>.
2204 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2205 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2208 * bits/socket.h: ... here.
2210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2211 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2212 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2214 2013-08-27 Andreas Schwab <schwab@suse.de>
2217 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2218 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2219 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2220 * string/test-strcasecmp.c (test_main): Run tests in several
2222 * string/test-strncasecmp.c (test_main): Likewise.
2224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2225 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2226 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2228 (__strncasecmp_ssse3) [PIC]: Likewise.
2230 2013-08-26 Roland McGrath <roland@hack.frob.com>
2232 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2234 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2235 instead of explicitly declaring xdecrypt.
2236 * nis/nss_nis/nis-publickey.c: Likewise.
2238 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2241 * nscd/aicache.c: Include res_hconf.h.
2242 (addhstaiX): Initialize res_hconf.
2244 2013-08-26 Andreas Schwab <schwab@suse.de>
2246 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2247 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2249 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2251 * nscd/aicache.c (addhstaiX): Fix indentation.
2253 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2255 * configure.ac: Quote $build_pt_chown test.
2256 * configure: Regenerated.
2258 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2261 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2262 * math/s_cexpf.c (__cexpf): Likewise.
2263 * math/s_cexpl.c (__cexpl): Likewise.
2264 * math/libm-test.inc (cexp_test_data): Correct expected return
2265 value for NaN + i0. Add another test.
2267 2013-08-22 David S. Miller <davem@davemloft.net>
2269 * po/ca.po: Update Catalan translation from translation project.
2270 * po/uk.po: Add Ukrainian translations from translation project.
2272 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2275 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2276 is infinite, not alongside NaN test.
2277 * math/s_fdimf.c (__fdimf): Likewise.
2278 * math/s_fdiml.c (__fdiml): Likewise.
2279 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2282 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2284 * argp/argp-help.c: Fix typos.
2285 * crypt/speeds.c: Likewise.
2286 * csu/check_fds.c: Likewise.
2287 * elf/dl-load.c: Likewise.
2288 * elf/dl-open.c: Likewise.
2289 * elf/reldep3.c: Likewise.
2290 * elf/reldep.c: Likewise.
2291 * elf/sprof.c: Likewise.
2292 * iconv/iconv_charmap.c: Likewise.
2293 * iconv/skeleton.c: Likewise.
2294 * iconv/strtab.c: Likewise.
2295 * io/lockf64.c: Likewise.
2296 * libio/libioP.h: Likewise.
2297 * resolv/gai_notify.c: Likewise.
2298 * resolv/ns_name.c: Likewise.
2299 * resolv/ns_samedomain.c: Likewise.
2300 * resolv/res_send.c: Likewise.
2301 * stdlib/random.c: Likewise.
2302 * sunrpc/rpc/xdr.h: Likewise.
2303 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2311 * sysdeps/mach/hurd/check_fds.c: Likewise.
2312 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2313 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2315 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2316 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2317 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2318 * sysdeps/pthread/aio_notify.c: Likewise.
2319 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2320 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2323 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2325 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2327 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2328 version if bit_Slow_SSE4_2 is set.
2329 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2332 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2336 trampoline stack frame information.
2337 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2339 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2340 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2341 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2342 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2343 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2344 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2346 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2347 interrupting a syscall and set with option SA_SIGINFO.
2349 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2352 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2353 argument is infinite.
2354 * math/s_cprojf.c (__cprojf): Likewise.
2355 * math/s_cprojl.c (__cprojl): Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2357 * math/libm-test.inc (cproj_test_data): Add more tests.
2359 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2362 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2363 size. Use __ffs to determine corresponding shift.
2365 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2366 Roland McGrath <roland@hack.frob.com>
2368 * Makefile (INSTALL): Remove trailing blank lines from output of
2371 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2373 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2374 Align 32 bit compat elf_greg to 8 bytes.
2376 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2378 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2380 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2382 * string/strcoll_l.c (coll_seq): New structure.
2383 (get_next_seq_cached): New function.
2384 (get_next_seq): New function.
2385 (do_compare): New function.
2386 (STRCOLL): Use GNU style definition. Simplify implementation
2387 by using get_next_seq, get_next_seq_cached and do_compare.
2389 2013-08-16 Florian Weimer <fweimer@redhat.com>
2393 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2395 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2397 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2398 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2399 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2401 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2402 GETDENTS_64BIT_ALIGNED.
2403 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2404 * manual/filesys.texi (Reading/Closing Directory): Document
2405 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2407 * manual/conf.texi (Limits for Files): Add portability note to
2409 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2411 2013-08-13 Andreas Schwab <schwab@suse.de>
2414 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2416 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2417 LDBL_MAX_EXP >= 16384]: Add tests for it.
2419 2013-08-12 David S. Miller <davem@davemloft.net>
2421 * version.h (RELEASE): Set to "development".
2422 (VERSION): Set to "2.18.90".
2423 * NEWS: Add 2.19 section.
2425 2013-08-03 David S. Miller <davem@davemloft.net>
2427 * po/ko.po: Update Korean translation from translation project.
2429 2013-08-01 David S. Miller <davem@davemloft.net>
2431 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2432 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2435 2013-07-30 David S. Miller <davem@davemloft.net>
2437 * po/fr.po: Update French translation from translation project.
2439 2013-07-28 David S. Miller <davem@davemloft.net>
2441 * po/cs.po: Update Czech translation from translation project.
2443 * po/sv.po: Update Swedish translation from translation project.
2445 2013-07-27 David S. Miller <davem@davemloft.net>
2447 * po/eo.po: Update Esperanto translation from translation project.
2449 * po/vi.po: Update Vietnamese translation from translation project.
2451 * po/de.po: Update German translation from translation project.
2453 2013-07-26 David S. Miller <davem@davemloft.net>
2455 * po/bg.po: Update Bulgarian translation from translation project.
2457 * po/nl.po: Update Dutch translation from translation project.
2458 * po/pl.po: Update Polish translation from translation project.
2459 * po/ru.po: Update Russian translation from translation project.
2461 2013-07-24 David S. Miller <davem@davemloft.net>
2463 * po/libc.pot: Update.
2465 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2469 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2470 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2471 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2473 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2475 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2477 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2478 Andreas Schwab <schwab@suse.de>
2479 Roland McGrath <roland@hack.frob.com>
2480 Joseph Myers <joseph@codesourcery.com>
2481 Carlos O'Donell <carlos@redhat.com>
2484 * config.h.in: Define HAVE_PT_CHOWN.
2485 * config.make.in (build-pt-chown): New variable.
2486 * configure.in (--enable-pt_chown): New configure option.
2487 * configure: Regenerate.
2488 * login/Makefile: Include Makeconfig. Build pt_chown only if
2489 build-pt-chown is enabled.
2490 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2491 pt_chown to fix pty ownership.
2492 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2494 * manual/install.texi (Configuring and compiling): Mention
2495 --enable-pt_chown. Add @findex for grantpt.
2496 * INSTALL: Regenerate.
2498 2013-07-20 David S. Miller <davem@davemloft.net>
2500 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2501 difference between 32-bit and 64-bit.
2503 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2506 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2507 Avoid system header dependency with -ffreestanding.
2508 ($(objpfx)bits/syscall%d): Likewise.
2510 2013-07-13 David S. Miller <davem@davemloft.net>
2512 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2513 underflows from atanl/atan2l due to bug 15319.
2514 (casinh_test_data): Likewise.
2516 2013-07-07 David S. Miller <davem@davemloft.net>
2518 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2520 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2522 * sysdeps/i386/fpu/libm-test-ulps: Update.
2523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2525 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2527 * configure.in (--enable-lock-elision): Fix message text.
2528 * INSTALL: Regenerate.
2529 * configure: Regenerate.
2531 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2535 2013-07-03 Andreas Jaeger <aj@suse.de>
2537 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2539 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2540 (ptrace_peeksiginfo_args): Add.
2541 (__ptrace_peeksiginfo_flags): Add.
2542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2546 2013-07-03 Allan McRae <allan@archlinux.org>
2548 * sysdeps/i386/fpu/libm-test-ulps: Update.
2550 2013-07-02 David S. Miller <davem@davemloft.net>
2552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2554 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2558 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2560 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2563 2013-07-02 Andi Kleen <ak@linux.intel.com>
2565 * config.h.in (ENABLE_LOCK_ELISION): Add.
2566 * configure.in (--enable-lock-elision): Add option.
2567 * manual/install.texi: Document --enable lock elision.
2568 * configure: Regenerate
2569 * INSTALL: Regenerate.
2571 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2573 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2574 SSE4.2 strcasecmp for libc.a.
2575 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2577 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2580 * soft-fp/op-common.h (_FP_FMA): New macro.
2581 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2582 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2583 (_FP_MUL_MEAT_1_imm): ... here.
2584 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2585 (_FP_MUL_MEAT_1_wide): ... here.
2586 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2587 (_FP_MUL_MEAT_1_hard): ... here.
2588 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2589 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2590 (_FP_MUL_MEAT_2_wide): ... here.
2591 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2592 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2593 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2594 (_FP_MUL_MEAT_2_gmp): ... here.
2595 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2596 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2597 (_FP_MUL_MEAT_4_wide): ... here.
2598 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2599 (_FP_MUL_MEAT_4_gmp): ... here.
2600 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2601 (_FP_WFRACBITS_DW_S): Likewise.
2602 (_FP_WFRACXBITS_DW_S): Likewise.
2603 (_FP_HIGHBIT_DW_S): Likewise.
2604 (FP_FMA_S): Likewise.
2605 (_FP_FRAC_HIGH_DW_S): Likewise.
2606 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2607 (_FP_WFRACBITS_DW_D): Likewise.
2608 (_FP_WFRACXBITS_DW_D): Likewise.
2609 (_FP_HIGHBIT_DW_D): Likewise.
2610 (FP_FMA_D): Likewise.
2611 (_FP_FRAC_HIGH_DW_D): Likewise.
2612 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2613 (_FP_WFRACBITS_DW_E): Likewise.
2614 (_FP_WFRACXBITS_DW_E): Likewise.
2615 (_FP_HIGHBIT_DW_E): Likewise.
2616 (FP_FMA_E): Likewise.
2617 (_FP_FRAC_HIGH_DW_E): Likewise.
2618 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2619 (_FP_WFRACBITS_DW_Q): Likewise.
2620 (_FP_WFRACXBITS_DW_Q): Likewise.
2621 (_FP_HIGHBIT_DW_Q): Likewise.
2622 (FP_FMA_Q): Likewise.
2623 (_FP_FRAC_HIGH_DW_Q): Likewise.
2624 * soft-fp/fmasf4.c: New file.
2625 * soft-fp/fmadf4.c: Likewise.
2626 * soft-fp/fmatf4.c: Likewise.
2628 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2631 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2635 (index_Slow_SSE4_2): Likewise.
2636 (index_Prefer_PMINUB_for_stringop): Likewise.
2637 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2638 bit_Slow_SSE4_2 is set.
2639 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2642 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2644 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2645 rtld_global._dl_hwcap2.
2646 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2648 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2649 POWER8 feature descriptions defined in _dl_hwcap2.
2650 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2651 string handling for POWER8 feature bits.
2652 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2653 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2654 _dl_powerpc_cap_flags.
2655 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2656 * sysdeps/powerpc/rtld-global-offsets.sym
2657 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2658 _dl_hwcap2 in the rtld_global_ro structure.
2660 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2662 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2663 hardware capabilities in support of AT_HWCAP2.
2664 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2665 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2667 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2668 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2669 explicitly the unknown a_type display mechanism is used.
2670 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2671 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2673 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2674 to macro prototype for AT_HWCAP2 support.
2675 * sysdeps/i386/dl-procinfo.h: Likewise.
2676 * sysdeps/s390/dl-procinfo.h: Likewise.
2677 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2678 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2679 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2680 return -1 for unknown a_type display fallback.
2681 * sysdeps/sparc/dl-procinfo.h: Likewise.
2682 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2683 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2685 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2688 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2690 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2693 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2694 mprotect making __stack_prot writable.
2696 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2697 Joseph Myers <joseph@codesourcery.com>
2699 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2700 as being properly aligned.
2702 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2704 * dlfcn/modstatic5.c: New file.
2705 * dlfcn/tststatic5.c: New file.
2706 * dlfcn/Makefile (tests): Add tststatic5.
2707 (tests-static): Likewise.
2708 (modules-names): Add modstatic5.
2709 (tststatic5-ENV): New variable.
2710 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2713 * elf/dl-support.c (_dl_main_map): New variable.
2714 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2715 (_dl_nns, _dl_load_adds): Set to 1.
2716 (_dl_initial_searchlist): Refer to _dl_main_map.
2717 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2718 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2719 call to _dl_get_origin.
2720 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2722 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2723 * dlfcn/modstatic3.c: New file.
2724 * dlfcn/tststatic3.c: New file.
2725 * dlfcn/tststatic4.c: New file.
2726 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2727 (tests-static): Likewise.
2728 (modules-names): Add modstatic3.
2729 (tststatic3-ENV, tststatic4-ENV): New variables.
2730 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2731 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2733 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2735 * configure.in (CC): Require GCC version 4.4 or later.
2736 * configure: Regenerated.
2737 * manual/install.texi (Tools for Compilation): Update GCC version
2739 * INSTALL: Regenerated.
2741 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2744 * string/test-memcmp.c (check2): New.
2745 (main): Call check2.
2747 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2749 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2752 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2754 (dl_open_worker) [!SHARED]: ... here.
2756 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2758 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2760 2013-06-25 Richard Henderson <rth@redhat.com>
2762 * locale/programs/locarchive.c: Include <libc-internal.h>
2764 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2766 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2767 trailing whitespace removed.
2769 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2772 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2773 * locale/programs/locarchive.c: Include libc-mmap.h.
2774 (prepare_address_space): Take two new outputs (the mmap base and len).
2775 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2777 (create_archive): Declare new mmap base and len values for
2778 prepare_address_space, and store the result in ah.
2779 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2780 (enlarge_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 Declare new mmap base and len values for
2783 prepare_address_space, and store the result in new_ah.
2784 (open_archive): Declare new mmap base and len values for
2785 prepare_address_space, and store the result in ah.
2786 (close_archive): If ah->mmap_base is not NULL, use that and
2787 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2788 * sysdeps/generic/libc-mmap.h: New file.
2790 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2792 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2793 (ALIGN_UP): Likewise.
2794 (PTR_ALIGN_DOWN): Likewise.
2795 (PTR_ALIGN_UP): Likewise.
2797 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2799 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2800 entry mapped to PPC_PLATFORM_POWER8.
2801 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2803 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2804 (_dl_string_platform): Add case for exporting platform position for
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2807 search path to sysdeps/powerpc/powerpc32/power8 directory.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2809 search path to sysdeps/powerpc/powerpc64/power8 directory.
2810 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2812 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2815 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2817 * INSTALL: Regenerate.
2819 * nscd/connections.c (nscd_init): Fix comment.
2821 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2823 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2826 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2827 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2829 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2831 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2833 (DL_DST_REQ_STATIC): Remove macro.
2835 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2838 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2839 with a shift of 0 bits.
2841 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2843 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2846 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2849 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2851 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2853 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2854 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2855 accepts -fno-tree-loop-distribute-patterns.
2856 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2857 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2859 * string/memset.c (memset): Likewise.
2860 * string/test-memmove.c (simple_memmove): Disable loop transformation
2862 * string/test-memset.c (simple_memset): Likewise.
2863 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2864 * benchtests/bench-memset.c (simple_memset): Likewise.
2865 * configure: Regenerated.
2867 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2869 * math/test-misc.c (main): Ignore fesetround failure when failures
2870 of subsequent rounding tests would be ignored.
2873 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2874 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2875 * math/fegetenv.c (__fegetenv): Return 0.
2876 * math/fegetexcept.c (fegetexcept): Return 0.
2877 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2879 * math/feholdexcpt.c (feholdexcept): Return 0.
2880 * math/fesetenv.c (__fesetenv): Return 0.
2881 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2882 argument FE_TONEAREST.
2883 * math/feupdateenv.c (__feupdateenv): Return 0.
2884 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2886 2013-06-18 Roland McGrath <roland@hack.frob.com>
2888 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2889 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2890 ($(objpfx)rtld-%.os rules): Use them.
2892 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2894 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2897 2013-06-17 Roland McGrath <roland@hack.frob.com>
2899 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2900 length of target pattern, then descending length of dependency pattern.
2901 * configure.in (AWK): Require gawk 3.1.2 or newer.
2902 * manual/install.texi (Tools for Compilation): Say that we do.
2903 * configure: Regenerated.
2905 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2906 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2907 * scripts/sysd-rules.awk: ... this new script.
2908 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2909 than a glob-style pattern.
2911 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2913 * math/test-misc.c (main): Do not treat incorrectly rounded
2914 conversions as failure unless ROUNDING_TESTS passes.
2916 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2919 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2920 restore exception state around main square root computation, then
2921 check for inexactness explicitly.
2923 * math/libm-test.inc (fma_test_data): Add another test.
2925 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2927 * manual/threads.texi (Non-POSIX Extensions): New document
2928 node. Document pthread_getattr_default_np and
2929 pthread_setattr_default_np.
2931 * Versions.def (libpthread): Add GLIBC_2.18.
2932 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2941 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2952 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2955 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2957 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2958 H.J. Lu <hjl.tools@gmail.com>
2961 * sysdeps/x86_64/rtld-memset.c: Remove file.
2962 * sysdeps/x86_64/rtld-memset.S: New file.
2964 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2966 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2967 (test_in_one_mode): Take arguments for whether the rounding mode
2968 is supported for each floating-point type.
2969 (do_test): Pass new arguments to test_in_one_mode using
2972 2013-06-13 Roland McGrath <roland@hack.frob.com>
2974 * posix/tst-waitid.c (do_test): Distinguish different instances of
2975 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2976 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2977 before entering the kernel for waitpid.
2979 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2981 * NEWS: Fix note on clock function precision. Text by Roland
2984 2013-06-13 Roland McGrath <roland@hack.frob.com>
2986 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2987 it into place only when and if the sanity check passes.
2989 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2991 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2992 output for whether conversion result is exact. Take argument
2993 indicating whether type is IBM long double.
2994 (round_for_all): Change need_exact field to ibm_ld.
2995 * stdlib/tst-strtod-round.c (struct exactness): New type.
2996 (struct test): Change bool ld_ok field to struct exactness exact.
2997 (TEST): Update all definitions for change to field.
2998 (tests): Regenerate array contents.
2999 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3000 field value. Check for IBM long double here.
3001 (do_test): Update calls to test_in_one_mode.
3003 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3006 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3007 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3009 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3013 generated by the compiler on loop optimizations.
3014 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3015 general definitions.
3017 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3019 * math/bug-nextafter.c: Include <math-tests.h>.
3020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3022 * math/bug-nexttoward.c: Include <math-tests.h>.
3023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3025 * math/test-misc.c: Include <math-tests.h>.
3026 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3029 2013-06-12 Andreas Jaeger <aj@suse.de>
3031 * po/ia.po: Update Interlingua translation from translation
3034 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * include/fenv.h: Include stdbool.h.
3037 (struct rm_ctx): New structure.
3038 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3040 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3041 (SET_RESTORE_ROUNDF): Likewise.
3042 (SET_RESTORE_ROUNDL): Likewise.
3043 (SET_RESTORE_ROUND_NOEX): Likewise.
3044 (SET_RESTORE_ROUND_NOEXF): Likewise.
3045 (SET_RESTORE_ROUND_NOEXL): Likewise.
3046 (SET_RESTORE_ROUND_53BIT): Likewise.
3047 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3048 (libc_feresetround_noexf_ctx): Likewise.
3049 (libc_feresetround_noexl_ctx): Likewise.
3050 (libc_feholdsetround_53bit_ctx): Likewise.
3051 (libc_feresetround_53bit_ctx): Likewise.
3052 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3053 (libc_feholdexcept_setround_sse_ctx): New function.
3054 (libc_fesetenv_sse_ctx): Likewise.
3055 (libc_feupdateenv_sse_ctx): Likewise.
3056 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3057 (libc_feholdexcept_setround_387_ctx): Likewise.
3058 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3059 (libc_feholdsetround_387_prec_ctx): Likewise.
3060 (libc_feholdsetround_387_ctx): Likewise.
3061 (libc_feholdsetround_387_53bit_ctx): Likewise.
3062 (libc_feholdsetround_sse_ctx): Likewise.
3063 (libc_feresetround_sse_ctx): Likewise.
3064 (libc_feresetround_387_ctx): Likewise.
3065 (libc_feupdateenv_387_ctx): Likewise.
3066 (libc_feholdexcept_setroundf_ctx): Define macro.
3067 (libc_fesetenvf_ctx): Likewise.
3068 (libc_feupdateenvf_ctx): Likewise.
3069 (libc_feholdsetroundf_ctx): Likewise.
3070 (libc_feresetroundf_ctx): Likewise.
3071 (libc_feholdexcept_setround_ctx): Likewise.
3072 (libc_fesetenv_ctx): Likewise.
3073 (libc_feupdateenv_ctx): Likewise.
3074 (libc_feholdsetround_ctx): Likewise.
3075 (libc_feresetround_ctx): Likewise.
3076 (libc_feholdexcept_setroundl_ctx): Likewise.
3077 (libc_feupdateenvl_ctx): Likewise.
3078 (libc_feholdsetroundl_ctx): Likewise.
3079 (libc_feresetroundl_ctx): Likewise.
3080 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3081 (libc_feresetround_53bit_ctx): Likewise.
3083 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3085 * locale/iso-639.def: Convert to UTF-8.
3087 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3089 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3090 (EXCEPTION_TESTS_double): Likewise.
3091 (EXCEPTION_TESTS_long_double): Likewise.
3092 (EXCEPTION_TESTS): Likewise.
3093 * math/libm-test.inc (test_exceptions): Only test exceptions if
3094 EXCEPTION_TESTS (FLOAT).
3096 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3098 * benchtests/Makefile (string-bench): Add strcpy_chk and
3100 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3101 * benchtests/bench-stpcpy_chk.c: New file.
3102 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3103 * benchtests/bench-strcpy_chk.c: New file.
3104 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3106 (do_test): Likewise.
3108 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3110 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3111 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3112 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3113 with tabs where appropriate.
3114 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3116 [PPC_PLATFORM_PPC440]: Likewise.
3117 [PPC_PLATFORM_PPC464]: Likewise.
3118 [PPC_PLATFORM_PPC476]: Likewise.
3119 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3120 ppc464, and ppc476 platform strings merging from ports/
3123 2013-06-11 Andreas Schwab <schwab@suse.de>
3126 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3127 (from_ucs4_idx): Regenerate.
3128 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3129 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3130 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3131 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3132 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3133 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3134 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3135 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3136 from FROM_LOOP and TO_LOOP specific macros.
3137 (BODY): Handle combining characters.
3138 * iconvdata/BIG5HKSCS.irreversible: Update.
3139 * iconvdata/BIG5HKSCS.precomposed: New file.
3140 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3142 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3144 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * include/sys/time.h: Fix indentation and add copyright header.
3148 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3149 (do_test): Likewise.
3150 * string/test-memchr.c (do_one_test): Likewise.
3151 (do_test): Likewise.
3152 * string/test-memcmp.c (do_one_test): Likewise.
3153 (do_test): Likewise.
3154 * string/test-memcpy.c (do_one_test): Likewise.
3155 (do_test): Likewise.
3156 * string/test-memmem.c (do_one_test): Likewise.
3157 (do_test): Likewise.
3158 (do_random_tests): Likewise.
3159 * string/test-memmove.c (do_one_test): Likewise.
3160 (do_test): Likewise.
3161 * string/test-memset.c (do_one_test): Likewise.
3162 (do_test): Likewise.
3163 * string/test-rawmemchr.c (do_one_test): Likewise.
3164 (do_test): Likewise.
3165 * string/test-strcasecmp.c (do_one_test): Likewise.
3166 (do_test): Likewise.
3167 * string/test-strcasestr.c (do_one_test): Likewise.
3168 (do_test): Likewise.
3169 * string/test-strcat.c (do_one_test): Likewise.
3170 (do_test): Likewise.
3171 * string/test-strchr.c (do_one_test): Likewise.
3172 (do_test): Likewise.
3173 * string/test-strcmp.c (do_one_test): Likewise.
3174 (do_test): Likewise.
3175 * string/test-strcpy.c (do_one_test): Likewise.
3176 (do_test): Likewise.
3177 * string/test-string.h: Likewise.
3178 (test_init): Likewise.
3179 * string/test-strlen.c (do_one_test): Likewise.
3180 (do_test): Likewise.
3181 * string/test-strncasecmp.c (do_one_test): Likewise.
3182 (do_test): Likewise.
3183 * string/test-strncat.c (do_one_test): Likewise.
3184 (do_test): Likewise.
3185 * string/test-strncmp.c (do_one_test): Likewise.
3186 (do_test_limit): Likewise.
3187 (do_test): Likewise.
3188 * string/test-strncpy.c (do_one_test): Likewise.
3189 (do_test): Likewise.
3190 * string/test-strnlen.c (do_one_test): Likewise.
3191 (do_test): Likewise.
3192 * string/test-strpbrk.c (do_one_test): Likewise.
3193 (do_test): Likewise.
3194 * string/test-strrchr.c (do_one_test): Likewise.
3195 (do_test): Likewise.
3196 * string/test-strspn.c (do_one_test): Likewise.
3197 (do_test): Likewise.
3198 * string/test-strstr.c (do_one_test): Likewise.
3199 (do_test): Likewise.
3201 * benchtests/Makefile (string-bench): Add string benchmarks.
3202 * benchtests/bench-bcopy-ifunc.c: New file.
3203 * benchtests/bench-bcopy.c: New file.
3204 * benchtests/bench-bzero-ifunc.c: New file.
3205 * benchtests/bench-bzero.c: New file.
3206 * benchtests/bench-memccpy-ifunc.c: New file.
3207 * benchtests/bench-memccpy.c: New file.
3208 * benchtests/bench-memchr-ifunc.c: New file.
3209 * benchtests/bench-memchr.c: New file.
3210 * benchtests/bench-memcmp-ifunc.c: New file.
3211 * benchtests/bench-memcmp.c: New file.
3212 * benchtests/bench-memmem-ifunc.c: New file.
3213 * benchtests/bench-memmem.c: New file.
3214 * benchtests/bench-memmove-ifunc.c: New file.
3215 * benchtests/bench-memmove.c: New file.
3216 * benchtests/bench-mempcpy-ifunc.c: New file.
3217 * benchtests/bench-mempcpy.c: New file.
3218 * benchtests/bench-memset-ifunc.c: New file.
3219 * benchtests/bench-memset.c: New file.
3220 * benchtests/bench-rawmemchr-ifunc.c: New file.
3221 * benchtests/bench-rawmemchr.c: New file.
3222 * benchtests/bench-stpcpy-ifunc.c: New file.
3223 * benchtests/bench-stpcpy.c: New file.
3224 * benchtests/bench-stpncpy-ifunc.c: New file.
3225 * benchtests/bench-stpncpy.c: New file.
3226 * benchtests/bench-strcasecmp-ifunc.c: New file.
3227 * benchtests/bench-strcasecmp.c: New file.
3228 * benchtests/bench-strcasestr-ifunc.c: New file.
3229 * benchtests/bench-strcasestr.c: New file.
3230 * benchtests/bench-strcat-ifunc.c: New file.
3231 * benchtests/bench-strcat.c: New file.
3232 * benchtests/bench-strchr-ifunc.c: New file.
3233 * benchtests/bench-strchr.c: New file.
3234 * benchtests/bench-strchrnul-ifunc.c: New file.
3235 * benchtests/bench-strchrnul.c: New file.
3236 * benchtests/bench-strcmp-ifunc.c: New file.
3237 * benchtests/bench-strcmp.c: New file.
3238 * benchtests/bench-strcpy-ifunc.c: New file.
3239 * benchtests/bench-strcpy.c: New file.
3240 * benchtests/bench-strcspn-ifunc.c: New file.
3241 * benchtests/bench-strcspn.c: New file.
3242 * benchtests/bench-strlen-ifunc.c: New file.
3243 * benchtests/bench-strlen.c: New file.
3244 * benchtests/bench-strncasecmp-ifunc.c: New file.
3245 * benchtests/bench-strncasecmp.c: New file.
3246 * benchtests/bench-strncat-ifunc.c: New file.
3247 * benchtests/bench-strncat.c: New file.
3248 * benchtests/bench-strncmp-ifunc.c: New file.
3249 * benchtests/bench-strncmp.c: New file.
3250 * benchtests/bench-strncpy-ifunc.c: New file.
3251 * benchtests/bench-strncpy.c: New file.
3252 * benchtests/bench-strnlen-ifunc.c: New file.
3253 * benchtests/bench-strnlen.c: New file.
3254 * benchtests/bench-strpbrk-ifunc.c: New file.
3255 * benchtests/bench-strpbrk.c: New file.
3256 * benchtests/bench-strrchr-ifunc.c: New file.
3257 * benchtests/bench-strrchr.c: New file.
3258 * benchtests/bench-strspn-ifunc.c: New file.
3259 * benchtests/bench-strspn.c: New file.
3260 * benchtests/bench-strstr-ifunc.c: New file.
3261 * benchtests/bench-strstr.c: New file.
3263 * benchtests/Makefile: Disable parallel execution of targets.
3264 (string-bench): Add memcpy.
3265 (benchset): New variable to store a list of benchmark sets.
3266 (bench-func): Renamed from bench.
3267 (bench-set): New target.
3268 (bench): Depend on bench-func and bench-set.
3269 * benchtests/README: Add section on benchmark sets.
3270 * benchtests/bench-memcpy-ifunc.c: New file.
3271 * benchtests/bench-memcpy.c: New file.
3272 * benchtests/bench-string.h: New file.
3274 2013-06-11 Andreas Schwab <schwab@suse.de>
3277 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3278 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3279 values in the triple.
3280 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3281 terminator in the group key.
3283 2013-06-11 Andreas Jaeger <aj@suse.de>
3285 * po/zh_TW.po: Update Chinese (traditional) translation from
3286 translation project.
3288 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3290 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3291 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3292 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3294 (clock_getcpuclockid): Likewise.
3295 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3296 Add weak_alias and libc_hidden_def.
3297 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3298 * rt/clock_gettime.c (clock_gettime): Rename to
3299 __clock_gettime. Add weak_alias and libc_hidden_def.
3300 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3301 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3302 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3303 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3304 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3306 * rt/clock_settime.c (clock_settime): Rename to
3307 __clock_settime. Add weak_alias and libc_hidden_def.
3308 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3310 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3312 * mach/err_boot.sub: Remove trailing whitespace.
3313 * mach/err_ipc.sub: Likewise.
3314 * mach/err_mach.sub: Likewise.
3316 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3317 (ROUNDING_TESTS_double): Likewise.
3318 (ROUNDING_TESTS_long_double): Likewise.
3319 (ROUNDING_TESTS): Likewise.
3320 * math/libm-test.inc: Include <math-tests.h>.
3321 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3322 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3323 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3324 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3326 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3328 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3331 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3333 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3334 otherwise empty TRANS lines.
3335 * sysdeps/gnu/errlist.c: Regenerated.
3337 * catgets/gencat.c (error_print): Use (void) in function
3339 * crypt/crypt_util.c (__init_des): Likewise.
3340 * crypt/speeds.c (Stop): Likewise.
3342 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3343 * inet/ruserpass.c (token): Likewise.
3344 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3345 * intl/localealias.c (extend_alias_table): Likewise.
3346 * intl/plural-exp.c (init_germanic_plural): Likewise.
3347 * libio/fcloseall.c (__fcloseall): Likewise.
3348 * libio/genops.c (_IO_flush_all): Likewise.
3349 (_IO_flush_all_linebuffered): Likewise.
3350 (_IO_cleanup): Likewise.
3351 (_IO_iter_begin): Likewise.
3352 (_IO_iter_end): Likewise.
3353 (_IO_list_lock): Likewise.
3354 (_IO_list_unlock): Likewise.
3355 (_IO_list_resetlock): Likewise.
3356 * libio/getchar.c (getchar): Likewise.
3357 * libio/getchar_u.c (getchar_unlocked): Likewise.
3358 * libio/getwchar.c (getwchar): Likewise.
3359 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3360 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3361 * login/getpt.c (__getpt): Likewise.
3362 * login/tst-utmp.c (main): Likewise.
3363 * malloc/hooks.c (__malloc_check_init): Likewise.
3364 * malloc/malloc.c (__malloc_stats): Likewise.
3365 * malloc/mtrace.c (tr_break): Likewise.
3367 (muntrace): Likewise.
3368 * misc/fstab.c (endfsent): Likewise.
3369 * misc/getclktck.c (__getclktck): Likewise.
3370 * misc/getdtsz.c (__getdtablesize): Likewise.
3371 * misc/gethostid.c (gethostid): Likewise.
3372 * misc/getpagesize.c (__getpagesize): Likewise.
3373 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3374 (__get_nprocs): Likewise.
3375 (__get_phys_pages): Likewise.
3376 (__get_avphys_pages): Likewise.
3377 * misc/getttyent.c (getttyent): Likewise.
3378 (setttyent): Likewise.
3379 (endttyent): Likewise.
3380 * misc/getusershell.c (getusershell): Likewise.
3381 (endusershell): Likewise.
3382 (setusershell): Likewise.
3383 (initshells): Likewise.
3384 * misc/hsearch.c (__hdestroy): Likewise.
3385 * misc/sync.c (sync): Likewise.
3386 * misc/syslog.c (closelog_internal): Likewise.
3387 (closelog): Likewise.
3388 * misc/ttyslot.c (ttyslot): Likewise.
3389 * misc/vhangup.c (vhangup): Likewise.
3390 * posix/fork.c (__fork): Likewise.
3391 * posix/getegid.c (__getegid): Likewise.
3392 * posix/geteuid.c (__geteuid): Likewise.
3393 * posix/getgid.c (__getgid): Likewise.
3394 * posix/getpid.c (__getpid): Likewise.
3395 * posix/getppid.c (__getppid): Likewise.
3396 * posix/getuid.c (__getuid): Likewise.
3397 * posix/pause.c (pause): Likewise.
3398 * posix/setpgrp.c (setpgrp): Likewise.
3399 * posix/setsid.c (__setsid): Likewise.
3400 * posix/test-vfork.c (noop): Likewise.
3401 * resolv/gethnamaddr.c (_endhtent): Likewise.
3402 (_gethtent): Likewise.
3403 (ht_endhostent): Likewise.
3404 (gethostent): Likewise.
3405 (dns_service): Likewise.
3406 * stdlib/drand48.c (drand48): Likewise.
3407 * stdlib/lrand48.c (lrand48): Likewise.
3408 * stdlib/mrand48.c (mrand48): Likewise.
3409 * stdlib/rand.c (rand): Likewise.
3410 * stdlib/random.c (__random): Likewise.
3411 * stdlib/setenv.c (clearenv): Likewise.
3412 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3413 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3414 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3415 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3416 (__get_nprocs): Likewise.
3417 (__get_phys_pages): Likewise.
3418 (__get_avphys_pages): Likewise.
3419 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3420 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3421 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3422 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3423 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3424 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3425 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3426 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3427 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3428 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3429 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3430 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3431 * sysdeps/posix/clock.c (clock): Likewise.
3432 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3433 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3434 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3435 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3436 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3438 (__get_nprocs_conf): Likewise.
3439 (__get_phys_pages): Likewise.
3440 (__get_avphys_pages): Likewise.
3441 * time/clock.c (clock): Likewise.
3442 * time/tzset.c (__tzname_max): Likewise.
3444 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3446 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3447 (__bswap_32): Do not use "register".
3448 * crypt/crypt.c (_ufc_doit_r): Likewise.
3449 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3450 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3451 * gmon/gmon.c (__monstartup): Likewise.
3452 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3453 * hurd/hurdmalloc.c (more_memory): Likewise.
3456 (realloc): Likewise.
3457 (malloc_fork_prepare): Likewise.
3458 (malloc_fork_parent): Likewise.
3459 (malloc_fork_child): Likewise.
3460 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3461 (_svcauth_des): Likewise.
3462 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3463 * inet/inet_net.c (inet_network): Likewise.
3464 * inet/inet_netof.c (inet_netof): Likewise.
3465 * inet/rcmd.c (__validuser2_sa): Likewise.
3466 * io/fts.c (fts_open): Likewise.
3467 (fts_load): Likewise.
3468 (fts_close): Likewise.
3469 (fts_read): Likewise.
3470 (fts_children): Likewise.
3471 (fts_build): Likewise.
3472 (fts_stat): Likewise.
3473 (fts_sort): Likewise.
3474 (fts_alloc): Likewise.
3475 (fts_lfree): Likewise.
3476 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3477 (_IO_file_xsgetn): Likewise.
3478 (_IO_file_xsgetn_mmap): Likewise.
3479 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3480 (_IO_cookie_write): Likewise.
3481 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3482 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3483 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3484 * malloc/obstack.c (_obstack_begin): Likewise.
3485 (_obstack_begin_1): Likewise.
3486 (_obstack_newchunk): Likewise.
3487 (_obstack_allocated_p): Likewise.
3488 (obstack_free): Likewise.
3489 (_obstack_memory_used): Likewise.
3490 * misc/getttyent.c (getttynam): Likewise.
3491 (getttyent): Likewise.
3494 * misc/getusershell.c (initshells): Likewise.
3495 * misc/syslog.c (__vsyslog_chk): Likewise.
3496 * misc/ttyslot.c (ttyslot): Likewise.
3497 * nis/nis_hash.c (__nis_hash): Likewise.
3498 * posix/fnmatch_loop.c (FCT): Likewise.
3499 * posix/getconf.c (print_all): Likewise.
3501 * posix/getopt.c (exchange): Likewise.
3502 * posix/glob.c (globfree): Likewise.
3503 (prefix_array): Likewise.
3504 (__glob_pattern_type): Likewise.
3505 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3506 (NS_GET32): Likewise.
3507 (NS_PUT16): Likewise.
3508 (NS_PUT32): Likewise.
3509 * resolv/gethnamaddr.c (getanswer): Likewise.
3510 (gethostbyname2): Likewise.
3511 (gethostbyaddr): Likewise.
3512 (_gethtent): Likewise.
3513 (_gethtbyname2): Likewise.
3514 (_gethtbyaddr): Likewise.
3515 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3516 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3517 * resolv/res_init.c (__res_vinit): Likewise.
3518 (net_mask): Likewise.
3519 * resolv/res_mkquery.c (outchar): Likewise.
3521 * stdio-common/printf_fp.c (outchar): Likewise.
3523 * stdio-common/printf_fphex.c (outchar): Likewise.
3525 * stdio-common/printf_size.c (outchar): Likewise.
3527 * stdio-common/test_rdwr.c (main): Likewise.
3528 * stdio-common/tfformat.c (matches): Likewise.
3529 * stdio-common/vfprintf.c (outchar): Likewise.
3530 (printf_unknown): Likewise.
3531 (buffered_vfprintf): Likewise.
3532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3533 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3534 (ReadFile): Likewise.
3535 * stdlib/qsort.c (SWAP): Likewise.
3536 (_quicksort): Likewise.
3537 * stdlib/setenv.c (__add_to_environ): Likewise.
3538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3539 * stdlib/strtol_l.c (__strtol_l): Likewise.
3540 * stdlib/tst-strtod.c (main): Likewise.
3541 * stdlib/tst-strtol.c (main): Likewise.
3542 * stdlib/tst-strtoll.c (main): Likewise.
3543 * string/bits/string2.h (__strcmp_cc): Likewise.
3544 (__strcmp_cg): Likewise.
3545 (__strcspn_c1): Likewise.
3546 (__strcspn_c2): Likewise.
3547 (__strcspn_c3): Likewise.
3548 (__strspn_c1): Likewise.
3549 (__strspn_c2): Likewise.
3550 (__strspn_c3): Likewise.
3551 (__strsep_1c): Likewise.
3552 (__strsep_2c): Likewise.
3553 (__strsep_3c): Likewise.
3554 * string/memccpy.c (__memccpy): Likewise.
3555 * string/stpcpy.c (__stpcpy): Likewise.
3556 * string/strcmp.c (strcmp): Likewise.
3557 * string/strrchr.c (strrchr): Likewise.
3558 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3560 * sysdeps/mach/hurd/getcwd.c
3561 (_hurd_canonicalize_directory_name_internal): Likewise.
3562 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3563 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3564 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3565 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3566 Likewise, in both definitions.
3567 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3569 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3570 64] (__bswap_64): Likewise.
3571 * time/test_time.c (main): Likewise.
3572 * time/tzfile.c (__tzfile_read): Likewise.
3573 (__tzfile_compute): Likewise.
3574 * time/tzset.c (__tzset_parse_tz): Likewise.
3575 (tzset_internal): Likewise.
3576 (compute_change): Likewise.
3577 * wcsmbs/wcscat.c (__wcscat): Likewise.
3578 * wcsmbs/wcschr.c (wcschr): Likewise.
3579 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3580 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3581 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3582 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3583 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3584 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3585 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3586 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3587 * wcsmbs/wmemset.c (wmemset): Likewise.
3589 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3591 * scripts/config.guess: Update to version 2013-05-16.
3592 * scripts/config.sub: Update to version 2013-04-24.
3593 * scripts/install-sh: Update to version 2011-11-20.07.
3594 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3595 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3597 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3599 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3600 * elf/sln.c: Likewise.
3601 * hurd/hurd/ioctl.h: Likewise.
3602 * hurd/hurdmalloc.c: Likewise.
3603 * hurd/xattr.c: Likewise.
3604 * include/shlib-compat.h: Likewise.
3605 * inet/ruserpass.c: Likewise.
3606 * libio/iofgets_u.c: Likewise.
3607 * libio/iofgetws_u.c: Likewise.
3608 * locale/programs/ld-identification.c: Likewise.
3609 * locale/programs/ld-time.c: Likewise.
3610 * mach/msg-destroy.c: Likewise.
3611 * nss/nss_files/files-netgrp.c: Likewise.
3612 * resolv/res_data.c: Likewise.
3613 * soft-fp/op-1.h: Likewise.
3614 * soft-fp/op-2.h: Likewise.
3615 * soft-fp/op-4.h: Likewise.
3616 * soft-fp/op-common.h: Likewise.
3617 * stdio-common/printf_fphex.c: Likewise.
3618 * stdlib/strtod_l.c: Likewise.
3619 * sunrpc/rpc/clnt.h: Likewise.
3620 * sysdeps/generic/framestate.c: Likewise.
3621 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3622 * sysdeps/i386/bsd-setjmp.S: Likewise.
3623 * sysdeps/i386/__longjmp.S: Likewise.
3624 * sysdeps/i386/setjmp.S: Likewise.
3625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3643 * sysdeps/ieee754/support.c: Likewise.
3644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3645 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3646 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3647 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3648 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3649 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3650 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3651 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3652 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3653 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3654 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3655 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3657 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3658 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3659 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3660 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3663 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3665 * posix/transbug.c: Remove executable mode.
3667 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3669 * crypt/speeds.c: Remove trailing whitespace.
3670 * dlfcn/default.c: Likewise.
3671 * elf/ifuncdep2.c: Likewise.
3672 * elf/ifuncmain1.c: Likewise.
3673 * elf/ifuncmain1vis.c: Likewise.
3674 * elf/testobj.h: Likewise.
3675 * elf/tst-stackguard1.c: Likewise.
3676 * gmon/sys/gmon.h: Likewise.
3677 * hurd/hurdmsg.c: Likewise.
3678 * hurd/new-fd.c: Likewise.
3679 * hurd/ports-get.c: Likewise.
3680 * iconvdata/ibm1008_420.c: Likewise.
3681 * inet/tst-getni1.c: Likewise.
3682 * inet/tst-getni2.c: Likewise.
3683 * libio/ioungetc.c: Likewise.
3684 * libio/wfiledoalloc.c: Likewise.
3685 * manual/libm-err-tab.pl: Likewise.
3686 * math/w_dremf.c: Likewise.
3687 * misc/ftruncate.c: Likewise.
3688 * posix/bug-glob2.c: Likewise.
3689 * posix/tst-pcre.c: Likewise.
3690 * posix/wait4.c: Likewise.
3691 * resolv/README: Likewise.
3692 * resolv/res_debug.h: Likewise.
3693 * resolv/tst-inet_ntop.c: Likewise.
3694 * setjmp/bug269-setjmp.c: Likewise.
3695 * soft-fp/extended.h: Likewise.
3696 * soft-fp/op-1.h: Likewise.
3697 * soft-fp/op-2.h: Likewise.
3698 * soft-fp/op-4.h: Likewise.
3699 * soft-fp/op-8.h: Likewise.
3700 * soft-fp/testit.c: Likewise.
3701 * stdio-common/bug16.c: Likewise.
3702 * stdlib/random.c: Likewise.
3703 * sunrpc/rpcsvc/rquota.x: Likewise.
3704 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3705 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3707 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3708 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3713 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3733 * sysdeps/ieee754/s_lib_version.c: Likewise.
3734 * sysdeps/mach/hurd/check_fds.c: Likewise.
3735 * sysdeps/mach/hurd/getsockname.c: Likewise.
3736 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3737 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3738 * sysdeps/powerpc/bits/link.h: Likewise.
3739 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3740 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3741 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3742 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3743 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3744 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3745 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3747 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3748 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3749 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3750 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3751 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3752 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3754 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3760 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3773 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3774 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3775 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3780 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3781 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3782 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3783 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3784 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3785 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3791 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3793 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3794 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3795 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3797 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3799 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3800 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3801 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3802 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3803 * sysdeps/powerpc/sysdep.h: Likewise.
3804 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3805 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3806 * sysdeps/sh/dl-trampoline.S: Likewise.
3807 * sysdeps/sh/memset.S: Likewise.
3808 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3809 * sysdeps/sh/strlen.S: Likewise.
3810 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3811 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3812 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3813 * sysdeps/sparc/sparc32/rem.S: Likewise.
3814 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3815 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3816 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3817 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3818 * sysdeps/sparc/sparc32/urem.S: Likewise.
3819 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3820 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3821 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3822 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3824 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3825 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3826 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3827 * sysdeps/unix/bsd/times.c: Likewise.
3828 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3829 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3833 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3835 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3836 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3837 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3838 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3839 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3840 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3841 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3842 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3843 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3845 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3846 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3848 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3849 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3850 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3851 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3852 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3853 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3854 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3856 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3857 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3858 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3859 * sysdeps/x86_64/strcspn.S: Likewise.
3861 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3863 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3864 generated file. Regenerate properly from gen-translit.pl.
3865 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3866 locale/C-translit.h.
3868 2013-06-05 Andreas Schwab <schwab@suse.de>
3871 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3872 week as 6 instead of -1.
3873 * time/tst-strptime.c (day_tests): Add test case.
3875 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3877 * sysdeps/generic/math_private.h
3878 (libc_feholdexcept_setround_53bit): Replace with
3879 libc_feholdsetround_53bit.
3880 (libc_feupdateenv_53bit): Replace with
3881 libc_feresetround_53bit.
3882 (SET_RESTORE_ROUND_53BIT): Adjust.
3884 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3886 * string/test-strchrnul.c: Add copyright header.
3888 * posix/tst-getaddrinfo4.c: Increase test timeout.
3890 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3893 * math/libm-test.inc (MAX_EXP): Remove
3895 (ulp): Use MIN_EXP - MANT_DIG.
3896 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3898 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3900 * po/be.po: Revert last change.
3901 * po/zh_CN.po: Likewise.
3902 * po/header.pot: Likewise.
3904 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3906 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3907 link-libc-deps to empty as target-specific variable.
3908 * Makerules (link-libc-args): New variable.
3909 (libc-for-link): Likewise.
3910 (link-libc-deps): Likewise.
3911 (lib%.so): Depend on $(link-libc-deps). Link with
3913 (build-module): Link with $(link-libc-args).
3914 (build-module-asneeded): Likewise.
3915 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3917 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3918 target-specific variable.
3919 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3920 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3921 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3923 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3925 ($(objpfx)libpcprofile.so): Likewise.
3926 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3928 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3929 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3930 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3932 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3933 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3934 * login/Makefile ($(objpfx)libutil.so): Likewise.
3935 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3936 * math/Makefile ($(objpfx)libm.so): Likewise.
3937 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3938 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3939 variable instead of depending directly on libc.
3940 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3941 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3943 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3945 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3946 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3947 ($(objpfx)libanl.so): Likewise.
3948 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3950 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3952 * sysdeps/i386/fpu/Makefile: Remove file.
3953 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3954 ($(objpfx)libm.so): Remove dependency on ld.so.
3956 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3959 * nis/yp_xdr.c (XDRMAXNAME): Define.
3960 (XDRMAXRECORD): Define.
3961 (xdr_domainname): Use XDRMAXNAME.
3962 (xdr_mapname): Likewise.
3963 (xdr_peername): Likewise.
3964 (xdr_keydat): Use XDRMAXRECORD.
3965 (xdr_valdat): Likewise.
3967 2013-05-30 Jeff Law <law@redhat.com>
3970 * manual/errno.texi (ESTALE): Update to account for more than
3971 just NFS file systems.
3972 * sysdeps/gnu/errlist.c: Regenerated.
3974 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3977 * elf/Makefile (tests): Add tst-null-argv.
3978 (modules-names): Add tst-null-argv-lib.
3979 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3980 (tst-null-argv-ENV): Set environment for tst-null-argv.
3981 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3982 (RTLD_PROGNAME): New macro.
3983 * elf/tst-null-argv.c: New test case.
3984 * elf/tst-null-argv-lib.c: Library for test case.
3985 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3986 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3987 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3988 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3989 * elf/dl-init.c (call_init): Likewise.
3990 (_dl_init): Likewise.
3991 * elf/dl-load.c (print_search_path): Likewise.
3992 (_dl_map_object): Likewise.
3993 * elf/dl-lookup.c (do_lookup_x): Likewise.
3994 (add_dependency): Likewise.
3995 (_dl_lookup_symbol_x): Likewise.
3996 (_dl_debug_bindings): Likewise.
3997 * elf/dl-open.c (_dl_show_scope): Likewise.
3998 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3999 * elf/dl-version.c (match_symbol): Likewise.
4000 (_dl_check_map_versions): Likewise.
4001 * elf/rtld.c (dl_main): Likewise.
4002 (print_unresolved): Use RTLD_PROGNAME.
4003 (print_missing_version): Likewise.
4004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4005 (elf_machine_rela): Likewise.
4006 * sysdeps/powerpc/powerpc32/dl-machine.c
4007 (__process_machine_rela): Likewise.
4008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4021 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4023 * po/be.po: Add descriptive title.
4024 * po/zh_CN.po: Likewise.
4025 * po/header.pot: Likewise.
4027 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4029 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4031 (enlarge_archive): Likewise.
4033 2013-05-28 Ben North <ben@redfrontdoor.org>
4035 * manual/arith.texi (frexp): It is the magnitude of the return
4036 value which lies in [0.5, 1), not the return value itself.
4038 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4042 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4044 * stdio-common/bug26.c (main): Correct fscanf template.
4046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4047 declare _dl_skip_args.
4049 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4052 * manual/platform.texi: Add missing @end deftypefun.
4054 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4057 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4058 bit of mantissa of 2^16382.
4059 * math/libm-test.inc (hypot_test_data): Add more tests.
4061 * math/libm-test.inc: Add drem and pow10 to list of tested
4063 (pow10_test): New function.
4064 (drem_test): Likewise.
4065 (drem_test_tonearest): Likewise.
4066 (drem_test_towardzero): Likewise.
4067 (drem_test_downward): Likewise.
4068 (drem_test_upward): Likewise.
4069 (main): Call the new functions.
4071 * math/libm-test.inc (finite_test_data): Remove.
4072 (finite_test): Run tests from isfinite_test_data.
4073 (gamma_test_data): Remove.
4074 (gamma_test): Run tests from lgamma_test_data.
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4078 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080 * manual/platform.texi: Add PowerPC PPR function set documentation.
4081 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4084 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4086 * math/libm-test.inc (MAX_EXP): Define.
4088 (ulp): New function.
4089 (check_float_internal): Use ULPDIFF.
4090 (cpow_test): Disable failing test.
4091 (check_ulp): Test ulp() implemetnation.
4092 (main): Call check_ulp before starting tests.
4094 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4096 * math/gen-libm-test.pl (generate_testfile): Do not handle
4097 START_DATA and END_DATA.
4098 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4100 (acos_tonearest_test_data): Likewise.
4101 (acos_towardzero_test_data): Likewise.
4102 (acos_downward_test_data): Likewise.
4103 (acos_upward_test_data): Likewise.
4104 (acosh_test_data): Likewise.
4105 (asin_test_data): Likewise.
4106 (asin_tonearest_test_data): Likewise.
4107 (asin_towardzero_test_data): Likewise.
4108 (asin_downward_test_data): Likewise.
4109 (asin_upward_test_data): Likewise.
4110 (asinh_test_data): Likewise.
4111 (atan_test_data): Likewise.
4112 (atanh_test_data): Likewise.
4113 (atan2_test_data): Likewise.
4114 (cabs_test_data): Likewise.
4115 (cacos_test_data): Likewise.
4116 (cacosh_test_data): Likewise.
4117 (carg_test_data): Likewise.
4118 (casin_test_data): Likewise.
4119 (casinh_test_data): Likewise.
4120 (catan_test_data): Likewise.
4121 (catanh_test_data): Likewise.
4122 (cbrt_test_data): Likewise.
4123 (ccos_test_data): Likewise.
4124 (ccosh_test_data): Likewise.
4125 (ceil_test_data): Likewise.
4126 (cexp_test_data): Likewise.
4127 (cimag_test_data): Likewise.
4128 (clog_test_data): Likewise.
4129 (clog10_test_data): Likewise.
4130 (conj_test_data): Likewise.
4131 (copysign_test_data): Likewise.
4132 (cos_test_data): Likewise.
4133 (cos_tonearest_test_data): Likewise.
4134 (cos_towardzero_test_data): Likewise.
4135 (cos_downward_test_data): Likewise.
4136 (cos_upward_test_data): Likewise.
4137 (cosh_test_data): Likewise.
4138 (cosh_tonearest_test_data): Likewise.
4139 (cosh_towardzero_test_data): Likewise.
4140 (cosh_downward_test_data): Likewise.
4141 (cosh_upward_test_data): Likewise.
4142 (cpow_test_data): Likewise.
4143 (cproj_test_data): Likewise.
4144 (creal_test_data): Likewise.
4145 (csin_test_data): Likewise.
4146 (csinh_test_data): Likewise.
4147 (csqrt_test_data): Likewise.
4148 (ctan_test_data): Likewise.
4149 (ctan_tonearest_test_data): Likewise.
4150 (ctan_towardzero_test_data): Likewise.
4151 (ctan_downward_test_data): Likewise.
4152 (ctan_upward_test_data): Likewise.
4153 (ctanh_test_data): Likewise.
4154 (ctanh_tonearest_test_data): Likewise.
4155 (ctanh_towardzero_test_data): Likewise.
4156 (ctanh_downward_test_data): Likewise.
4157 (ctanh_upward_test_data): Likewise.
4158 (erf_test_data): Likewise.
4159 (erfc_test_data): Likewise.
4160 (exp_test_data): Likewise.
4161 (exp_tonearest_test_data): Likewise.
4162 (exp_towardzero_test_data): Likewise.
4163 (exp_downward_test_data): Likewise.
4164 (exp_upward_test_data): Likewise.
4165 (exp10_test_data): Likewise.
4166 (exp2_test_data): Likewise.
4167 (expm1_test_data): Likewise.
4168 (fabs_test_data): Likewise.
4169 (fdim_test_data): Likewise.
4170 (finite_test_data): Likewise.
4171 (floor_test_data): Likewise.
4172 (fma_test_data): Likewise.
4173 (fma_towardzero_test_data): Likewise.
4174 (fma_downward_test_data): Likewise.
4175 (fma_upward_test_data): Likewise.
4176 (fmax_test_data): Likewise.
4177 (fmin_test_data): Likewise.
4178 (fmod_test_data): Likewise.
4179 (fpclassify_test_data): Likewise.
4180 (frexp_test_data): Likewise.
4181 (gamma_test_data): Likewise.
4182 (hypot_test_data): Likewise.
4183 (ilogb_test_data): Likewise.
4184 (isfinite_test_data): Likewise.
4185 (isgreater_test_data): Likewise.
4186 (isgreaterequal_test_data): Likewise.
4187 (isinf_test_data): Likewise.
4188 (isless_test_data): Likewise.
4189 (islessequal_test_data): Likewise.
4190 (islessgreater_test_data): Likewise.
4191 (isnan_test_data): Likewise.
4192 (isnormal_test_data): Likewise.
4193 (issignaling_test_data): Likewise.
4194 (isunordered_test_data): Likewise.
4195 (j0_test_data): Likewise.
4196 (j1_test_data): Likewise.
4197 (jn_test_data): Likewise.
4198 (ldexp_test_data): Likewise.
4199 (lgamma_test_data): Likewise.
4200 (lrint_test_data): Likewise.
4201 (lrint_tonearest_test_data): Likewise.
4202 (lrint_towardzero_test_data): Likewise.
4203 (lrint_downward_test_data): Likewise.
4204 (lrint_upward_test_data): Likewise.
4205 (llrint_test_data): Likewise.
4206 (llrint_tonearest_test_data): Likewise.
4207 (llrint_towardzero_test_data): Likewise.
4208 (llrint_downward_test_data): Likewise.
4209 (llrint_upward_test_data): Likewise.
4210 (log_test_data): Likewise.
4211 (log10_test_data): Likewise.
4212 (log1p_test_data): Likewise.
4213 (log2_test_data): Likewise.
4214 (logb_test_data): Likewise.
4215 (logb_downward_test_data): Likewise.
4216 (lround_test_data): Likewise.
4217 (llround_test_data): Likewise.
4218 (modf_test_data): Likewise.
4219 (nearbyint_test_data): Likewise.
4220 (nextafter_test_data): Likewise.
4221 (nexttoward_test_data): Likewise.
4222 (pow_test_data): Likewise.
4223 (pow_tonearest_test_data): Likewise.
4224 (pow_towardzero_test_data): Likewise.
4225 (pow_downward_test_data): Likewise.
4226 (pow_upward_test_data): Likewise.
4227 (remainder_test_data): Likewise.
4228 (remainder_tonearest_test_data): Likewise.
4229 (remainder_towardzero_test_data): Likewise.
4230 (remainder_downward_test_data): Likewise.
4231 (remainder_upward_test_data): Likewise.
4232 (remquo_test_data): Likewise.
4233 (rint_test_data): Likewise.
4234 (rint_tonearest_test_data): Likewise.
4235 (rint_towardzero_test_data): Likewise.
4236 (rint_downward_test_data): Likewise.
4237 (rint_upward_test_data): Likewise.
4238 (round_test_data): Likewise.
4239 (scalb_test_data): Likewise.
4240 (scalbn_test_data): Likewise.
4241 (scalbln_test_data): Likewise.
4242 (signbit_test_data): Likewise.
4243 (sin_test_data): Likewise.
4244 (sin_tonearest_test_data): Likewise.
4245 (sin_towardzero_test_data): Likewise.
4246 (sin_downward_test_data): Likewise.
4247 (sin_upward_test_data): Likewise.
4248 (sincos_test_data): Likewise.
4249 (sinh_test_data): Likewise.
4250 (sinh_tonearest_test_data): Likewise.
4251 (sinh_towardzero_test_data): Likewise.
4252 (sinh_downward_test_data): Likewise.
4253 (sinh_upward_test_data): Likewise.
4254 (sqrt_test_data): Likewise.
4255 (tan_test_data): Likewise.
4256 (tan_tonearest_test_data): Likewise.
4257 (tan_towardzero_test_data): Likewise.
4258 (tan_downward_test_data): Likewise.
4259 (tan_upward_test_data): Likewise.
4260 (tanh_test_data): Likewise.
4261 (tgamma_test_data): Likewise.
4262 (trunc_test_data): Likewise.
4263 (y0_test_data): Likewise.
4264 (y1_test_data): Likewise.
4265 (yn_test_data): Likewise.
4266 (significand_test_data): Likewise.
4268 * math/gen-libm-test.pl (@functions): Remove variable.
4269 (generate_testfile): Don't handle START and END lines.
4270 * math/libm-test.inc (START): New macro.
4272 (END_COMPLEX): Likewise.
4273 (acos_test): Use END macro without arguments.
4274 (acos_test_tonearest): Likewise.
4275 (acos_test_towardzero): Likewise.
4276 (acos_test_downward): Likewise.
4277 (acos_test_upward): Likewise.
4278 (acosh_test): Likewise.
4279 (asin_test): Likewise.
4280 (asin_test_tonearest): Likewise.
4281 (asin_test_towardzero): Likewise.
4282 (asin_test_downward): Likewise.
4283 (asin_test_upward): Likewise.
4284 (asinh_test): Likewise.
4285 (atan_test): Likewise.
4286 (atanh_test): Likewise.
4287 (atan2_test): Likewise.
4288 (cabs_test): Likewise.
4289 (cacos_test): Use END_COMPLEX macro without arguments.
4290 (cacosh_test): Likewise.
4291 (carg_test): Use END macro without arguments.
4292 (casin_test): Use END_COMPLEX macro without arguments.
4293 (casinh_test): Likewise.
4294 (catan_test): Likewise.
4295 (catanh_test): Likewise.
4296 (cbrt_test): Use END macro without arguments.
4297 (ccos_test): Use END_COMPLEX macro without arguments.
4298 (ccosh_test): Likewise.
4299 (ceil_test): Use END macro without arguments.
4300 (cexp_test): Use END_COMPLEX macro without arguments.
4301 (cimag_test): Use END macro without arguments.
4302 (clog_test): Use END_COMPLEX macro without arguments.
4303 (clog10_test): Likewise.
4304 (conj_test): Likewise.
4305 (copysign_test): Use END macro without arguments.
4306 (cos_test): Likewise.
4307 (cos_test_tonearest): Likewise.
4308 (cos_test_towardzero): Likewise.
4309 (cos_test_downward): Likewise.
4310 (cos_test_upward): Likewise.
4311 (cosh_test): Likewise.
4312 (cosh_test_tonearest): Likewise.
4313 (cosh_test_towardzero): Likewise.
4314 (cosh_test_downward): Likewise.
4315 (cosh_test_upward): Likewise.
4316 (cpow_test): Use END_COMPLEX macro without arguments.
4317 (cproj_test): Likewise.
4318 (creal_test): Use END macro without arguments.
4319 (csin_test): Use END_COMPLEX macro without arguments.
4320 (csinh_test): Likewise.
4321 (csqrt_test): Likewise.
4322 (ctan_test): Likewise.
4323 (ctan_test_tonearest): Likewise.
4324 (ctan_test_towardzero): Likewise.
4325 (ctan_test_downward): Likewise.
4326 (ctan_test_upward): Likewise.
4327 (ctanh_test): Likewise.
4328 (ctanh_test_tonearest): Likewise.
4329 (ctanh_test_towardzero): Likewise.
4330 (ctanh_test_downward): Likewise.
4331 (ctanh_test_upward): Likewise.
4332 (erf_test): Use END macro without arguments.
4333 (erfc_test): Likewise.
4334 (exp_test): Likewise.
4335 (exp_test_tonearest): Likewise.
4336 (exp_test_towardzero): Likewise.
4337 (exp_test_downward): Likewise.
4338 (exp_test_upward): Likewise.
4339 (exp10_test): Likewise.
4340 (exp2_test): Likewise.
4341 (expm1_test): Likewise.
4342 (fabs_test): Likewise.
4343 (fdim_test): Likewise.
4344 (finite_test): Likewise.
4345 (floor_test): Likewise.
4346 (fma_test): Likewise.
4347 (fma_test_towardzero): Likewise.
4348 (fma_test_downward): Likewise.
4349 (fma_test_upward): Likewise.
4350 (fmax_test): Likewise.
4351 (fmin_test): Likewise.
4352 (fmod_test): Likewise.
4353 (fpclassify_test): Likewise.
4354 (frexp_test): Likewise.
4355 (gamma_test): Likewise.
4356 (hypot_test): Likewise.
4357 (ilogb_test): Likewise.
4358 (isfinite_test): Likewise.
4359 (isgreater_test): Likewise.
4360 (isgreaterequal_test): Likewise.
4361 (isinf_test): Likewise.
4362 (isless_test): Likewise.
4363 (islessequal_test): Likewise.
4364 (islessgreater_test): Likewise.
4365 (isnan_test): Likewise.
4366 (isnormal_test): Likewise.
4367 (issignaling_test): Likewise.
4368 (isunordered_test): Likewise.
4369 (j0_test): Likewise.
4370 (j1_test): Likewise.
4371 (jn_test): Likewise.
4372 (ldexp_test): Likewise.
4373 (lgamma_test): Likewise.
4374 (lrint_test): Likewise.
4375 (lrint_test_tonearest): Likewise.
4376 (lrint_test_towardzero): Likewise.
4377 (lrint_test_downward): Likewise.
4378 (lrint_test_upward): Likewise.
4379 (llrint_test): Likewise.
4380 (llrint_test_tonearest): Likewise.
4381 (llrint_test_towardzero): Likewise.
4382 (llrint_test_downward): Likewise.
4383 (llrint_test_upward): Likewise.
4384 (log_test): Likewise.
4385 (log10_test): Likewise.
4386 (log1p_test): Likewise.
4387 (log2_test): Likewise.
4388 (logb_test): Likewise.
4389 (logb_test_downward): Likewise.
4390 (lround_test): Likewise.
4391 (llround_test): Likewise.
4392 (modf_test): Likewise.
4393 (nearbyint_test): Likewise.
4394 (nextafter_test): Likewise.
4395 (nexttoward_test): Likewise.
4396 (pow_test): Likewise.
4397 (pow_test_tonearest): Likewise.
4398 (pow_test_towardzero): Likewise.
4399 (pow_test_downward): Likewise.
4400 (pow_test_upward): Likewise.
4401 (remainder_test): Likewise.
4402 (remainder_test_tonearest): Likewise.
4403 (remainder_test_towardzero): Likewise.
4404 (remainder_test_downward): Likewise.
4405 (remainder_test_upward): Likewise.
4406 (remquo_test): Likewise.
4407 (rint_test): Likewise.
4408 (rint_test_tonearest): Likewise.
4409 (rint_test_towardzero): Likewise.
4410 (rint_test_downward): Likewise.
4411 (rint_test_upward): Likewise.
4412 (round_test): Likewise.
4413 (scalb_test): Likewise.
4414 (scalbn_test): Likewise.
4415 (scalbln_test): Likewise.
4416 (signbit_test): Likewise.
4417 (sin_test): Likewise.
4418 (sin_test_tonearest): Likewise.
4419 (sin_test_towardzero): Likewise.
4420 (sin_test_downward): Likewise.
4421 (sin_test_upward): Likewise.
4422 (sincos_test): Likewise.
4423 (sinh_test): Likewise.
4424 (sinh_test_tonearest): Likewise.
4425 (sinh_test_towardzero): Likewise.
4426 (sinh_test_downward): Likewise.
4427 (sinh_test_upward): Likewise.
4428 (sqrt_test): Likewise.
4429 (tan_test): Likewise.
4430 (tan_test_tonearest): Likewise.
4431 (tan_test_towardzero): Likewise.
4432 (tan_test_downward): Likewise.
4433 (tan_test_upward): Likewise.
4434 (tanh_test): Likewise.
4435 (tgamma_test): Likewise.
4436 (trunc_test): Likewise.
4437 (y0_test): Likewise.
4438 (y1_test): Likewise.
4439 (yn_test): Likewise.
4440 (significand_test): Likewise.
4442 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4445 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4447 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4450 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4451 __ppc_mdoio and __ppc_mdoom.
4452 * manual/platform.texi: Document new functions __ppc_yield,
4453 __ppc_mdoio and __ppc_mdoom.
4455 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4457 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4458 (main): Mention "tls" pseudo-hwcap is legacy.
4459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4461 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4463 * math/gen-libm-test.pl (parse_args): Output only string of
4464 arguments as text for test name, not full call or descriptions of
4465 tests for extra outputs.
4466 (generate_testfile): Do not pass function name to parse_args.
4467 Generate this_func variable from START.
4468 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4470 (struct test_ff_f_data): Likewise.
4471 (test_ff_f_data_nexttoward): Likewise.
4472 (struct test_fi_f_data): Likewise.
4473 (struct test_fl_f_data): Likewise.
4474 (struct test_if_f_data): Likewise.
4475 (struct test_fff_f_data): Likewise.
4476 (struct test_c_f_data): Likewise.
4477 (struct test_f_f1_data): Likewise. Remove field extra_name.
4478 (struct test_fF_f1_data): Likewise.
4479 (struct test_ffI_f1_data): Likewise.
4480 (struct test_c_c_data): Rename test_name field to arg_str.
4481 (struct test_cc_c_data): Likewise.
4482 (struct test_f_i_data): Likewise.
4483 (struct test_ff_i_data): Likewise.
4484 (struct test_f_l_data): Likewise.
4485 (struct test_f_L_data): Likewise.
4486 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4488 (COMMON_TEST_SETUP): New macro.
4489 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4490 (COMMON_TEST_CLEANUP): Likewise.
4491 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4492 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4494 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4495 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4497 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4498 (RUN_TEST_fff_f): Take argument string. Call new setup and
4500 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4501 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4503 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4504 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4506 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4507 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4509 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4510 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4512 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4513 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4515 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4516 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4518 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4519 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4521 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4522 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4524 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4525 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4527 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4528 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4530 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4531 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4533 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4534 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4536 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4537 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4539 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4540 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4542 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4543 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4545 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4547 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4550 to _sifields.sigfault.
4551 (si_addr_lsb): Define new macro.
4552 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4556 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4559 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4561 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4563 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4566 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4568 * math/gen-libm-test.pl (parse_args): Do not include expected
4569 result in test name.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4572 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4573 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4577 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4579 * benchtests/Makefile: Sort function entries.
4581 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4582 tanh, asinh, acosh, atanh.
4583 * benchtests/acos-inputs: New file.
4584 * benchtests/acosh-inputs: New file.
4585 * benchtests/asin-inputs: New file.
4586 * benchtests/asinh-inputs: New file.
4587 * benchtests/atanh-inputs: New file.
4588 * benchtests/cosh-inputs: New file.
4589 * benchtests/log-inputs: New file.
4590 * benchtests/sinh-inputs: New file.
4591 * benchtests/tanh-inputs: New file.
4593 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4596 * posix/tst-getaddrinfo4.c: New test.
4597 * posix/Makefile (tests): Add it.
4599 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4602 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4603 when no services were used.
4604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4605 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4607 2013-05-21 Andreas Schwab <schwab@suse.de>
4610 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4611 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4613 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4614 redundant variable declarations and reallocation of buffer when
4615 parsing as IPv6 address. Always set NSS status when called from
4616 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4617 buffer too small. Correct computation of needed size.
4618 * nss/Makefile (tests): Add test-digits-dots.
4619 * nss/test-digits-dots.c: New test.
4621 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4623 * benchtests/Makefile: Remove instructions for adding
4625 * benchtests/README: New file to explain how to execute and
4626 enhance the benchmark tests.
4628 2013-05-21 Andreas Schwab <schwab@suse.de>
4631 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4632 * setjmp/tst-sigsetjmp.c: New test.
4634 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4636 * sysdeps/x86_64/memset.S (memset): New implementation.
4637 (__bzero): Likewise.
4638 (__memset_tail): New function.
4640 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4642 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4643 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4644 __memcpy_sse2_unaligned ifunc selection.
4645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4646 Add memcpy-sse2-unaligned.S.
4647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4648 Add: __memcpy_sse2_unaligned.
4650 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4653 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4654 math_force_eval before restoring floating-point envrionment.
4655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4658 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4660 (__nearbyintl): Use math_force_eval before restoring
4661 floating-point environment.
4662 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4664 * math/gen-libm-test.pl (special_functions): Remove.
4665 (parse_args): Don't handle TEST_extra. Handle functions with no
4667 * math/libm-test.inc (struct test_sincos_data): Replace with
4668 struct test_fFF_11_data.
4669 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4670 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4671 (sincos_test_data): Change element type to struct
4672 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4673 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4674 RUN_TEST_LOOP_sincos.
4675 * math/README.libm-test: Don't mention special handling of
4676 individual functions.
4677 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4679 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4680 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4681 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4684 * math/gen-libm-test.pl (get_variable): Remove function.
4685 (parse_args): Don't show pointer parameters to call in test
4686 names. Use "extra output N" in test names for extra outputs
4687 rather than naming variables.
4689 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4692 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4693 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4694 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4696 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4698 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4701 * math/gen-libm-test.pl (@tests): Remove variable.
4703 (new_test): Remove function.
4704 (show_exceptions): New function.
4705 (special_functions): Use show_exceptions instead of new_test.
4706 (parse_args): Likewise.
4707 (generate_testfile): Pass only function name in generated call to
4708 print_max_error or print_complex_max_error.
4709 (get_ulps): Do not handle complex tests specially.
4710 (output_test): Rename to ...
4711 (get_all_ulps_for_test): ... this. Return a string rather than
4712 printing to a file. Require ulps to be present.
4713 (output_ulps): Generate arrays rather than #defines.
4714 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4715 (struct ulp_data): New type.
4716 (BUILD_COMPLEX_ULP): Remove macro.
4717 (compare_ulp_data): New function.
4718 (find_ulps): Likewise.
4719 (find_test_ulps): Likewise.
4720 (find_function_ulps): Likewise.
4721 (find_complex_function_ulps): Likewise.
4722 (print_max_error): Determine allowed ulps using
4724 (print_complex_max_error): Determine allowed ulps using
4725 find_complex_function_ulps.
4726 (check_float_internal): Determine max ulps using find_test_ulps.
4727 (check_float): Do not take max_ulp parameter. Update call to
4728 check_float_internal.
4729 (check_complex): Likewise.
4730 (check_int): Do not take max_ulp parameter.
4731 (check_long): Likewise.
4732 (check_bool): Likewise.
4733 (check_longlong): Likewise.
4734 (struct test_f_f_data): Remove max_ulp field.
4735 (struct test_ff_f_data): Likewise.
4736 (struct test_ff_f_data_nexttoward): Likewise.
4737 (struct test_fi_f_data): Likewise.
4738 (struct test_fl_f_data): Likewise.
4739 (struct test_if_f_data): Likewise.
4740 (struct test_fff_f_data): Likewise.
4741 (struct test_c_f_data): Likewise.
4742 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4743 (struct test_fF_f1_data): Likewise.
4744 (struct test_ffI_f1_data): Likewise.
4745 (struct test_c_c_data): Remove max_ulp field.
4746 (struct test_cc_c_data): Likewise.
4747 (struct test_f_i_data): Likewise.
4748 (struct test_ff_i_data): Likewise.
4749 (struct test_f_l_data): Likewise.
4750 (struct test_f_L_data): Likewise.
4751 (struct test_sincos_data): Likewise.
4752 (RUN_TEST_f_f): Do not handle ulps.
4753 (RUN_TEST_LOOP_f_f): Likewise.
4754 (RUN_TEST_2_f): Likewise.
4755 (RUN_TEST_LOOP_2_f): Likewise.
4756 (RUN_TEST_fff_f): Likewise.
4757 (RUN_TEST_LOOP_fff_f): Likewise.
4758 (RUN_TEST_c_f): Likewise.
4759 (RUN_TEST_LOOP_c_f): Likewise.
4760 (RUN_TEST_f_f1): Likewise.
4761 (RUN_TEST_LOOP_f_f1): Likewise.
4762 (RUN_TEST_fF_f1): Likewise.
4763 (RUN_TEST_LOOP_fF_f1): Likewise.
4764 (RUN_TEST_fI_f1): Likewise.
4765 (RUN_TEST_LOOP_fI_f1): Likewise.
4766 (RUN_TEST_ffI_f1): Likewise.
4767 (RUN_TEST_LOOP_ffI_f1): Likewise.
4768 (RUN_TEST_c_c): Likewise.
4769 (RUN_TEST_LOOP_c_c): Likewise.
4770 (RUN_TEST_cc_c): Likewise.
4771 (RUN_TEST_LOOP_cc_c): Likewise.
4772 (RUN_TEST_f_i): Likewise.
4773 (RUN_TEST_LOOP_f_i): Likewise.
4774 (RUN_TEST_f_i_tg): Likewise.
4775 (RUN_TEST_LOOP_f_i_tg): Likewise.
4776 (RUN_TEST_ff_i_tg): Likewise.
4777 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4778 (RUN_TEST_f_b): Likewise.
4779 (RUN_TEST_LOOP_f_b): Likewise.
4780 (RUN_TEST_f_b_tg): Likewise.
4781 (RUN_TEST_LOOP_f_b_tg): Likewise.
4782 (RUN_TEST_f_l): Likewise.
4783 (RUN_TEST_LOOP_f_l): Likewise.
4784 (RUN_TEST_f_L): Likewise.
4785 (RUN_TEST_LOOP_f_L): Likewise.
4786 (RUN_TEST_sincos): Likewise.
4787 (RUN_TEST_LOOP_sincos): Likewise.
4789 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4793 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4794 main case of finite arguments, set rounding mode to FE_TONEAREST
4795 and discard exceptions.
4796 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4798 (remainder_tonearest_test_data): New variable.
4799 (remainder_test_tonearest): New function.
4800 (remainder_towardzero_test_data): New variable.
4801 (remainder_test_towardzero): New function.
4802 (remainder_downward_test_data): New variable.
4803 (remainder_test_downward): New function.
4804 (remainder_upward_test_data): New variable.
4805 (remainder_test_upward): New function.
4806 (main): Call the new test functions.
4808 * math/libm-test.inc (struct test_f_f1_data): Remove field
4810 (struct test_fF_f1_data): Likewise.
4811 (struct test_ffI_f1_data): Likewise.
4812 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4813 based on value of EXTRA_EXPECTED.
4814 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4815 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4816 EXTRA_VAR based on value of EXTRA_EXPECTED.
4817 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4818 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4819 EXTRA_VAR based on value of EXTRA_EXPECTED.
4820 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4821 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4822 EXTRA_VAR based on value of EXTRA_EXPECTED.
4823 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4824 * math/gen-libm-test.pl (parse_args): Don't output initializers
4825 for extra output values.
4827 * math/libm-test.inc (check_int): Expect result to be exactly
4828 equal to expected value and do not handle ulps.
4829 (check_long): Likewise.
4830 (check_longlong): Likewise.
4832 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4834 (cimag_test_data): Likewise.
4835 (conj_test_data): Likewise.
4836 (copysign_test_data): Likewise.
4837 (cproj_test_data): Likewise.
4838 (creal_test_data): Likewise.
4839 (fabs_test_data): Likewise.
4840 (fdim_test_data): Likewise.
4841 (finite_test_data): Likewise.
4842 (floor_test_data): Likewise.
4843 (fmax_test_data): Likewise.
4844 (fmin_test_data): Likewise.
4845 (fmod_test_data): Likewise.
4846 (fpclassify_test_data): Likewise.
4847 (frexp_test_data): Likewise.
4848 (ilogb_test_data): Likewise.
4849 (isfinite_test_data): Likewise.
4850 (isgreater_test_data): Likewise.
4851 (isgreaterequal_test_data): Likewise.
4852 (isinf_test_data): Likewise.
4853 (isless_test_data): Likewise.
4854 (islessequal_test_data): Likewise.
4855 (islessgreater_test_data): Likewise.
4856 (isnan_test_data): Likewise.
4857 (isnormal_test_data): Likewise.
4858 (issignaling_test_data): Likewise.
4859 (isunordered_test_data): Likewise.
4860 (ldexp_test_data): Likewise.
4861 (lrint_test_data): Likewise.
4862 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4863 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4864 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4865 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4866 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4867 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4869 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4870 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4871 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4872 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4874 (lrint_downward_test_data): Test for "inexact" exceptions.
4875 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4876 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4877 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4879 (lrint_upward_test_data): Test for "inexact" exceptions.
4880 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4882 (llrint_test_data): Test for "inexact" exceptions.
4883 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4884 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4885 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4886 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4887 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4888 (llrint_downward_test_data): Test for "inexact" exceptions.
4889 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4890 (llrint_upward_test_data): Test for "inexact" exceptions.
4891 (logb_test_data): Likewise.
4892 (logb_downward_test_data): Likewise.
4893 (nextafter_test_data): Likewise.
4894 (nexttoward_test_data): Likewise.
4895 (remainder_test_data): Likewise.
4896 (remquo_test_data): Likewise.
4897 (scalbn_test_data): Likewise.
4898 (scalbln_test_data): Likewise.
4899 (signbit_test_data): Likewise.
4900 (sqrt_test_data): Likewise.
4901 (significand_test_data): Likewise.
4903 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4906 * benchtests/bench-modf.c (struct args): Mark arg0 as
4908 * scripts/bench.pl: Mark members of struct args as volatile.
4910 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4913 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4914 negative infinity on POWER6 or lower.
4915 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4917 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4920 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4921 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4922 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4923 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4924 (_FP_SETQNAN): New macro.
4925 (_FP_SETQNAN_SEMIRAW): Likewise.
4926 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4927 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4928 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4929 (FP_EXTEND): Use _FP_FRAC_SNANP.
4930 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4931 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4933 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4935 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4938 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4940 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4941 with DIVIDE_BY_ZERO_EXCEPTION.
4942 (gamma_test_data): Likewise.
4943 (lgamma_test_data): Likewise.
4944 (log_test_data): Likewise.
4945 (log10_test_data): Likewise.
4946 (log2_test_data): Likewise.
4947 (tgamma_test_data): Likewise.
4949 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4950 (acos_test_tonearest): Likewise.
4951 (acos_test_towardzero): Likewise.
4952 (acos_test_downward): Likewise.
4953 (acos_test_upward): Likewise.
4954 (acosh_test): Likewise.
4955 (asin_test): Likewise.
4956 (asin_test_tonearest): Likewise.
4957 (asin_test_towardzero): Likewise.
4958 (asin_test_downward): Likewise.
4959 (asin_test_upward): Likewise.
4960 (asinh_test): Likewise.
4961 (atan_test): Likewise.
4962 (atanh_test): Likewise.
4963 (atan2_test): Likewise.
4964 (cabs_test): Likewise.
4965 (cacos_test): Likewise.
4966 (cacosh_test): Likewise.
4967 (casin_test): Likewise.
4968 (casinh_test): Likewise.
4969 (catan_test): Likewise.
4970 (catanh_test): Likewise.
4971 (cbrt_test): Likewise.
4972 (ccos_test): Likewise.
4973 (ccosh_test): Likewise.
4974 (cexp_test): Likewise.
4975 (clog_test): Likewise.
4976 (clog10_test): Likewise.
4977 (cos_test): Likewise.
4978 (cos_test_tonearest): Likewise.
4979 (cos_test_towardzero): Likewise.
4980 (cos_test_downward): Likewise.
4981 (cos_test_upward): Likewise.
4982 (cosh_test): Likewise.
4983 (cosh_test_tonearest): Likewise.
4984 (cosh_test_towardzero): Likewise.
4985 (cosh_test_downward): Likewise.
4986 (cosh_test_upward): Likewise.
4987 (cpow_test): Likewise.
4988 (csin_test): Likewise.
4989 (csinh_test): Likewise.
4990 (csqrt_test): Likewise.
4991 (ctan_test): Likewise.
4992 (ctan_test_tonearest): Likewise.
4993 (ctan_test_towardzero): Likewise.
4994 (ctan_test_downward): Likewise.
4995 (ctan_test_upward): Likewise.
4996 (ctanh_test): Likewise.
4997 (ctanh_test_tonearest): Likewise.
4998 (ctanh_test_towardzero): Likewise.
4999 (ctanh_test_downward): Likewise.
5000 (ctanh_test_upward): Likewise.
5001 (erf_test): Likewise.
5002 (erfc_test): Likewise.
5003 (exp_test): Likewise.
5004 (exp_test_tonearest): Likewise.
5005 (exp_test_towardzero): Likewise.
5006 (exp_test_downward): Likewise.
5007 (exp_test_upward): Likewise.
5008 (exp10_test): Likewise.
5009 (exp2_test): Likewise.
5010 (expm1_test): Likewise.
5011 (fmod_test): Likewise.
5012 (gamma_test): Likewise.
5013 (hypot_test): Likewise.
5014 (j0_test): Likewise.
5015 (j1_test): Likewise.
5016 (jn_test): Likewise.
5017 (lgamma_test): Likewise.
5018 (log_test): Likewise.
5019 (log10_test): Likewise.
5020 (log1p_test): Likewise.
5021 (log2_test): Likewise.
5022 (logb_test_downward): Likewise.
5023 (pow_test): Likewise.
5024 (pow_test_tonearest): Likewise.
5025 (pow_test_towardzero): Likewise.
5026 (pow_test_downward): Likewise.
5027 (pow_test_upward): Likewise.
5028 (remainder_test): Likewise.
5029 (remquo_test): Likewise.
5030 (sin_test): Likewise.
5031 (sin_test_tonearest): Likewise.
5032 (sin_test_towardzero): Likewise.
5033 (sin_test_downward): Likewise.
5034 (sin_test_upward): Likewise.
5035 (sincos_test): Likewise.
5036 (sinh_test): Likewise.
5037 (sinh_test_tonearest): Likewise.
5038 (sinh_test_towardzero): Likewise.
5039 (sinh_test_downward): Likewise.
5040 (sinh_test_upward): Likewise.
5041 (sqrt_test): Likewise.
5042 (tan_test): Likewise.
5043 (tan_test_tonearest): Likewise.
5044 (tan_test_towardzero): Likewise.
5045 (tan_test_downward): Likewise.
5046 (tan_test_upward): Likewise.
5047 (tanh_test): Likewise.
5048 (tgamma_test): Likewise.
5049 (y0_test): Likewise.
5050 (y1_test): Likewise.
5051 (yn_test): Likewise.
5053 * math/gen-libm-test.pl (adjust_arg): Remove function.
5054 (special_function): Remove argument $in_func. Only handle
5055 generating output for tables of tests, not inside functions.
5056 (parse_args): Likewise.
5057 (generate_testfile): Remove variable $in_func. Update call to
5059 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5060 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5061 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5062 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5063 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5064 (MAX_VALUE_INIT): Rename macro to max_value.
5065 (MIN_VALUE_INIT): Rename macro to min_value.
5066 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5067 (plus_zero): Remove variable.
5068 (minus_zero): Likewise.
5069 (plus_infty): Likewise.
5070 (minus_infty): Likewise.
5071 (qnan_value): Likewise.
5072 (max_value): Likewise.
5073 (min_value): Likewise.
5074 (min_subnorm_value): Likewise.
5076 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5078 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5079 uint64_t or uint32_t usage.
5080 * crypt/sha256-block.c: Likewise.
5081 * crypt/sha256-crypt.c: Likewise.
5082 * crypt/sha256.c: Likewise.
5083 * crypt/sha512-block.c: Likewise.
5084 * crypt/sha512-crypt.c: Likewise.
5085 * crypt/sha512.c: Likewise.
5086 * debug/backtrace-tst.c: Likewise.
5087 * debug/pcprofiledump.c: Likewise.
5088 * elf/cache.c: Likewise.
5089 * elf/dl-cache.c: Likewise.
5090 * elf/dl-misc.c: Likewise.
5091 * elf/dl-profile.c: Likewise.
5092 * elf/dl-support.c: Likewise.
5093 * elf/ldconfig.c: Likewise.
5094 * elf/sprof.c: Likewise.
5095 * iconv/dummy-repertoire.c: Likewise.
5096 * iconv/iconv_charmap.c: Likewise.
5097 * iconv/skeleton.c: Likewise.
5098 * iconvdata/8bit-generic.c: Likewise.
5099 * iconvdata/cp737.h: Likewise.
5100 * iconvdata/cp775.h: Likewise.
5101 * iconvdata/ibm1008.h: Likewise.
5102 * iconvdata/ibm1025.h: Likewise.
5103 * iconvdata/ibm1046.h: Likewise.
5104 * iconvdata/ibm1097.h: Likewise.
5105 * iconvdata/ibm1112.h: Likewise.
5106 * iconvdata/ibm1122.h: Likewise.
5107 * iconvdata/ibm1123.h: Likewise.
5108 * iconvdata/ibm1124.h: Likewise.
5109 * iconvdata/ibm1129.h: Likewise.
5110 * iconvdata/ibm1130.h: Likewise.
5111 * iconvdata/ibm1132.h: Likewise.
5112 * iconvdata/ibm1133.h: Likewise.
5113 * iconvdata/ibm1137.h: Likewise.
5114 * iconvdata/ibm1140.h: Likewise.
5115 * iconvdata/ibm1141.h: Likewise.
5116 * iconvdata/ibm1142.h: Likewise.
5117 * iconvdata/ibm1143.h: Likewise.
5118 * iconvdata/ibm1144.h: Likewise.
5119 * iconvdata/ibm1145.h: Likewise.
5120 * iconvdata/ibm1146.h: Likewise.
5121 * iconvdata/ibm1147.h: Likewise.
5122 * iconvdata/ibm1148.h: Likewise.
5123 * iconvdata/ibm1149.h: Likewise.
5124 * iconvdata/ibm1153.h: Likewise.
5125 * iconvdata/ibm1154.h: Likewise.
5126 * iconvdata/ibm1155.h: Likewise.
5127 * iconvdata/ibm1156.h: Likewise.
5128 * iconvdata/ibm1157.h: Likewise.
5129 * iconvdata/ibm1158.h: Likewise.
5130 * iconvdata/ibm1160.h: Likewise.
5131 * iconvdata/ibm1161.h: Likewise.
5132 * iconvdata/ibm1162.h: Likewise.
5133 * iconvdata/ibm1163.h: Likewise.
5134 * iconvdata/ibm1164.h: Likewise.
5135 * iconvdata/ibm1166.h: Likewise.
5136 * iconvdata/ibm1167.h: Likewise.
5137 * iconvdata/ibm12712.h: Likewise.
5138 * iconvdata/ibm1390.h: Likewise.
5139 * iconvdata/ibm1399.h: Likewise.
5140 * iconvdata/ibm16804.h: Likewise.
5141 * iconvdata/ibm4517.h: Likewise.
5142 * iconvdata/ibm4899.h: Likewise.
5143 * iconvdata/ibm4909.h: Likewise.
5144 * iconvdata/ibm4971.h: Likewise.
5145 * iconvdata/ibm5347.h: Likewise.
5146 * iconvdata/ibm803.h: Likewise.
5147 * iconvdata/ibm856.h: Likewise.
5148 * iconvdata/ibm901.h: Likewise.
5149 * iconvdata/ibm902.h: Likewise.
5150 * iconvdata/ibm9030.h: Likewise.
5151 * iconvdata/ibm9066.h: Likewise.
5152 * iconvdata/ibm921.h: Likewise.
5153 * iconvdata/ibm922.h: Likewise.
5154 * iconvdata/ibm9448.h: Likewise.
5155 * iconvdata/isiri-3342.h: Likewise.
5156 * iconvdata/jis0201.h: Likewise.
5157 * include/link.h: Likewise.
5158 * include/netdb.h: Likewise.
5159 * inet/check_native.c: Likewise.
5160 * inet/check_pf.c: Likewise.
5161 * inet/getipv4sourcefilter.c: Likewise.
5162 * inet/getnameinfo.c: Likewise.
5163 * inet/getsourcefilter.c: Likewise.
5164 * inet/htonl.c: Likewise.
5165 * inet/setipv4sourcefilter.c: Likewise.
5166 * inet/setsourcefilter.c: Likewise.
5167 * inet/test-inet6_opt.c: Likewise.
5168 * inet/tst-network.c: Likewise.
5169 * locale/C-collate.c: Likewise.
5170 * locale/C-ctype.c: Likewise.
5171 * locale/C-time.c: Likewise.
5172 * locale/C-translit.h: Likewise.
5173 * locale/loadarchive.c: Likewise.
5174 * locale/programs/3level.h: Likewise.
5175 * locale/programs/charmap.c: Likewise.
5176 * locale/programs/charmap.h: Likewise.
5177 * locale/programs/ld-address.c: Likewise.
5178 * locale/programs/ld-collate.c: Likewise.
5179 * locale/programs/ld-ctype.c: Likewise.
5180 * locale/programs/ld-identification.c: Likewise.
5181 * locale/programs/ld-measurement.c: Likewise.
5182 * locale/programs/ld-messages.c: Likewise.
5183 * locale/programs/ld-monetary.c: Likewise.
5184 * locale/programs/ld-name.c: Likewise.
5185 * locale/programs/ld-numeric.c: Likewise.
5186 * locale/programs/ld-paper.c: Likewise.
5187 * locale/programs/ld-telephone.c: Likewise.
5188 * locale/programs/ld-time.c: Likewise.
5189 * locale/programs/linereader.c: Likewise.
5190 * locale/programs/locale.c: Likewise.
5191 * locale/programs/locarchive.c: Likewise.
5192 * locale/programs/locfile.h: Likewise.
5193 * locale/programs/repertoire.c: Likewise.
5194 * locale/programs/simple-hash.c: Likewise.
5195 * locale/programs/simple-hash.h: Likewise.
5196 * malloc/memusage.c: Likewise.
5197 * malloc/memusagestat.c: Likewise.
5198 * nis/nis_defaults.c: Likewise.
5199 * nis/nis_hash.c: Likewise.
5200 * nis/nis_print.c: Likewise.
5201 * nis/nis_xdr.c: Likewise.
5202 * nscd/connections.c: Likewise.
5203 * nscd/hstcache.c: Likewise.
5204 * nscd/nscd_gethst_r.c: Likewise.
5205 * nscd/nscd_getserv_r.c: Likewise.
5206 * nscd/nscd_helper.c: Likewise.
5207 * nscd/servicescache.c: Likewise.
5208 * nss/makedb.c: Likewise.
5209 * nss/nss_db/db-XXX.c: Likewise.
5210 * nss/nss_db/db-initgroups.c: Likewise.
5211 * nss/nss_db/db-netgrp.c: Likewise.
5212 * nss/nss_files/files-network.c: Likewise.
5213 * nss/nss_files/files-parse.c: Likewise.
5214 * posix/bug-regex5.c: Likewise.
5215 * posix/fnmatch_loop.c: Likewise.
5216 * posix/regcomp.c: Likewise.
5217 * posix/regexec.c: Likewise.
5218 * posix/tst-rfc3484-2.c: Likewise.
5219 * posix/tst-rfc3484-3.c: Likewise.
5220 * posix/tst-rfc3484.c: Likewise.
5221 * resolv/nss_dns/dns-canon.c: Likewise.
5222 * resolv/nss_dns/dns-network.c: Likewise.
5223 * resolv/res_init.c: Likewise.
5224 * resolv/res_mkquery.c: Likewise.
5225 * resolv/tst-aton.c: Likewise.
5226 * stdlib/cxa_atexit.c: Likewise.
5227 * stdlib/cxa_finalize.c: Likewise.
5228 * stdlib/gen-fpioconst.c: Likewise.
5229 * stdlib/strtol_l.c: Likewise.
5230 * string/tst-endian.c: Likewise.
5231 * sunrpc/auth_des.c: Likewise.
5232 * sunrpc/clnt_udp.c: Likewise.
5233 * sunrpc/rtime.c: Likewise.
5234 * sunrpc/svcauth_des.c: Likewise.
5235 * sunrpc/xdr.c: Likewise.
5236 * sunrpc/xdr_intXX_t.c: Likewise.
5237 * sunrpc/xdr_rec.c: Likewise.
5238 * sysdeps/generic/ldconfig.h: Likewise.
5239 * sysdeps/generic/ldsodefs.h: Likewise.
5240 * sysdeps/generic/memusage.h: Likewise.
5241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5251 * sysdeps/posix/getaddrinfo.c: Likewise.
5252 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5253 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5254 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5255 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5256 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5257 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5258 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5259 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5260 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5262 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5263 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5264 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5265 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5266 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5267 * sysdeps/x86_64/dl-tls.h: Likewise.
5268 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5269 * time/alt_digit.c: Likewise.
5270 * time/era.c: Likewise.
5271 * wcsmbs/tst-c16c32-1.c: Likewise.
5273 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5275 * math/libm-test.inc (struct test_sincos_data): New type.
5276 (RUN_TEST_LOOP_sincos): New macro.
5277 (sincos_test_data): New variable.
5278 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5280 2013-05-16 Richard Henderson <rth@redhat.com>
5282 * math/atest-exp2.c (LIMB64): New macro.
5283 (CONSTSZ): New macro.
5284 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5286 (print_mpn_fp): ... to function scope.
5287 (read_mpn_hex): Remove.
5289 (exp2_mpn): Use mp_log2.
5290 (main): Use mp_exp1.
5292 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5294 * math/libm-test.inc: Remove comment about not testing "inexact"
5296 (INEXACT_EXCEPTION): New macro.
5297 (NO_INEXACT_EXCEPTION): Likewise.
5298 (INVALID_EXCEPTION_OK): Update value.
5299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5300 (OVERFLOW_EXCEPTION_OK): Likewise.
5301 (UNDERFLOW_EXCEPTION_OK): Likewise.
5302 (IGNORE_ZERO_INF_SIGN): Likewise.
5303 (ERRNO_UNCHANGED): Likewise.
5304 (ERRNO_EDOM): Likewise.
5305 (ERRNO_ERANGE): Likewise.
5306 (test_exceptions): Handle testing "inexact" exceptions.
5307 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5308 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5309 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5310 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5312 (rint_towardzero_test_data): Likewise.
5313 (rint_downward_test_data): Likewise.
5314 (rint_upward_test_data): Likewise.
5316 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5317 with OVERFLOW_EXCEPTION.
5318 (exp10_test_data): Likewise.
5319 (exp2_test_data): Likewise.
5320 (expm1_test_data): Likewise.
5321 (lgamma_test_data): Likewise.
5322 (pow_test_data): Likewise.
5323 (tgamma_test_data): Likewise.
5324 (yn_test_data): Remove duplicate test of overflow.
5326 * math/libm-test.inc (struct test_cc_c_data): New type.
5327 (RUN_TEST_LOOP_cc_c): New macro.
5328 (cpow_test_data): New variable.
5329 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5331 * math/libm-test.inc (struct test_f_L_data): New type.
5332 (RUN_TEST_LOOP_f_L): New macro.
5333 (llrint_test_data): New variable.
5334 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5335 (llrint_tonearest_test_data): New variable.
5336 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5337 (llrint_towardzero_test_data): New variable.
5338 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5339 (llrint_downward_test_data): New variable.
5340 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5341 (llrint_upward_test_data): New variable.
5342 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5343 (llround_test_data): New variable.
5344 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5346 2013-05-13 Peter Collingbourne <pcc@google.com>
5348 * math/atest-exp2.c (get_log2): Remove const attribute.
5350 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5352 * math/libm-test.inc (struct test_f_l_data): New type.
5353 (RUN_TEST_LOOP_f_l): New macro.
5354 (lrint_test_data): New variable.
5355 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5356 (lrint_tonearest_test_data): New variable.
5357 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5358 (lrint_towardzero_test_data): New variable.
5359 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5360 (lrint_downward_test_data): New variable.
5361 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5362 (lrint_upward_test_data): New variable.
5363 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5364 (lround_test_data): New variable.
5365 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5367 2013-05-15 Peter Collingbourne <pcc@google.com>
5369 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5370 (EXTRACT_WORDS64) Use where appropriate.
5371 (INSERT_WORDS64) Likewise.
5373 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5374 constraints with x constraints.
5375 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5377 * malloc/obstack.c (_obstack_compat): Add initializer.
5379 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5382 si_trapno and add si_addr_lsb to _sifields.sigfault.
5383 (si_trapno): Remove macro.
5384 (si_addr_lsb): Define new macro.
5385 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5387 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5389 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5390 instead of TEST_f_l.
5391 (llrint_test_tonearest): Likewise.
5392 (llrint_test_towardzero): Likewise.
5393 (llrint_test_downward): Likewise.
5394 (llrint_test_upward): Likewise.
5395 (llround_test): Likewise.
5397 * math/libm-test.inc (struct test_f_i_data): Add comment.
5398 (RUN_TEST_LOOP_f_b): New macro.
5399 (RUN_TEST_LOOP_f_b_tg): Likewise.
5400 (finite_test_data): New variable.
5401 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5402 (isfinite_test_data): New variable.
5403 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5404 (isinf_test_data): New variable.
5405 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5406 (isnan_test_data): New variable.
5407 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5408 (isnormal_test_data): New variable.
5409 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5410 (issignaling_test_data): New variable.
5411 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5412 (signbit_test_data): New variable.
5413 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5415 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5416 with INVALID_EXCEPTION.
5417 (acosh_test_data): Likewise.
5418 (asin_test_data): Likewise.
5419 (atanh_test_data): Likewise.
5420 (fmod_test_data): Likewise.
5421 (log_test_data): Likewise.
5422 (log10_test_data): Likewise.
5423 (log2_test_data): Likewise.
5424 (pow_test_data): Likewise.
5425 (sqrt_test_data): Likewise.
5426 (y0_test_data): Likewise.
5427 (y1_test_data): Likewise.
5428 (yn_test_data): Likewise.
5430 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5433 * math/libm-test.inc (struct test_ff_i_data): New type.
5434 (RUN_TEST_LOOP_ff_i_tg): New macro.
5435 (isgreater_test_data): New variable.
5436 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5437 (isgreaterequal_test_data): New variable.
5438 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5439 (isless_test_data): New variable.
5440 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5441 (islessequal_test_data): New variable.
5442 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5443 (islessgreater_test_data): New variable.
5444 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5445 (isunordered_test_data): New variable.
5446 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5448 2013-05-14 David S. Miller <davem@davemloft.net>
5450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5452 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5454 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5456 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5458 (struct test_f_i_data): Change type of max_ulp to int.
5460 * math/libm-test.inc (test_ffI_f1_data): New type.
5461 (RUN_TEST_LOOP_ffI_f1): New macro.
5462 (remquo_test_data): New variable.
5463 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5465 * setjmp/tst-setjmp-fp.c: New file.
5466 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5467 (link-libm): New variable.
5468 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5470 * math/libm-test.inc (struct test_f_i_data): New type.
5471 (RUN_TEST_LOOP_f_i): New macro.
5472 (RUN_TEST_LOOP_f_i_tg): Likewise.
5473 (fpclassify_test_data): New variable.
5474 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5475 (ilogb_test_data): New variable.
5476 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5478 * math/libm-test.inc (scalbln_test): Correct function name in END
5481 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5482 (RUN_TEST_LOOP_fI_f1): New macro.
5483 (frexp_test_data): New variable.
5484 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5486 * math/libm-test.inc (struct test_fF_f1_data): New type.
5487 (RUN_TEST_LOOP_fF_f1): New macro.
5488 (modf_test_data): New variable.
5489 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5491 * math/libm-test.inc (struct test_f_f1_data): New type.
5492 (RUN_TEST_LOOP_f_f1): New macro.
5493 (gamma_test_data): New variable.
5494 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5495 (lgamma_test_data): New variable.
5496 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5498 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5501 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5502 (main): Comment "tls" pseudo-hwcap.
5504 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5506 * math/libm-test.inc (struct test_fl_f_data): New type.
5507 (RUN_TEST_LOOP_fl_f): New variable.
5508 (scalbln_test_data): New variable.
5509 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5511 * math/libm-test.inc (struct test_fi_f_data): New type.
5512 (RUN_TEST_LOOP_fi_f): New macro.
5513 (ldexp_test_data): New variable.
5514 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5515 (scalbn_test_data): New variable.
5516 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5518 * math/libm-test.inc (struct test_c_f_data): New type.
5519 (RUN_TEST_LOOP_c_f): New macro.
5520 (cabs_test_data): New variable.
5521 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5522 (carg_test_data): New variable.
5523 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5524 (cimag_test_data): New variable.
5525 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5526 (creal_test_data): New variable.
5527 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5529 * math/libm-test.inc (struct test_if_f_data): New type.
5530 (RUN_TEST_LOOP_if_f): New macro.
5531 (jn_test_data): New variable.
5532 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5533 (yn_test_data): New variable.
5534 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5536 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5538 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5541 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5543 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5545 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5546 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5547 (bench-deps): Add bench-timing.h.
5548 * benchtests-bench-skeleton.c: Include bench-timing.h.
5549 (main): Use TIMING_* macros instead of clock_gettime.
5550 * benchtests/bench-timing.h: New file.
5553 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5554 Renamed from _LIB_VERSION.
5555 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5557 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5559 * math/libm-test.inc (struct test_fff_f_data): New type.
5560 (RUN_TEST_LOOP_fff_f): New macro.
5561 (fma_test_data): New variable.
5562 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5563 (fma_towardzero_test_data): New variable.
5564 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5565 (fma_downward_test_data): New variable.
5566 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5567 (fma_upward_test_data): New variable.
5568 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5570 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5571 (struct test_c_c_data): New type.
5572 (RUN_TEST_LOOP_c_c): New macro.
5573 (cacos_test_data): New variable.
5574 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5575 (cacosh_test_data): New variable.
5576 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5577 (casin_test_data): New variable.
5578 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5579 (casinh_test_data): New variable.
5580 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5581 (catan_test_data): New variable.
5582 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5583 (catanh_test_data): New variable.
5584 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5585 (ccos_test_data): New variable.
5586 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5587 (ccosh_test_data): New variable.
5588 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5589 (cexp_test_data): New variable.
5590 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5591 (clog_test_data): New variable.
5592 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5593 (clog10_test_data): New variable.
5594 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5595 (conj_test_data): New variable.
5596 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5597 (cproj_test_data): New variable.
5598 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5599 (csin_test_data): New variable.
5600 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5601 (csinh_test_data): New variable.
5602 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5603 (csqrt_test_data): New variable.
5604 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5605 (ctan_test_data): New variable.
5606 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5607 (ctan_tonearest_test_data): New variable.
5608 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5609 (ctan_towardzero_test_data): New variable.
5610 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5611 (ctan_downward_test_data): New variable.
5612 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5613 (ctan_upward_test_data): New variable.
5614 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5615 (ctanh_test_data): New variable.
5616 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5617 (ctanh_tonearest_test_data): New variable.
5618 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5619 (ctanh_towardzero_test_data): New variable.
5620 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5621 (ctanh_downward_test_data): New variable.
5622 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5623 (ctanh_upward_test_data): New variable.
5624 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5625 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5628 * math/libm-test.inc (struct test_ff_f_data): New type.
5629 (struct test_ff_f_data_nexttoward): Likewise.
5630 (RUN_TEST_LOOP_2_f): New macro.
5631 (RUN_TEST_LOOP_ff_f): Likewise.
5632 (atan2_test_data): New variable.
5633 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5634 (copysign_test_data): New variable.
5635 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5636 (fdim_test_data): New variable.
5637 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5638 (fmax_test_data): New variable.
5639 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5640 (fmin_test_data): New variable.
5641 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5642 (fmod_test_data): New variable.
5643 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5644 (hypot_test_data): New variable.
5645 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5646 (nextafter_test_data): New variable.
5647 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5648 (nexttoward_test_data): New variable.
5649 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5650 (pow_test_data): New variable.
5651 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5652 (pow_tonearest_test_data): New variable.
5653 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5654 (pow_towardzero_test_data): New variable.
5655 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5656 (pow_downward_test_data): New variable.
5657 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5658 (pow_upward_test_data): New variable.
5659 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5660 (remainder_test_data): New variable.
5661 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5662 (scalb_test_data): New variable.
5663 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5664 * sysdeps/i386/fpu/libm-test-ulps: Update.
5666 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5668 * math/libm-test.inc (fma_test): Use max_value instead of local
5670 (nextafter_test): Likewise.
5672 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5673 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5674 (acos_downward_test_data): New variable.
5675 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5676 (acos_upward_test_data): New variable.
5677 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5678 (acosh_test_data): New variable.
5679 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5680 (asin_test_data): New variable.
5681 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5682 (asin_tonearest_test_data): New variable.
5683 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5684 (asin_towardzero_test_data): New variable.
5685 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5686 (asin_downward_test_data): New variable.
5687 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5688 (asin_upward_test_data): New variable.
5689 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5690 (asinh_test_data): New variable.
5691 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5692 (atan_test_data): New variable.
5693 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5694 (atanh_test_data): New variable.
5695 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5696 (cbrt_test_data): New variable.
5697 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5698 (ceil_test_data): New variable.
5699 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5700 (cos_test_data): New variable.
5701 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5702 (cos_tonearest_test_data): New variable.
5703 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5704 (cos_towardzero_test_data): New variable.
5705 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5706 (cos_downward_test_data): New variable.
5707 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5708 (cos_upward_test_data): New variable.
5709 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5710 (cosh_test_data): New variable.
5711 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5712 (cosh_tonearest_test_data): New variable.
5713 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5714 (cosh_towardzero_test_data): New variable.
5715 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5716 (cosh_downward_test_data): New variable.
5717 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5718 (cosh_upward_test_data): New variable.
5719 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5720 (erf_test_data): New variable.
5721 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5722 (erfc_test_data): New variable.
5723 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5724 (exp_test_data): New variable.
5725 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5726 (exp_tonearest_test_data): New variable.
5727 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5728 (exp_towardzero_test_data): New variable.
5729 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5730 (exp_downward_test_data): New variable.
5731 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5732 (exp_upward_test_data): New variable.
5733 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5734 (exp10_test_data): New variable.
5735 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5736 (exp2_test_data): New variable.
5737 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5738 (expm1_test_data): New variable.
5739 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5740 (fabs_test_data): New variable.
5741 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5742 (floor_test_data): New variable.
5743 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5744 (j0_test_data): New variable.
5745 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5746 (j1_test_data): New variable.
5747 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5748 (log_test_data): New variable.
5749 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5750 (log10_test_data): New variable.
5751 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5752 (log1p_test_data): New variable.
5753 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5754 (log2_test_data): New variable.
5755 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5756 (logb_test_data): New variable.
5757 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5758 (logb_downward_test_data): New variable.
5759 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5760 (nearbyint_test_data): New variable.
5761 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5762 (rint_test_data): New variable.
5763 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5764 (rint_tonearest_test_data): New variable.
5765 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5766 (rint_towardzero_test_data): New variable.
5767 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5768 (rint_downward_test_data): New variable.
5769 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5770 (rint_upward_test_data): New variable.
5771 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5772 (round_test_data): New variable.
5773 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5774 (sin_test_data): New variable.
5775 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5776 (sin_tonearest_test_data): New variable.
5777 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5778 (sin_towardzero_test_data): New variable.
5779 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5780 (sin_downward_test_data): New variable.
5781 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5782 (sin_upward_test_data): New variable.
5783 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5784 (sinh_test_data): New variable.
5785 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5786 (sinh_tonearest_test_data): New variable.
5787 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5788 (sinh_towardzero_test_data): New variable.
5789 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5790 (sinh_downward_test_data): New variable.
5791 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5792 (sinh_upward_test_data): New variable.
5793 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5794 (sqrt_test_data): New variable.
5795 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5796 (tan_test_data): New variable.
5797 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5798 (tan_tonearest_test_data): New variable.
5799 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5800 (tan_towardzero_test_data): New variable.
5801 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5802 (tan_downward_test_data): New variable.
5803 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5804 (tan_upward_test_data): New variable.
5805 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5806 (tanh_test_data): New variable.
5807 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5808 (tgamma_test_data): New variable.
5809 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5810 (trunc_test_data): New variable.
5811 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5812 (y0_test_data): New variable.
5813 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5814 (y1_test_data): New variable.
5815 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5816 (significand_test_data): New variable.
5817 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5819 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5822 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5824 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5826 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5828 2013-05-10 Andreas Jaeger <aj@suse.de>
5831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5832 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5834 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5836 * math/gen-libm-test.pl (adjust_arg): New function.
5837 (special_functions): Handle generating output in both functions
5839 (parse_args): Likewise.
5840 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5841 $in_func argument to parse_args.
5842 * math/libm-test.inc (struct test_f_f_data): New type.
5843 (IF_ROUND_INIT_): New macro.
5844 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5845 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5846 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5847 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5848 (ROUND_RESTORE_): Likewise.
5849 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5850 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5851 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5852 (ROUND_RESTORE_FE_UPWARD): Likewise.
5853 (RUN_TEST_LOOP_f_f): New macro.
5854 (acos_test_data): New variable.
5855 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5856 (acos_tonearest_test_data): New variable.
5857 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5859 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5861 * benchtests/bench-skeleton.c (startup): Fix coding style.
5863 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5866 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5867 negative infinity argument.
5868 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5869 negative infinity argument.
5870 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5871 negative infinity argument.
5872 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5875 2013-05-10 Florian Weimer <fweimer@redhat.com>
5877 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5878 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5879 * iconv/iconv_prog.c (main): Likewise.
5880 * locale/programs/charmap-dir.c (charmap_readdir)
5881 (fopen_uncompressed): Likewise.
5882 * locale/programs/locfile.c (siblings_uncached)
5883 (write_locale_data): Use lstat64 instead of lstat.
5884 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5887 2013-05-10 Andreas Jaeger <aj@suse.de>
5890 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5894 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5896 * elf/dl-close.c (_dl_close_worker): Add comments.
5898 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5903 (__ieee754_rem_pio2l): Update comments.
5906 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5908 (__ieee754_rem_pio2l): Update comments.
5910 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5911 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5913 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5916 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5917 (M_PI_34_LOG10El): Likewise.
5918 (M_PI2_LOG10El): Likewise.
5919 (M_PI4_LOG10El): Likewise.
5920 (M_PI_LOG10El): Likewise.
5922 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5926 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5928 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5929 (MINUS_ZERO_INIT): Likewise.
5930 (PLUS_INFTY_INIT): Likewise.
5931 (MINUS_INFTY_INIT): Likewise.
5932 (QNAN_VALUE_INIT): Likewise.
5933 (MAX_VALUE_INIT): Likewise.
5934 (MIN_VALUE_INIT): Likewise.
5935 (MIN_SUBNORM_VALUE_INIT): Likewise.
5936 (plus_zero): Initialize with PLUS_ZERO_INIT.
5937 (minus_zero): Initialize with MINUS_ZERO_INIT.
5938 (plus_infty): Initialize with PLUS_INFTY_INIT.
5939 (minus_infty): Initialize with MINUS_INFTY_INIT.
5940 (qnan_value): Initialize with QNAN_VALUE_INIT.
5941 (max_value): Initialize with MAX_VALUE_INIT.
5942 (min_value): Initialize with MIN_VALUE_INIT.
5943 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5945 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5946 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5947 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5948 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5950 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5951 (RUN_TEST_2_f): Likewise.
5952 (RUN_TEST_ff_f): Likewise.
5953 (RUN_TEST_fi_f): Likewise.
5954 (RUN_TEST_fl_f): Likewise.
5955 (RUN_TEST_fff_f): Likewise.
5956 (RUN_TEST_c_f): Likewise.
5957 (RUN_TEST_f_f1): Likewise.
5958 (RUN_TEST_fF_f1): Likewise.
5959 (RUN_TEST_fI_f1): Likewise.
5960 (RUN_TEST_ffI_f1): Likewise.
5961 (RUN_TEST_c_c): Likewise.
5962 (RUN_TEST_cc_c): Likewise.
5963 (RUN_TEST_f_i): Likewise.
5964 (RUN_TEST_f_i_tg): Likewise.
5965 (RUN_TEST_ff_i_tg): Likewise.
5966 (RUN_TEST_f_b): Likewise.
5967 (RUN_TEST_f_b_tg): Likewise.
5968 (RUN_TEST_f_l): Likewise.
5969 (RUN_TEST_f_L): Likewise.
5970 (RUN_TEST_sincos): Likewise.
5971 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5972 whether to show exceptions. Do not include ");\n" in return
5974 (special_functions): Output call to RUN_TEST_sincos instead of
5975 check_float calls. Update calls to new_test.
5976 (parse_args): Output call to single RUN_TEST_* macro instead of
5977 check_* calls and other assignments. Update calls to new_test.
5983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5984 input to result for tgamma overflow.
5985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5986 (gamma_coeff): New variable.
5987 (NCOEFF): New macro.
5988 (gamma_positive): New function.
5989 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5990 underflow here. Use gamma_positive instead of exp (lgamma) for
5992 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5993 (gamma_coeff): New variable.
5994 (NCOEFF): New macro.
5995 (gammaf_positive): New function.
5996 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5997 underflow here. Use gamma_positive instead of exp (lgamma) for
5999 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6000 (gamma_coeff): New variable.
6001 (NCOEFF): New macro.
6002 (gammal_positive): New function.
6003 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6004 underflow here. Use gamma_positive instead of exp (lgamma) for
6006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6007 (gamma_coeff): New variable.
6008 (NCOEFF): New macro.
6009 (gammal_positive): New function.
6010 (__ieee754_gammal_r): Handle positive infinity, overflow and
6011 underflow here. Handle NaN the same as positive infinity. Remove
6012 check x < 0xffffffff for negative integers. Use gamma_positive
6013 instead of exp (lgamma) for other arguments.
6014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6015 (gamma_coeff): New variable.
6016 (NCOEFF): New macro.
6017 (gammal_positive): New function.
6018 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6019 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6023 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6024 * sysdeps/generic/math_private.h (__gamma_productf): New
6026 (__gamma_product): Likewise.
6027 (__gamma_productl): Likewise.
6028 * math/Makefile (libm-calls): Add gamma_product.
6029 * math/libm-test.inc (tgamma_test): Add more tests.
6030 * sysdeps/i386/fpu/libm-test-ulps: Update.
6031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6033 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6035 * benchtests/bench-skeleton.c (main): Preheat CPU.
6037 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6039 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6041 2013-05-07 Roland McGrath <roland@hack.frob.com>
6043 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6044 and _dl_skip_args_internal.
6046 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6048 * manual/message.texi (Message Translation): Talk about users.
6049 Message to key mapping impacts design.
6051 2013-05-06 Roland McGrath <roland@hack.frob.com>
6053 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6055 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6057 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6058 * sysdeps/wordsize-64/glob64.c: ... here.
6060 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6061 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6064 * debug/getlogin_r_chk.c: Moved to ...
6065 * login/getlogin_r_chk.c: ... here.
6066 * debug/Makefile (routines): Move getlogin_r_chk to ...
6067 * login/Makefile (routines): ... here.
6068 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6069 * login/Versions (libc: GLIBC_2.4): ... here.
6071 * io/poll.c (__poll): Renamed from poll.
6072 Add libc_hidden_def.
6073 (poll): Define as weak alias.
6075 * debug/ptsname_r_chk.c: Moved to ...
6076 * login/ptsname_r_chk.c: ... here.
6077 * debug/Makefile (routines): Move ptsname_r_chk to ...
6078 * login/Makefile (routines): ... here.
6079 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6080 * login/Versions (libc: GLIBC_2.4): ... here.
6082 * posix/getlogin.c: Moved to ...
6083 * login/getlogin.c: ... here.
6084 * posix/getlogin_r.c: Moved to ...
6085 * login/getlogin_r.c: ... here.
6086 * posix/getlogin_r.c: Moved to ...
6087 * login/getlogin_r.c: ... here.
6088 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6089 * login/Makefile (routines): ... here.
6090 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6091 * login/Versions (libc: GLIBC_2.0): ... here.
6093 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6094 (setrlimit): Define as weak alias.
6096 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6097 Call __ names for open, ftruncate, and close.
6098 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6099 (truncate): Define as weak alias.
6101 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6103 * math/gen-libm-test.pl (parse_args): Initialize x before each
6104 test of frexp, modf and remquo.
6106 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6109 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6117 2013-05-06 Roland McGrath <roland@hack.frob.com>
6119 * elf/dl-writev.h: New file.
6120 * elf/dl-misc.c: Include it.
6121 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6122 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6124 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6126 * math/libm-test.inc (noXFails): Remove variable.
6127 (noXPasses): Likewise.
6128 (BUILD_COMPLEX_INT): Remove macro.
6129 (print_screen): Remove xfail argument.
6130 (print_screen_max_error): Likewise.
6131 (update_stats): Likewise.
6132 (print_max_error): Likewise. Update calls to other affected
6134 (print_complex_max_error): Likewise.
6135 (test_single_exception): Update calls to print_screen.
6136 (test_single_errno): Likewise.
6137 (check_float_internal): Remove xfail argument. Update calls to
6138 other affected functions.
6139 (check_float): Likewise.
6140 (check_complex): Likewise.
6141 (check_int): Likewise.
6142 (check_long): Likewise.
6143 (check_bool): Likewise.
6144 (check_longlong): Likewise.
6145 (main): Don't print noXFails and noXPasses.
6146 * math/gen-libm-test.pl (top level): Don't mention expected
6147 failure handling in comment.
6148 (new_test): Don't handle expected failures.
6149 (parse_args): Don't mention expected failure handling in comment.
6150 (generate_testfile): Don't handle expected failures.
6151 (parse_ulps): Likewise.
6152 (print_ulps_file): Likewise.
6153 (get_failure): Remove function.
6154 (output_test): Don't handle expected failures.
6155 * make/README.libm-test: Don't mention expected failure handling.
6157 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6158 (minus_zero): Likewise.
6159 (plus_infty): Likewise.
6160 (minus_infty): Likewise.
6161 (qnan_value): Likewise.
6162 (max_value): Likewise.
6163 (min_value): Likewise.
6164 (min_subnorm_value): Likewise.
6165 (initialize): Do not initialize those variables dynamically.
6167 2013-05-03 Roland McGrath <roland@hack.frob.com>
6169 * io/open.c (__open_2): Moved to ...
6170 * io/open_2.c: ... this new file.
6171 * io/open64.c (__open64_2): Moved to ...
6172 * io/open64_2.c: ... this new file.
6173 * io/openat.c (__openat_2): Moved to ...
6174 * io/openat_2.c: ... this new file.
6175 * io/openat64.c (__openat64_2): Moved to ...
6176 * io/openat64_2.c: ... this new file.
6177 * io/Makefile (routines): Add them.
6178 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6179 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6180 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6181 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6182 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6183 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6184 (__openat64): Add hidden_ver.
6185 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6186 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6188 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6189 Separately conditionalize setting of GLRO(dl_sysinfo) so
6190 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6191 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6193 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6198 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6199 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6200 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6201 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6202 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6204 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6206 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6209 * math/libm-test.inc (hypot_test): Do not use
6210 IGNORE_ZERO_INF_SIGN.
6212 2013-05-03 Andreas Jaeger <aj@suse.de>
6214 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6216 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6217 (PF_MAX): Adjust for VSOCK change.
6219 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6223 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6226 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6227 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6228 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6230 2013-05-02 David S. Miller <davem@davemloft.net>
6232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6234 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6236 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6238 2013-05-01 Roland McGrath <roland@hack.frob.com>
6240 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6242 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6245 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6246 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6247 Use __attribute__ ((__gnu_inline__)).
6248 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6249 Don't use __attribute__ ((__gnu_inline__)).
6251 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6254 * math/s_catan.c (__catan): Handle small real or imaginary part of
6255 input specially to avoid spurious underflow.
6256 * math/s_catanf.c (__catanf): Likewise.
6257 * math/s_catanh.c (__catanh): Likewise.
6258 * math/s_catanhf.c (__catanhf): Likewise.
6259 * math/s_catanhl.c (__catanhl): Likewise.
6260 * math/s_catanl.c (__catanl): Likewise.
6261 * math/libm-test.inc (catan_test): Add more tests.
6262 (catanh_test): Likewise.
6263 * sysdeps/i386/fpu/libm-test-ulps: Update.
6264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6270 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6273 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6274 accurately for denominator in atan2.
6275 * math/s_catanf.c (__catanf): Likewise.
6276 * math/s_catanh.c (__catanh): Likewise.
6277 * math/s_catanhf.c (__catanhf): Likewise.
6278 * math/s_catanhl.c (__catanhl): Likewise.
6279 * math/s_catanl.c (__catanl): Likewise.
6280 * math/libm-test.inc (catan_test): Add more tests.
6281 (catanh_test): Likewise.
6282 * sysdeps/i386/fpu/libm-test-ulps: Update.
6283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6285 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6287 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6289 * benchtests/Makefile (bench): Remove slow benchmarks.
6290 * benchtests/atan-inputs: Add slow benchmark inputs.
6291 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6292 (BENCH_FUNC): Accept variant offset.
6294 * benchtests/bench-skeleton.c (main): Run benchmark for each
6296 * benchtests/cos-inputs: Add slow benchmark inputs.
6297 * benchtests/exp-inputs: Likewise.
6298 * benchtests/pow-inputs: Likewise.
6299 * benchtests/sin-inputs: Likewise.
6300 * benchtests/slowatan-inputs: Remove.
6301 * benchtests/slowatan.c: Remove.
6302 * benchtests/slowcos-inputs: Remove.
6303 * benchtests/slowcos.c: Remove.
6304 * benchtests/slowexp-inputs: Remove.
6305 * benchtests/slowexp.c: Remove.
6306 * benchtests/slowpow-inputs: Remove.
6307 * benchtests/slowpow.c: Remove.
6308 * benchtests/slowsin-inputs: Remove.
6309 * benchtests/slowsin.c: Remove.
6310 * benchtests/slowtan-inputs: Remove.
6311 * benchtests/slowtan.c: Remove.
6312 * benchtests/tan-inputs: Add slow benchmark inputs.
6313 * scripts/bench.pl: Parse comments and directives.
6315 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6317 ($(objpfx)bench-%.c): Remove *-ITER.
6318 * benchtests/bench-modf.c: Remove definition of ITER.
6319 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6320 (main): Loop for DURATION seconds instead of fixed number of
6322 * scripts/bench.pl: Don't expect iterations in parameters.
6324 2013-04-29 Roland McGrath <roland@hack.frob.com>
6326 * io/fchdir.c (__fchdir): Renamed from fchdir.
6327 (fchdir): Define as weak alias.
6329 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6331 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6332 (ERRNO_EDOM): Likewise.
6333 (ERRNO_ERANGE): Likewise.
6334 (noErrnoTests): New variable.
6335 (init_max_error): Set errno to 0.
6336 (test_single_errno): New function.
6337 (test_errno): Likewise.
6338 (check_float_internal): Call test_errno. Set errno to 0.
6339 (check_complex): Refer to errno tests in comment.
6340 (check_int): Call test_errno. Set errno to 0.
6341 (check_long): Likewise.
6342 (check_bool): Likewise.
6343 (check_longlong): Likewise.
6344 (cos_test): Use ERRNO_* flags for errno tests instead of
6346 (expm1_test): Likewise.
6347 (fmod_test): Likewise.
6348 (ilogb_test): Likewise.
6349 (lgamma_test): Likewise.
6350 (pow_test): Likewise.
6351 (remainder_test): Likewise.
6352 (sin_test): Likewise.
6353 (tan_test): Likewise.
6354 (yn_test): Likewise.
6355 (initialize): Set errno to 0.
6356 (main): Print number of errno tests.
6357 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6359 2013-04-29 Andreas Jaeger <aj@suse.de>
6362 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6366 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6367 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6371 * stdlib/random.c (__initstate): Return NULL if
6375 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6376 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6379 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6383 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6385 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6386 of individual tests.
6387 (casin_test): Likewise.
6388 (casinh_test): Likewise.
6390 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6393 * math/s_catan.c (__catan): Handle arguments with large real or
6394 imaginary part separately without squaring.
6395 * math/s_catanf.c (__catanf): Likewise.
6396 * math/s_catanh.c (__catanh): Likewise.
6397 * math/s_catanhf.c (__catanhf): Likewise.
6398 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6400 (__catanhl): Handle arguments with large real or imaginary part
6401 separately without squaring.
6402 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6404 (__catanl): Handle arguments with large real or imaginary part
6405 separately without squaring.
6406 * math/libm-test.inc (catan_test): Add more tests.
6407 (catanh_test): Likewise.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411 2013-04-27 Andreas Jaeger <aj@suse.de>
6414 * stdlib/stdlib.h: Update guards for qecvt.
6415 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6418 2013-04-27 Allan McRae <allan@archlinux.org>
6420 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6425 * math/s_catan.c: Include <float.h>.
6426 (__catan): Ensure underflow exception occurs for underflowed
6428 * math/s_catanf.c: Include <float.h>.
6429 (__catanf): Ensure underflow exception occurs for underflowed
6431 * math/s_catanh.c: Include <float.h>.
6432 (__catanh): Ensure underflow exception occurs for underflowed
6434 * math/s_catanhf.c: Include <float.h>.
6435 (__catanhf): Ensure underflow exception occurs for underflowed
6437 * math/s_catanhl.c: Include <float.h>.
6438 (__catanhl): Ensure underflow exception occurs for underflowed
6440 * math/s_catanl.c: Include <float.h>.
6441 (__catanl): Ensure underflow exception occurs for underflowed
6443 * math/libm-test.inc (catan_test): Add more tests.
6444 (catanh_test): Likewise.
6447 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6449 * math/s_ccoshf.c (__ccoshf): Likewise.
6450 * math/s_ccoshl.c (__ccoshl): Likewise.
6451 * math/s_csin.c (__csin): Likewise.
6452 * math/s_csinf.c (__csinf): Likewise.
6453 * math/s_csinh.c (__csinh): Likewise.
6454 * math/s_csinhf.c (__csinhf): Likewise.
6455 * math/s_csinhl.c (__csinhl): Likewise.
6456 * math/s_csinl.c (__csinl): Likewise.
6457 * math/libm-test.inc (ccos_test): Add more tests.
6458 (ccosh_test): Likewise.
6459 (csin_test): Likewise.
6460 (csinh_test): Likewise.
6462 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6464 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6465 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6466 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6467 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6468 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6469 powerpc/power5+/fpu folders.
6470 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6473 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6477 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6479 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6480 additions to variable.
6481 [$(config-machine) = x86_64] (modules-names): Likewise.
6482 ($(objpfx)tst-audit3): Remove dependency.
6483 ($(objpfx)tst-audit3.out): Likewise.
6484 ($(objpfx)tst-audit4): Likewise.
6485 ($(objpfx)tst-audit4.out): Likewise.
6486 ($(objpfx)tst-audit5): Likewise.
6487 ($(objpfx)tst-audit5.out): Likewise.
6488 ($(objpfx)tst-audit6): Likewise.
6489 ($(objpfx)tst-audit6.out): Likewise.
6490 ($(objpfx)tst-audit7): Likewise.
6491 ($(objpfx)tst-audit7.out): Likewise.
6492 (tst-audit3-ENV): Remove variable.
6493 (tst-audit4-ENV): Likewise.
6494 (tst-audit5-ENV): Likewise.
6495 (tst-audit6-ENV): Likewise.
6496 (tst-audit7-ENV): Likewise.
6497 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6498 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6499 addition to variable.
6500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6503 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6505 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6506 tst-audit3, tst-audit4 and tst-audit5.
6507 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6508 tst-audit6 and tst-audit7.
6509 [$(subdir) = elf] (modules-names): Add audit modules for those
6511 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6512 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6513 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6514 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6515 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6516 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6517 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6518 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6519 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6520 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6521 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6522 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6523 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6524 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6525 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6526 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6528 [$(subdir) = elf && $(config-cflags-avx) = yes]
6529 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6530 [$(subdir) = elf && $(config-cflags-avx) = yes]
6531 (CFLAGS-tst-auditmod4a.c): Likewise.
6532 [$(subdir) = elf && $(config-cflags-avx) = yes]
6533 (CFLAGS-tst-auditmod4b.c): Likewise.
6534 [$(subdir) = elf && $(config-cflags-avx) = yes]
6535 (CFLAGS-tst-auditmod6b.c): Likewise.
6536 [$(subdir) = elf && $(config-cflags-avx) = yes]
6537 (CFLAGS-tst-auditmod6c.c): Likewise.
6538 [$(subdir) = elf && $(config-cflags-avx) = yes]
6539 (CFLAGS-tst-auditmod7b.c): Likewise.
6540 * elf/tst-audit3.c: Move to ...
6541 * sysdeps/x86_64/tst-audit3.c: ... here.
6542 * elf/tst-audit4.c: Move to ...
6543 * sysdeps/x86_64/tst-audit4.c: ... here.
6544 * elf/tst-audit5.c: Move to ...
6545 * sysdeps/x86_64/tst-audit5.c: ... here.
6546 * elf/tst-audit6.c: Move to ...
6547 * sysdeps/x86_64/tst-audit6.c: ... here.
6548 * elf/tst-audit7.c: Move to ...
6549 * sysdeps/x86_64/tst-audit7.c: ... here.
6550 * elf/tst-auditmod3a.c: Move to ...
6551 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6552 * elf/tst-auditmod3b.c: Move to ...
6553 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6554 * elf/tst-auditmod4a.c: Move to ...
6555 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6556 * elf/tst-auditmod4b.c: Move to ...
6557 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6558 * elf/tst-auditmod5a.c: Move to ...
6559 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6560 * elf/tst-auditmod5b.c: Move to ...
6561 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6562 * elf/tst-auditmod6a.c: Move to ...
6563 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6564 * elf/tst-auditmod6b.c: Move to ...
6565 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6566 * elf/tst-auditmod6c.c: Move to ...
6567 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6568 * elf/tst-auditmod7a.c: Move to ...
6569 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6570 * elf/tst-auditmod7b.c: Move to ...
6571 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6573 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6576 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6577 define unconditionally.
6578 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6579 define unconditionally.
6580 (INT8_C, INT16_C, etc.): Likewise.
6582 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6584 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6585 __ehdr_start with hidden visibility.
6587 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6589 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6591 * math/libm-test.inc (cos_test): Use accurate hex constants.
6592 (sincost_test): Likewise.
6594 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6596 * math/libm-test.inc (catan_test): Add more tests.
6597 (catanh_test): Likewise.
6599 * math/s_catanf.c (__catanf): Use suffixed floating-point
6601 * math/s_catanhf.c (__catanhf): Likewise.
6602 * math/s_catanhl.c (__catanhl): Likewise.
6603 * math/s_catanl.c (__catanl): Likewise.
6606 * math/s_catan.c (__catan): Calculate imaginary part of result
6607 with log1p not log unless computing log of number close to 0.
6608 * math/s_catanf.c (__catanf): Likewise.
6609 * math/s_catanl.c (__catanl): Likewise.
6610 * math/s_catanh.c (__catanh): Calculate real part of result with
6611 log1p not log unless computing log of number close to 0.
6612 * math/s_catanhf.c (__catanhf): Likewise.
6613 * math/s_catanhl.c (__catanhl): Likewise.
6614 * math/libm-test.inc (catan_test): Add more tests.
6615 (catanh_test): Likewise.
6616 * sysdeps/i386/fpu/libm-test-ulps: Update.
6617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6619 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6621 * benchtests/Makefile: Mention files in which fast and slow
6622 paths of math functions are implemented.
6624 2013-04-23 Roland McGrath <roland@hack.frob.com>
6626 * sysdeps/posix/timespec_get.c: New file.
6628 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6632 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6634 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6635 powerpc/power5/fpu folders.
6636 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6637 * benchtests/Makefile: Add modf testcase.
6638 * benchtests/bench-modf.c: New file: Benchmark test for mo
6640 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6643 * time/Makefile (tests): Add tst-strptime-whitespace.
6644 * time/strptime_l.c (get_number): Use ISSPACE.
6645 (__strptime_internal): Likewise.
6646 * time/tst-strptime-whitespace.c: New test case.
6648 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6650 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6652 (_nss_files_init): Set it here.
6654 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6656 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6657 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6660 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6662 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6664 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6669 2013-04-21 David S. Miller <davem@davemloft.net>
6671 * po/ru.po: Update Russion translation from translation project.
6673 2013-04-17 Adam Conrad <adconrad@0c3.net>
6675 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6678 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6680 * configure.in: Remove i386 configure warning. Remove i386 case.
6681 * configure: Regenerate.
6682 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6683 Add example to error message.
6684 * sysdeps/i386/configure: Regenerate.
6686 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6690 * benchtests/cos-inputs: New file.
6691 * benchtests/slowcos-inputs: New file.
6692 * benchtests/slowcos.c: New file.
6693 * benchtests/slowtan-inputs: New file.
6694 * benchtests/slowtan.c: New file.
6695 * benchtests/tan-inputs: New file.
6697 2013-04-16 Roland McGrath <roland@hack.frob.com>
6699 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6702 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6704 * benchtests/Makefile: Include cppflags-iterator.mk to add
6705 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6707 * Makefile.in (bench-clean): New target.
6708 * benchtests/Makefile (bench-clean): Likewise.
6710 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6712 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6714 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6716 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6718 2013-04-15 Andreas Schwab <schwab@suse.de>
6720 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6722 * nscd/pwdcache.c (cache_addpw): Likewise.
6723 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6726 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6728 * benchtests/Makefile (bench): Write all output to
6729 bench-out.tmp together.
6731 2013-04-15 Andreas Schwab <schwab@suse.de>
6733 * nscd/nscd.c (main): Don't fork again after closing files.
6735 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6737 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6739 * benchtests/Rules (bench-deps): Collect dependencies into a
6740 single variable. Add Makefile to dependencies.
6741 ($(objpfx)bench-%.c): Depend on bench-deps.
6743 2013-04-12 Roland McGrath <roland@hack.frob.com>
6744 Xavier Roche <roche+kml2@exalead.com>
6747 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6748 just that it's a file descriptor.
6749 * manual/llio.texi (Synchronizing AIO Operations): Update description
6750 for EBADF error from aio_fsync.
6752 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6754 * Rules (bench): Move target definition...
6755 * benchtests/Makefile: ... here.
6757 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6759 * math/libm-test.inc (cos_test): Fix PI/2 test.
6760 (sincos_test): Likewise.
6761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6762 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6764 2013-04-11 Andreas Schwab <schwab@suse.de>
6767 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6768 accept exponent character only when digits were seen.
6769 * stdio-common/Makefile (tests): Add bug26.
6770 * stdio-common/bug26.c: New file.
6773 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6776 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6778 * Makeconfig (rtld-prefix): Define built linker prefix.
6779 * Rules (run-bench): Use it.
6780 * math/Makefile (run-regen-ulps): Likewise.
6782 * Rules (bench): Remove eval.
6784 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6785 Roland McGrath <roland@hack.frob.com>
6786 Ondrej Bilka <neleai@seznam.cz>
6789 * time/getdate.c: Include ctype.h and alloca.h.
6790 (__getdate_r): Trim leading and trailing spaces of input.
6791 * time/tst-getdate.c (tests): Add tests with leading and
6794 2013-04-08 Roland McGrath <roland@hack.frob.com>
6797 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6798 when computing value.
6800 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6802 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6803 Use testrun.sh to run libm tests.
6806 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6808 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6811 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6813 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6815 * Makefile.in (regen-ulps): New target.
6816 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6817 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6818 [ifneq (no,$(PERL)] (regen-ulps): New target.
6819 [ifeq (no,$(PERL)] (regen-ulps): New target.
6820 * math/libm-test.inc (ulps_file_name): Define.
6821 (output_dir): New variable.
6822 (options): Add "output-dir" option.
6823 (parse_opt): Handle 'o' case.
6824 (main): If output_dir is non-NULL use it as a prefix
6826 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6828 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6831 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6832 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6833 fail configure if __sync_val_compare_and_swap is not inlined.
6834 * sysdeps/i386/configure: Regenerate.
6835 * configure.in: Build for i686 when configured for i386.
6836 * configure: Regenerate.
6837 * README: Remove i386 reference.
6839 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6841 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6844 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6846 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6847 (lmsnanval): New variables.
6848 (F): Add conversion tests.
6849 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6850 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6852 * stdio-common/tstdiomisc.c (F): Properly collect individual
6856 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6857 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6858 Instead, use input NaN values or generate a qNaN by arithmetic
6859 operation. Also fix bugs to comply with the standard.
6860 * math/libm-test.inc (remainder_test): Add more tests.
6863 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6865 input NaN values or generate a qNaN by arithmetic operation.
6867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6870 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6873 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6876 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6878 * math/s_cexpf.c (__cexpf): Likewise.
6879 * math/s_cexpl.c (__cexpl): Likewise.
6880 * math/libm-test.inc (cexp_test): Add more tests.
6882 2013-04-03 Andreas Schwab <schwab@suse.de>
6885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6886 order arrays from heap if bigger than alloca cutoff.
6888 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6890 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6891 (SNAN_TESTS_double): Refer to GCC PR56831.
6892 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6895 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6897 * Rules (bench): Move bench.out after the run is complete.
6899 * Rules (bench): Echo currently running benchmark.
6901 * benchtests/Makefile (bench): Add atan and slowatan.
6902 * benchtests/atan-inputs: New file.
6903 * benchtests/slowatan-inputs: New file.
6904 * benchtests/slowatan.c: New file.
6906 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6911 * sysdeps/unix/sysv/linux/kernel-features.h
6912 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6913 __ASSUME_XFS_RESTRICTED_CHOWN.
6914 * sysdeps/unix/sysv/linux/pathconf.c
6915 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6916 Save and restore errno.
6918 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6921 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6922 arguments using __kernel_casinh.
6923 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6924 arguments using __kernel_casinhf.
6925 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6926 arguments using __kernel_casinhl.
6927 * math/libm-test.inc (cacosh_test): Add more tests.
6928 * sysdeps/i386/fpu/libm-test-ulps: Update.
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6931 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6933 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6936 * bench/Makefile (bench): Add sin and slowsin.
6937 * benchtests/sin-inputs: New file.
6938 * benchtests/slowsin-inputs: New file.
6939 * benchtests/slowsin.c: New file.
6941 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6942 (bench): Add slowexp and slowpow.
6943 (exp-ITER): Increase iterations.
6944 (pow-ITER): Likewise.
6945 * benchtests/exp-inputs: Change input.
6946 * benchtests/pow-inputs: Likewise.
6947 * benchtests/slowexp-inputs: New file.
6948 * benchtests/slowexp.c: New file.
6949 * benchtests/slowpow-inputs: New file.
6950 * benchtests/slowpow.c: New file.
6952 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6956 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6958 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6959 * benchtests/Makefile: Add rint benchtest.
6960 * benchtests/rint-inputs: Input for rint benchtest.
6962 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6964 * Versions.def (libm): Add GLIBC_2.18.
6965 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6966 hidden libm prototypes.
6967 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6968 * math/Makefile (libm-calls): Add s_issignaling.
6969 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6970 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6971 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6973 * math/math.h [__USE_GNU] (issignaling): New macro.
6974 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6975 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6980 * manual/arith.texi (issignaling): New section.
6981 * manual/libm-err-tab.pl (@all_functions): Update comment.
6982 * math/gen-libm-test.pl (parse_args): Apply special handling for
6984 * math/libm-test.inc (print_float, issignaling_test): New
6986 (check_float_internal): Add issignaling checks.
6987 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6989 * sysdeps/powerpc/math-tests.h: New file.
6990 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6992 * math/test-snan.c (TEST_FUNC): Likewise.
6994 2013-03-30 David S. Miller <davem@davemloft.net>
6996 * po/de.po: Update from translation team.
6998 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7001 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7002 imaginary part less than 1.0 and real part less than 0.5
7004 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7005 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7006 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7007 (cacos_test): Add more tests.
7008 (casin_test): Likewise.
7009 (casinh_test): Likewise.
7010 * sysdeps/i386/fpu/libm-test-ulps: Update.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7015 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7018 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7019 (__pow_mp): Replace ONE and MONE with their values.
7020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7022 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7023 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7024 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7025 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7027 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7029 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7030 (__pow_mp): Replace ZERO and MZERO with their values.
7031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7036 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7039 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7041 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7043 2013-03-28 Roland McGrath <roland@hack.frob.com>
7045 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7046 Declare with __attribute__ ((weak)).
7047 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7048 Call __call_tls_dtors only if it's not NULL.
7050 2013-03-28 Roland McGrath <roland@hack.frob.com>
7052 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7053 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7054 magic __ehdr_start linker symbol if it's defined.
7055 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7056 them up here if it was already done.
7058 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7059 (_dl_aux_init): Use const in cast when setting it.
7060 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7061 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7062 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7064 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7066 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7067 * csu/libc-tls.c: Nor here.
7068 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7070 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7071 (__libc_message): Never call vsyslog.
7073 2013-03-28 Alan Modra <amodra@gmail.com>
7075 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7077 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7080 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7087 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7090 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7091 Don't add gid passed as argument.
7093 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7095 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7098 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7099 imaginary part between 1.0 and 1.5 and real part less than 0.5
7101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7103 * math/libm-test.inc (cacos_test): Add more tests.
7104 (casin_test): Likewise.
7105 (casinh_test): Likewise.
7106 * sysdeps/i386/fpu/libm-test-ulps: Update.
7107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7109 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7111 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7115 (__dbl_mp): Likewise.
7116 (add_magnitudes): Likewise.
7117 (sub_magnitudes): Likewise.
7125 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7127 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7128 (__dubcos): Likewise.
7129 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7130 (__ieee754_acos): Likewise.
7131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7132 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7137 (my_log2): Likewise.
7138 (checkint): Likewise.
7139 * sysdeps/ieee754/dbl-64/e_remainder.c
7140 (__ieee754_remainder): Likewise.
7141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7146 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7148 MANTISSA_STORE_T to store computations on mantissa. Use
7149 macros for rounding and division.
7151 (__dbl_mp): Likewise.
7152 (add_magnitudes): Likewise.
7153 (sub_magnitudes): Likewise.
7156 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7157 powers of two in terms of TWOPOW macro.
7158 (mp_no): Make type of mantissa as MANTISSA_T.
7159 [!RADIXI]: Define RADIXI.
7160 [!TWO52]: Define TWO52.
7161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7163 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7165 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7166 llroundl symbol when building for PPC32.
7168 2013-03-24 Mark H Weaver <mhw@netris.org>
7170 * manual/arith.texi (Normalization Functions): Fix prototypes for
7171 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7173 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7177 high value to check if expl overflow.
7178 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7179 to check for underflow and overflow.
7180 * math/libm-test.inc: Add exp test.
7182 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7185 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7188 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7190 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7193 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7195 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7196 wrap blocks consisting of several statements.
7198 * sysdeps/generic/math-tests.h: New file.
7199 * sysdeps/i386/fpu/math-tests.h: Likewise.
7200 * math/test-snan.c: Include it.
7201 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7203 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7206 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7207 (__ieee754_j0l): Do not improve calculations using cos of twice
7208 input for inputs above LDBL_MAX / 2.0L.
7209 (__ieee754_y0l): Likewise.
7210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7211 (__ieee754_j1l): Do not improve calculations using cos of twice
7212 input for inputs above LDBL_MAX / 2.0L.
7213 (__ieee754_y1l): Likewise.
7214 * math/libm-test.inc (j0_test): Add another test.
7215 (j1_test): Likewise.
7216 (y0_test): Likewise.
7217 (y1_test): Likewise.
7218 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7222 * Rules ($(objpfx)bench-%.c): Include code from a C source
7225 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7229 imaginary part 1.0 and real part less than 0.5 specially.
7230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7232 * math/libm-test.inc (cacos_test): Add more tests.
7233 (casin_test): Likewise.
7234 (casinh_test): Likewise.
7235 * sysdeps/i386/fpu/libm-test-ulps: Update.
7236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7238 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7241 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7243 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7245 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7246 * config.make.in (config-cflags-sse4): Remove variable.
7247 (config-cflags-avx): Likewise.
7248 (config-cflags-sse2avx): Likewise.
7249 (config-cflags-novzeroupper): Likewise.
7250 (config-asflags-i686): Likewise.
7251 (have-mfma4): Likewise.
7252 (have-as-vis3): Likewise.
7254 * configure.in (MIG): Do not AC_SUBST.
7255 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7256 (libc_cv_cc_sse4): Do not AC_SUBST.
7257 (libc_cv_cc_avx): Likewise.
7258 (libc_cv_cc_sse2avx): Likewise.
7259 (libc_cv_cc_novzeroupper): Likewise.
7260 (libc_cv_cc_fma4): Likewise.
7261 (libc_cv_as_i686): Likewise.
7262 (libc_cv_sparc_as_vis3): Likewise.
7263 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7265 (config-asflags-i686): Likewise.
7266 (config-cflags-avx): Likewise.
7267 (config-cflags-sse2avx): Likewise.
7268 (have-mfma4): Likewise.
7269 (config-cflags-novzeroupper): Likewise.
7270 * sysdeps/mach/configure.in (MIG): Likewise.
7271 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7272 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7274 (config-cflags-avx): Likewise.
7275 (config-cflags-sse2avx): Likewise.
7276 (have-mfma4): Likewise.
7277 (config-cflags-novzeroupper): Likewise.
7278 * configure: Regenerated.
7279 * sysdeps/i386/configure: Likewise.
7280 * sysdeps/mach/configure: Likewise.
7281 * sysdeps/sparc/configure: Likewise.
7282 * sysdeps/x86_64/configure: Likewise.
7284 2013-03-20 Roland McGrath <roland@hack.frob.com>
7287 * locale/programs/localedef.c (options): Put N_ translation marker
7288 on argument names, not just descriptions.
7290 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7292 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7294 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7297 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7299 2013-03-19 Roland McGrath <roland@hack.frob.com>
7301 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7302 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7303 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7304 [!BEFORE_ABORT] (before_abort): New function.
7305 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7306 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7307 (writev_for_fatal): New function.
7308 (WRITEV_FOR_FATAL): New macro; call that.
7309 (backtrace_and_maps): New function.
7310 (BEFORE_ABORT): New macro; call that.
7311 (struct str_list): Type removed.
7312 (__libc_message, __libc_fatal): Functions removed.
7313 Include <sysdeps/posix/libc_fatal.c> instead.
7315 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7317 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7319 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7322 2013-03-19 Andreas Schwab <schwab@suse.de>
7324 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7325 * sysdeps/gnu/configure: Regenerate.
7327 * configure.in: Substitute libc_cv_rtlddir.
7328 * configure: Regenerate.
7329 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7330 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7331 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7332 * elf/Makefile (install-others, CFLAGS-interp.c)
7333 (ldso_install, common-ldd-rewrite): Likewise.
7334 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7335 $(inst_slibdir)/$(rtld-installed-name).
7336 * scripts/rellns-sh: Add -p option.
7337 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7340 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7342 * manual/nptl.texi: Renamed to ...
7343 * manual/threads.texi: ... this.
7344 * manual/Makefile (chapters): Update.
7346 2013-03-18 Roland McGrath <roland@hack.frob.com>
7349 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7350 on argument names, not just descriptions.
7351 * malloc/memusagestat.c (options): Likewise.
7352 * nss/getent.c (options): Likewise.
7354 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7357 * iconv/iconv_prog.c (options): Put N_ translation marker
7358 on argument names, not just descriptions.
7359 * iconv/iconvconfig.c (options): Likewise.
7361 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7363 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7364 implementation which is faster on all x86_64 architectures.
7365 Tested on AMD, Intel Nehalem, SNB, IVB.
7366 * sysdeps/x86_64/strnlen.S: Likewise.
7368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7369 Remove all multiarch strlen and strnlen versions.
7370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7371 Remove strlen and strnlen related parts.
7373 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7375 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7377 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7378 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7380 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7381 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7382 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7384 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7386 * manual/memory.texi (Malloc Tunable Parameters):
7387 Sort parameters alphabetically. Add comments for missing entries.
7389 2013-03-17 David S. Miller <davem@davemloft.net>
7391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7393 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7396 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7397 for arguments at most half maximum finite value.
7398 * math/libm-test.inc (j0_test): Add more tests.
7399 (j1_test): Likewise.
7400 (y0_test): Likewise.
7401 (y1_test): Likewise.
7402 * sysdeps/i386/fpu/libm-test-ulps: Update.
7403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7407 1 / x and functions P and Q for arguments above 0x1p256L.
7408 (__ieee754_y0l): Likewise.
7409 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7410 (__ieee754_y1l): Likewise.
7411 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7412 (j1_test): Likewise.
7413 (y0_test): Likewise.
7414 (y1_test): Likewise.
7416 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7418 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7421 2013-03-15 Roland McGrath <roland@hack.frob.com>
7423 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7424 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7425 zero since it's initialized to EXEC_PAGESIZE.
7427 * sysdeps/unix/sysv/linux/ldsodefs.h
7428 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7429 * sysdeps/generic/ldsodefs.h: ... here.
7431 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7433 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7435 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7437 * math/test-snan.c: Renamed from
7438 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7439 * math/Makefile (tests): Add test-snan.
7440 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7443 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7444 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7446 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7447 __builtin_nan family of functions.
7448 * math/libm-test.inc (initialize): Initialize qnan_value with
7449 __builtin_nan family of functions.
7450 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7452 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7454 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7455 storage class. Initialize qNaN_var and sNaN_var with
7456 __builtin_nan and __builtin_nans families of functions,
7459 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7460 (sqrt_test): Remove duplicate test with qNaN input.
7461 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7462 (round_test, signbit_test, significand_test): Note missing +/-Inf
7463 as well as qNaN tests.
7465 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7466 qNaN_var. Fix a few strings, too.
7467 * math/libm-test.inc (nan_value): Rename to qnan_value.
7468 * math/gen-libm-test.pl (%beautify): Adjust to that.
7469 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7470 * math/test-misc.c (main): Likewise.
7471 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7472 to __qnan_bytes, and __qnan_union, respectively.
7473 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7475 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7476 and lqnanval, respectively.
7477 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7478 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7479 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7480 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7482 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7483 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7486 * math/test-misc.c (main): Fix copy'n'pastos.
7487 * misc/tst-efgcvt.c (special): Likewise.
7489 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7490 Remove declarations.
7492 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7494 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7495 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7496 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7497 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7499 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7502 macro to return vdso values correctly in IFUNC implementations.
7503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7504 Optimization by using IFUNC.
7506 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7507 Richard Henderson <rth@redhat.com>
7508 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7510 * Makefile.in (bench): New target.
7511 * NEWS: Mention the benchmark framework.
7512 * Rules (bench): Likewise.
7513 (binaries-bench): Generate binaries for functions to
7515 * benchtests/Makefile: New makefile for benchmark tests.
7516 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7518 * benchtests/exp-inputs: New input file for EXP function.
7519 * benchtests/pow-inputs: New input file for POW function.
7520 * scripts/bench.pl: New script to generate source files for
7523 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7525 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7526 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7527 computations on mantissa. Use macros for rounding and
7530 (__dbl_mp): Likewise.
7531 (add_magnitudes): Likewise.
7532 (sub_magnitudes): Likewise.
7535 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7536 powers of two in terms of TWOPOW macro.
7537 (mp_no): Make type of mantissa as MANTISSA_T.
7538 [!RADIXI]: Define RADIXI.
7539 [!TWO52]: Define TWO52.
7540 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7542 * manual/nptl.texi (cindex): Modify threads to pthreads.
7544 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/x86_64/preconfigure: Regenerated.
7548 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7551 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7553 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7554 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7556 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7557 * math/libm-test.inc (j0_test): Do not allow one spurious
7558 underflow exception.
7559 (y1_test): Likewise.
7561 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7563 * manual/Makefile (chapters): Add nptl.
7564 * manual/debug.texi (Debugging Support): Add link to Threads
7566 * manual/nptl.texi: New file.
7568 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7570 2013-03-14 Petr Baudis <pasky@ucw.cz>
7572 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7573 for non-NULL pointer before the memory validity test. Pointed
7574 out by Holger Brunck <holger.brunck@keymile.com>.
7576 2013-03-13 Andreas Schwab <schwab@suse.de>
7578 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7581 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7583 * timezone/zic.c: Update from tzcode 2013b.
7585 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7587 * manual/install.texi (Configuring and compiling):
7588 Mention i686 and i586.
7589 * INSTALL: Regenerate.
7591 2013-03-12 Roland McGrath <roland@hack.frob.com>
7593 * sysdeps/init_array/elf-init.c: New file.
7595 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7596 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7598 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7599 __gmon_start__ as global, but as static with a .preinit_array pointer.
7600 * sysdeps/init_array/gmon-start.c: New file. Use that.
7601 * sysdeps/init_array/crti.S: New file, empty except for comments.
7602 * sysdeps/init_array/crtn.S: Likewise.
7604 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7606 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7609 Remove Prefer_SSE_for_memop.
7610 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7611 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7612 HAS_PREFER_SSE_FOR_MEMOP.
7613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7616 Remove bzero, memset ifunc support.
7617 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7619 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7620 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7622 2013-03-11 Andreas Schwab <schwab@suse.de>
7625 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7628 (GLIBC_2.16): Remove pthread_atfork.
7630 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7632 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7633 (ptestcases.h): Likewise.
7635 2013-03-08 Roland McGrath <roland@hack.frob.com>
7637 * Makeconfig ($(common-objpfx)config.status): Depend on
7638 sysdeps/*/preconfigure{,.in} too.
7640 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7642 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7643 (__free_hook): Use void * instead of __malloc_ptr_t.
7644 (__malloc_hook): Likewise.
7645 (__realloc_hook): Likewise.
7646 (__memalign_hook): Likewise.
7647 (__after_morecore_hook): Likewise.
7648 * malloc/arena.c (save_malloc_hook): Likewise.
7649 (save_free_hook): Likewise.
7650 * malloc/hooks.c (malloc_hook_ini): Likewise.
7651 (realloc_hook_ini): Likewise.
7652 (memalign_hook_ini): Likewise.
7653 * malloc/malloc.c (malloc_hook_ini): Likewise.
7654 (realloc_hook_ini): Likewise.
7655 (memalign_hook_ini): Likewise.
7656 (__free_hook): Likewise.
7657 (__malloc_hook): Likewise.
7658 (__realloc_hook): Likewise.
7659 (__memalign_hook): Likewise.
7660 (__libc_malloc): Likewise.
7661 (__libc_free): Likewise.
7662 (__libc_realloc): Likewise.
7663 (__libc_memalign): Likewise.
7664 (__libc_valloc): Likewise.
7665 (__libc_pvalloc): Likewise.
7666 (__libc_calloc): Likewise.
7667 (__posix_memalign): Likewise.
7668 * malloc/morecore.c (__sbrk): Likewise.
7669 (__default_morecore): Likewise.
7671 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7673 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7674 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7677 * malloc/malloc.h (__malloc_size_t): Remove macro.
7678 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7680 (old_memalign_hook): Likewise.
7681 (old_realloc_hook): Likewise.
7682 (struct hdr): Likewise.
7684 (mallochook): Likewise.
7685 (memalignhook): Likewise.
7686 (reallochook): Likewise.
7687 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7688 (tr_old_realloc_hook): Likewise.
7689 (tr_old_memalign_hook): Likewise.
7690 (tr_mallochook): Likewise.
7691 (tr_reallochook): Likewise.
7692 (tr_memalignhook): Likewise.
7694 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7697 default_ldbl_pack and using as default implementation.
7698 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7700 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7701 redundant definition.
7702 (ldbl_insert_mantissa): Likewise.
7703 (ldbl_canonicalize): Likewise.
7704 (ldbl_nearbyint): Likewise.
7705 (ldbl_pack): Rename to ldbl_pack_ppc.
7706 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7707 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7708 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7710 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7713 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7714 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7715 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7717 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7718 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7719 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7721 2013-03-07 Andreas Jaeger <aj@suse.de>
7723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7726 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7728 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7729 Include mpa.h and declare __MPEXP.
7730 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7731 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7732 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7733 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7734 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7736 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7738 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7739 (__slowpow): Use long double EXPL and LOGL functions to
7741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7742 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7743 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7749 intermediate variable to calculate exponent.
7751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7755 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7756 [!NO__SQR]: Define __sqr.
7757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7758 and NO__SQR. Remove all code except __mul and __sqr. Include
7759 sysdeps/ieee754/dbl-64/mpa.c.
7760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7763 * posix/Makefile (tests): Add tst-pathconf.
7764 * posix/tst-pathconf.c: New test case.
7765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7767 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7769 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7771 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7773 2013-03-06 Andreas Jaeger <aj@suse.de>
7775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7776 definition via __MAP_ANONYMOUS.
7778 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7779 it's not part of Linux headers.
7781 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7782 (MAP_HUGE_MASK): Define.
7784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7790 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7797 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7798 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7799 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7800 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7801 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7802 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7808 Handle f2fs and efivarfs.
7810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7813 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7814 (EFIVARFS_MAGIC): Add.
7815 (F2FS_LINK_MAX): Add.
7817 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7819 * stdio-common/vfprintf.c: Replace __builtin_expect with
7822 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7825 * sysdeps/generic/bp-sym.h: Remove file.
7826 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7828 <bp-sym.h> and <bp-asm.h>.
7829 (__longjmp): Don't use BP_SYM.
7830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7832 (memcpy): Don't use BP_SYM.
7833 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7834 <bp-sym.h> and <bp-asm.h>.
7835 (memcpy): Don't use BP_SYM.
7836 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7838 (memcpy): Don't use BP_SYM.
7839 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7841 (memset): Don't use BP_SYM.
7842 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7843 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7844 (__bzero): Don't use BP_SYM.
7845 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7846 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7847 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7848 <bp-sym.h> and <bp-asm.h>.
7849 (memcmp): Don't use BP_SYM. Remove comment about bounded
7851 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7852 <bp-sym.h> and <bp-asm.h>.
7853 (memcpy): Don't use BP_SYM.
7854 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7855 <bp-sym.h> and <bp-asm.h>.
7856 (memset): Don't use BP_SYM.
7857 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7858 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7859 (__bzero): Don't use BP_SYM.
7860 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7861 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7863 <bp-sym.h> and <bp-asm.h>.
7864 (strncmp): Don't use BP_SYM. Remove comment about bounded
7866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7867 <bp-sym.h> and <bp-asm.h>.
7868 (memcpy): Don't use BP_SYM.
7869 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7870 <bp-sym.h> and <bp-asm.h>.
7871 (memset): Don't use BP_SYM.
7872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7874 (__bzero): Don't use BP_SYM.
7875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7878 <bp-sym.h> and <bp-asm.h>.
7879 (__memchr): Don't use BP_SYM.
7880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7881 <bp-sym.h> and <bp-asm.h>.
7882 (memcmp): Don't use BP_SYM. Remove comment about bounded
7884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7885 <bp-sym.h> and <bp-asm.h>.
7886 (memcpy): Don't use BP_SYM.
7887 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7888 <bp-sym.h> and <bp-asm.h>.
7889 (__mempcpy): Don't use BP_SYM.
7890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7891 <bp-sym.h> and <bp-asm.h>.
7892 (__memrchr): Don't use BP_SYM.
7893 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7894 <bp-sym.h> and <bp-asm.h>.
7895 (memset): Don't use BP_SYM.
7896 (__bzero): Likewise.
7897 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7898 <bp-sym.h> and <bp-asm.h>.
7899 (__rawmemchr): Don't use BP_SYM.
7900 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7901 <bp-sym.h> and <bp-asm.h>.
7902 (__STRCMP): Don't use BP_SYM.
7903 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7904 <bp-sym.h> and <bp-asm.h>.
7905 (strchr): Don't use BP_SYM.
7906 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7907 <bp-sym.h> and <bp-asm.h>.
7908 (__strchrnul): Don't use BP_SYM.
7909 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7910 <bp-sym.h> and <bp-asm.h>.
7911 (strlen): Don't use BP_SYM.
7912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7913 <bp-sym.h> and <bp-asm.h>.
7914 (strncmp): Don't use BP_SYM. Remove comment about bounded
7916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7917 <bp-sym.h> and <bp-asm.h>.
7918 (__strnlen): Don't use BP_SYM.
7919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7920 <bp-sym.h> and <bp-asm.h>.
7921 (__GI__setjmp): Don't use BP_SYM.
7922 (_setjmp): Likewise.
7923 (__sigsetjmp): Likewise.
7924 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7925 (L(start_addresses)): Don't use BP_SYM.
7927 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7929 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7930 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7931 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7932 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7933 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7935 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7936 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7937 about bounded pointers.
7938 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7939 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7940 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7942 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7943 about bounded pointers. Remove GKM FIXME comments.
7944 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7945 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7947 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7948 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7949 Remove GKM FIXME comments.
7950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7952 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7955 about bounded pointers. Remove GKM FIXME comment.
7956 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7958 (strncmp): Don't use BP_SYM. Remove comment about bounded
7960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7961 <bp-sym.h> and <bp-asm.h>.
7962 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7964 <bp-sym.h> and <bp-asm.h>.
7965 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7968 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7970 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7973 2013-03-05 David S. Miller <davem@davemloft.net>
7975 * po/es.po: Update from translation team.
7977 2013-03-05 Andreas Jaeger <aj@suse.de>
7979 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7980 <bits/mman-linux.h>.
7981 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7984 <bits/mman-linux.h> to end of file.
7985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7988 <bits/mman-linux.h> to end of file.
7989 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7992 <bits/mman-linux.h> to end of file.
7994 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7995 (MCL_CURRENT, MCL_FUTURE): Define here.
7997 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8004 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8007 fourth parameter needed for rt_sigprocmask syscall.
8008 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8009 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8010 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8011 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8012 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8013 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8015 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8018 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8019 comment about bounded pointers.
8020 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8021 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8023 2013-03-04 Andreas Jaeger <aj@suse.de>
8025 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8029 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8030 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8035 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8039 __ieee754_sqrl instead of __sqrl.
8041 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8044 * sysdeps/powerpc/fpu_control.h: ... here.
8045 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8046 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8047 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8048 * sysdeps/powerpc/bits/mathinline.h: ... here.
8050 2013-03-01 Roland McGrath <roland@hack.frob.com>
8052 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8053 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8054 to just [NEED_DL_SYSINFO_DSO].
8055 * elf/dl-support.c: Likewise.
8056 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8057 * elf/rtld.c (dl_main): Likewise.
8058 * elf/setup-vdso.h (setup_vdso): Likewise.
8059 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8060 * sysdeps/unix/sysv/linux/dl-sysdep.c
8061 (_dl_discover_osversion): Likewise.
8063 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8065 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8066 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8068 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8070 * NEWS: Mention libm performance improvements and non-x86 PI
8073 * csu/libc-start.c (__pthread_initialize_minimal): Change
8075 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8077 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8080 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8081 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8082 <bp-sym.h> and <bp-asm.h>.
8083 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8086 (memcpy): Don't use BP_SYM.
8087 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8089 (__mpn_add_n): Don't use BP_SYM.
8090 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8091 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8093 (__mpn_addmul_1): Don't use BP_SYM.
8094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8095 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8097 (_setjmp): Don't use BP_SYM.
8098 (__novmx_setjmp): Likewise.
8099 (__GI__setjmp): Likewise.
8100 (__vmx_setjmp): Likewise.
8101 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8103 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8104 (__bzero): Don't use BP_SYM.
8105 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8106 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8107 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8108 <bp-sym.h> and <bp-asm.h>.
8109 (memcpy): Don't use BP_SYM.
8110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8111 <bp-sym.h> and <bp-asm.h>.
8112 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8113 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8114 <bp-sym.h> and <bp-asm.h>.
8115 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8116 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8118 (__mpn_lshift): Don't use BP_SYM.
8119 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8120 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8122 (memset): Don't use BP_SYM.
8123 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8124 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8125 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8127 (__mpn_mul_1): Don't use BP_SYM.
8128 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8130 <bp-sym.h> and <bp-asm.h>.
8131 (memcmp): Don't use BP_SYM.
8132 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8133 <bp-sym.h> and <bp-asm.h>.
8134 (memcpy): Don't use BP_SYM.
8135 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8136 <bp-sym.h> and <bp-asm.h>.
8137 (memset): Don't use BP_SYM.
8138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8139 <bp-sym.h> and <bp-asm.h>.
8140 (strncmp): Don't use BP_SYM.
8141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8142 <bp-sym.h> and <bp-asm.h>.
8143 (memcpy): Don't use BP_SYM.
8144 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8145 <bp-sym.h> and <bp-asm.h>.
8146 (memset): Don't use BP_SYM.
8147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8148 <bp-sym.h> and <bp-asm.h>.
8149 (__memchr): Don't use BP_SYM.
8150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8151 <bp-sym.h> and <bp-asm.h>.
8152 (memcmp): Don't use BP_SYM.
8153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8154 <bp-sym.h> and <bp-asm.h>.
8155 (memcpy): Don't use BP_SYM.
8156 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8157 <bp-sym.h> and <bp-asm.h>.
8158 (__mempcpy): Don't use BP_SYM.
8159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8160 <bp-sym.h> and <bp-asm.h>.
8161 (__memrchr): Don't use BP_SYM.
8162 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8163 <bp-sym.h> and <bp-asm.h>.
8164 (memset): Don't use BP_SYM.
8165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8166 <bp-sym.h> and <bp-asm.h>.
8167 (__rawmemchr): Don't use BP_SYM.
8168 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8169 <bp-sym.h> and <bp-asm.h>.
8170 (__STRCMP): Don't use BP_SYM.
8171 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8172 <bp-sym.h> and <bp-asm.h>.
8173 (strchr): Don't use BP_SYM.
8174 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8175 <bp-sym.h> and <bp-asm.h>.
8176 (__strchrnul): Don't use BP_SYM.
8177 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8178 <bp-sym.h> and <bp-asm.h>.
8179 (strlen): Don't use BP_SYM.
8180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8181 <bp-sym.h> and <bp-asm.h>.
8182 (strncmp): Don't use BP_SYM.
8183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8184 <bp-sym.h> and <bp-asm.h>.
8185 (__strnlen): Don't use BP_SYM.
8186 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8188 (__mpn_rshift): Don't use BP_SYM.
8189 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8190 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8191 <bp-sym.h> and <bp-asm.h>.
8192 (__sigsetjmp): Don't use BP_SYM.
8193 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8194 (L(start_addresses)): Don't use BP_SYM.
8196 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8198 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8199 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8200 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8201 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8203 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8204 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8205 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8206 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8208 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8210 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8211 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8213 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8215 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8216 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8217 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8219 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8221 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8223 (strncmp): Don't use BP_SYM,
8224 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8226 (__mpn_sub_n): Don't use BP_SYM.
8227 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8228 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8230 (__mpn_submul_1): Don't use BP_SYM.
8231 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8233 <bp-sym.h> and <bp-asm.h>.
8234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8236 <bp-sym.h> and <bp-asm.h>.
8237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8240 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8243 Use ZK to minimize writes to Z.
8244 (sub_magnitudes): Simplify code a bit.
8245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8246 Use ZK to minimize writes to Z.
8247 (sub_magnitudes): Simplify code a bit.
8249 2013-02-27 Roland McGrath <roland@hack.frob.com>
8251 * csu/gmon-start.c: Add special exception to license text.
8253 2013-02-27 Richard Henderson <rth@redhat.com>
8255 * scripts/config.guess: Update from config.git.
8256 * scripts/config.sub: Likewise.
8258 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8262 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8264 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8266 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8268 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8270 2013-02-26 Roland McGrath <roland@hack.frob.com>
8272 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8273 [$(build-shared = yes].
8275 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8277 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8278 (__mul): Reduce iterations for calculating mantissa.
8280 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8282 (__mpranred): Likewise.
8285 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8286 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8288 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8290 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8291 Define __attribute__.
8293 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8295 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8297 * posix/regex_internal.h (__attribute): Remove.
8298 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8299 (re_string_context_at): Likewise.
8300 (bitset_not): Use __attribute__ and mark function as possibly
8302 (bitset_merge): Likewise.
8303 (bitset_mask): Likewise.
8304 (re_string_char_size_at): Likewise.
8305 (re_string_wchar_at): Likewise.
8306 (re_string_elem_size_at): Likewise.
8308 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8310 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8314 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8319 (__dbl_mp): Likewise.
8320 (add_magnitudes): Likewise.
8321 (sub_magnitudes): Likewise.
8325 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8328 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8331 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8335 up changes with default code.
8336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8339 2013-02-24 Allan McRae <allan@archlinux.org>
8341 * manual/socket.texi (The Internet Namespace): Order menu items
8342 to match that in the file.
8344 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8345 node listing of the info page menu.
8347 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/i386/bp-asm.h: Remove file.
8351 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8352 (PARMS): Do not use macros from bp-asm.h.
8356 (__mpn_add_n): Do not use BP_SYM
8357 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8359 (PARMS): Do not use macros from bp-asm.h.
8362 (__mpn_addmul_1): Do not use BP_SYM
8363 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8365 (PARMS): Do not use macros from bp-asm.h.
8367 (_setjmp): Likewise. Do not use BP_SYM.
8368 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8370 (PARMS): Do not use macros from bp-asm.h.
8372 (setjmp): Likewise. Do not use BP_SYM.
8373 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8375 (PARMS): Do not use macros from bp-asm.h.
8376 (__frexp): Do not use BP_SYM.
8378 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8380 (PARMS): Do not use macros from bp-asm.h.
8381 (__frexpf): Do not use BP_SYM.
8383 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8385 (PARMS): Do not use macros from bp-asm.h.
8386 (__frexpl): Do not use BP_SYM.
8388 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8390 (PARMS): Do not use macros from bp-asm.h.
8391 (__remquo): Do not use BP_SYM.
8393 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8395 (PARMS): Do not use macros from bp-asm.h.
8396 (__remquof): Do not use BP_SYM.
8397 (remquof): Likewise.
8398 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8400 (PARMS): Do not use macros from bp-asm.h.
8401 (__remquol): Do not use BP_SYM.
8402 (remquol): Likewise.
8403 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8405 (PARMS): Do not use macros from bp-asm.h.
8408 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8409 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8411 (PARMS): Do not use macros from bp-asm.h.
8412 (strlen): Do not use BP_SYM.
8413 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8415 (PARMS): Do not use macros from bp-asm.h.
8419 (__mpn_add_n): Do not use BP_SYM.
8420 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8422 (PARMS): Do not use macros from bp-asm.h.
8425 (__mpn_addmul_1): Do not use BP_SYM.
8426 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8429 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8431 (PARMS): Do not use macros from bp-asm.h.
8434 (__mpn_lshift): Do not use BP_SYM.
8435 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8437 (PARMS): Do not use macros from bp-asm.h.
8441 (memcpy): Likewise. Do not use BP_SYM.
8442 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8443 libc_hidden_def and weak_alias.
8444 (mempcpy): Do not use BP_SYM in weak_alias.
8445 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8447 (PARMS): Do not use macros from bp-asm.h.
8450 [!BZERO_P] (CHR): Likewise.
8451 (memset): Likewise. Do not use BP_SYM.
8452 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8454 (PARMS): Do not use macros from bp-asm.h.
8457 (__mpn_mul_1): Do not use BP_SYM.
8458 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8460 (PARMS): Do not use macros from bp-asm.h.
8463 (__mpn_rshift): Do not use BP_SYM.
8464 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8466 (PARMS): Do not use macros from bp-asm.h.
8469 (strchr): Likewise. Do not use BP_SYM.
8470 (index): Do not use BP_SYM in weak_alias.
8471 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8473 (PARMS): Do not use macros from bp-asm.h.
8476 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8477 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8479 (PARMS): Do not use macros from bp-asm.h.
8480 (strlen): Do not use BP_SYM.
8481 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8483 (PARMS): Do not use macros from bp-asm.h.
8487 (__mpn_sub_n): Do not use BP_SYM.
8488 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8490 (PARMS): Do not use macros from bp-asm.h.
8493 (__mpn_submul_1): Do not use BP_SYM.
8494 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8496 (PARMS): Do not use macros from bp-asm.h.
8500 (__mpn_add_n): Do not use BP_SYM.
8501 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8504 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8506 (PARMS): Do not use macros from bp-asm.h.
8509 (memcmp): Do not use BP_SYM.
8510 (bcmp): Do not use BP_SYM in weak_alias.
8511 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8513 (PARMS): Do not use macros from bp-asm.h.
8517 (memcpy): Likewise. Do not use BP_SYM.
8518 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8520 (PARMS): Do not use macros from bp-asm.h.
8524 (memmove): Likewise. Do not use BP_SYM.
8525 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8527 (PARMS): Do not use macros from bp-asm.h.
8531 (__mempcpy): Likewise. Do not use BP_SYM.
8532 (mempcpy): Do not use BP_SYM in weak_alias.
8533 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8535 (PARMS): Do not use macros from bp-asm.h.
8538 [!BZERO_P] (CHR): Likewise.
8539 (memset): Likewise. Do not use BP_SYM.
8540 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8542 (PARMS): Do not use macros from bp-asm.h.
8544 (strcmp): Do not use BP_SYM.
8545 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8547 (PARMS): Do not use macros from bp-asm.h.
8550 [USE_AS_STRTOK_R] (SAVE): Likewise.
8551 (FUNCTION): Likewise. Do not use BP_SYM.
8552 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8554 (strtok_r): Likewise.
8555 (__GI___strtok_r): Likewise.
8556 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8557 (PARMS): Do not use macros from bp-asm.h.
8560 (__mpn_lshift): Do not use BP_SYM.
8561 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8562 (PARMS): Do not use macros from bp-asm.h.
8565 (__memchr): Do not use BP_SYM.
8566 (memchr): Do not use BP_SYM in weak_alias.
8567 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8568 (PARMS): Do not use macros from bp-asm.h.
8571 (memcmp): Do not use BP_SYM.
8572 (bcmp): Do not use BP_SYM in weak_alias.
8573 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8574 (PARMS): Do not use macros from bp-asm.h.
8577 (__mpn_mul_1): Do not use BP_SYM.
8578 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8580 (PARMS): Do not use macros from bp-asm.h.
8583 (__rawmemchr): Do not use BP_SYM.
8584 (rawmemchr): Do not use BP_SYM in weak_alias.
8585 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8586 (PARMS): Do not use macros from bp-asm.h.
8589 (__mpn_rshift): Do not use BP_SYM.
8590 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8591 (PARMS): Do not use macros from bp-asm.h.
8593 (__sigsetjmp): Likewise. Do not use BP_SYM.
8594 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8595 (_start): Do not use BP_SYM.
8596 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8597 (PARMS): Do not use macros from bp-asm.h.
8600 (__stpcpy): Likewise. Do not use BP_SYM.
8601 (stpcpy): Do not use BP_SYM in weak_alias.
8602 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8604 (PARMS): Do not use macros from bp-asm.h.
8608 (__stpncpy): Likewise. Do not use BP_SYM.
8609 (stpncpy): Do not use BP_SYM in weak_alias.
8610 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8611 (PARMS): Do not use macros from bp-asm.h.
8614 (strchr): Likewise. Do not use BP_SYM.
8615 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8617 (PARMS): Do not use macros from bp-asm.h.
8620 (__strchrnul): Likewise. Do not use BP_SYM.
8621 (strchrnul): Do not use BP_SYM in weak_alias.
8622 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8624 (PARMS): Do not use macros from bp-asm.h.
8626 (strcspn): Do not use BP_SYM.
8627 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8629 (PARMS): Do not use macros from bp-asm.h.
8632 (strpbrk): Likewise. Do not use BP_SYM.
8633 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8635 (PARMS): Do not use macros from bp-asm.h.
8638 (strrchr): Likewise. Do not use BP_SYM.
8639 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8640 (PARMS): Do not use macros from bp-asm.h.
8642 (strspn): Do not use BP_SYM.
8643 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8644 (PARMS): Do not use macros from bp-asm.h.
8648 (FUNCTION): Likewise. Do not use BP_SYM.
8649 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8651 (strtok_r): Likewise.
8652 (__GI___strtok_r): Likewise.
8653 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8654 (PARMS): Do not use macros from bp-asm.h.
8658 (__mpn_sub_n): Do not use BP_SYM.
8659 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8661 (PARMS): Do not use macros from bp-asm.h.
8664 (__mpn_submul_1): Do not use BP_SYM.
8665 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8667 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8669 (PARMS): Do not use macros from bp-asm.h.
8674 (__clone): Do not use BP_SYM.
8675 (clone): Do not use BP_SYM in weak_alias.
8676 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8678 (PARMS): Do not use macros from bp-asm.h.
8680 (__mmap64): Do not use BP_SYM.
8681 (mmap64): Do not use BP_SYM in weak_alias.
8682 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8683 <bp-sym.h> and <bp-asm.h>.
8684 (PARMS): Do not use macros from bp-asm.h.
8685 (__posix_fadvise64_l64): Do not use BP_SYM.
8686 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8687 (PARMS): Do not use macros from bp-asm.h.
8689 (semtimedop): Do not use BP_SYM.
8690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8693 2013-02-21 Allan McRae <allan@archlinux.org>
8695 * manual/message.texi (Charset conversion in gettext):
8696 Move @end statement to beginning of line.
8698 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8710 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8712 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8713 tail-call to the resolved function if pltexit isn't needed.
8715 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8718 or Y being zero as being unlikely.
8719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8722 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8724 * manual/nss.texi (System Databases and Name Service Switch):
8725 Remove frobnicate @pxref.
8727 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8729 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8730 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8732 2013-02-20 Petr Machata <pmachata@redhat.com>
8734 * elf/elf.h (R_ARM_TARGET1): New macro.
8735 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8736 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8737 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8738 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8739 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8740 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8741 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8742 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8743 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8744 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8745 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8746 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8747 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8748 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8749 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8750 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8751 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8752 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8753 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8754 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8755 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8756 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8757 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8758 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8759 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8760 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8761 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8762 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8763 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8764 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8765 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8766 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8767 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8768 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8769 (R_ARM_THM_GOT_BREL12): Likewise.
8770 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8771 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8772 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8773 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8774 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8775 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8776 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8777 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8778 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8780 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8782 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8783 __attribute_used__ to __attribute__ ((unused)).
8785 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8793 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8796 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8798 (ENTER): Remove both macro definitions.
8800 (CHECK_BOUNDS_LOW): Likewise.
8801 (CHECK_BOUNDS_HIGH): Likewise.
8802 (CHECK_BOUNDS_BOTH): Likewise.
8803 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8804 (RETURN_BOUNDED_POINTER): Likewise.
8805 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8806 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8807 (POP_ERRNO_LOCATION_RETURN): Likewise.
8808 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8810 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8813 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8814 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8815 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8816 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8817 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8818 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8819 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8820 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8821 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8822 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8823 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8824 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8825 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8827 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8828 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8831 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8832 * sysdeps/i386/i586/memset.S (memset): Likewise.
8833 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8834 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8835 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8837 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8838 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8839 Change uses of L(2) to L(out).
8840 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8841 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8842 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8844 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8847 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8850 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8851 (RETURN): Do not use macro LEAVE.
8852 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8853 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8854 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8855 * sysdeps/i386/i686/memset.S (memset): Likewise.
8856 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8857 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8858 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8859 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8861 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8862 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8863 L(1_2) and L(1_3) into L(1).
8864 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8865 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8866 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8867 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8868 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8869 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8870 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8872 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8874 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8875 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8876 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8877 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8878 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8879 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8880 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8881 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8882 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8883 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8884 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8885 * sysdeps/i386/strspn.S (strspn): Likewise.
8886 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8888 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8889 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8890 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8891 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8893 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8894 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8895 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8897 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8899 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8901 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8904 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8906 * math/atest-exp.c (exp_mpn): Remove ROUND.
8907 * math/atest-exp2.c (exp_mpn): Likewise.
8908 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8910 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8911 * stdlib/tst-tls-atexit-lib.c: Likewise.
8912 * stdlib/tst-tls-atexit.c: Likewise.
8914 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8916 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8917 and __attribute_alloc_size__.
8919 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8921 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8922 __attribute_alloc_size__.
8923 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8924 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8926 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8928 * include/programs/xmalloc.h: New file.
8929 * catgets/gencat.c: Include it.
8930 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8931 * elf/pldd.c: Likewise.
8932 * iconv/iconv_charmap.c: Likewise.
8933 * iconv/iconvconfig.c: Likewise.
8934 * iconv/strtab.c: Likewise.
8935 * locale/programs/locale.c: Likewise.
8936 * locale/programs/localedef.h: Likewise.
8937 * locale/programs/simple-hash.c: Likewise.
8938 * nscd/nscd.h: Likewise.
8939 * nss/makedb.c: Likewise.
8940 * sysdeps/generic/ldconfig.h: Likewise.
8942 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8944 * Versions.def: Add GLIBC_2.18.
8945 * include/link.h (struct link_map): New member l_tls_dtor_count.
8946 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8947 (__call_tls_dtors): Likewise.
8948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8949 __cxa_thread_atexit_impl.
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8966 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8967 (tests): Add test case tst-tls-atexit.
8968 (modules-names): Add shared library for tst-tls-atexit.
8969 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8970 (GLIBC_PRIVATE): Add __call_tls_dtors.
8971 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8973 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8974 * stdlib/tst-tls-atexit.c: New test case.
8975 * stdlib/tst-tls-atexit-lib.c: New test case.
8977 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8979 * elf/Versions (ld): Add _dl_find_dso_for_object.
8980 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8981 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8982 (dl_open_worker): Use _dl_find_dso_for_object.
8983 * elf/dl-sym.c (do_sym): Likewise.
8984 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8986 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8988 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8989 Syntactic changes only.
8990 (_dl_runtime_profile): Do a tail-call to the resolved function.
8992 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8995 * sysdeps/x86_64/bp-asm.h: Remove file.
8996 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8997 <bp-sym.h> and <bp-asm.h>.
8998 (__clone): Do not use BP_SYM.
8999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9000 <bp-sym.h> and <bp-asm.h>.
9001 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9002 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9004 (_setjmp): Do not use BP_SYM.
9005 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9007 (setjmp): Do not use BP_SYM.
9008 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9010 (mempcpy): Do not use BP_SYM in weak_alias.
9011 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9013 (strchr): Do not use BP_SYM.
9014 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9016 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9017 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9018 (_start): Do not use BP_SYM.
9019 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9021 (strcat): Do not use BP_SYM.
9022 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9024 (STRCMP): Do not use BP_SYM.
9025 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9027 (STRCPY): Do not use BP_SYM.
9028 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9030 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9032 (FUNCTION): Do not use BP_SYM.
9033 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9035 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9037 2013-02-17 Andreas Jaeger <aj@suse.de>
9039 * time/Versions: Sort entries.
9040 * string/Versions: Likewise.
9041 * resolv/Versions: Likewise.
9042 * posix/Versions: Likewise.
9043 * iconv/Versions: Likewise.
9044 * elf/Versions: Likewise.
9045 * wcsmbs/Versions: Likewise.
9047 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9050 loop termination condition.
9052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9053 variable to calculate EZ.
9056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9057 the lower precision input.
9059 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9062 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9063 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9064 (run-via-rtld-prefix): Do not handle %-bp tests.
9065 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9066 (all-object-suffixes): Remove .ob.
9067 (bppfx): Remove variable.
9068 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9069 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9070 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9071 [$(build-bounded) = yes] (libtype.ob): Likewise.
9072 * Makerules (elide-routines.ob): Remove variable.
9073 (do-tests-clean): Do not handle *-bp.out.
9074 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9075 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9076 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9077 (tests): Do not include $(tests-bp.out).
9078 (xtests): Do not include $(xtests-bp.out).
9079 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9080 [$(build-bounded) = yes] ($(addprefix
9081 $(objpfx),$(binaries-bounded))): Remove rule.
9082 ($(objpfx)%-bp.out): Remove rule.
9083 * config.make.in (build-bounded): Remove variable.
9084 * crypt/Makefile [$(build-bounded) = yes]
9085 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9086 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9088 [$(build-bounded) = yes] (install-lib): Likewise.
9089 [$(build-bounded) = yes] (generated): Likewise.
9090 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9092 * intl/Makefile [$(build-bounded) = yes]
9093 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9094 * math/Makefile [$(build-bounded) = yes]
9095 ($(tests:%=$(objpfx)%-bp): Likewise.
9096 * misc/Makefile [$(build-bounded) = yes]
9097 ($(objpfx)tst-tsearch-bp): Likewise.
9098 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9099 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9101 * string/Makefile (o-objects.ob): Remove variable.
9102 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9103 (CFLAGS-.ob): Remove variable.
9104 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9106 both definitions of variable.
9107 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9108 (ASFLAGS-.ob): Remove variable.
9110 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9113 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9114 Remove __BOUNDED_POINTERS__ from condition.
9115 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9116 * string/bits/string2.h [!__NO_STRING_INLINES &&
9117 !__BOUNDED_POINTERS__]: Likewise.
9118 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9120 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9121 Remove conditional code.
9122 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9123 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9124 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9128 * csu/libc-start.c: Do not include <bp-sym.h>.
9129 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9130 * elf/dl-open.c: Do not include <bp-sym.h>.
9131 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9132 * math/fegetenv.c: Do not include <bp-sym.h>.
9133 (fegetenv): Do not use BP_SYM in versioned symbols.
9134 * nptl/sysdeps/pthread/bits/libc-lockP.h
9135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9138 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9140 (__pthread_mutex_destroy): Likewise.
9141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9142 (__pthread_mutex_lock): Likewise.
9143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9144 (__pthread_mutex_trylock): Likewise.
9145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9146 (__pthread_mutex_unlock): Likewise.
9147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9148 (__pthread_mutexattr_init): Likewise.
9149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9150 (__pthread_mutexattr_destroy): Likewise.
9151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9152 (__pthread_mutexattr_settype): Likewise.
9153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9154 (__pthread_rwlock_init): Likewise.
9155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9156 (__pthread_rwlock_destroy): Likewise.
9157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9158 (__pthread_rwlock_rdlock): Likewise.
9159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9160 (__pthread_rwlock_tryrdlock): Likewise.
9161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9162 (__pthread_rwlock_wrlock): Likewise.
9163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9164 (__pthread_rwlock_trywrlock): Likewise.
9165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9166 (__pthread_rwlock_unlock): Likewise.
9167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9168 (__pthread_key_create): Likewise.
9169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9170 (__pthread_setspecific): Likewise.
9171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9172 (__pthread_getspecific): Likewise.
9173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9176 (_pthread_cleanup_push_defer): Likewise.
9177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9178 (_pthread_cleanup_pop_restore): Likewise.
9179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9180 (pthread_setcancelstate): Likewise.
9181 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9183 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9184 (memchr): Do not use BP_SYM in weak_alias.
9185 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9186 (fegetenv): Do not use BP_SYM in versioned symbols.
9187 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9188 (fesetenv): Do not use BP_SYM in versioned symbols.
9189 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9190 (feupdateenv): Do not use BP_SYM in versioned symbols.
9191 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9192 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9193 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9194 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9195 (open64): Do not use BP_SYM in weak_alias.
9196 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9197 (fegetenv): Do not use BP_SYM in versioned symbols.
9198 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9199 (fesetenv): Do not use BP_SYM in versioned symbols.
9200 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9201 (feupdateenv): Do not use BP_SYM in versioned symbols.
9202 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9203 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9204 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9205 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9206 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9207 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9208 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9210 (__libc_start_main): Do not use BP_SYM.
9212 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9215 redundant return line.
9219 (sub_magnitudes): Likewise.
9225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9229 (sub_magnitudes): Likewise.
9236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9239 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9242 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9243 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9245 of __mul for squares.
9246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9253 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9256 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9258 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9259 prototype or function definition. Rename ubp_* variables and
9260 parameters. Remove argv definitions conditional on
9261 [__BOUNDED_POINTERS__].
9262 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9263 * elf/dl-runtime.c (_dl_fixup): Likewise.
9264 * include/set-hooks.h (RUN_HOOK): Likewise.
9265 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9267 * string/strcpy.c (strcpy): Do not use __unbounded.
9268 * sysdeps/generic/frame.h (struct layout): Likewise.
9269 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9270 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9271 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9272 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9273 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9274 (__backtrace): Likewise.
9275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9277 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9278 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9279 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9281 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9282 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9284 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9285 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9286 Do not use __unbounded.
9287 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9288 Rename __unboundedrlimits parameter to rlimits in prototype.
9289 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9290 Do not use __unbounded.
9291 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9293 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9294 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9295 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9297 __ptrvalue or __unbounded.
9298 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9299 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9301 (__new_msgctl): Do not use __ptrvalue.
9302 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9304 (__libc_msgrcv): Do not use __ptrvalue.
9305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9306 startup_info): Do not use __unbounded.
9307 (__libc_start_main): Likewise. Rename ubp_* variables and
9308 parameters. Remove argv definitions conditional on
9309 [__BOUNDED_POINTERS__].
9310 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9312 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9314 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9316 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9318 (__new_shmctl): Do not use __ptrvalue.
9319 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9320 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9322 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9323 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9324 (__libc_sigaction): Likewise.
9325 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9326 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9328 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9330 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9332 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9334 * string/mempcpy.c: Implement by calling memcpy.
9336 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9344 values in the mantissa.
9346 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9347 minimize writes to Z.
9348 (sub_magnitudes): Simplify code a bit.
9350 2013-02-12 Roland McGrath <roland@hack.frob.com>
9352 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9353 from the message. The linker prefixes all warnings with that already.
9355 2013-02-12 Andreas Schwab <schwab@suse.de>
9358 * posix/regexec.c (extend_buffers): Add parameter min_len.
9359 (check_matching): Pass minimum needed length.
9360 (clean_state_log_if_needed): Likewise.
9361 (get_subexp): Likewise.
9362 * posix/Makefile (tests): Add bug-regex34.
9363 (bug-regex34-ENV): Define.
9364 * posix/bug-regex34.c: New file.
9367 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9368 elements compare against the byte sequence of it, not its name.
9369 * posix/Makefile (tests): Add bug-regex35.
9370 (bug-regex35-ENV): Define.
9371 * posix/bug-regex35.c: New file.
9373 2013-02-11 Tom de Vries <tom@codesourcery.com>
9375 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9377 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9378 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9379 (CHECK_EOL): Add undef.
9381 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9383 * bits/stdlib-bsearch.h: New file.
9384 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9385 * stdlib/stdlib.h: Likewise.
9387 2013-02-11 Roland McGrath <roland@hack.frob.com>
9389 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9390 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9392 * manual/search.texi (Array Search Function): Add missing const in
9394 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9395 declaration to use rlim_t.
9396 (Basic Scheduling Functions): Remove erroneous const from
9397 sched_getparam prototype. Remove erroneous * from
9398 sched_get_priority_max and sched_get_priority_min prototypes.
9399 (Resource Usage): Fix summary @comment on vtimes to refer to
9400 sys/vtimes.h rather than vtimes.h.
9401 Add missing *s in vtimes prototype.
9402 (Limits on Resources): Fix ulimit prototype to return long int.
9403 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9404 prototypes to use long int rather than double.
9405 (BSD Random): Fix initstate and setstate to use char *, not void *.
9406 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9407 prototype to make second argument 'struct aiocb64 *const[]'.
9408 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9409 (Status of AIO Operations): Remove erroneous const in aio_return and
9410 aio_return64 prototypes.
9411 (Synchronizing I/O): Fix sync prototype to return void.
9412 * manual/startup.texi (Suboptions): Remove an erroneous const in
9413 getsubopt prototype.
9414 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9415 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9416 use size_t rather than int.
9417 (Scanning All Users): Likewise for getpwent_r.
9418 (Setting Groups): Add missing const to setgroups prototype.
9419 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9420 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9421 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9422 'const void *' rather than 'const char *'.
9423 (Host Address Functions): Likewise for inet_ntop.
9424 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9425 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9426 ssize_t for return value.
9427 (Sending Data): Likewise for send, sendto, sendmsg.
9428 (Socket Option Functions): Add a missing const in setsockopt prototype.
9429 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9430 use wchar_t for the argument.
9431 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9432 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9434 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9435 double/float/long double for second argument.
9436 Fix return types of significand, significandf, significandl.
9437 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9438 argument in fchmod prototype.
9439 (File Owner): Use uid_t and gid_t in fchown prototype.
9440 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9441 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9442 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9443 use 'const struct dirent **' as argument types to CMP function pointer
9445 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9446 (File Times): Fix summary magic @comment for struct utimbuf and utime
9447 to refer to utime.h, not time.h.
9448 * manual/string.texi (Argz Functions): Add missing const in
9449 argz_extract and argz_next prototypes.
9450 (Finding Tokens in a String): Likewise for basename.
9451 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9452 (Copying and Concatenation): Fix typo in wmemmove prototype.
9453 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9454 (Signal Stack): Remove erroneous const in sigstack prototype.
9455 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9457 (Simple Calendar Time): Likewise for stime.
9458 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9460 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9461 say sys/sysctl.h instead.
9462 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9463 and vsyslog prototypes.
9465 2013-02-11 Tom de Vries <tom@codesourcery.com>
9467 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9470 2013-02-11 Roland McGrath <roland@hack.frob.com>
9472 * misc/sys/mman.h: Fix typo in mremap comment.
9474 2013-02-08 Roland McGrath <roland@hack.frob.com>
9476 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9477 the '\0' terminator.
9479 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9482 * debug/segfault.c: Don't include <bp-checks.h>.
9483 * sysdeps/generic/bp-checks.h: Remove file.
9484 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9485 (__GETDENTS): Don't use CHECK_N.
9486 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9487 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9488 (__getgroups): Don't use CHECK_N.
9489 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9490 (setgroups): Don't use CHECK_N.
9491 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9492 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9493 (__libc_msgrcv): Don't use CHECK_N.
9494 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9495 (__libc_msgsnd): Don't use CHECK_N.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9498 (__libc_pread): Don't use CHECK_N.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9500 include <bp-checks.h>.
9501 (__libc_pread64): Don't use CHECK_N.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9503 include <bp-checks.h>.
9504 (__libc_pwrite): Don't use CHECK_N.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9506 include <bp-checks.h>.
9507 (__libc_pwrite64): Don't use CHECK_N.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9510 (__libc_pread): Don't use CHECK_N.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9512 include <bp-checks.h>.
9513 (__libc_pread64): Don't use CHECK_N.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9515 include <bp-checks.h>.
9516 (__libc_pwrite): Don't use CHECK_N.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9518 include <bp-checks.h>.
9519 (__libc_pwrite64): Don't use CHECK_N.
9520 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9521 (do_pread): Don't use CHECK_N.
9522 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9523 (do_pread64): Don't use CHECK_N.
9524 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9525 (do_pwrite): Don't use CHECK_N.
9526 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9527 (do_pwrite64): Don't use CHECK_N.
9528 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9529 (__libc_readv): Don't use CHECK_N.
9530 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9531 (semop): Don't use CHECK_N.
9532 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9534 (semtimedop): Don't use CHECK_N.
9535 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9536 (__libc_pread): Don't use CHECK_N.
9537 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9539 (__libc_pread64): Don't use CHECK_N.
9540 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9542 (__libc_pwrite): Don't use CHECK_N.
9543 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9545 (__libc_pwrite64): Don't use CHECK_N.
9546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9548 (__libc_msgrcv): Don't use CHECK_N.
9549 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9550 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9551 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9552 (__libc_writev): Don't use CHECK_N.
9554 2013-02-08 Roland McGrath <roland@hack.frob.com>
9556 * string/strcpy.c: Removed unused variable.
9558 * Makeconfig (+sysdep-includes): Define with := rather than =.
9559 Use an existing include/ subdir of each sysdeps dir before it.
9561 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9563 * nscd/connection.c (register_traced_file): Comment function.
9564 [HAVE_INOTIFY] (union __inev): Define.
9565 [HAVE_INOTIFY] (inotify_check_files): New function.
9566 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9567 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9569 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9571 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9573 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9574 loaded if not already and that a failure is permanent.
9576 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9579 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9580 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9582 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9585 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9586 (CHECK_1_NULL_OK): Likewise.
9587 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9588 (__fxstat): Do not use CHECK_1.
9589 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9591 (___fxstat64): Do not use CHECK_1.
9592 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9594 (__fxstatat): Do not use CHECK_1.
9595 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9597 (__fxstatat64): Do not use CHECK_1.
9598 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9600 (__fxstat): Do not use CHECK_1.
9601 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9603 (__fxstatat): Do not use CHECK_1.
9604 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9606 (__getresgid): Do not use CHECK_1.
9607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9609 (__getresuid): Do not use CHECK_1.
9610 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9612 (__lxstat): Do not use CHECK_1.
9613 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9615 (__old_msgctl): Do not use CHECK_1.
9616 (__new_msgctl): Likewise.
9617 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9619 (__new_setrlimit): Do not use CHECK_1.
9620 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9622 (__old_shmctl): Do not use CHECK_1.
9623 (__new_shmctl): Likewise.
9624 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9626 (__xstat): Do not use CHECK_1.
9627 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9628 (__lxstat): Do not use CHECK_1.
9629 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9631 (___lxstat64): Do not use CHECK_1.
9632 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9633 (__old_msgctl): Do not use CHECK_1.
9634 (__new_msgctl): Likewise.
9635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9637 (__gettimeofday): Do not use CHECK_1.
9638 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9639 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9640 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9642 (__gettimeofday): Do not use CHECK_1.
9643 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9644 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9645 (__new_shmctl): Do not use CHECK_1.
9646 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9648 (do_sigtimedwait): Do not use CHECK_1.
9649 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9651 (do_sigwaitinfo): Do not use CHECK_1.
9652 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9654 (msgctl): Do not use CHECK_1.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9657 (shmctl): Do not use CHECK_1.
9658 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9659 (ustat): Do not use CHECK_1.
9660 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9662 (__fxstat): Do not use CHECK_1.
9663 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9665 (__fxstatat): Do not use CHECK_1.
9666 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9668 (__lxstat): Do not use CHECK_1.
9669 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9671 (__xstat): Do not use CHECK_1.
9672 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9673 (__xstat): Do not use CHECK_1.
9674 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9675 (___xstat64): Do not use CHECK_1.
9678 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9680 (CHECK_BOUNDS_HIGH): Likewise.
9681 * string/strcpy.c: Do not include <bp-checks.h>.
9682 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9684 2013-02-07 Roland McGrath <roland@hack.frob.com>
9686 * nscd/nscd-client.h (__nscd_drop_map_ref):
9687 Add __attribute__ ((unused)).
9688 * nis/nss-nisplus.h (niserr2nss): Likewise.
9690 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9691 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9693 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9694 Remove inline keyword.
9695 * include/rounding-mode.h (round_away): Likewise.
9696 * libio/wfileops.c (adjust_wide_data): Likewise.
9697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9698 (__m128i_strloadu_tolower): Likewise.
9699 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9700 (__m128i_strloadu_tolower): Likewise.
9701 * time/mktime.c (ydhms_diff): Likewise.
9702 * locale/elem-hash.h (elem_hash): Likewise.
9703 * locale/setlocale.c (setdata): Likewise.
9704 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9705 (re_string_wchar_at): Likewise.
9706 (bitset_not, bitset_merge, bitset_mask): Likewise.
9707 [!(__GNUC__ > 3)] (inline): Remove macro.
9708 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9709 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9710 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9711 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9712 * string/memcmp.c (memcmp_bytes): Likewise.
9713 * locale/programs/locarchive.c (compute_hashval): Likewise.
9714 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9715 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9716 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9717 * nss/getent.c (print_rpc, print_protocols): Likewise.
9718 (print_passwd, print_group, print_aliases): Likewise.
9719 * nis/nss-nisplus.h (niserr2nss): Likewise.
9720 * nscd/connections.c (restart_p): Likewise.
9721 Change return type to bool.
9723 2013-02-05 Roland McGrath <roland@hack.frob.com>
9725 * Makeconfig (all-Depend-files): Add existing
9726 $(sorted-subdirs:=/Depend) files.
9727 (all-subdirs): Remove nss.
9728 * sysdeps/unix/inet/Subdirs: Add it here instead.
9729 * hesiod/Depend: New file.
9731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9732 instead of calling alloca.
9734 * io/lseek.c (__lseek): Rename to __libc_lseek.
9735 Define __lseek as an alias.
9737 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9739 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9741 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9742 else clause and remove check for non-standard endianness.
9744 2013-02-04 David S. Miller <davem@davemloft.net>
9746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9748 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9751 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9752 (__ubp_memchr): Remove prototype.
9753 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9754 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9755 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9756 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9757 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9759 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9760 (__ubp_memchr): Likewise.
9761 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9762 (__ubp_memchr): Likewise.
9763 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9764 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9765 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9768 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9769 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9770 (__getcwd): Do not use CHECK_STRING.
9771 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9773 (__real_chown): Do not use CHECK_STRING.
9774 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9776 (fchownat): Do not use CHECK_STRING.
9777 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9779 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9781 (__lchown): Do not use CHECK_STRING.
9782 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9784 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9785 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9787 include <bp-checks.h>.
9788 (truncate64): Do not use CHECK_STRING.
9789 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9791 (__real_chown): Do not use CHECK_STRING.
9792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9794 (__lchown): Do not use CHECK_STRING.
9795 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9797 (__chown): Do not use CHECK_STRING.
9798 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9800 (truncate64): Do not use CHECK_STRING.
9801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9803 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9804 (__xmknod): Do not use CHECK_STRING.
9805 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9807 (__xmknodat): Do not use CHECK_STRING.
9808 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9809 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9811 2013-02-04 Andreas Schwab <schwab@suse.de>
9814 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9815 * include/netdb.h: Likewise for h_errno.
9816 * elf/tst-stackguard1.c: Include <tls.h>.
9818 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9820 * elf/link.h (struct link_map): Extend the l_addr comment.
9821 * include/link.h (struct link_map): Likewise.
9823 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9826 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9827 (BOUNDED_1): Remove macro.
9828 * debug/backtrace.c: Don't include <bp-checks.h>.
9829 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9830 (__backtrace): Likewise.
9831 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9833 (__backtrace): Don't use BOUNDED_1.
9834 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9836 (__backtrace): Don't use BOUNDED_1.
9837 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9838 (__backtrace): Don't use BOUNDED_1.
9839 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9840 (shmat): Don't use BOUNDED_N.
9842 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9845 * sysdeps/generic/bp-start.h: Remove file.
9846 * csu/libc-start.c: Don't include <bp-start.h>.
9847 (LIBC_START_MAIN): Set up __environ directly instead of using
9848 INIT_ARGV_and_ENVIRON.
9849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9853 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9855 (CHECK_FCNTL): Likewise.
9856 (CHECK_N_PAGES): Likewise.
9859 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9861 (CHECK_SIGSET_NULL_OK): Likewise.
9862 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9864 (sigpending): Don't use CHECK_SIGSET.
9865 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9867 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9868 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9870 (do_sigsuspend): Don't use CHECK_SIGSET.
9871 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9873 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9874 (do_sigwait): Don't use CHECK_SIGSET.
9875 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9878 include <bp-checks.h>.
9879 (sigpending): Don't use CHECK_SIGSET.
9880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9881 include <bp-checks.h>.
9882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9883 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9885 (sigpending): Don't use CHECK_SIGSET.
9886 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9888 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9891 * sysdeps/generic/bp-semctl.h: Remove file.
9892 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9893 <bp-checks.h> and <bp-semctl.h>.
9894 (__old_semctl): Don't use CHECK_SEMCTL.
9895 (__new_semctl): Likewise.
9896 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9898 (__old_semctl): Don't use CHECK_SEMCTL.
9899 (__new_semctl): Likewise.
9900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9901 <bp-checks.h> and <bp-semctl.h>.
9902 (__old_semctl): Don't use CHECK_SEMCTL.
9903 (__new_semctl): Likewise.
9904 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9905 <bp-checks.h> and <bp-semctl.h>.
9906 (semctl): Don't use CHECK_SEMCTL.
9909 * Makerules (elide-bp-thunks): Remove variable.
9910 (elide-routines.oS): Don't use $(elide-bp-thunks).
9911 (elide-routines.os): Likewise.
9912 (elide-routines.o): Likewise.
9913 (elide-routines.op): Likewise.
9914 (elide-routines.og): Likewise.
9915 (objects): Don't use $(bp-thunks).
9916 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9918 (common-generated): Do not add s-proto-bp.d.
9919 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9922 Do not generate makefile rules for bounded-pointer thunks.
9923 * sysdeps/generic/bp-thunks.h: Remove file.
9924 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9925 * sysdeps/unix/s-proto-bp.S: Likewise.
9928 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9929 parts of result separately when argument is not close to line from
9930 -i to i and one part of argument is small.
9931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9933 * math/libm-test.inc (cacos_test): Add more tests.
9934 (casin_test): Likewise.
9935 (casinh_test): Likewise.
9936 * sysdeps/i386/fpu/libm-test-ulps: Update.
9937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9939 2013-01-31 David S. Miller <davem@davemloft.net>
9941 * po/de.po: Update from translation team.
9943 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9945 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9947 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9949 * configure.in (_AC_PROG_CC_C89): New definition.
9950 * configure: Regenerate.
9952 * configure.in (AC_PROG_CPP): New definition.
9953 * configure: Regenerate.
9955 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9957 * debug/tst-backtrace.h: New file.
9958 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9959 (ret): Remove variable.
9961 (FAIL): Remove macro.
9962 (NO_INLINE): Likewise.
9963 (fn1): Use match function instead of strstr.
9964 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9965 (ret): Remove variable.
9967 (FAIL): Remove macro.
9968 (NO_INLINE): Likewise.
9969 (fn): Use match function instead of strstr.
9970 * debug/tst-backtrace4.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.
9976 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9977 (ret): Remove variable.
9979 (FAIL): Remove macro.
9980 (NO_INLINE): Likewise.
9981 (handle_signal): Use match function instead of strstr.
9983 2013-01-23 Roland McGrath <roland@hack.frob.com>
9985 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9987 2013-01-23 David S. Miller <davem@davemloft.net>
9989 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9990 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9991 argument of CAS if possible.
9992 * sysdeps/sparc/sparc64/bits/atomic.h
9993 (__arch_compare_and_exchange_val_32_acq): Likewise.
9994 (__arch_compare_and_exchange_val_64_acq): Likewise.
9996 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9998 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9999 * sysdeps/posix/ulimit.c: ... this.
10000 Include <limits.h>.
10001 * sysdeps/unix/bsd/ulimit.c: Remove file.
10003 2013-01-23 Adam Conrad <adconrad@0c3.net>
10005 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10006 (LDFLAGS-tst-array5): Likewise.
10008 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10011 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10012 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10013 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10016 2013-01-21 David S. Miller <davem@davemloft.net>
10018 * sysdeps/sparc/backtrace.c: New file.
10019 * sysdeps/sparc/sparc32/backtrace.h: New file.
10020 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10021 * sysdeps/sparc/sparc64/backtrace.h: New file.
10022 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10023 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10026 2013-01-21 Andreas Schwab <schwab@suse.de>
10029 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10032 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10038 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10039 Mark Mitchell <mark@codesourcery.com>
10040 Tom de Vries <tom@codesourcery.com>
10041 Paul Pluzhnikov <ppluzhnikov@google.com>
10043 * debug/tst-backtrace2.c: New file.
10044 * debug/tst-backtrace3.c: Likewise.
10045 * debug/tst-backtrace4.c: Likewise.
10046 * debug/tst-backtrace5.c: Likewise.
10047 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10048 (CFLAGS-tst-backtrace3.c): Likewise.
10049 (CFLAGS-tst-backtrace4.c): Likewise.
10050 (CFLAGS-tst-backtrace5.c): Likewise.
10051 (LDFLAGS-tst-backtrace2): Likewise.
10052 (LDFLAGS-tst-backtrace3): Likewise.
10053 (LDFLAGS-tst-backtrace4): Likewise.
10054 (LDFLAGS-tst-backtrace5): Likewise.
10055 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10056 tst-backtrace4 and tst-backtrace5.
10058 2013-01-18 Anton Blanchard <anton@samba.org>
10059 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10062 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10063 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10064 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10066 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10067 "+r" and remove output regs list as redundant. Add explicit inline
10068 asm to specify register of return val to work around compiler codegen
10069 bug. Remove (int) cast on return value. Add return type parameter to
10070 use in macro so that this macro does not truncate return value for
10072 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10073 pass to INTERNAL_VSYSCALL_NCS.
10074 (INLINE_VSYSCALL): Add 'long int' as return type to
10075 INTERNAL_VSYSCALL_NCS macro invocation.
10076 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10077 INTERNAL_VSYSCALL_NCS macro invocation.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10080 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10083 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10084 Fix application of SIMD FP exception mask.
10086 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10087 mp_no from a power of two.
10088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10089 __mpexp_twomm1. Use __pow_mp.
10091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10094 2013-01-17 David S. Miller <davem@davemloft.net>
10096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10098 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10101 * include/complex.h: Condition contents on [!_COMPLEX_H].
10102 (__kernel_casinhf): New prototype.
10103 (__kernel_casinh): Likewise.
10104 (__kernel_casinhl): Likewise.
10105 * math/Makefile (libm_calls): Add k_casinh.
10106 * math/k_casinh.c: New file.
10107 * math/k_casinhf.c: Likewise.
10108 * math/k_casinhl.c: Likewise.
10109 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10110 finite nonzero arguments.
10111 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10112 finite nonzero arguments.
10113 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10114 finite nonzero arguments.
10115 * math/s_casinh.c: Do not include <float.h>.
10116 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10117 * math/s_casinhf.c: Do not include <float.h>.
10118 (__casinhf): Move code for finite nonzero arguments to
10120 * math/s_casinhl.c: Do not include <float.h>.
10121 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10123 (__casinhl): Move code for finite nonzero arguments to
10125 * math/libm-test.inc (cacos_test): Add more tests.
10126 * sysdeps/i386/fpu/libm-test-ulps: Update.
10127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10129 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10131 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10132 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10133 [!HAVE_MREMAP]: Remove [defined linux] case.
10134 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10136 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10138 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10140 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10142 * elf/elf.h (R_386_SIZE32): New relocation.
10143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10145 (elf_machine_rela): Likewise.
10146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10147 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10149 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10151 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10152 (FP_FAST_FMA): Do not define.
10153 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10154 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10155 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10156 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10157 !_SOFT_FLOAT]: Likewise.
10158 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10162 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10163 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10165 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10166 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10169 2013-01-16 Andreas Schwab <schwab@suse.de>
10172 * include/stdlib.h (__mktemp): Add declaration.
10173 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10174 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10176 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10178 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10180 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10181 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10182 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10184 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10185 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10187 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10189 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10190 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10193 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10194 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10196 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10198 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10200 2013-01-15 David S. Miller <davem@davemloft.net>
10202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10203 trunc{,f} to libm-sysdep_routes.
10204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10214 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10215 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10216 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10217 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10218 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10219 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10222 nearbyint{,f} to libm-sysdep_routes.
10223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10240 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10241 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10243 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10244 libc_feholdexcept and libc_fesetenv.
10246 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10248 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10250 2013-01-14 David S. Miller <davem@davemloft.net>
10252 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10253 (SPARC_ASM_VIS2_IFUNC): Likewise.
10254 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10256 use of 'siam' instruction.
10257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10290 routines to libm-sysdep_routines.
10291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10294 fdim/fdimf to libm-sysdep_routines.
10295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10303 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10304 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10305 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10306 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10308 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10310 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10311 to optimize copies.
10313 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10318 local variable MPTWO.
10319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10322 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10324 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10327 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10329 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10331 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10333 * manual/pattern.texi (glob_t): Document gl_flags.
10334 (glob64_t): Likewise.
10336 2013-01-11 David S. Miller <davem@davemloft.net>
10338 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10339 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10340 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10341 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10342 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10343 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10344 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10345 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10346 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10347 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10348 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10349 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10350 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10353 sparc V9 rather than using V8 code.
10354 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10355 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10357 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10359 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10362 2013-01-11 Roland McGrath <roland@hack.frob.com>
10364 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10365 not in the main loop.
10366 * configure: Regenerated.
10368 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10370 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10371 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10373 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10374 [!__GLIBC_HAVE_LONG_LONG] case.
10375 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10376 condition to just #else.
10377 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10378 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10379 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10380 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10382 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10383 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10384 #elif condition to just #else.
10385 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10386 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10387 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10388 #elif condition to just #else.
10390 2013-01-11 Steve Ellcey <sellcey@mips.com>
10392 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10393 (EF_MIPS_ARCH_64): Fix value.
10394 (EF_MIPS_ARCH_32R2): New.
10395 (EF_MIPS_ARCH_64R2): New.
10397 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10399 * Makeconfig (+link-pie-before-libc): New.
10400 (+link-pie-after-libc): Likewise.
10401 (+link-pie-tests): Likewise.
10402 (+link-pie): Rewritten.
10403 (link-before-libc): Remove $(config-LDFLAGS).
10404 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10405 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10406 (config-LDFLAGS): Renamed to ...
10407 (rtld-LDFLAGS): This.
10408 (rtld-tests-LDFLAGS): New macro.
10409 (link-libc-rpath-link): Likewise.
10410 (link-libc-tests-rpath-link): Likewise.
10411 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10412 (link-libc): Prepand $(link-libc-rpath-link).
10413 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10414 (test-program-prefix): New macro.
10415 (test-via-rtld-prefix): Likewise.
10416 (test-program-cmd): Likewise.
10417 (host-test-program-cmd): Likewise.
10418 * Makefile ($(common-objpfx)testrun.sh): Replace
10419 $(run-program-prefix) with $(test-program-prefix).
10420 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10422 ($(common-objpfx)shlib.lds): Likewise.
10423 (build-module-helper): Likewise.
10424 ($(common-objpfx)format.lds): Likewise.
10425 * Rules (binaries-pie-tests): New.
10426 (binaries-pie-notests): Likewise.
10427 (binaries-pie): Rewritten.
10428 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10429 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10430 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10431 (make-test-out): Replace $(host-built-program-cmd) with
10432 $(host-test-program-cmd).
10433 * config.make.in (build-hardcoded-path-in-tests): New variable.
10434 * configure.in (--enable-hardcoded-path-in-tests): New configure
10436 (hardcoded_path_in_tests): New AC_SUBST.
10437 * configure: Regenerated.
10438 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10439 $(built-program-cmd) with $(test-program-cmd).
10440 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10441 (test_program_cmd): This.
10442 * elf/Makefile ($(objpfx)order.out): Run test with
10443 $(test-program-prefix).
10444 ($(objpfx)order2.out): Likewise.
10445 ($(objpfx)tst-initorder.out): Likewise.
10446 ($(objpfx)tst-initorder2.out): Likewise.
10447 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10448 $(test-program-cmd).
10449 ($(objpfx)tst-array1-static.out): Likewise.
10450 ($(objpfx)tst-array2.out): Likewise.
10451 ($(objpfx)tst-array3.out): Likewise.
10452 ($(objpfx)tst-array4.out): Likewise.
10453 ($(objpfx)tst-array5.out): Likewise.
10454 ($(objpfx)tst-array5-static.out): Likewise.
10455 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10456 $(test-program-cmd).
10457 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10458 $(run-program-prefix) with $(test-program-prefix).
10459 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10460 (test_program_prefix): This.
10461 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10462 $(run-program-prefix) with $(test-program-prefix).
10463 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10464 (test_program_prefix): This.
10465 * iconvdata/tst-tables.sh: Likewise.
10466 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10467 $(run-program-prefix) with $(test-program-prefix).
10468 ($(objpfx)tst-translit.out): Likewise.
10469 ($(objpfx)tst-gettext2.out): Likewise.
10470 ($(objpfx)tst-gettext4.out): Likewise.
10471 ($(objpfx)tst-gettext6.out): Likewise.
10472 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10473 (test_program_prefix): This.
10474 * intl/tst-gettext2.sh: Likewise.
10475 * intl/tst-gettext4.sh Likewise.
10476 * intl/tst-gettext6.sh: Likewise.
10477 * intl/tst-translit.sh: Likewise.
10478 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10479 with $(test-program-cmd).
10480 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10481 $(run-program-prefix) with $(test-program-prefix).
10482 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10483 (test_program_prefix): This.
10484 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10485 $(run-program-prefix) with $(test-program-prefix).
10486 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10487 (test_program_prefix): This.
10488 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10489 * posix/Makefile ($(objpfx)globtest.out): Replace
10490 $(run-via-rtld-prefix) and $(test-wrapper) with
10491 $(test-program-prefix) and $(test-via-rtld-prefix).
10492 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10493 $(test-program-prefix).
10494 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10495 $(host-test-program-cmd).
10496 (tst-spawn-ARGS): Likewise.
10497 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10498 $(test-program-prefix).
10499 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10500 (test_via_rtld_prefix): This.
10501 (test_wrapper): Renamed to ...
10502 (test_program_prefix): This.
10503 (run_program_prefix): Replaced by test_program_prefix.
10504 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10505 (test_program_prefix): This.
10506 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10507 with $(host-test-program-cmd).
10508 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10509 $(run-program-prefix) with $(test-program-prefix).
10510 ($(objpfx)tst-printf.out): Likewise.
10511 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10512 $(test-program-cmd).
10513 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10514 (test_program_prefix): This.
10515 * stdio-common/tst-unbputc.sh: Likewise.
10516 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10517 $(run-program-prefix) with $(test-program-prefix).
10518 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10519 (test_program_prefix): This.
10520 * string/Makefile ($(objpfx)tst-svc.out): Replace
10521 $(built-program-cmd) with $(test-program-cmd).
10523 2013-01-11 Andreas Jaeger <aj@suse.de>
10526 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10527 value. Sync with Linux 3.7.
10529 2013-01-10 David S. Miller <davem@davemloft.net>
10531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10535 2013-01-10 Roland McGrath <roland@hack.frob.com>
10537 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10539 * configure: Regenerated.
10541 2013-01-10 David S. Miller <davem@davemloft.net>
10543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10544 sparc V9 rather than using V8 code.
10545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10548 2013-01-10 Roland McGrath <roland@hack.frob.com>
10550 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10551 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10552 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10553 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10554 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10555 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10556 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10557 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10558 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10559 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10560 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10561 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10562 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10563 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10564 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10565 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10566 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10567 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10568 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10569 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10570 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10571 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10572 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10573 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10574 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10575 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10576 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10578 2013-01-10 David S. Miller <davem@davemloft.net>
10580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10582 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10584 * posix/Makefile (tests-static): New variable.
10585 (tests): Add $(tests-static).
10586 (tst-exec-static-ARGS): New variable.
10587 (tst-spawn-static-ARGS): Likewise.
10588 * posix/tst-exec-static.c: New file.
10589 * posix/tst-spawn-static.c: Likewise.
10590 * posix/tst-exec.c: Support run directly.
10591 * posix/tst-spawn.c: Likewise.
10593 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10595 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10597 * math/bits/mathcalls.h (llrint): Likewise.
10598 (llround): Likewise.
10599 * stdlib/stdlib.h (struct drand48_data): Likewise.
10600 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10601 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10602 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10604 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10606 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10607 (elf_greg_t): Likewise.
10608 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10609 (__jmp_buf): Likewise.
10610 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10612 (llrint): Likewise, for all definitions.
10613 (llrintl): Likewise.
10615 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10616 Remove [__GNUC__] condition.
10617 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10618 condition to just [__USE_ISOC99].
10619 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10621 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10624 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10625 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10627 (_POSIX_V6_ILP32_OFF32): Likewise.
10628 (_XBS5_ILP32_OFF32): Likewise.
10629 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10630 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10632 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10634 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10637 doubles __mpexp_twomm1. Adjust usage.
10638 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10641 2013-01-10 Andreas Schwab <schwab@suse.de>
10644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10645 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10647 2013-01-09 David S. Miller <davem@davemloft.net>
10650 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10651 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10652 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10653 TCP_FASTOPEN): Define.
10654 (tcp_repair_opt): New structure.
10655 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10657 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10658 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10659 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10660 (tcp_cookie_transactions): New structure.
10662 2013-01-09 Anton Blanchard <anton@samba.org>
10664 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10669 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10671 * include/features.h (__USE_ANSI): Remove.
10673 2013-01-09 Roland McGrath <roland@hack.frob.com>
10675 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10677 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10679 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10681 * sysdeps/s390/fpu/libm-test-ulps: Update.
10683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10685 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10689 (denorm): Likewise.
10690 (__mp_dbl): Likewise.
10691 (__dbl_mp): Likewise.
10692 (add_magnitudes): Likewise.
10693 (sub_magnitudes): Likewise.
10699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10703 (denorm): Likewise.
10704 (__mp_dbl): Likewise.
10705 (__dbl_mp): Likewise.
10706 (add_magnitudes): Likewise.
10707 (sub_magnitudes): Likewise.
10713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10717 (denorm): Likewise.
10718 (__mp_dbl): Likewise.
10719 (__dbl_mp): Likewise.
10720 (add_magnitudes): Likewise.
10721 (sub_magnitudes): Likewise.
10728 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10730 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10731 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10732 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10733 2 && __USE_EXTERN_INLINES]: Likewise.
10735 2013-01-08 Andreas Jaeger <aj@suse.de>
10738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10740 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10741 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10743 2013-01-07 Anton Blanchard <anton@samba.org>
10745 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10746 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10747 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10748 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10749 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10750 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10751 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10752 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10763 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10764 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10766 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10768 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10769 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10770 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10775 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10781 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10783 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10787 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10789 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10791 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10792 (__MALLOC_PMT): Likewise.
10793 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10794 [__GNUC__], only on [_LIBC].
10795 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10796 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10797 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10798 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10799 forward declaration.
10800 (realloc_hook_ini): Likewise.
10801 (memalign_hook_ini): Likewise.
10802 (__libc_memalign): Do not use __MALLOC_PMT in variable
10804 (__libc_valloc): Likewise.
10805 (__libc_pvalloc): Likewise.
10806 (__libc_calloc): Likewise.
10807 (__posix_memalign): Likewise.
10810 * math/s_casinh.c: Include <float.h>.
10811 (__casinh): Do not do computation with squaring and square root
10812 for large arguments.
10813 * math/s_casinhf.c: Include <float.h>.
10814 (__casinhf): Do not do computation with squaring and square root
10815 for large arguments.
10816 * math/s_casinhl.c: Include <float.h>.
10817 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10818 (__casinhl): Do not do computation with squaring and square root
10819 for large arguments.
10820 * math/libm-test.inc (casin_test): Add more tests.
10821 (casinh_test): Likewise.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10825 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10827 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10828 (__x86_64_raw_data_cache_size): Likewise.
10829 (__x86_64_data_cache_size_half): Likewise.
10830 (__x86_64_raw_data_cache_size_half): Likewise.
10831 (__x86_64_shared_cache_size): Likewise.
10832 (__x86_64_raw_shared_cache_size): Likewise.
10833 (__x86_64_shared_cache_size_half): Likewise.
10834 (__x86_64_raw_shared_cache_size_half): Likewise.
10835 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10837 (__x86_data_cache_size): This.
10838 (__x86_64_raw_data_cache_size): Renamed to ...
10839 (__x86_raw_data_cache_size): This.
10840 (__x86_64_data_cache_size_half): Renamed to ...
10841 (__x86_data_cache_size_half): This.
10842 (__x86_64_raw_data_cache_size_half): Renamed to ...
10843 (__x86_raw_data_cache_size_half): This.
10844 (__x86_64_shared_cache_size): Renamed to ...
10845 (__x86_shared_cache_size): This.
10846 (__x86_64_raw_shared_cache_size): Renamed to ...
10847 (__x86_raw_shared_cache_size): This.
10848 (__x86_64_shared_cache_size_half): Renamed to ...
10849 (__x86_shared_cache_size_half): This.
10850 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10851 (__x86_raw_shared_cache_size_half): This.
10852 * sysdeps/x86_64/memcpy.S: Updated.
10853 * sysdeps/x86_64/memset.S: Likewise.
10854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10858 2013-01-04 David S. Miller <davem@davemloft.net>
10860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10862 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10864 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10865 1 to avoid redefinition warning.
10866 (__USE_GNU): Don't define.
10867 (init_signaling_nan): Protoize.
10869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10871 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10875 (__cpymn): Likewise.
10876 (norm): Remove commented code.
10877 (denorm): Likewise.
10878 (__mp_dbl): Likewise.
10880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10881 (__cpymn): Likewise.
10882 (norm): Remove commented code.
10883 (denorm): Likewise.
10884 (__mp_dbl): Likewise.
10887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10888 mp_no value for 1.0 and 2.0.
10889 (norm): Use RADIXI instead of radixi.d.
10890 (denorm): Likewise.
10891 (__mul): Use 0.0 instead of zero.d.
10892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10893 mp_no value for 1.0 and 2.0.
10894 (norm): Use RADIXI instead of radixi.d.
10895 (denorm): Likewise.
10896 (__mul): Use 0.0 instead of zero.d.
10898 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10901 * math/s_casinh.c (__casinh): Reduce finite argument to first
10902 quadrant then set signs of results at the end.
10903 * math/s_casinhf.c (__casinhf): Likewise.
10904 * math/s_casinhl.c (__casinhl): Likewise.
10905 * math/libm-test.inc (casin_test): Add more tests.
10906 (casinh_test): Likewise.
10907 * sysdeps/i386/fpu/libm-test-ulps: Update.
10908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10910 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10912 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10914 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10916 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10918 (denorm): Likewise.
10919 (__mp_dbl): Likewise.
10922 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10923 and adjust the header comment.
10925 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10926 variable name from declaration.
10928 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10931 Initialize COMMON_CPUID_INDEX_7 element.
10932 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10933 (CPUID_RTM): Likewise.
10934 (HAS_RTM): Likewise.
10935 (COMMON_CPUID_INDEX_7): New enum.
10937 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10940 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10941 size is zero, record memory as freed.
10943 2013-01-03 Andreas Jaeger <aj@suse.de>
10945 * po/ia.po: Add new Interlingua translation.
10947 2012-01-03 Allan McRae <allan@archlinux.org>
10949 * locale/programs/localedef.c: Fix description of '--posix' flag.
10951 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10953 * NEWS: Update dates in second copyright notice.
10954 * README: Update copyright dates in example.
10955 * manual/libc.texinfo: Update copyright dates.
10956 * scripts/test-installation.pl: Update copyright date in --version
10959 * hurd/ctty-input.c: Fix copyright notice formatting.
10960 * hurd/ctty-output.c: Likewise.
10961 * hurd/dtable.c: Likewise.
10962 * hurd/hurd-raise.c: Likewise.
10963 * hurd/hurdprio.c: Likewise.
10964 * hurd/msgportdemux.c: Likewise.
10965 * misc/sys/file.h: Likewise.
10966 * misc/sys/ioctl.h: Likewise.
10967 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10968 * sysdeps/mach/hurd/chdir.c: Likewise.
10969 * sysdeps/mach/hurd/fchdir.c: Likewise.
10970 * sysdeps/mach/hurd/rename.c: Likewise.
10971 * sysdeps/mach/hurd/rmdir.c: Likewise.
10972 * sysdeps/mach/hurd/seekdir.c: Likewise.
10973 * sysdeps/mach/hurd/setsid.c: Likewise.
10974 * sysdeps/posix/wait3.c: Likewise.
10976 * All files with FSF copyright notices: Update copyright dates
10977 using scripts/update-copyrights.
10978 * intl/plural.c: Regenerated.
10979 * locale/programs/charmap-kw.h: Likewise.
10980 * locale/programs/locfile-kw.h: Likewise.
10982 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10984 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10988 calculation loop and add branch prediction.
10990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10991 check access beyond bounds of m1np.
10993 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10995 (__inv): Remove local variable MPTWO to use the global
10997 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10998 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11000 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11001 MP3HALFS static const.
11003 2013-01-01 David S. Miller <davem@davemloft.net>
11005 * po/ca.po: Update from translation team.
11007 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11009 * scripts/update-copyrights: New file.
11010 * Makeconfig: Reformat copyright notice.
11011 * ctype/ctype.h: Likewise.
11012 * debug/swprintf_chk.c: Likewise.
11013 * elf/dl-cache.c: Likewise.
11014 * elf/dl-debug.c: Likewise.
11015 * elf/dl-object.c: Likewise.
11016 * grp/initgroups.c: Likewise.
11017 * hurd/Makefile: Likewise.
11018 * hurd/hurd/signal.h: Likewise.
11019 * hurd/hurdfault.c: Likewise.
11020 * hurd/hurdioctl.c: Likewise.
11021 * hurd/hurdlookup.c: Likewise.
11022 * hurd/intr-msg.c: Likewise.
11023 * iconv/gconv_open.c: Likewise.
11024 * libio/swprintf.c: Likewise.
11025 * locale/lc-ctype.c: Likewise.
11026 * locale/nl_langinfo.c: Likewise.
11027 * mach/Machrules: Likewise.
11028 * mach/Makefile: Likewise.
11029 * malloc/obstack.h: Likewise.
11030 * manual/Makefile: Likewise.
11031 * manual/tsort.awk: Likewise.
11032 * misc/bits/stab.def: Likewise.
11033 * nis/nis_print_group_entry.c: Likewise.
11034 * nis/nis_table.c: Likewise.
11035 * nis/nss_compat/compat-pwd.c: Likewise.
11036 * nis/nss_compat/compat-spwd.c: Likewise.
11037 * po/Makefile: Likewise.
11038 * posix/fnmatch.c: Likewise.
11039 * posix/regex.h: Likewise.
11040 * resolv/Makefile: Likewise.
11041 * resolv/nss_dns/dns-network.c: Likewise.
11042 * resolv/res_hconf.c: Likewise.
11043 * scripts/gen-sorted.awk: Likewise.
11044 * soft-fp/soft-fp.h: Likewise.
11045 * stdio-common/printf.h: Likewise.
11046 * stdlib/monetary.h: Likewise.
11047 * stdlib/random.c: Likewise.
11048 * stdlib/random_r.c: Likewise.
11049 * sysdeps/generic/Makefile: Likewise.
11050 * sysdeps/gnu/Makefile: Likewise.
11051 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11079 * sysdeps/mach/hurd/errnos.awk: Likewise.
11080 * sysdeps/mach/hurd/fork.c: Likewise.
11081 * sysdeps/mach/hurd/getcwd.c: Likewise.
11082 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11083 * sysdeps/mach/hurd/mmap.c: Likewise.
11084 * sysdeps/mach/hurd/utimes.c: Likewise.
11085 * sysdeps/mach/hurd/xmknod.c: Likewise.
11086 * sysdeps/posix/profil.c: Likewise.
11087 * sysdeps/posix/readdir_r.c: Likewise.
11088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11089 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11090 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11091 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11093 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11094 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11097 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11098 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11099 * sysdeps/pthread/lio_listio.c: Likewise.
11100 * sysdeps/sparc/dl-procinfo.h: Likewise.
11101 * sysdeps/unix/i386/sysdep.S: Likewise.
11102 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11103 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11104 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11105 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11107 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11108 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11109 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11110 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11111 * sysdeps/wordsize-32/divdi3.c: Likewise.
11112 * time/sys/time.h: Likewise.
11113 * wcsmbs/Makefile: Likewise.
11115 2013-01-01 David S. Miller <davem@davemloft.net>
11117 * po/fr.po: Update from translation team.
11119 * catgets/gencat.c: Update copyright year.
11120 * csu/version.c: Likewise.
11121 * debug/catchsegv.sh: Likewise.
11122 * debug/pcprofiledump.c: Likewise.
11123 * debug/xtrace.sh: Likewise.
11124 * elf/ldconfig.c: Likewise.
11125 * elf/ldd.bash.in: Likewise.
11126 * elf/pldd.c: Likewise.
11127 * elf/sotruss.ksh: Likewise.
11128 * elf/sprof.c: Likewise.
11129 * iconv/iconv_prog.c: Likewise.
11130 * iconv/iconvconfig.c: Likewise.
11131 * locale/programs/locale.c: Likewise.
11132 * locale/programs/localedef.c: Likewise.
11133 * login/programs/pt_chown.c: Likewise.
11134 * malloc/memusage.sh: Likewise.
11135 * malloc/memusagestat.c: Likewise.
11136 * malloc/mtrace.pl: Likewise.
11137 * nscd/nscd.c: Likewise.
11138 * nss/getent.c: Likewise.
11139 * nss/makedb.c: Likewise.
11140 * posix/getconf.c: Likewise.
11142 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11144 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11147 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11149 * math/bits/mathcalls.h (modf): Use __nonnull.
11151 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11153 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11154 (split): Use macro CN instead of the bare value.
11155 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11158 instead of the bare value.
11159 (power1): Likewise.
11161 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11165 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11167 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11169 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11171 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11172 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11174 2012-12-28 Andreas Jaeger <aj@suse.de>
11176 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11177 values are from Linux 3.7.
11179 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11180 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11182 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11184 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11189 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11190 variables with preprocessor constants.
11191 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11192 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11193 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11195 2012-12-27 Bruno Haible <bruno@clisp.org>
11198 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11201 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11204 and use variable directly.
11205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11207 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11209 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11214 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11215 include directive. Remove local variable MPONE.
11216 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11217 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11220 2012-12-25 David S. Miller <davem@davemloft.net>
11222 * version.h (RELEASE): Set to "development".
11223 (VERSION): Set to "2.17.90".
11224 * NEWS: Add 2.18 section.
11226 2012-12-21 David S. Miller <davem@davemloft.net>
11228 * po/hr.po: Update from translation team.
11230 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11232 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11234 2012-12-19 Steve Ellcey <sellcey@mips.com>
11236 * NEWS: Mention new memcpy for MIPS.
11238 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11240 * manual/contrib.texi (Contributors): Spelling correction.
11242 2012-12-15 David S. Miller <davem@davemloft.net>
11244 * po/ru.po: Update from translation team.
11246 2012-12-13 David S. Miller <davem@davemloft.net>
11248 * NEWS: Mention IFUNC testsuite enhancements.
11250 * po/pl.po: Update from translation team.
11251 * po/bg.po: Likewise.
11253 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11254 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11256 2012-12-11 David S. Miller <davem@davemloft.net>
11258 * po/sv.po: Update from translation team.
11260 * po/vi.po: Update from translation team.
11262 * po/cs.po: Update from translation team.
11264 * po/de.po: Update from translation team.
11265 * po/eo.po: Likewise.
11266 * po/nl.po: Likewise.
11268 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 * manual/argp.texi (Argp Helper Functions): Move node to follow
11272 Argp Parsing State.
11275 * manual/conf.texi (Limits on File System Capacity): Mention if
11276 terminating null is included in the max size.
11278 2012-12-10 Andreas Jaeger <aj@suse.de>
11280 * po/cs.po: Update from translation team.
11282 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11284 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11285 void pointer and cast to uintptr_t.
11286 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11288 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11289 * sysdeps/s390/s390-64/memset.S: Likewise.
11291 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11294 * menual/message.texi (Message Translation): Fix typos.
11295 (Helper programs for gettext): Likewise.
11297 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11300 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11303 2012-12-07 David S. Miller <davem@davemloft.net>
11305 * po/libc.pot: Update.
11307 2012-12-07 Richard Henderson <rth@redhat.com>
11310 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11311 normal/normal case to before the switch.
11312 (_FP_DIV): Likewise.
11314 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11315 Mike Frysinger <vapier@gentoo.org>
11317 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11318 check for __NR_fadvise64_64.
11320 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11322 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11323 0, not just to plain "0" as a statement.
11324 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11327 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11329 * NEWS: Use sourceware.org in Bugzilla URL.
11331 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11334 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11336 * stdio-common/tst-put-error.c (do_test): Add newline to the
11337 padded test to ensure flush.
11339 2012-12-05 Jeff Law <law@redhat.com>
11341 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11343 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11345 * README: Don't refer to ports add-on as distributed separately.
11346 Mention AArch64 in list of systems supported in the ports add-on.
11348 * LICENSES: Add more non-FSF copyright and license notices.
11350 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11353 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11355 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11356 10000 as width of padded output.
11358 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11360 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11363 variable LX with __attribute__ ((unused)).
11364 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11366 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11369 with __attribute__ ((unused)).
11371 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11373 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11375 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11377 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11378 (CFLAGS-nldbl-acos.c): New variable.
11379 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11380 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11381 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11382 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11383 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11384 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11385 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11386 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11387 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11388 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11389 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11390 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11391 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11392 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11393 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11394 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11395 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11396 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11397 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11398 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11399 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11400 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11401 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11402 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11403 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11404 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11405 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11406 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11407 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11408 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11409 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11410 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11411 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11412 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11413 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11414 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11415 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11416 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11417 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11418 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11419 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11420 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11421 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11422 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11423 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11424 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11425 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11426 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11427 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11428 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11429 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11430 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11431 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11432 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11433 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11434 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11435 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11436 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11437 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11438 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11439 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11440 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11441 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11442 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11443 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11444 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11445 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11446 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11447 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11448 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11449 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11450 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11451 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11452 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11453 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11454 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11455 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11456 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11457 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11458 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11459 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11460 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11461 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11462 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11463 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11464 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11465 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11466 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11467 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11468 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11469 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11470 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11471 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11472 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11473 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11474 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11475 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11478 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11482 whole low double instead of just low 47 bits when splitting values
11485 2012-12-03 Allan McRae <allan@archlinux.org>
11487 * manual/stdio.texi (Predefined Printf Handlers): Remove
11488 @hsep and @vsep usage.
11490 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11492 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11493 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11495 2012-12-03 Jeff Law <law@redhat.com>
11497 * time/sys/time.h (settimeofday): Do not mark TV argument
11500 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11502 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11503 when currently writing and seek to current position when not.
11504 * libio/Makefile (tests): Remove bug-fclose1.
11505 * libio/bug-fclose1.c: Delete.
11507 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11509 * manual/arith.texi (feenableexcept): Fix typo.
11510 (fedisableexcept): Likewise.
11512 2012-11-30 Roland McGrath <roland@hack.frob.com>
11514 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11515 second, differently-typed declaration, rather than a cast.
11517 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11519 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11520 * include/rpc/svc.h: ... here.
11522 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11525 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11526 depending n and resplen2 to catch cases where answer
11529 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11531 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11532 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11534 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11538 2012-11-29 Roland McGrath <roland@hack.frob.com>
11540 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11542 2012-11-28 Jeff Law <law@redhat.com>
11545 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11546 dataset_temporary. Track alloca usage into alloca_used.
11547 If dataset is large allocate and release it via malloc/free.
11549 2012-06-04 Florian Weimer <fweimer@redhat.com>
11552 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11554 2012-11-28 David S. Miller <davem@davemloft.net>
11556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11558 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11561 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11562 of pi/2 rounded to nearest to 64 bits.
11563 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11564 nearest to 64 bits.
11565 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11568 2012-11-28 Jeff Law <law@redhat.com>
11569 Martin Osvald <mosvald@redhat.com>
11572 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11573 * sunrpc/svc.c: Include time.h.
11574 (__svc_accept_failed): New function.
11575 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11576 any reason other than EINTR, call __svc_accept_failed.
11577 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11578 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11580 2012-11-28 Andreas Schwab <schwab@suse.de>
11582 * scripts/abilist.awk: Also handle indirect functions in .opd
11585 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11588 * sysdeps/x86/fpu/powl_helper.c: New file.
11589 * sysdeps/x86/fpu/Makefile: Likewise.
11590 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11592 (__ieee754_powl): Use __powl_helper for finite arguments except
11593 integer exponents below 8.
11594 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11596 (__ieee754_powl): Use __powl_helper for finite arguments except
11597 integer exponents below 8.
11598 * math/libm-test.inc (pow_test): Add more tests and enable some
11599 previously disabled tests.
11600 * sysdeps/i386/fpu/libm-test-ulps: Update.
11601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11603 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11604 Carlos O'Donell <carlos_odonell@mentor.com>
11606 * nss/makedb.c (is_prime): Assert that input is odd and greater
11607 than 4. Note that fact in a comment too.
11608 (next_prime): Add 4 to input.
11610 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11613 * libio/Makefile (tests): Add test case tst-fwrite-error.
11614 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11615 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11616 * libio/tst-fwrite-error.c: New test case.
11618 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11620 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11621 before casting to void *.
11622 * include/libc-internal.h (__pointer_type): New macro.
11623 (__integer_if_pointer_type_sub): Likewise.
11624 (__integer_if_pointer_type): Likewise.
11625 (cast_to_integer): Likewise.
11626 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11627 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11628 before casting to atomic64_t.
11629 (atomic_exchange_acq): Likewise.
11630 (__arch_exchange_and_add_body): Likewise.
11631 (__arch_add_body): Likewise.
11632 (atomic_add_negative): Likewise.
11633 (atomic_add_zero): Likewise.
11635 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11637 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11638 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11639 (add_fdes): Likewise.
11640 (linear_search_fdes): Likewise.
11641 (binary_search_unencoded_fdes): Likewise.
11643 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11645 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11647 2012-11-24 Adam Conrad <adconrad@0c3.net>
11649 * configure.in: Autodetect C++ header directories.
11650 * configure: Regenerated.
11652 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11654 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11656 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11660 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11662 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11663 LDBL_MANT_DIG == 106]: Disable some tests.
11664 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11666 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11671 input for small inputs. Return +/- pi/2 for large inputs.
11672 * math/libm-test.inc (atan_test): Add more tests.
11674 * sysdeps/generic/unwind-dw2-fde-glibc.c
11675 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11676 __attribute__ ((unused)).
11679 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11680 x * y if x and y are nonzero and z is zero.
11683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11684 nonzero exponents with absolute value below 0x1p-117 to +/-
11688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11689 up arguments below 2**-450, not just those below 2**-500.
11690 * math/libm-test.inc (hypot_test): Add another test.
11693 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11694 Return a+b for ratio over 2**120, not 2**60.
11695 * math/libm-test.inc (hypot_test): Add another test.
11697 * math/libm-test.inc (clog_test): Use
11698 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11699 (clog10_test): Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11704 2012-11-22 Andreas Schwab <schwab@suse.de>
11706 * sysdeps/i386/fpu/libm-test-ulps: Update.
11708 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11710 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11711 printf output with newline.
11713 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11716 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11717 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11718 -z nodlopen, -z initfirst and -z execstack support.
11719 * configure: Regenerated.
11721 * elf/elf.h (DF_1_NODIRECT): New macro.
11722 (DF_1_IGNMULDEF): Likewise.
11723 (DF_1_NOKSYMS): Likewise.
11724 (DF_1_NOHDR): Likewise.
11725 (DF_1_EDITED): Likewise.
11726 (DF_1_NORELOC): Likewise.
11727 (DF_1_SYMINTPOSE): Likewise.
11728 (DF_1_GLOBAUDIT): Likewise.
11729 (DF_1_SINGLETON): Likewise.
11730 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11731 DT_1_SUPPORTED_MASK bits.
11732 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11734 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11736 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11738 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11740 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11743 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11744 (sendmmsg): Move declarations...
11745 * socket/sys/socket.h: ... here.
11746 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11747 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11749 * socket/recvmmsg.c: ... this new file.
11750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11751 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11752 definition of __sendmmsg hidden.
11753 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11754 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11755 Move ENOSYS stub into and include it from...
11756 * socket/sendmmsg.c: ... this new file.
11757 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11758 (sysdep_routines): Move recvmmsg and sendmmsg...
11759 * socket/Makefile (routines): ... here.
11760 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11761 (GLIBC_PRIVATE): Add __sendmmsg.
11762 * include/sys/socket.h (__sendmmsg): Add declarations.
11763 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11766 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11769 variable I1 with __attribute__ ((unused)).
11770 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11772 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11774 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11775 DUMMY variables with __attribute__ ((unused)).
11777 * bits/byteswap.h: Include <bits/types.h>.
11778 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11780 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11782 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11783 string_t. Do not manually set errno.
11784 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11785 length with __strnlen. Make sure to both set errno and return it on
11788 2012-11-19 David S. Miller <davem@davemloft.net>
11790 With help from Joseph Myers.
11791 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11792 very large arguments properly.
11793 * math/libm-test.inc (atan_test): New tests.
11794 (atan2_test): New tests.
11795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11798 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11801 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11804 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11805 [POSIX] (EADDRNOTAVAIL): Likewise.
11806 [POSIX] (EAFNOSUPPORT): Likewise.
11807 [POSIX] (EALREADY): Likewise.
11808 [POSIX] (ECONNABORTED): Likewise.
11809 [POSIX] (ECONNREFUSED): Likewise.
11810 [POSIX] (ECONNRESET): Likewise.
11811 [POSIX] (EDESTADDRREQ): Likewise.
11812 [POSIX] (EDQUOT): Likewise.
11813 [POSIX] (EHOSTUNREACH): Likewise.
11814 [POSIX] (EIDRM): Likewise.
11815 [POSIX] (EISCONN): Likewise.
11816 [POSIX] (ELOOP): Likewise.
11817 [POSIX] (EMULTIHOP): Likewise.
11818 [POSIX] (ENETDOWN): Likewise.
11819 [POSIX] (ENETUNREACH): Likewise.
11820 [POSIX] (ENOBUFS): Likewise.
11821 [POSIX] (ENODATA): Likewise.
11822 [POSIX] (ENOLINK): Likewise.
11823 [POSIX] (ENOMSG): Likewise.
11824 [POSIX] (ENOPROTOOPT): Likewise.
11825 [POSIX] (ENOSR): Likewise.
11826 [POSIX] (ENOSTR): Likewise.
11827 [POSIX] (ENOTCONN): Likewise.
11828 [POSIX] (ENOTSOCK): Likewise.
11829 [POSIX] (EOPNOTSUPP): Likewise.
11830 [POSIX] (EOVERFLOW): Likewise.
11831 [POSIX] (EPROTO): Likewise.
11832 [POSIX] (EPROTONOSUPPORT): Likewise.
11833 [POSIX] (EPROTOTYPE): Likewise.
11834 [POSIX] (ESTALE): Likewise.
11835 [POSIX] (ETIME): Likewise.
11836 [POSIX] (ETXTBSY): Likewise.
11837 [POSIX] (EWOULDBLOCK): Likewise.
11838 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11839 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11840 [POSIX] (SEEK_CUR): Likewise.
11841 [POSIX] (SEEK_END): Likewise.
11842 [POSIX || UNIX98] (mode_t): Do not require.
11843 [POSIX] (off_t): Likewise.
11844 [POSIX] (pid_t): Likewise.
11845 [POSIX] (sys/stat.h): Do not allow header.
11846 [POSIX] (unistd.h): Likewise.
11847 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11848 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11849 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11850 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11852 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11853 sigevent): Specify elements.
11854 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11856 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11857 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11859 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11860 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11861 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11862 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11863 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11864 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11865 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11866 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11867 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11868 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11869 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11870 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11871 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11878 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11882 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11883 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11884 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11885 Specify lower bound on value.
11886 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11887 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11888 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11889 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11890 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11891 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11892 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11893 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11897 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11898 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11899 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11900 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11901 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11902 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11903 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11904 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11905 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11906 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11907 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11908 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11909 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11910 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11911 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11912 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11914 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11916 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11917 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11923 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11925 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11928 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11935 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11936 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11937 specify as optional.
11938 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11939 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11940 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11941 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11942 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11943 [XPG3] (NL_LANGMAX): Likewise.
11944 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11945 [POSIX || XPG3] (NL_NMAX): Likewise.
11946 [POSIX || XPG3] (NL_SETMAX): Likewise.
11947 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11948 [XPG3] (NZERO): Likewise.
11949 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11950 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11951 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11952 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11953 (REG_ERANGE): Expect.
11954 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11956 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11957 Use (void) in prototype.
11958 [POSIX] (*_t): Allow.
11959 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11960 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11961 (WRDE_BADVAL): Expect.
11963 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11965 [XPG3 || XPG4] (O_RSYNC): Likewise.
11966 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11968 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11969 [XPG3 || XPG4] (sigqueue): Likewise.
11970 [XPG3 || XPG4] (sigtimedwait): Likewise.
11971 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11972 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11973 [XPG3 || XPG4] (vsnprintf): Likewise.
11974 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11976 [XPG3 || XPG4] (blksize_t): Likewise.
11977 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11979 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11980 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11981 [XPG3 || XPG4] (struct itimerspec): Likewise.
11982 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11983 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11984 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11985 [XPG3 || XPG4] (clockid_t): Likewise.
11986 [XPG3 || XPG4] (timer_t): Likewise.
11987 [XPG3 || XPG4] (clock_getres): Likewise.
11988 [XPG3 || XPG4] (clock_gettime): Likewise.
11989 [XPG3 || XPG4] (clock_settime): Likewise.
11990 [XPG3 || XPG4] (nanosleep): Likewise.
11991 [XPG3 || XPG4] (timer_create): Likewise.
11992 [XPG3 || XPG4] (timer_delete): Likewise.
11993 [XPG3 || XPG4] (timer_gettime): Likewise.
11994 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11995 [XPG3 || XPG4] (timer_settime): Likewise.
11996 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11997 [XPG3 || XPG4] (getlogin_r): Likewise.
11998 [XPG3 || XPG4] (pread): Likewise.
11999 [XPG3 || XPG4] (pthread_atfork): Likewise.
12000 [XPG3 || XPG4] (pwrite): Likewise.
12003 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12006 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12008 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12009 finalizing MALLSTREAM.
12011 * sysdeps/mach/hurd/syncfs.c: New file.
12013 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12016 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12017 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12018 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12019 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12020 (_nss_dns_gethostbyname4_r): Likewise.
12021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12022 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12024 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12027 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12029 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12031 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12032 * elf/cache.c (print_entry): Print ",AArch64" for
12035 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12036 * elf/cache.c (print_entry): Print ",hard-float" for
12039 2012-11-18 David S. Miller <davem@davemloft.net>
12041 With help from Joseph Myers.
12042 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12044 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12046 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12047 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12049 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12050 * math/libm-test.inc (y0_test): New tests.
12051 (y1_test): New tests.
12052 * sysdeps/i386/fpu/libm-test-ulps: Update.
12053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12056 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12058 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12060 * configure: Regenerated.
12062 2012-11-17 David S. Miller <davem@davemloft.net>
12065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12066 nonzero exponents with absolute value below 0x1p-128 to +/-
12069 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12071 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12073 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12075 * posix/getconf-speclist.c: New file.
12076 * posix/posix-envs.def: Likewise.
12077 * posix/confstr.c (START_ENV_GROUP): New macro.
12078 (END_ENV_GROUP): Likewise.
12079 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12080 (KNOWN_PRESENT_ENV_STRING): Likewise.
12081 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12082 (UNKNOWN_ENVIRONMENT): Likewise.
12083 (confstr): Include posix-envs.def instead of handling
12084 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12085 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12086 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12087 (END_ENV_GROUP): Likewise.
12088 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12089 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12090 (UNKNOWN_ENVIRONMENT): Likewise.
12091 (__sysconf): Include posix-envs.def instead of handling associated
12092 cases directly here.
12093 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12094 preprocessing getconf-speclist.c rather than running getconf or
12095 generating empty file.
12097 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12099 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12101 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12104 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12106 2012-11-16 David S. Miller <davem@davemloft.net>
12108 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12109 smaller than LDBL_EPSILON/2.0L, just return xm1.
12111 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12113 * elf/tst-array1.c (init): Set constructor priority to 1000.
12114 (fini): Set destructor priority to 1000.
12115 * elf/tst-array2dep.c: Likewise.
12117 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12120 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12121 (_IO_new_file_xsputn): Also return EOF if none of the input
12122 data was written when overflow failed.
12123 * libio/iopadn.c (_IO_padn): Likewise.
12124 * libio/iowpadn.c (_IO_wpadn): Likewise.
12125 * stdio-common/tst-put-error.c: Add copyright notice.
12126 (do_test): Add case for printing padded string.
12127 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12128 _IO_padn returned error.
12129 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12130 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12133 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12135 * libio/libioP.h: Add comment note that the references to C++
12136 bits are now obsolete.
12138 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12140 * math/libm-test.inc (check_complex): Use asprintf.
12142 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12144 * debug/pcprofiledump.c (print_version): Update copyright year.
12145 * malloc/memusagestat.c (print_version): Likewise.
12147 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12150 * elf/Makefile (tests): Add tst-audit8.
12151 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12152 ($(objpfx)tst-audit8.out): New target.
12153 (tst-audit8-ENV): New variable.
12154 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12155 audit if l_reloc_result is NULL.
12156 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12157 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12158 * elf/tst-audit8.c: New file.
12160 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12162 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12163 * misc/Makefile (CFLAGS-select.c): Define.
12164 * posix/Makefile (CFLAGS-pause.c): Define.
12166 2012-11-13 David S. Miller <davem@davemloft.net>
12168 * crypt/Makefile: Move test targets after toplevel Rules
12169 inclusion. Grab any necessary sysdep routines when linking.
12170 * crypt/md5.c (md5_process_block): Remove define, we will always
12171 name it __md5_process_block.
12172 (md5_finish_ctx): Update md5_process_block call.
12173 (md5_stream): Likewise.
12174 (md5_process_bytes): Likewise.
12175 (md5_process_block): Rename to __md5_process_block and move to ...
12176 * crypt/md5-block.c: ... here.
12177 * crypt/sha256.c (sha256_process_block): Move to ...
12178 * crypt/sha256-block.c: ... here.
12179 * crypt/sha512.c (sha512_process_block): Move to ...
12180 * crypt/sha512-block.c: ... here.
12181 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12183 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12184 * sysdeps/sparc/sparc64/multiarch/Makefile
12185 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12187 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12188 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12190 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12191 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12192 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12193 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12194 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12195 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12196 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12197 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12205 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12207 * timezone/tzselect.ksh: Update from tzcode git revision
12208 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12209 * timezone/zdump.c: Likewise.
12210 * timezone/zic.c: Likewise.
12211 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12212 in TZVERSION setting, not $(PKGVERSION).
12213 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12214 REPORT_BUGS_TO settings.
12217 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12220 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12223 detection to immediately after _FP_ROUND().
12224 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12227 2012-11-11 David S. Miller <davem@davemloft.net>
12229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12231 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12232 __close rather than their public counterparts.
12234 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12236 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12238 [UNIX98] (sem_timedwait): Do not expect.
12239 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12240 [XPG4 || UNIX98] (sockatmark): Do not expect.
12241 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12242 (clock_getcpuclockid): Do not expect.
12243 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12244 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12246 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12247 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12248 [UNIX98] (vwscanf): Likewise.
12249 [UNIX98] (vswscanf): Likewise.
12251 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12253 * timezone/version.h: Remove file.
12254 * timezone/README: Do not refer to version.h.
12255 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12256 $(objpfx)version.h.
12257 ($(objpfx)zdump.o): Likewise.
12258 ($(objpfx)version.h): New target.
12260 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12262 * timezone/README: Don't mention modification to tzselect.ksh.
12263 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12264 work on unmodified tzselect.ksh. Substitute version numbers in
12267 * Makefile (format-me): Remove.
12268 (INSTALL): Adjust indentation. Use commands directly instead of
12269 using $(format-me).
12271 * aclocal.m4 (ACX_PKGVERSION): New macro.
12272 (ACX_BUGURL): Likewise.
12273 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12274 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12275 (REPORT_BUGS_TO): Likewise.
12276 * configure: Regenerated.
12277 * config.h.in (PKGVERSION): New macro.
12278 (REPORT_BUGS_TO): Likewise.
12279 * config.make.in (PKGVERSION): New variable.
12280 (PKGVERSION_TEXI): Likewise.
12281 (REPORT_BUGS_TO): Likewise.
12282 (REPORT_BUGS_TEXI): Likewise.
12283 * Makefile (format-me): Use -I$(common-objpfx)manual.
12284 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12285 ($(common-objpfx)manual/%): New target.
12286 (manual/%): Remove target.
12287 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12288 (print_version): Use PKGVERSION.
12289 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12290 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12291 and REPORT_BUGS_TO.
12292 ($(objpfx)xtrace): Likewise.
12293 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12294 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12295 (print_version): Use PKGVERSION.
12296 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12297 (do_version): Use PKGVERSION.
12298 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12300 (common-ldd-rewrite): Likewise.
12301 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12302 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12303 (print_version): Use PKGVERSION.
12304 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12305 * elf/pldd.c (argp_program_bug_address): Remove variable.
12306 (more_help): New function.
12307 (argp): Use more_help.
12308 (print_version): Use PKGVERSION.
12309 * elf/sln.c (main): Use PKGVERSION.
12310 (usage): Use REPORT_BUGS_TO.
12311 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12312 (top level): Use PKGVERSION.
12313 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12314 (print_version): Use PKGVERSION.
12315 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12316 (print_version): Use PKGVERSION.
12317 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12318 (print_version): Use PKGVERSION.
12319 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12320 (print_version): Use PKGVERSION.
12321 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12322 (print_version): Use PKGVERSION.
12323 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12324 (print_version): Use PKGVERSION.
12325 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12327 ($(objpfx)memusage): Likewise.
12328 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12329 (do_version): Use PKGVERSION.
12330 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12331 (print_version): Use PKGVERSION.
12332 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12333 ($PKGVERSION): New variable.
12334 ($REPORT_BUGS_TO): Likewise.
12335 (usage): Use $REPORT_BUGS_TO.
12336 (top level): Use $PKGVERSION.
12337 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12338 ($(objpfx)pkgvers.texi): New rule.
12339 ($(objpfx)stamp-pkgvers): Likewise.
12340 * manual/install.texi: Include pkgvers.texi.
12341 (--with-pkgversion): Document new configure option.
12342 (--with-bugurl): Likewise.
12343 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12344 than necessarily for this particular distribution. Use
12345 REPORT_BUGS_TO for where to report bugs.
12346 * INSTALL: Regenerated.
12347 * manual/libc.texinfo: Include pkgvers.texi.
12348 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12349 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12350 (print_version): Use PKGVERSION.
12351 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12352 (print_version): Use PKGVERSION.
12353 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12354 (print_version): Use PKGVERSION.
12355 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12356 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12358 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12359 (print_version): Use PKGVERSION.
12360 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12361 (print_version): Use PKGVERSION.
12362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12365 * timezone/checktab.awk: Update from tzcode 2012i.
12366 * timezone/ialloc.c: Likewise.
12367 * timezone/private.h: Likewise.
12368 * timezone/scheck.c: Likewise.
12369 * timezone/tzfile.h: Likewise.
12370 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12371 (TZVERSION): Hardcode tzcode version number.
12372 * timezone/zdump.c: Update from tzcode 2012i.
12373 * timezone/zic.c: Likewise.
12374 * timezone/version.h: New file.
12375 * timezone/README: Describe version.h. Update upstream location.
12378 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12379 (mktemp): Enable declaration.
12380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12397 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12398 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12399 for copies of such integer values.
12400 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12401 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12403 2012-11-09 Andreas Jaeger <aj@suse.de>
12405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12406 definitions and declarations that are provided by
12407 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12409 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12411 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12412 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12413 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12416 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12418 * elf/elf.h: Update comment before AArch64 relocations.
12420 2012-11-07 David S. Miller <davem@davemloft.net>
12422 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12423 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12424 (__start_context): Declare.
12425 (__makecontext_ret): Delete.
12426 (__makecontext): Hook up __start_context instead of
12428 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12429 (sysdep_routines): Add __start_context when in stdlib.
12431 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12433 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12434 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12435 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12437 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12438 (READELF): New variable. Use it instead of hardcoded "readelf".
12440 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12442 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12443 * sysdeps/x86/Makefile: Here.
12444 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12445 * sysdeps/x86/tst-xmmymm.sh: This.
12447 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12449 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12451 [UNIX98] (pthread_barrier_t): Do not expect.
12452 [UNIX98] (pthread_barrierattr_t): Likewise.
12453 [UNIX98] (pthread_spinlock_t): Likewise.
12454 [UNIX98] (pthread_barrier_destroy): Likewise.
12455 [UNIX98] (pthread_barrier_init): Likewise.
12456 [UNIX98] (pthread_barrier_wait): Likewise.
12457 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12458 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12459 [UNIX98] (pthread_barrierattr_init): Likewise.
12460 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12461 [UNIX98] (pthread_getcpuclockid): Likewise.
12462 [UNIX98] (pthread_mutex_timedlock): Likewise.
12463 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12464 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12465 [UNIX98] (pthread_sigmask): Likewise.
12466 [UNIX98] (pthread_spin_destroy): Likewise.
12467 [UNIX98] (pthread_spin_init): Likewise.
12468 [UNIX98] (pthread_spin_lock): Likewise.
12469 [UNIX98] (pthread_spin_trylock): Likewise.
12470 [UNIX98] (pthread_spin_unlock): Likewise.
12471 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12473 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12475 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12476 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12477 [XPG3 || XPG4] (pthread_key_t): Likewise.
12478 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12479 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12480 [XPG3 || XPG4] (pthread_once_t): Likewise.
12481 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12482 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12484 [XPG3 || XPG4] (pthread_t): Likewise.
12486 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12488 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12490 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12491 Change function return type to int.
12493 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12494 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12495 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12496 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12497 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12498 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12499 [!POSIX] (posix_madvise): Likewise.
12500 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12502 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12503 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12504 (mode_t): Likewise.
12505 (posix_mem_offset): Likewise.
12506 (posix_typed_mem_get_info): Likewise.
12507 (posix_typed_mem_open): Likewise.
12509 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12510 Change condition to [XOPEN2K8].
12512 * conform/conformtest.pl: Preprocess allow-header data with -x c
12513 instead of from stdin.
12514 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12515 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12516 [C99-based standards] (cerfc): Likewise.
12517 [C99-based standards] (cexp2): Likewise.
12518 [C99-based standards] (cexpm1): Likewise.
12519 [C99-based standards] (clog10): Likewise.
12520 [C99-based standards] (clog1p): Likewise.
12521 [C99-based standards] (clog2): Likewise.
12522 [C99-based standards] (clgamma): Likewise.
12523 [C99-based standards] (ctgamma): Likewise.
12524 [C99-based standards] (cerff): Likewise.
12525 [C99-based standards] (cerfcf): Likewise.
12526 [C99-based standards] (cexp2f): Likewise.
12527 [C99-based standards] (cexpm1f): Likewise.
12528 [C99-based standards] (clog10f): Likewise.
12529 [C99-based standards] (clog1pf): Likewise.
12530 [C99-based standards] (clog2f): Likewise.
12531 [C99-based standards] (clgammaf): Likewise.
12532 [C99-based standards] (ctgammaf): Likewise.
12533 [C99-based standards] (cerfl): Likewise.
12534 [C99-based standards] (cerfcl): Likewise.
12535 [C99-based standards] (cexp2l): Likewise.
12536 [C99-based standards] (cexpm1l): Likewise.
12537 [C99-based standards] (clog10l): Likewise.
12538 [C99-based standards] (clog1pl): Likewise.
12539 [C99-based standards] (clog2l): Likewise.
12540 [C99-based standards] (clgammal): Likewise.
12541 [C99-based standards] (ctgammal): Likewise.
12542 * conform/data/inttypes.h-data [C99-based standards]: Include
12543 stdint.h-data. Remove all expectations for stdint.h contents.
12544 [C99-based standards] (PRI*): Do not allow.
12545 [C99-based standards] (SCN*): Likewise.
12546 [C99-based standards] (*_t): Likewise.
12547 [C99-based-standards] (PRId8): Expect macro.
12548 [C99-based-standards] (PRIi8): Likewise.
12549 [C99-based-standards] (PRIo8): Likewise.
12550 [C99-based-standards] (PRIu8): Likewise.
12551 [C99-based-standards] (PRIx8): Likewise.
12552 [C99-based-standards] (PRIX8): Likewise.
12553 [C99-based-standards] (SCNd8): Likewise.
12554 [C99-based-standards] (SCNi8): Likewise.
12555 [C99-based-standards] (SCNo8): Likewise.
12556 [C99-based-standards] (SCNu8): Likewise.
12557 [C99-based-standards] (SCNx8): Likewise.
12558 [C99-based-standards] (PRIdLEAST8): Likewise.
12559 [C99-based-standards] (PRIiLEAST8): Likewise.
12560 [C99-based-standards] (PRIoLEAST8): Likewise.
12561 [C99-based-standards] (PRIuLEAST8): Likewise.
12562 [C99-based-standards] (PRIxLEAST8): Likewise.
12563 [C99-based-standards] (PRIXLEAST8): Likewise.
12564 [C99-based-standards] (SCNdLEAST8): Likewise.
12565 [C99-based-standards] (SCNiLEAST8): Likewise.
12566 [C99-based-standards] (SCNoLEAST8): Likewise.
12567 [C99-based-standards] (SCNuLEAST8): Likewise.
12568 [C99-based-standards] (SCNxLEAST8): Likewise.
12569 [C99-based-standards] (PRIdFAST8): Likewise.
12570 [C99-based-standards] (PRIiFAST8): Likewise.
12571 [C99-based-standards] (PRIoFAST8): Likewise.
12572 [C99-based-standards] (PRIuFAST8): Likewise.
12573 [C99-based-standards] (PRIxFAST8): Likewise.
12574 [C99-based-standards] (PRIXFAST8): Likewise.
12575 [C99-based-standards] (SCNdFAST8): Likewise.
12576 [C99-based-standards] (SCNiFAST8): Likewise.
12577 [C99-based-standards] (SCNoFAST8): Likewise.
12578 [C99-based-standards] (SCNuFAST8): Likewise.
12579 [C99-based-standards] (SCNxFAST8): Likewise.
12580 [C99-based-standards] (PRId16): Likewise.
12581 [C99-based-standards] (PRIi16): Likewise.
12582 [C99-based-standards] (PRIo16): Likewise.
12583 [C99-based-standards] (PRIu16): Likewise.
12584 [C99-based-standards] (PRIx16): Likewise.
12585 [C99-based-standards] (PRIX16): Likewise.
12586 [C99-based-standards] (SCNd16): Likewise.
12587 [C99-based-standards] (SCNi16): Likewise.
12588 [C99-based-standards] (SCNo16): Likewise.
12589 [C99-based-standards] (SCNu16): Likewise.
12590 [C99-based-standards] (SCNx16): Likewise.
12591 [C99-based-standards] (PRIdLEAST16): Likewise.
12592 [C99-based-standards] (PRIiLEAST16): Likewise.
12593 [C99-based-standards] (PRIoLEAST16): Likewise.
12594 [C99-based-standards] (PRIuLEAST16): Likewise.
12595 [C99-based-standards] (PRIxLEAST16): Likewise.
12596 [C99-based-standards] (PRIXLEAST16): Likewise.
12597 [C99-based-standards] (SCNdLEAST16): Likewise.
12598 [C99-based-standards] (SCNiLEAST16): Likewise.
12599 [C99-based-standards] (SCNoLEAST16): Likewise.
12600 [C99-based-standards] (SCNuLEAST16): Likewise.
12601 [C99-based-standards] (SCNxLEAST16): Likewise.
12602 [C99-based-standards] (PRIdFAST16): Likewise.
12603 [C99-based-standards] (PRIiFAST16): Likewise.
12604 [C99-based-standards] (PRIoFAST16): Likewise.
12605 [C99-based-standards] (PRIuFAST16): Likewise.
12606 [C99-based-standards] (PRIxFAST16): Likewise.
12607 [C99-based-standards] (PRIXFAST16): Likewise.
12608 [C99-based-standards] (SCNdFAST16): Likewise.
12609 [C99-based-standards] (SCNiFAST16): Likewise.
12610 [C99-based-standards] (SCNoFAST16): Likewise.
12611 [C99-based-standards] (SCNuFAST16): Likewise.
12612 [C99-based-standards] (SCNxFAST16): Likewise.
12613 [C99-based-standards] (PRId32): Likewise.
12614 [C99-based-standards] (PRIi32): Likewise.
12615 [C99-based-standards] (PRIo32): Likewise.
12616 [C99-based-standards] (PRIu32): Likewise.
12617 [C99-based-standards] (PRIx32): Likewise.
12618 [C99-based-standards] (PRIX32): Likewise.
12619 [C99-based-standards] (SCNd32): Likewise.
12620 [C99-based-standards] (SCNi32): Likewise.
12621 [C99-based-standards] (SCNo32): Likewise.
12622 [C99-based-standards] (SCNu32): Likewise.
12623 [C99-based-standards] (SCNx32): Likewise.
12624 [C99-based-standards] (PRIdLEAST32): Likewise.
12625 [C99-based-standards] (PRIiLEAST32): Likewise.
12626 [C99-based-standards] (PRIoLEAST32): Likewise.
12627 [C99-based-standards] (PRIuLEAST32): Likewise.
12628 [C99-based-standards] (PRIxLEAST32): Likewise.
12629 [C99-based-standards] (PRIXLEAST32): Likewise.
12630 [C99-based-standards] (SCNdLEAST32): Likewise.
12631 [C99-based-standards] (SCNiLEAST32): Likewise.
12632 [C99-based-standards] (SCNoLEAST32): Likewise.
12633 [C99-based-standards] (SCNuLEAST32): Likewise.
12634 [C99-based-standards] (SCNxLEAST32): Likewise.
12635 [C99-based-standards] (PRIdFAST32): Likewise.
12636 [C99-based-standards] (PRIiFAST32): Likewise.
12637 [C99-based-standards] (PRIoFAST32): Likewise.
12638 [C99-based-standards] (PRIuFAST32): Likewise.
12639 [C99-based-standards] (PRIxFAST32): Likewise.
12640 [C99-based-standards] (PRIXFAST32): Likewise.
12641 [C99-based-standards] (SCNdFAST32): Likewise.
12642 [C99-based-standards] (SCNiFAST32): Likewise.
12643 [C99-based-standards] (SCNoFAST32): Likewise.
12644 [C99-based-standards] (SCNuFAST32): Likewise.
12645 [C99-based-standards] (SCNxFAST32): Likewise.
12646 [C99-based-standards] (PRId64): Likewise.
12647 [C99-based-standards] (PRIi64): Likewise.
12648 [C99-based-standards] (PRIo64): Likewise.
12649 [C99-based-standards] (PRIu64): Likewise.
12650 [C99-based-standards] (PRIx64): Likewise.
12651 [C99-based-standards] (PRIX64): Likewise.
12652 [C99-based-standards] (SCNd64): Likewise.
12653 [C99-based-standards] (SCNi64): Likewise.
12654 [C99-based-standards] (SCNo64): Likewise.
12655 [C99-based-standards] (SCNu64): Likewise.
12656 [C99-based-standards] (SCNx64): Likewise.
12657 [C99-based-standards] (PRIdLEAST64): Likewise.
12658 [C99-based-standards] (PRIiLEAST64): Likewise.
12659 [C99-based-standards] (PRIoLEAST64): Likewise.
12660 [C99-based-standards] (PRIuLEAST64): Likewise.
12661 [C99-based-standards] (PRIxLEAST64): Likewise.
12662 [C99-based-standards] (PRIXLEAST64): Likewise.
12663 [C99-based-standards] (SCNdLEAST64): Likewise.
12664 [C99-based-standards] (SCNiLEAST64): Likewise.
12665 [C99-based-standards] (SCNoLEAST64): Likewise.
12666 [C99-based-standards] (SCNuLEAST64): Likewise.
12667 [C99-based-standards] (SCNxLEAST64): Likewise.
12668 [C99-based-standards] (PRIdFAST64): Likewise.
12669 [C99-based-standards] (PRIiFAST64): Likewise.
12670 [C99-based-standards] (PRIoFAST64): Likewise.
12671 [C99-based-standards] (PRIuFAST64): Likewise.
12672 [C99-based-standards] (PRIxFAST64): Likewise.
12673 [C99-based-standards] (PRIXFAST64): Likewise.
12674 [C99-based-standards] (SCNdFAST64): Likewise.
12675 [C99-based-standards] (SCNiFAST64): Likewise.
12676 [C99-based-standards] (SCNoFAST64): Likewise.
12677 [C99-based-standards] (SCNuFAST64): Likewise.
12678 [C99-based-standards] (SCNxFAST64): Likewise.
12679 [C99-based-standards] (PRIdMAX): Likewise.
12680 [C99-based-standards] (PRIiMAX): Likewise.
12681 [C99-based-standards] (PRIoMAX): Likewise.
12682 [C99-based-standards] (PRIuMAX): Likewise.
12683 [C99-based-standards] (PRIxMAX): Likewise.
12684 [C99-based-standards] (PRIXMAX): Likewise.
12685 [C99-based-standards] (SCNdMAX): Likewise.
12686 [C99-based-standards] (SCNiMAX): Likewise.
12687 [C99-based-standards] (SCNoMAX): Likewise.
12688 [C99-based-standards] (SCNuMAX): Likewise.
12689 [C99-based-standards] (SCNxMAX): Likewise.
12690 [C99-based-standards] (PRIdPTR): Likewise.
12691 [C99-based-standards] (PRIiPTR): Likewise.
12692 [C99-based-standards] (PRIoPTR): Likewise.
12693 [C99-based-standards] (PRIuPTR): Likewise.
12694 [C99-based-standards] (PRIxPTR): Likewise.
12695 [C99-based-standards] (PRIXPTR): Likewise.
12696 [C99-based-standards] (SCNdPTR): Likewise.
12697 [C99-based-standards] (SCNiPTR): Likewise.
12698 [C99-based-standards] (SCNoPTR): Likewise.
12699 [C99-based-standards] (SCNuPTR): Likewise.
12700 [C99-based-standards] (SCNxPTR): Likewise.
12701 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12703 * conform/data/stdint.h-data: Update comments to clarify
12705 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12707 [C99-based standards] (INT8_MAX): Likewise.
12708 [C99-based standards] (INT16_MIN): Likewise.
12709 [C99-based standards] (INT16_MAX): Likewise.
12710 [C99-based standards] (INT32_MIN): Likewise.
12711 [C99-based standards] (INT32_MAX): Likewise.
12712 [C99-based standards] (INT64_MIN): Likewise.
12713 [C99-based standards] (INT64_MAX): Likewise.
12714 [C99-based standards] (UINT8_MAX): Likewise.
12715 [C99-based standards] (UINT16_MAX): Likewise.
12716 [C99-based standards] (UINT32_MAX): Likewise.
12717 [C99-based standards] (UINT64_MAX): Likewise.
12718 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12719 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12720 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12721 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12722 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12723 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12724 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12725 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12726 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12727 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12728 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12729 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12730 [C99-based standards] (INT_FAST8_MIN): Likewise.
12731 [C99-based standards] (INT_FAST8_MAX): Likewise.
12732 [C99-based standards] (INT_FAST16_MIN): Likewise.
12733 [C99-based standards] (INT_FAST16_MAX): Likewise.
12734 [C99-based standards] (INT_FAST32_MIN): Likewise.
12735 [C99-based standards] (INT_FAST32_MAX): Likewise.
12736 [C99-based standards] (INT_FAST64_MIN): Likewise.
12737 [C99-based standards] (INT_FAST64_MAX): Likewise.
12738 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12739 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12740 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12741 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12742 [C99-based standards] (INTPTR_MIN): Likewise.
12743 [C99-based standards] (INTPTR_MAX): Likewise.
12744 [C99-based standards] (UINTPTR_MAX): Likewise.
12745 [C99-based standards] (INTMAX_MIN): Likewise.
12746 [C99-based standards] (INTMAX_MAX): Likewise.
12747 [C99-based standards] (UINTMAX_MAX): Likewise.
12748 [C99-based standards] (PTRDIFF_MIN): Likewise.
12749 [C99-based standards] (PTRDIFF_MAX): Likewise.
12750 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12751 [C99-based standards] (SIZE_MAX): Likewise.
12752 [C99-based standards] (WCHAR_MAX): Likewise.
12753 [C99-based standards] (WINT_MAX): Likewise.
12754 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12755 constraint on value.
12756 [C99-based standards] (WCHAR_MIN): Likewise.
12757 [C99-based standards] (WINT_MIN): Likewise.
12758 [C99-based standards] (*_t): Allow.
12759 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12760 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12761 Include math.h-data and complex.h-data. Remove all expectations
12762 of math.h and complex.h contents.
12763 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12765 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12766 (struct tm): Expect tag.
12767 [C99-based-standards] (wcstof): Expect function.
12768 [C99-based-standards] (wcstold): Likewise.
12769 [C99-based-standards] (wcstoll): Likewise.
12770 [C99-based-standards] (wcstoull): Likewise.
12771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12772 macro-int-constant. Specify type.
12773 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12774 constraint on value.
12775 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12777 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12779 [ISO C standards]: Do not allow headers.
12780 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12781 wcs[abcdefghijklmnopqrstuvwxyz]*.
12782 [ISO C standards] (*_t): Do not allow.
12783 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12785 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12786 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12788 [ISO C standards]: Do not allow headers.
12789 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12790 is[abcdefghijklmnopqrstuvwxyz]*.
12791 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12792 to[abcdefghijklmnopqrstuvwxyz]*.
12793 [ISO C standards] (*_t): Do not allow.
12794 * conform/data/stdalign.h-data: New file.
12795 * conform/data/stdbool.h-data: Likewise.
12796 * conform/data/stdnoreturn.h-data: Likewise.
12798 2012-11-07 Roland McGrath <roland@hack.frob.com>
12801 * manual/filesys.texi (Directory Entries): Typo fix.
12802 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12804 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12806 * elf/elf.h (EM_AARCH64): New macro.
12807 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12808 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12809 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12810 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12811 (R_AARCH64_TLSDESC): Likewise.
12812 (NT_ARM_TLS): Likewise.
12813 (NT_ARM_HW_BREAK): Likewise.
12814 (NT_ARM_HW_WATCH): Likewise.
12816 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12819 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12820 (__ieee754_powl): Saturate nonzero exponents with absolute value
12821 below 0x1p-79 to +/- 0x1p-79.
12822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12823 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12824 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12825 nonzero exponents with absolute value below 0x1p-32 to +/-
12827 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12828 (__ieee754_powl): Saturate nonzero exponents with absolute value
12829 below 0x1p-79 to +/- 0x1p-79.
12830 * math/libm-test.inc (pow_test): Add more tests.
12832 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12834 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12835 _dl_s390_cap_flags with kernel. Increase string length.
12836 (_dl_s390_platforms): Add z196 and zEC12.
12838 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12840 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12841 Change XOPEN21K to XOPEN2K.
12843 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12845 * string/memmove.c: Use memcpy when possible.
12847 2012-11-06 Andreas Jaeger <aj@suse.de>
12849 * po/eo.po: Update from translation team.
12851 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12855 exponent and small x and y exponents, scale x or y up. Increase
12856 by 2 the exponent used in scaling up.
12857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12859 * math/libm-test.inc (fma_test): Add more tests.
12860 (fma_test_towardzero): Likewise.
12861 (fma_test_downward): Likewise.
12862 (fma_test_upward): Likewise.
12864 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12871 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12872 namespace for names of struct fields.
12873 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12875 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12876 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12878 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12881 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12883 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12885 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12889 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12892 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12896 definitely overflow as x * y not x * y + z.
12897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12899 * math/libm-test.inc (fma_test): Add more tests.
12900 (fma_test_towardzero): Likewise.
12901 (fma_test_downward): Likewise.
12902 (fma_test_upward): Likewise.
12904 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12908 * include/stub-tag.h: Remove file.
12909 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12911 * manual/maint.texi (Porting): Don't reference it.
12912 * Makerules ($(objpfx)stubs): Likewise.
12913 * dirent/closedir.c: Don't include <stub-tag.h>.
12914 * dirent/dirfd.c: Likewise.
12915 * dirent/fdopendir.c: Likewise.
12916 * dirent/getdents.c: Likewise.
12917 * dirent/getdents64.c: Likewise.
12918 * dirent/opendir.c: Likewise.
12919 * dirent/readdir.c: Likewise.
12920 * dirent/readdir64.c: Likewise.
12921 * dirent/readdir64_r.c: Likewise.
12922 * dirent/readdir_r.c: Likewise.
12923 * dirent/rewinddir.c: Likewise.
12924 * dirent/seekdir.c: Likewise.
12925 * dirent/telldir.c: Likewise.
12926 * gmon/profil.c: Likewise.
12927 * grp/setgroups.c: Likewise.
12928 * inet/if_index.c: Likewise.
12929 * io/access.c: Likewise.
12930 * io/chdir.c: Likewise.
12931 * io/chmod.c: Likewise.
12932 * io/chown.c: Likewise.
12933 * io/close.c: Likewise.
12934 * io/dup.c: Likewise.
12935 * io/dup2.c: Likewise.
12936 * io/dup3.c: Likewise.
12937 * io/euidaccess.c: Likewise.
12938 * io/faccessat.c: Likewise.
12939 * io/fchdir.c: Likewise.
12940 * io/fchmod.c: Likewise.
12941 * io/fchmodat.c: Likewise.
12942 * io/fchown.c: Likewise.
12943 * io/fchownat.c: Likewise.
12944 * io/fcntl.c: Likewise.
12945 * io/flock.c: Likewise.
12946 * io/fstatfs.c: Likewise.
12947 * io/fstatfs64.c: Likewise.
12948 * io/fstatvfs.c: Likewise.
12949 * io/fstatvfs64.c: Likewise.
12950 * io/futimens.c: Likewise.
12951 * io/fxstat.c: Likewise.
12952 * io/fxstat64.c: Likewise.
12953 * io/fxstatat.c: Likewise.
12954 * io/fxstatat64.c: Likewise.
12955 * io/getcwd.c: Likewise.
12956 * io/isatty.c: Likewise.
12957 * io/lchmod.c: Likewise.
12958 * io/lchown.c: Likewise.
12959 * io/link.c: Likewise.
12960 * io/linkat.c: Likewise.
12961 * io/lseek.c: Likewise.
12962 * io/lseek64.c: Likewise.
12963 * io/lxstat64.c: Likewise.
12964 * io/mkdir.c: Likewise.
12965 * io/mkdirat.c: Likewise.
12966 * io/mkfifo.c: Likewise.
12967 * io/mkfifoat.c: Likewise.
12968 * io/open.c: Likewise.
12969 * io/open64.c: Likewise.
12970 * io/openat.c: Likewise.
12971 * io/openat64.c: Likewise.
12972 * io/pipe.c: Likewise.
12973 * io/pipe2.c: Likewise.
12974 * io/poll.c: Likewise.
12975 * io/posix_fadvise.c: Likewise.
12976 * io/posix_fadvise64.c: Likewise.
12977 * io/posix_fallocate.c: Likewise.
12978 * io/posix_fallocate64.c: Likewise.
12979 * io/read.c: Likewise.
12980 * io/readlink.c: Likewise.
12981 * io/readlinkat.c: Likewise.
12982 * io/rmdir.c: Likewise.
12983 * io/sendfile.c: Likewise.
12984 * io/sendfile64.c: Likewise.
12985 * io/statfs.c: Likewise.
12986 * io/statfs64.c: Likewise.
12987 * io/statvfs.c: Likewise.
12988 * io/statvfs64.c: Likewise.
12989 * io/symlink.c: Likewise.
12990 * io/symlinkat.c: Likewise.
12991 * io/ttyname.c: Likewise.
12992 * io/ttyname_r.c: Likewise.
12993 * io/umask.c: Likewise.
12994 * io/unlink.c: Likewise.
12995 * io/unlinkat.c: Likewise.
12996 * io/utime.c: Likewise.
12997 * io/utimensat.c: Likewise.
12998 * io/write.c: Likewise.
12999 * io/xmknod.c: Likewise.
13000 * io/xmknodat.c: Likewise.
13001 * io/xstat.c: Likewise.
13002 * io/xstat64.c: Likewise.
13003 * login/getpt.c: Likewise.
13004 * login/grantpt.c: Likewise.
13005 * login/unlockpt.c: Likewise.
13006 * math/e_acoshl.c: Likewise.
13007 * math/e_acosl.c: Likewise.
13008 * math/e_asinl.c: Likewise.
13009 * math/e_atan2l.c: Likewise.
13010 * math/e_atanhl.c: Likewise.
13011 * math/e_coshl.c: Likewise.
13012 * math/e_expl.c: Likewise.
13013 * math/e_fmodl.c: Likewise.
13014 * math/e_gammal_r.c: Likewise.
13015 * math/e_hypotl.c: Likewise.
13016 * math/e_j0l.c: Likewise.
13017 * math/e_j1l.c: Likewise.
13018 * math/e_jnl.c: Likewise.
13019 * math/e_lgammal_r.c: Likewise.
13020 * math/e_log10l.c: Likewise.
13021 * math/e_log2l.c: Likewise.
13022 * math/e_logl.c: Likewise.
13023 * math/e_powl.c: Likewise.
13024 * math/e_rem_pio2l.c: Likewise.
13025 * math/e_sinhl.c: Likewise.
13026 * math/e_sqrtl.c: Likewise.
13027 * math/fclrexcpt.c: Likewise.
13028 * math/fedisblxcpt.c: Likewise.
13029 * math/feenablxcpt.c: Likewise.
13030 * math/fegetenv.c: Likewise.
13031 * math/fegetexcept.c: Likewise.
13032 * math/fegetround.c: Likewise.
13033 * math/feholdexcpt.c: Likewise.
13034 * math/fesetenv.c: Likewise.
13035 * math/fesetround.c: Likewise.
13036 * math/feupdateenv.c: Likewise.
13037 * math/fgetexcptflg.c: Likewise.
13038 * math/fraiseexcpt.c: Likewise.
13039 * math/fsetexcptflg.c: Likewise.
13040 * math/ftestexcept.c: Likewise.
13041 * math/k_cosl.c: Likewise.
13042 * math/k_rem_pio2l.c: Likewise.
13043 * math/k_sinl.c: Likewise.
13044 * math/k_tanl.c: Likewise.
13045 * math/s_asinhl.c: Likewise.
13046 * math/s_atanl.c: Likewise.
13047 * math/s_cbrtl.c: Likewise.
13048 * math/s_erfl.c: Likewise.
13049 * math/s_expm1l.c: Likewise.
13050 * math/s_log1pl.c: Likewise.
13051 * math/s_tanhl.c: Likewise.
13052 * misc/acct.c: Likewise.
13053 * misc/brk.c: Likewise.
13054 * misc/chflags.c: Likewise.
13055 * misc/chroot.c: Likewise.
13056 * misc/fchflags.c: Likewise.
13057 * misc/fgetxattr.c: Likewise.
13058 * misc/flistxattr.c: Likewise.
13059 * misc/fremovexattr.c: Likewise.
13060 * misc/fsetxattr.c: Likewise.
13061 * misc/fsync.c: Likewise.
13062 * misc/ftruncate.c: Likewise.
13063 * misc/futimes.c: Likewise.
13064 * misc/futimesat.c: Likewise.
13065 * misc/getdomain.c: Likewise.
13066 * misc/getdtsz.c: Likewise.
13067 * misc/gethostid.c: Likewise.
13068 * misc/gethostname.c: Likewise.
13069 * misc/getloadavg.c: Likewise.
13070 * misc/getpagesize.c: Likewise.
13071 * misc/getsysstats.c: Likewise.
13072 * misc/getxattr.c: Likewise.
13073 * misc/gtty.c: Likewise.
13074 * misc/ioctl.c: Likewise.
13075 * misc/lgetxattr.c: Likewise.
13076 * misc/listxattr.c: Likewise.
13077 * misc/llistxattr.c: Likewise.
13078 * misc/lremovexattr.c: Likewise.
13079 * misc/lsetxattr.c: Likewise.
13080 * misc/lutimes.c: Likewise.
13081 * misc/madvise.c: Likewise.
13082 * misc/mincore.c: Likewise.
13083 * misc/mlock.c: Likewise.
13084 * misc/mlockall.c: Likewise.
13085 * misc/mmap.c: Likewise.
13086 * misc/mprotect.c: Likewise.
13087 * misc/msync.c: Likewise.
13088 * misc/munlock.c: Likewise.
13089 * misc/munlockall.c: Likewise.
13090 * misc/munmap.c: Likewise.
13091 * misc/preadv.c: Likewise.
13092 * misc/preadv64.c: Likewise.
13093 * misc/ptrace.c: Likewise.
13094 * misc/pwritev.c: Likewise.
13095 * misc/pwritev64.c: Likewise.
13096 * misc/readv.c: Likewise.
13097 * misc/reboot.c: Likewise.
13098 * misc/remap_file_pages.c: Likewise.
13099 * misc/removexattr.c: Likewise.
13100 * misc/revoke.c: Likewise.
13101 * misc/select.c: Likewise.
13102 * misc/setdomain.c: Likewise.
13103 * misc/setegid.c: Likewise.
13104 * misc/seteuid.c: Likewise.
13105 * misc/sethostid.c: Likewise.
13106 * misc/sethostname.c: Likewise.
13107 * misc/setregid.c: Likewise.
13108 * misc/setreuid.c: Likewise.
13109 * misc/setxattr.c: Likewise.
13110 * misc/sstk.c: Likewise.
13111 * misc/stty.c: Likewise.
13112 * misc/swapoff.c: Likewise.
13113 * misc/swapon.c: Likewise.
13114 * misc/sync.c: Likewise.
13115 * misc/syncfs.c: Likewise.
13116 * misc/syscall.c: Likewise.
13117 * misc/truncate.c: Likewise.
13118 * misc/ualarm.c: Likewise.
13119 * misc/usleep.c: Likewise.
13120 * misc/ustat.c: Likewise.
13121 * misc/utimes.c: Likewise.
13122 * misc/vhangup.c: Likewise.
13123 * misc/writev.c: Likewise.
13124 * posix/_exit.c: Likewise.
13125 * posix/alarm.c: Likewise.
13126 * posix/execve.c: Likewise.
13127 * posix/fexecve.c: Likewise.
13128 * posix/fork.c: Likewise.
13129 * posix/fpathconf.c: Likewise.
13130 * posix/getaddrinfo.c: Likewise.
13131 * posix/getegid.c: Likewise.
13132 * posix/geteuid.c: Likewise.
13133 * posix/getgid.c: Likewise.
13134 * posix/getgroups.c: Likewise.
13135 * posix/getlogin.c: Likewise.
13136 * posix/getlogin_r.c: Likewise.
13137 * posix/getpgid.c: Likewise.
13138 * posix/getpid.c: Likewise.
13139 * posix/getppid.c: Likewise.
13140 * posix/getresgid.c: Likewise.
13141 * posix/getresuid.c: Likewise.
13142 * posix/getsid.c: Likewise.
13143 * posix/getuid.c: Likewise.
13144 * posix/glob64.c: Likewise.
13145 * posix/nanosleep.c: Likewise.
13146 * posix/pathconf.c: Likewise.
13147 * posix/pause.c: Likewise.
13148 * posix/posix_madvise.c: Likewise.
13149 * posix/pread.c: Likewise.
13150 * posix/pread64.c: Likewise.
13151 * posix/pwrite.c: Likewise.
13152 * posix/pwrite64.c: Likewise.
13153 * posix/sched_getaffinity.c: Likewise.
13154 * posix/sched_getp.c: Likewise.
13155 * posix/sched_gets.c: Likewise.
13156 * posix/sched_primax.c: Likewise.
13157 * posix/sched_primin.c: Likewise.
13158 * posix/sched_rr_gi.c: Likewise.
13159 * posix/sched_setaffinity.c: Likewise.
13160 * posix/sched_setp.c: Likewise.
13161 * posix/sched_sets.c: Likewise.
13162 * posix/sched_yield.c: Likewise.
13163 * posix/setgid.c: Likewise.
13164 * posix/setlogin.c: Likewise.
13165 * posix/setpgid.c: Likewise.
13166 * posix/setresgid.c: Likewise.
13167 * posix/setresuid.c: Likewise.
13168 * posix/setsid.c: Likewise.
13169 * posix/setuid.c: Likewise.
13170 * posix/sleep.c: Likewise.
13171 * posix/spawni.c: Likewise.
13172 * posix/sysconf.c: Likewise.
13173 * posix/times.c: Likewise.
13174 * posix/wait.c: Likewise.
13175 * posix/wait3.c: Likewise.
13176 * posix/wait4.c: Likewise.
13177 * posix/waitpid.c: Likewise.
13178 * resolv/gai_sigqueue.c: Likewise.
13179 * resource/getpriority.c: Likewise.
13180 * resource/getrlimit.c: Likewise.
13181 * resource/getrusage.c: Likewise.
13182 * resource/nice.c: Likewise.
13183 * resource/setpriority.c: Likewise.
13184 * resource/setrlimit.c: Likewise.
13185 * resource/ulimit.c: Likewise.
13186 * rt/aio_cancel.c: Likewise.
13187 * rt/aio_fsync.c: Likewise.
13188 * rt/aio_read.c: Likewise.
13189 * rt/aio_sigqueue.c: Likewise.
13190 * rt/aio_suspend.c: Likewise.
13191 * rt/aio_write.c: Likewise.
13192 * rt/clock_getres.c: Likewise.
13193 * rt/clock_gettime.c: Likewise.
13194 * rt/clock_nanosleep.c: Likewise.
13195 * rt/clock_settime.c: Likewise.
13196 * rt/lio_listio.c: Likewise.
13197 * rt/mq_close.c: Likewise.
13198 * rt/mq_getattr.c: Likewise.
13199 * rt/mq_notify.c: Likewise.
13200 * rt/mq_open.c: Likewise.
13201 * rt/mq_receive.c: Likewise.
13202 * rt/mq_send.c: Likewise.
13203 * rt/mq_setattr.c: Likewise.
13204 * rt/mq_timedreceive.c: Likewise.
13205 * rt/mq_timedsend.c: Likewise.
13206 * rt/mq_unlink.c: Likewise.
13207 * rt/shm_open.c: Likewise.
13208 * rt/shm_unlink.c: Likewise.
13209 * rt/timer_create.c: Likewise.
13210 * rt/timer_delete.c: Likewise.
13211 * rt/timer_getoverr.c: Likewise.
13212 * rt/timer_gettime.c: Likewise.
13213 * rt/timer_settime.c: Likewise.
13214 * setjmp/__longjmp.c: Likewise.
13215 * setjmp/setjmp.c: Likewise.
13216 * signal/kill.c: Likewise.
13217 * signal/killpg.c: Likewise.
13218 * signal/raise.c: Likewise.
13219 * signal/sigaction.c: Likewise.
13220 * signal/sigaltstack.c: Likewise.
13221 * signal/sigblock.c: Likewise.
13222 * signal/sigignore.c: Likewise.
13223 * signal/sigintr.c: Likewise.
13224 * signal/signal.c: Likewise.
13225 * signal/sigpause.c: Likewise.
13226 * signal/sigpending.c: Likewise.
13227 * signal/sigqueue.c: Likewise.
13228 * signal/sigreturn.c: Likewise.
13229 * signal/sigset.c: Likewise.
13230 * signal/sigsetmask.c: Likewise.
13231 * signal/sigstack.c: Likewise.
13232 * signal/sigsuspend.c: Likewise.
13233 * signal/sigtimedwait.c: Likewise.
13234 * signal/sigvec.c: Likewise.
13235 * signal/sigwait.c: Likewise.
13236 * signal/sigwaitinfo.c: Likewise.
13237 * signal/sysv_signal.c: Likewise.
13238 * socket/accept.c: Likewise.
13239 * socket/accept4.c: Likewise.
13240 * socket/bind.c: Likewise.
13241 * socket/connect.c: Likewise.
13242 * socket/getpeername.c: Likewise.
13243 * socket/getsockname.c: Likewise.
13244 * socket/getsockopt.c: Likewise.
13245 * socket/isfdtype.c: Likewise.
13246 * socket/listen.c: Likewise.
13247 * socket/recv.c: Likewise.
13248 * socket/recvfrom.c: Likewise.
13249 * socket/recvmsg.c: Likewise.
13250 * socket/send.c: Likewise.
13251 * socket/sendmsg.c: Likewise.
13252 * socket/sendto.c: Likewise.
13253 * socket/setsockopt.c: Likewise.
13254 * socket/shutdown.c: Likewise.
13255 * socket/sockatmark.c: Likewise.
13256 * socket/socket.c: Likewise.
13257 * socket/socketpair.c: Likewise.
13258 * stdio-common/ctermid.c: Likewise.
13259 * stdio-common/cuserid.c: Likewise.
13260 * stdio-common/remove.c: Likewise.
13261 * stdio-common/rename.c: Likewise.
13262 * stdio-common/renameat.c: Likewise.
13263 * stdio-common/tempname.c: Likewise.
13264 * stdlib/getcontext.c: Likewise.
13265 * stdlib/makecontext.c: Likewise.
13266 * stdlib/setcontext.c: Likewise.
13267 * stdlib/swapcontext.c: Likewise.
13268 * stdlib/system.c: Likewise.
13269 * streams/fattach.c: Likewise.
13270 * streams/fdetach.c: Likewise.
13271 * streams/getmsg.c: Likewise.
13272 * streams/getpmsg.c: Likewise.
13273 * streams/putmsg.c: Likewise.
13274 * streams/putpmsg.c: Likewise.
13275 * sysdeps/unix/bsd/getpt.c: Likewise.
13276 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13277 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13278 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13281 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13282 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13283 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13284 * sysvipc/msgctl.c: Likewise.
13285 * sysvipc/msgget.c: Likewise.
13286 * sysvipc/msgrcv.c: Likewise.
13287 * sysvipc/msgsnd.c: Likewise.
13288 * sysvipc/semctl.c: Likewise.
13289 * sysvipc/semget.c: Likewise.
13290 * sysvipc/semop.c: Likewise.
13291 * sysvipc/semtimedop.c: Likewise.
13292 * sysvipc/shmat.c: Likewise.
13293 * sysvipc/shmctl.c: Likewise.
13294 * sysvipc/shmdt.c: Likewise.
13295 * sysvipc/shmget.c: Likewise.
13296 * termios/tcdrain.c: Likewise.
13297 * termios/tcflow.c: Likewise.
13298 * termios/tcflush.c: Likewise.
13299 * termios/tcgetattr.c: Likewise.
13300 * termios/tcgetpgrp.c: Likewise.
13301 * termios/tcsendbrk.c: Likewise.
13302 * termios/tcsetattr.c: Likewise.
13303 * termios/tcsetpgrp.c: Likewise.
13304 * time/adjtime.c: Likewise.
13305 * time/clock.c: Likewise.
13306 * time/getitimer.c: Likewise.
13307 * time/gettimeofday.c: Likewise.
13308 * time/setitimer.c: Likewise.
13309 * time/settimeofday.c: Likewise.
13310 * time/stime.c: Likewise.
13311 * time/time.c: Likewise.
13313 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13315 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13318 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13320 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13322 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13326 FE_TONEAREST before applying Dekker multiplication and Knuth
13327 addition. Clear inexact exceptions and check for exact zero
13328 results afterwards.
13329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13332 * math/libm-test.inc (fma_test): Add more tests.
13333 (fma_test_towardzero): Likewise.
13334 (fma_test_downward): Likewise.
13335 (fma_test_upward): Likewise.
13336 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13338 (libc_fesetround): New macro.
13339 (libc_fesetroundf): Likewise.
13340 (libc_fesetroundl): Likewise.
13341 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13343 (libc_fesetround_387): Likewise.
13344 (libc_fesetroundf): New macro.
13345 (libc_fesetround): Likewise.
13346 (libc_fesetroundl): Likewise.
13347 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13349 (libc_fesetroundf): New macro.
13350 (libc_fesetround): Likewise.
13351 (libc_fesetroundl): Likewise.
13352 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13353 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13354 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13356 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13357 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13359 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13360 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13362 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13366 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13367 integer constant usable in #if and use that to give value to enum
13369 (FE_DIVBYZERO): Likewise.
13370 (FE_UNDERFLOW): Likewise.
13371 (FE_OVERFLOW): Likewise.
13372 (FE_INVALID): Likewise.
13373 (FE_INVALID_SNAN): Likewise.
13374 (FE_INVALID_ISI): Likewise.
13375 (FE_INVALID_IDI): Likewise.
13376 (FE_INVALID_ZDZ): Likewise.
13377 (FE_INVALID_IMZ): Likewise.
13378 (FE_INVALID_COMPARE): Likewise.
13379 (FE_INVALID_SOFTWARE): Likewise.
13380 (FE_INVALID_SQRT): Likewise.
13381 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13382 (FE_TONEAREST): Likewise.
13383 (FE_TOWARDZERO): Likewise.
13384 (FE_UPWARD): Likewise.
13385 (FE_DOWNWARD): Likewise.
13386 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13387 (FE_DIVBYZERO): Likewise.
13388 (FE_OVERFLOW): Likewise.
13389 (FE_UNDERFLOW): Likewise.
13390 (FE_INEXACT): Likewise.
13391 (FE_TONEAREST): Likewise.
13392 (FE_DOWNWARD): Likewise.
13393 (FE_UPWARD): Likewise.
13394 (FE_TOWARDZERO): Likewise.
13395 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13396 (FE_UNDERFLOW): Likewise.
13397 (FE_OVERFLOW): Likewise.
13398 (FE_DIVBYZERO): Likewise.
13399 (FE_INVALID): Likewise.
13400 (FE_TONEAREST): Likewise.
13401 (FE_TOWARDZERO): Likewise.
13402 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13403 (FE_OVERFLOW): Likewise.
13404 (FE_UNDERFLOW): Likewise.
13405 (FE_DIVBYZERO): Likewise.
13406 (FE_INEXACT): Likewise.
13407 (FE_TONEAREST): Likewise.
13408 (FE_TOWARDZERO): Likewise.
13409 (FE_UPWARD): Likewise.
13410 (FE_DOWNWARD): Likewise.
13411 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13412 (FE_DIVBYZERO): Likewise.
13413 (FE_OVERFLOW): Likewise.
13414 (FE_UNDERFLOW): Likewise.
13415 (FE_INEXACT): Likewise.
13416 (FE_TONEAREST): Likewise.
13417 (FE_DOWNWARD): Likewise.
13418 (FE_UPWARD): Likewise.
13419 (FE_TOWARDZERO): Likewise.
13421 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13423 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13425 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13427 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13428 commands. Quote $PWD.
13429 (blacklist_exports): Don't use remove_newlines. Replace "declare
13431 (remove_newlines): Remove.
13433 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13435 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13436 * stdlib/stdlib.h (atof): Moved to ...
13437 * include/bits/stdlib-float.h: Here. New file.
13438 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13439 * stdlib/bits/stdlib-float.h: New file.
13440 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13445 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13447 * conform/conformtest.pl (@headers): Add fenv.h.
13448 * conform/data/fenv.h-data: New file.
13449 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13450 include of <math/fenv.h>.
13452 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13453 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13454 && !UNIX98]. Enables tests for XOPEN2K8.
13455 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13456 POSIX2008]: Likewise.
13458 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13459 (struct rusage): Do not expect type or its members.
13462 * math/math.h (FP_NAN): Define macro to integer constant usable in
13463 #if and use that to give value to enum constant.
13464 (FP_INFINITE): Likewise.
13465 (FP_ZERO): Likewise.
13466 (FP_SUBNORMAL): Likewise.
13467 (FP_NORMAL): Likewise.
13469 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13471 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13472 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13475 2012-11-02 Roland McGrath <roland@hack.frob.com>
13477 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13478 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13479 autoconf-time if not.
13480 * configure.in: Remove AC_PREREQ.
13482 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13484 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13485 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13486 of the internal implementation.
13488 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13490 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13491 except include of <misc/sys/syslog.h>.
13493 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13496 function returns with a NULL context exit with zero.
13498 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13500 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13502 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13504 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13505 (run_program_cmd): This.
13506 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13507 (tst_langinfo): New variable. Use it.
13509 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13511 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13512 floating point opcodes.
13514 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13516 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13519 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13521 * sysdeps/mach/hurd/powerpc: Remove directory.
13522 * sysdeps/mach/powerpc: Likewise.
13524 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13526 * scripts/check-local-headers.sh: Ignore c++ headers.
13528 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13530 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13531 __libc_cleanup_region_start argument.
13533 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13538 x * y using scaling, not as x * y + z.
13539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13541 * math/libm-test.inc (fma_test): Add more tests.
13542 (fma_test_towardzero): Likewise.
13543 (fma_test_downward): Likewise.
13544 (fma_test_upward): Likewise.
13546 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13548 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13550 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13552 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13555 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13557 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13559 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13566 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13569 Fix the order of the list for glibc 2.17.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13573 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13577 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13580 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13581 for low part of x being zero before using __atanl (y).
13582 * math/libm-test.inc (atan2_test): Add another test.
13584 * manual/install.texi (Configuring and compiling): Document
13585 general use of test-wrapper and test-wrapper-env.
13586 * INSTALL: Regenerated.
13588 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13589 (__fma): Do not extract and scale down low bits on after-rounding
13590 systems when result rounded to normal precision would have normal
13592 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13593 (__fmal): Do not extract and scale down low bits on after-rounding
13594 systems when result rounded to normal precision would have normal
13596 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13597 (__fmal): Do not extract and scale down low bits on after-rounding
13598 systems when result rounded to normal precision would have normal
13600 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13602 (fma_test): Add more tests.
13603 (fma_test_towardzero): Likewise.
13604 (fma_test_downward): Likewise.
13605 (fma_test_upward): Likewise.
13607 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13609 * sysdeps/i386/tininess.h: Renamed to ...
13610 * sysdeps/x86/tininess.h: This.
13611 * sysdeps/x86_64/tininess.h: Removed.
13613 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13615 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13616 input. Use $(build-program-cmd).
13617 ($(objpfx)tst-array1-static.out): Likewise.
13618 ($(objpfx)tst-array2.out): Likewise.
13619 ($(objpfx)tst-array3.out): Likewise.
13620 ($(objpfx)tst-array4.out): Likewise.
13621 ($(objpfx)tst-array5.out): Likewise.
13622 ($(objpfx)tst-array5-static.out): Likewise.
13624 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13626 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13629 * nss/nsswitch.h (nss_interface_function): Provide new
13630 macro for use with NSS functions.
13631 * grp/initgroups.c: Use new macro.
13632 * nss/getXXbyYY.c: Likewise.
13633 * nss/getXXbyYY_r.c: Likewise.
13634 * nss/getXXent.c: Likewise.
13635 * nss/getXXent_r.c: Likewise.
13636 * sysdeps/posix/getaddrinfo.c: Likewise.
13638 2012-10-30 Andreas Jaeger <aj@suse.de>
13640 * po/ru.po: Update Russion translation from translation project.
13642 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13647 result and shift together with sticky bit instead of replicating
13648 round-to-nearest rounding.
13649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13651 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13652 missing underflow exceptions.
13653 (fma_test_towardzero): Add more tests.
13654 (fma_test_downward): Likewise.
13655 (fma_test_upward): Likewise.
13658 * sysdeps/generic/tininess.h: New file.
13659 * sysdeps/i386/tininess.h: Likewise.
13660 * sysdeps/sh/tininess.h: Likewise.
13661 * sysdeps/x86_64/tininess.h: Likewise.
13662 * stdlib/tst-strtod-underflow.c: Likewise.
13663 * stdlib/tst-tininess.c: Likewise.
13664 * stdlib/strtod_l.c: Include <tininess.h>.
13665 (round_and_return): Do not set errno for exact underflow cases.
13666 Force an underflow exception when setting errno for underflow.
13667 Determine underflow based on rounding to normal precision if
13668 TININESS_AFTER_ROUNDING.
13669 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13670 ERANGE for exact underflow cases.
13671 * stdlib/Makefile (tests): Add tst-tininess and
13672 tst-strtod-underflow.
13673 ($(objpfx)tst-tininess): Use $(link-libm).
13674 ($(objpfx)tst-strtod-underflow): Likewise.
13676 2012-10-30 Andreas Jaeger <aj@suse.de>
13679 * elf/Makefile (tests): Remove conditional for have-initfini-array
13680 since this is now always required and the variable does not exist
13682 (tests-static): Likewise.
13683 (modules-names): Likewise.
13685 * po/eo.po: Add Esperanto translation from translation project.
13687 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13688 merged with constructor/destructor.
13689 (init_array): Likewise.
13690 * elf/tst-array2dep.c (fini_array): Likewise.
13691 (init_array): Likewise.
13693 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13695 * manual/message.texi: Delete @cartouche tags.
13697 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13699 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13701 * sysdeps/mach/hurd/fsync.c: Likewise.
13703 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13704 [_POSIX_REALTIME_SIGNALS]: Change condition to
13705 [_POSIX_REALTIME_SIGNALS > 0].
13707 2012-10-27 Andreas Jaeger <aj@suse.de>
13709 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13710 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13712 [__WORDSIZE != 64]: Likewise.
13714 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13716 * iconvdata/tst-table.sh: Remove ${SHELL}.
13717 * iconvdata/tst-tables.sh: Likewise.
13719 2012-10-25 David S. Miller <davem@davemloft.net>
13721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13722 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13728 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13729 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13732 2012-10-25 Roland McGrath <roland@hack.frob.com>
13734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13735 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13738 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13739 Jim Blandy <jimb@codesourcery.com>
13741 * scripts/cross-test-ssh.sh: New file.
13742 * manual/install.texi (Configuring and compiling): Document use of
13744 * INSTALL: Regenerated.
13746 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13748 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13751 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13753 * Makeconfig (run-program-prefix): Fix comment.
13755 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13756 Jim Blandy <jimb@codesourcery.com>
13758 * Makeconfig (test-wrapper): New variable,
13759 (test-wrapper-env): Likewise.
13760 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13761 (run-built-tests): Define to yes.
13762 (run-program-prefix): Use $(test-wrapper).
13763 (built-program-cmd): Likewise.
13764 * Rules (make-test-out): Use $(test-wrapper-env) and
13765 $(host-built-program-cmd).
13766 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13767 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13769 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13770 $(test-wrapper-env) to tst-rtld-load-self.sh.
13771 ($(objpfx)order2.out): Use $(test-wrapper).
13772 ($(objpfx)tst-initorder.out): Likewise.
13773 ($(objpfx)tst-initorder2.out): Likewise.
13774 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13775 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13776 (test_wrapper_env): New variable. Use it to run ld.so.
13777 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13778 Use it to run ld.so.
13779 (test_wrapper_env): Likewise.
13780 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13781 $(test-wrapper) to run-iconv-test.sh.
13782 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13783 (ICONV): Use $test_wrapper.
13784 * posix/Makefile ($(objpfx)globtest.out): Pass
13785 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13786 globtest.sh, not $(run-program-prefix).
13787 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13788 (test_wrapper): Likewise.
13789 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13790 set together with run_via_rtld_prefix.
13791 (run_program_prefix): Define in terms of test_wrapper and
13792 run_via_rtld_prefix.
13794 2012-10-24 Roland McGrath <roland@hack.frob.com>
13796 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13797 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13801 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13802 Declare __clock_getres, __clock_gettime, __clock_settime,
13803 __clock_nanosleep, and __clock_getcpuclockid.
13804 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13805 Remove librt_hidden_def (clock_gettime).
13806 * sysdeps/unix/clock_gettime.c: Likewise.
13807 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13809 * rt/clock_getres.c: Define __clock_getres as an alias.
13810 * sysdeps/posix/clock_getres.c: Likewise.
13811 * rt/clock_settime.c: Define __clock_settime as an alias.
13812 * sysdeps/unix/clock_settime.c: Likewise.
13813 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13814 * sysdeps/unix/clock_nanosleep.c: Likewise.
13815 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13816 * rt/clock-compat.c: New file.
13817 * rt/Makefile (librt-routines): Add clock-compat and move
13818 $(clock-routines) to ...
13819 (routines): ... here, new variable.
13820 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13821 Don't add get_clockfreq here.
13822 * rt/Versions (libc: GLIBC_2.17): New version set.
13823 Add clock_* symbols here.
13824 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13826 (GLIBC_2.17): Add clock_* symbols.
13827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13838 * NEWS: Mention the move.
13840 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13841 Use __open, __read, __close rather than their public counterparts.
13842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13843 (__get_clockfreq_via_cpuinfo): Likewise.
13844 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13845 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13847 * config.h.in (HAVE_IFUNC): New #undef.
13848 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13850 * configure: Regenerated.
13852 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13854 * configure.in: Move READELF check to start of file.
13855 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13856 libc_cv_asm_gnu_indirect_function in the process.
13857 * configure: Regenerated.
13859 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13861 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13862 send the output to /dev/null.
13863 (libc_cv_cc_with_libunwind): Likewise.
13864 (libc_cv_as_noexecstack): Likewise.
13865 * configure: Regenerate.
13867 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13869 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13871 * posix/globtest.sh (TMPDIR): Do not set.
13872 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13873 (testout): Likewise.
13875 2012-10-24 Andreas Jaeger <aj@suse.de>
13877 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13878 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13879 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13880 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13881 posix_fadvise64, posix_fallocate64.
13883 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13884 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13885 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13887 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13889 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13892 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13893 <bits/fcntl-linux.h>.
13894 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13897 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13898 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13899 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13900 [__WORDSIZE != 64]: Likewise.
13902 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13904 * Makeconfig (run-built-tests): New variable.
13905 * Rules [$(cross-compiling) = yes]: Change condition to
13906 [$(run-built-tests) = no].
13907 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13908 to [$(run-built-tests) = yes].
13909 * elf/Makefile [$(cross-compiling) = no]: Likewise
13910 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13911 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13912 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13913 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13914 * io/Makefile [$(cross-compiling) = no]: Likewise.
13915 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13916 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13917 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13918 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13919 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13920 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13921 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13922 * string/Makefile [$(cross-compiling) = no]: Likewise.
13924 * posix/Makefile ($(objpfx)globtest.out): Pass
13925 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13926 $(rtld-installed-name).
13927 * posix/globtest.sh (elf_objpfx): Remove variable.
13928 (rtld_installed_name): Likewise.
13929 (library_path): Likewise.
13930 (run_program_prefix): New variable. Use for running globtest
13933 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13934 Joseph Myers <joseph@codesourcery.com>
13936 * Makeconfig (host-built-program-cmd): New variable.
13937 * elf/Makefile (tst-stackguard1-ARGS): Use
13938 $(host-built-program-cmd).
13939 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13940 (tst-spawn-ARGS): Likewise.
13941 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13943 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13944 Jim Blandy <jimb@codesourcery.com>
13946 * Makeconfig (run-via-rtld-prefix): New variable.
13947 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13948 (built-program-cmd): Likewise.
13950 2012-10-22 Andreas Jaeger <aj@suse.de>
13952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13953 __O_RSYNC if it exists, otherwise to O_SYNC.
13955 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13956 Joseph Myers <joseph@codesourcery.com>
13958 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13960 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13962 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13965 2012-10-22 Andreas Jaeger <aj@suse.de>
13967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13972 bits/fcntl-linux.h.
13974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13975 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13982 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13983 Joseph Myers <joseph@codesourcery.com>
13985 * config.make.in (NM): New variable.
13987 2012-10-21 Andreas Jaeger <aj@suse.de>
13989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13990 definitions and declarations that are provided by
13991 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13993 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13996 * elf/Makefile (tests-static): Add tst-leaks1-static.
13997 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13998 ($(objpfx)tst-leaks1-static): New rule.
13999 ($(objpfx)tst-leaks1-static-mem): Likewise.
14000 (tst-leaks1-static-ENV): New macro.
14001 * elf/dl-open.c (dl_open_worker): Check the main application
14002 only if SHARED is defined.
14003 * elf/tst-leaks1-static.c: New file.
14005 2012-10-20 Andreas Jaeger <aj@suse.de>
14007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14008 generic values for Linux.
14009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14010 and declarations that are provided by <bits/fcntl-linux.h> and
14011 include <bits/fcntl-linux.h>.
14012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14015 2012-10-20 Roland McGrath <roland@hack.frob.com>
14017 * io/fcntl.h: Move include of <bits/types.h> to the top and
14018 include it unconditionally.
14020 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14022 * wcsmbs/Makefile (tests-ifunc): New variable.
14023 (tests): Add $(tests-ifunc).
14024 * wcsmbs/test-wcschr-ifunc.c: New file.
14025 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14026 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14027 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14028 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14029 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14031 * string/Makefile (tests-ifunc): New variable.
14032 (tests): Add $(tests-ifunc).
14033 * string/test-memccpy.c (TEST_NAME): New macro.
14034 * string/test-memchr.c (TEST_NAME): Likewise.
14035 * string/test-memcmp.c (TEST_NAME): Likewise.
14036 * string/test-memcpy.c (TEST_NAME): Likewise.
14037 * string/test-memmem.c (TEST_NAME): Likewise.
14038 * string/test-memmove.c (TEST_NAME): Likewise.
14039 * string/test-memset.c (TEST_NAME): Likewise.
14040 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14041 * string/test-stpcpy.c (TEST_NAME): Likewise.
14042 * string/test-stpncpy.c (TEST_NAME): Likewise.
14043 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14044 * string/test-strcasestr.c (TEST_NAME): Likewise.
14045 * string/test-strcat.c (TEST_NAME): Likewise.
14046 * string/test-strchr.c (TEST_NAME): Likewise.
14047 * string/test-strcmp.c(TEST_NAME): Likewise.
14048 * string/test-strcpy.c (TEST_NAME): Likewise.
14049 * string/test-strcspn.c (TEST_NAME): Likewise.
14050 * string/test-strlen.c (TEST_NAME): Likewise.
14051 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14052 * string/test-strncmp.c (TEST_NAME): Likewise.
14053 * string/test-strncpy.c (TEST_NAME): Likewise.
14054 * string/test-strnlen.c (TEST_NAME): Likewise.
14055 * string/test-strpbrk.c (TEST_NAME): Likewise.
14056 * string/test-strrchr.c (TEST_NAME): Likewise.
14057 * string/test-strspn.c (TEST_NAME): Likewise.
14058 * string/test-strstr.c (TEST_NAME): Likewise.
14059 * string/test-bcopy-ifunc.c: New file.
14060 * string/test-bzero-ifunc.c: Likewise.
14061 * string/test-memccpy-ifunc.c: Likewise.
14062 * string/test-memchr-ifunc.c: Likewise.
14063 * string/test-memcmp-ifunc.c: Likewise.
14064 * string/test-memcpy-ifunc.c: Likewise.
14065 * string/test-memmem-ifunc.c: Likewise.
14066 * string/test-memmove-ifunc.c: Likewise.
14067 * string/test-mempcpy-ifunc.c: Likewise.
14068 * string/test-memset-ifunc.c: Likewise.
14069 * string/test-rawmemchr-ifunc.c: Likewise.
14070 * string/test-stpcpy-ifunc.c: Likewise.
14071 * string/test-stpncpy-ifunc.c: Likewise.
14072 * string/test-strcasecmp-ifunc.c: Likewise.
14073 * string/test-strcasestr-ifunc.c: Likewise.
14074 * string/test-strcat-ifunc.c: Likewise.
14075 * string/test-strchr-ifunc.c: Likewise.
14076 * string/test-strchrnul-ifunc.c: Likewise.
14077 * string/test-strcmp-ifunc.c: Likewise.
14078 * string/test-strcpy-ifunc.c: Likewise.
14079 * string/test-strcspn-ifunc.c: Likewise.
14080 * string/test-strlen-ifunc.c: Likewise.
14081 * string/test-strncasecmp-ifunc.c: Likewise.
14082 * string/test-strncat-ifunc.c: Likewise.
14083 * string/test-strncmp-ifunc.c: Likewise.
14084 * string/test-strncpy-ifunc.c: Likewise.
14085 * string/test-strnlen-ifunc.c: Likewise.
14086 * string/test-strpbrk-ifunc.c: Likewise.
14087 * string/test-strrchr-ifunc.c: Likewise.
14088 * string/test-strspn-ifunc.c: Likewise.
14089 * string/test-strstr-ifunc.c: Likewise.
14091 * debug/Makefile (tests-ifunc): New variable.
14092 (tests): Add $(tests-ifunc).
14093 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14094 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14095 * debug/test-stpcpy_chk-ifunc.c: New file.
14096 * debug/test-strcpy_chk-ifunc.c: Likewise.
14098 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14101 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14102 header is not read in.
14104 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14106 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14107 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14108 directly. Pass built executable to script as
14109 $(built-program-cmd).
14110 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14111 $testprogram without using LD_LIBRARY_PATH and $ldso.
14113 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14114 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14115 $(rtld-installed-name).
14116 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14117 (rtld_installed_name): Likewise.
14118 (library_path): Likewise.
14119 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14120 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14121 $(run-program-prefix) to tst-tables.sh.
14122 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14123 it to run tst-table-from and tst-table-to.
14124 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14125 Pass it to tst-table.sh.
14126 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14127 $(run-program-prefix) to tst-gettext.sh.
14128 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14130 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14132 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14133 to run tst-gettext.
14134 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14135 to run tst-gettext2.
14136 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14137 to run tst-translit.
14138 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14139 $(run-program-prefix) to tst-mtrace.sh.
14140 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14142 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14143 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14144 $(rtld-installed-name).
14145 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14146 (rtld_installed_name): Likewise.
14147 (run_program_prefix): New variable. Use it to run wordexp-test.
14149 * Makeconfig (ARCH): Remove all definitions.
14150 (machine): Likewise.
14151 [ARCH]: Remove conditional code.
14152 [!objdir]: Give error.
14153 [!objdir] (objpfx): Remove.
14154 [!objdir] (common-objpfx): Likewise.
14155 [!objdir] (common-objdir): Likewise.
14156 * configure.in (config_makefile): Remove. Hardcode Makefile in
14157 AC_CONFIG_FILES call.
14158 * configure: Regenerated.
14161 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14163 (testout): Likewise.
14165 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14166 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14167 $(rtld-installed-name).
14168 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14169 (rtld_installed_name): Likwise.
14170 (runit): Remove function.
14171 (run_getconf): New variable, Use it for running getconf binary.
14173 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14176 * string/test-memmem.c (check_result): New function.
14177 (do_one_test): Use it.
14178 (check1): New function.
14179 (test_main): Use it.
14181 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14183 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14185 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14187 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14188 (_G_LSEEK64): Likewise.
14189 (_G_MMAP64): Likewise.
14190 (_G_FSTAT64): Likewise.
14191 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14192 (_G_LSEEK64): Likewise.
14193 (_G_MMAP64): Likewise.
14194 (_G_FSTAT64): Likewise.
14195 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14196 unconditional. Call __mmap64 directly.
14197 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14198 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14199 __lseek64 directly.
14200 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14201 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14203 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14204 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14205 __lseek64 directly.
14206 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14207 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14208 __lseek64 directly.
14209 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14210 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14211 __lseek64 directly.
14212 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14213 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14214 __fxstat64 directly.
14215 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14216 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14218 (freopen64) [!_G_OPEN64]: Remove conditional code.
14219 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14221 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14222 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14224 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14225 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14227 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14228 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14230 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14231 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14233 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14234 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14236 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14237 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14239 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14241 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14244 * manual/memory.texi (Malloc Tunable Parameters): Add note
14245 about free list pointers overwriting some perturb bytes.
14246 Wording suggested by Roland McGrath.
14248 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14250 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14251 (lgamma_test): Likewise.
14252 (tgamma_test): Likewise.
14254 2012-10-16 Florian Weimer <fweimer@redhat.com>
14257 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14258 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14260 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14262 * NEWS: Mention BZ #14716.
14263 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14264 when removing AVAILABLE1_USES_J macro.
14266 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14268 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14269 (__bswap_64): __uint64_t for unsigned 64-bit int.
14271 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14273 * include/string.h (memmem): Declare libc hidden alias.
14274 * string/memmem.c (memmem): Define libc hidden alias.
14275 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14276 __read, __close instead of open, read, close.
14278 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14281 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14283 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14284 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14285 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14287 (__rawmemchr_sse2): Likewise.
14288 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14289 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14290 (__strchr_sse2): Likewise.
14291 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14292 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14293 (__strcasecmp_sse2): Likewise.
14294 (__strncasecmp_sse2): Likewise.
14295 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14296 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14297 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14298 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14299 (__strrchr_sse2): Likewise.
14300 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14305 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14306 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14307 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14310 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14311 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14312 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14314 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14315 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14316 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14317 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14318 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14319 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14320 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14321 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14322 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14323 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14324 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14325 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14326 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14328 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14329 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14330 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14331 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14333 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14335 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14336 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14337 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14338 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14340 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14342 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14343 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14344 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14345 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14347 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14348 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14349 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14356 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14357 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14358 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14359 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14360 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14361 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14363 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14364 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14365 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14366 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14367 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14368 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14369 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14370 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14371 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14372 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14373 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14375 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14376 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14377 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14378 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14379 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14380 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14382 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14383 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14384 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14387 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14389 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14390 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14391 * include/ifunc-impl-list.h: New file.
14392 * misc/ifunc-impl-list.c: Likewise.
14393 * misc/Makefile (routines): Add ifunc-impl-list.
14394 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14395 * string/test-string.h: Include <ifunc-impl-list.h>.
14396 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14397 impl_array): New variables.
14398 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14400 (test_init): Call __libc_ifunc_impl_list to initialize
14401 func_list if TEST_IFUNC and TEST_NAME are defined.
14403 * string/Makefile (strop-tests): Add bcopy and bzero.
14404 * string/test-bcopy.c: New file.
14405 * string/test-bzero.c: Likewise.
14406 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14408 * string/test-memset.c: Support bzero test if TEST_BZERO is
14410 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14412 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14414 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14417 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14419 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14420 * configure: Regenerated.
14422 * Makeconfig (+link-static-before-libc): Don't include
14423 $(link-static-libc).
14425 * libio/libio.h (_IO_pos_t): Remove.
14427 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14429 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14432 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14434 * crypt/crypt-entry.c: Include fips-private.h.
14435 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14436 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14437 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14438 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14440 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14442 * crypt/crypt-private.h: Include stdbool.h.
14443 (_ufc_setup_salt_r): Return bool.
14444 * crypt/crypt-entry.c: Include errno.h.
14445 (__crypt_r): Return NULL with EINVAL for bad salt.
14446 * crypt/crypt_util.c (bad_for_salt): New.
14447 (_ufc_setup_salt_r): Check that salt is long enough and within
14448 the specified alphabet.
14449 * crypt/badsalttest.c: New file.
14450 * crypt/Makefile (tests): Add it.
14451 ($(objpfx)badsalttest): New.
14453 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14455 * NEWS: Add entry for BZ #14602.
14457 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14459 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14461 * math/libm-test.inc: Update comment listing what functions and
14463 (isgreater_test): New function.
14464 (isgreaterequal_test): Likewise.
14465 (isless_test): Likewise.
14466 (islessequal_test): Likewise.
14467 (islessgreater_test): Likewise.
14468 (isunordered_test): Likewise.
14469 (main): Call the new functions.
14471 2012-10-09 Roland McGrath <roland@hack.frob.com>
14473 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14474 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14475 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14476 * sysdeps/i386/configure: Regenerated.
14477 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14478 * sysdeps/mach/configure: Regenerated.
14479 * sysdeps/mach/hurd/configure: Regenerated.
14480 * sysdeps/powerpc/configure: Regenerated.
14481 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14482 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14483 * sysdeps/s390/s390-32/configure: Regenerated.
14484 * sysdeps/s390/s390-64/configure: Regenerated.
14485 * sysdeps/sh/configure: Regenerated.
14486 * sysdeps/sparc/configure: Regenerated.
14487 * sysdeps/unix/sysv/linux/configure: Regenerated.
14488 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14489 * sysdeps/x86_64/configure: Regenerated.
14491 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14492 defined. Don't check if MAP is NULL.
14494 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14496 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14497 (_G_stat64): Likewise.
14498 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14499 (_G_stat64): Likewise.
14500 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14501 instead of struct _G_stat64.
14502 * libio/fileops.c (mmap_remap_check): Likewise.
14503 (decide_maybe_mmap): Likewise.
14504 (_IO_new_file_seekoff): Likewise.
14505 (_IO_file_stat): Likewise.
14506 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14508 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14509 instead of struct _G_stat64.
14510 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14512 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14515 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14517 (CHECK_EOL): New macro.
14518 (two_way_short_needle): Check beginning of haystack for EOL. Use
14520 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14521 Replace with CHECK_EOL.
14522 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14523 Replace with CHECK_EOL.
14525 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14527 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14529 * math/libm-test.inc: Update comment listing what functions and
14531 (finite_test): New function.
14532 (isinf_test): Likewise.
14533 (isnan_test): Likewise.
14534 (fpclassify_test): Test subnormal input.
14535 (isfinite_test): Likewise.
14536 (isnormal_test): Likewise.
14537 (main): Call the new functions.
14539 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14542 * Makerules (%.dynsym): Force C locale when running
14543 $(OBJDUMP) --dynamic-syms.
14545 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14547 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14550 2012-10-06 David S. Miller <davem@davemloft.net>
14552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14553 upper 32-bits of the length value in %o2 since we use branch-on-register
14554 tests which consider the entire 64-bit register.
14556 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14558 * string/test-strstr.c (check2): Add a test for page boundary.
14560 2012-10-05 David S. Miller <davem@davemloft.net>
14562 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14565 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14568 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14569 and bzero when HWCAP_SPARC_CRYPTO is present.
14571 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14574 * string/test-strstr.c (check2): New function.
14575 (test_main): Call check2.
14577 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14579 * string/bug-strcasestr1.c (do_test): Moved to ...
14580 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
14586 * string/test-strchr.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-strstr1.c (main): Moved to ...
14592 * string/test-strstr.c (check1): Here. New function.
14593 (do_one_test): Break out result checking code into ...
14594 (check_result): This. New function.
14595 (do_one_test): Call check_result.
14596 (test_main): Call check1.
14597 * string/bug-strcasestr1.c: Removed.
14598 * string/bug-strchr1.c: Likewise.
14599 * string/bug-strstr1.c: Likewise.
14601 * elf/Makefile (dl-routines): Add hwcaps.
14602 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14603 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14604 (_dl_important_hwcaps): Moved to ...
14605 * elf/dl-hwcaps.c: Here. New file.
14606 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14609 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14610 if IS_IN_rtld isn't defined.
14612 * elf/dl-support.c (_dl_sysinfo_map): New.
14613 Include "get-dynamic-info.h" and "setup-vdso.h".
14614 (_dl_non_dynamic_init): Call setup_vdso.
14615 * elf/dynamic-link.h: Don't include <assert.h>.
14616 (elf_get_dynamic_info): Moved to ...
14617 * elf/get-dynamic-info.h: Here. New file.
14618 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14619 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14620 * elf/setup-vdso.h: Here. New file.
14621 * elf/rtld.c: Include "setup-vdso.h".
14622 (dl_main): Call setup_vdso.
14624 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14626 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14627 creal in comment listing functions tested. List finite, isinf,
14628 isnan, isless, islessequal, isgreater, isgreaterequal,
14629 islessgreater, isunordered, lgamma_r and pow10 as functions and
14630 macros not tested. Mention which functions not tested are aliases
14631 for other functions. Fix typo. Note that signs of NaNs are not
14634 * scripts/config.guess: Update from config.git.
14635 * scripts/config.sub: Likewise.
14637 2012-10-04 Roland McGrath <roland@hack.frob.com>
14639 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14640 * misc/madvise.c (madvise): Renamed to __madvise.
14641 Make madvise a weak alias.
14642 * include/sys/mman.h: Declare __madvise.
14643 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14644 * sysdeps/unix/syscalls.list
14645 (madvise): Make __madvise the strong name, and madvise a weak alias.
14646 * sysdeps/unix/sysv/linux/syscalls.list
14647 (madvise, mmap): Remove redundant entries.
14648 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14649 * malloc/malloc.c (mtrim): Likewise.
14650 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14652 2012-10-03 Roland McGrath <roland@hack.frob.com>
14654 * sysdeps/mach/hurd/dl-cache.c: File removed.
14655 * config.h.in (USE_LDCONFIG): New #undef.
14656 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14657 * configure: Regenerated.
14658 * elf/Makefile (dl-routines): Add dl-cache only under
14659 [$(use-ldconfig) = yes].
14660 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14661 cache on [USE_LDCONFIG].
14662 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14664 * elf/rtld.c (dl_main): Likewise.
14666 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14668 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14669 _SC_LEVEL4_CACHE_LINESIZE.
14671 2012-10-03 Roland McGrath <roland@hack.frob.com>
14673 * sysdeps/unix/bsd/confstr.h: File removed.
14675 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14677 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14680 2012-10-02 Roland McGrath <roland@hack.frob.com>
14682 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14683 Make 'mapoff' field ElfW(Off) rather than off_t.
14685 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14687 * nscd/Makefile: Remove nscd-cflags and all its users.
14688 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14689 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14692 * malloc.c (malloc_printerr): Clarify error message.
14694 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14698 Set bit_FMA_Usable if FMA is supported.
14699 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14701 (bit_FMA4_Usable): Updated.
14702 (index_FMA_Usable): New macro.
14703 (CPUID_FMA): Likewise
14704 (HAS_FMA): Defined with bit_FMA_Usable.
14706 2012-10-01 Roland McGrath <roland@hack.frob.com>
14708 * bits/types.h (__swblk_t): Type removed.
14709 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14710 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14712 (__SWBLK_T_TYPE): Likewise.
14713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14714 (__SWBLK_T_TYPE): Likewise.
14715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14716 (__SWBLK_T_TYPE): Likewise.
14717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14718 (__SWBLK_T_TYPE): Likewise.
14720 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14721 Honza Horak <hhorak@redhat.com>
14723 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14724 (xdr_mapname): Use YPMAXMAP as maxsize.
14725 (xdr_peername): Use YPMAXPEER as maxsize.
14726 (xdr_keydat): Use YPAXRECORD as maxsize.
14727 (xdr_valdat): Use YPMAXRECORD as maxsize.
14729 2012-10-01 Roland McGrath <roland@hack.frob.com>
14731 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14733 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14734 * csu/init-first.c: ... here.
14735 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14736 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14737 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14739 * sysdeps/i386/init-first.c: File removed.
14740 * sysdeps/sh/init-first.c: File removed.
14742 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14746 if x * y might underflow to zero and z is zero.
14747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14749 * math/libm-test.inc (min_subnorm_value): New variable.
14750 (fma_test): Add more tests.
14751 (fma_test_towardzero): Likewise.
14752 (fma_test_downward): Likewise
14753 (fma_test_upward): Likewise.
14754 (initialize): Set min_subnorm_value.
14756 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14762 mode for addition resulting in exact zero.
14763 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14768 * math/libm-test.inc (fma_test): Add more tests.
14769 (fma_test_towardzero): New function.
14770 (fma_test_downward): Likewise.
14771 (fma_test_upward): Likewise.
14772 (main): Call the new functions.
14774 2012-09-28 David S. Miller <davem@davemloft.net>
14776 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14778 2012-09-28 Roland McGrath <roland@hack.frob.com>
14780 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14781 instead of SIGALRM.
14783 * sysdeps/gnu/_G_config.h: Moved to ...
14784 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14785 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14786 * sysdeps/generic/_G_config.h: ... here.
14788 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14790 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14792 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14793 Conditionalize target on [libnss_test1.so-version].
14795 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14797 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14798 (elfobjdir): Move out of conditionals.
14800 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14801 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14802 (__nss_lookup_function): Conditionalize label remove_from_tree on
14803 [!DO_STATIC_NSS || SHARED], matching its only use.
14805 2012-09-28 David S. Miller <davem@davemloft.net>
14807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14810 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14812 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14814 when HWCAP_SPARC_CRYPTO is present.
14816 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14818 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14820 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14823 * stdio-common/vfprintf.c (process_string_arg): Revert
14826 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14828 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14830 * stdio-common/tst-sprintf.c: Include <locale.h>
14831 (main): Test sprintf's handling of incomplete multibyte
14834 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14836 * elf/dl-runtime.c (VERSYMIDX): Removed.
14837 * elf/dl-version.c (VERSYMIDX): Likewise.
14838 * elf/do-rel.h (VERSYMIDX): Likewise.
14839 (VALIDX): Likewise.
14840 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14841 * elf/rtld.c (VALIDX): Likewise.
14842 (ADDRIDX): Likewise.
14843 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14844 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14845 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14846 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14847 (VALIDX): Likewise.
14848 (ADDRIDX): Likewise.
14850 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14852 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14854 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14857 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14859 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14860 addresses are in the same scope as 192.0.2/24.
14861 * posix/gai.conf: Document new scope table defaults.
14863 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14866 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14867 for ftell. Compute offsets from write pointers instead.
14868 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14870 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14873 * libio/Makefile (tests): New test case tst-fseek.
14874 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14875 combination works in wide mode.
14876 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14877 state when the external buffer state changes.
14879 2012-09-27 David S. Miller <davem@davemloft.net>
14882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14883 pass reloc->r_addend in as the 'high' argument to
14884 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14888 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14890 * rt/tst-aio2.c: Include <pthread.h>.
14891 * rt/tst-aio3.c: Likewise.
14893 2012-09-27 Steve Ellcey <sellcey@mips.com>
14895 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14897 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14899 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14900 contents on [SHARED].
14902 2012-09-26 Marek Polacek <polacek@redhat.com>
14906 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14907 for C++ and GCC <4.3 as well as for non GCC compilers.
14909 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14913 2012-09-25 Roland McGrath <roland@hack.frob.com>
14915 * Makefile.in (all, install): Declare with .PHONY.
14916 Reported by Michael Hope <michael.hope@linaro.org>.
14918 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14920 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14921 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14923 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14925 (sydep_routines): Add the new and the internal functions.
14926 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14927 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14929 (GLIBC_2.17): Add the new function.
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14931 (GLIBC_2.17): Likewise.
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14933 (GLIBC_2.17): Likewise.
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14935 (GLIBC_2.17): Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14938 2012-09-25 Alan Modra <amodra@gmail.com>
14940 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14941 Add release barrier before setting once_control to say
14942 initialisation is done. Add hints on lwarx. Use macro in
14944 (clear_once_control): Add release barrier.
14946 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14949 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14951 * math/s_clog10.c (__clog10): Likewise.
14952 * math/s_clog10f.c (__clog10f): Likewise.
14953 * math/s_clog10l.c (__clog10l): Likewise.
14954 * math/s_clogf.c (__clogf): Likewise.
14955 * math/s_clogl.c (__clogl): Likewise.
14956 * math/Makefile (libm-calls): Add x2y2m1.
14957 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14958 (__x2y2m1): Likewise.
14959 (__x2y2m1l): Likewise.
14960 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14961 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14964 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14965 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14966 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14971 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14972 int as type of variable DEPTH.
14973 (glob): Use size_t instead of int as type of variables NEWCOUNT
14976 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14978 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14979 Add s_sincosf-sse2.
14980 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14981 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14982 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14983 macros for using routine as __sincosf_ia32.
14984 Use macro for function declaration and weak_alias.
14985 * sysdeps/i386/fpu/libm-test-ulps: Update.
14987 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14990 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14991 subnormal argument.
14992 * math/s_cexpf.c (__cexpf): Likewise.
14993 * math/s_csinf.c (__csinf): Likewise.
14994 * math/s_csinhf.c (__csinhf): Likewise.
14995 * math/s_ctanf.c (__ctanf): Likewise.
14996 * math/s_ctanhf.c (__ctanhf): Likewise.
14997 * math/s_ccosh.c (__ccoshf): Likewise.
14998 * math/s_cexp.c (__cexpl): Likewise.
14999 * math/s_csin.c (__csin): Likewise.
15000 * math/s_csinh.c (__csinh): Likewise.
15001 * math/s_ctan.c (__ctan): Likewise.
15002 * math/s_ctanh.c (ctanh): Likewise.
15003 * math/s_ccoshl.c (__ccoshl): Likewise.
15004 * math/s_cexpl.c (__cexpl): Likewise.
15005 * math/s_csinl.c (__csinl): Likewise.
15006 * math/s_csinhl.c (__csinhl): Likewise.
15007 * math/s_ctanl.c (__ctanl): Likewise.
15008 * math/s_ctanhl.c (__ctanhl): Likewise.
15010 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15012 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15013 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15014 (_IO_off_t): Define to __off_t, not _G_off_t.
15015 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15016 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15017 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15018 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15019 type of __dummy and __dummy2 fields.
15020 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15021 (_G_ssize_t): Likewise.
15022 (_G_off_t): Likewise.
15023 (_G_pid_t): Likewise.
15024 (_G_uid_t): Likewise.
15025 (_G_wchar_t): Likewise.
15026 (_G_wint_t): Likewise.
15027 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15028 (_G_ssize_t): Likewise.
15029 (_G_off_t): Likewise.
15030 (_G_pid_t): Likewise.
15031 (_G_uid_t): Likewise.
15032 (_G_wchar_t): Likewise.
15033 (_G_wint_t): Likewise.
15034 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15035 (_G_ssize_t): Likewise.
15036 (_G_off_t): Likewise.
15037 (_G_pid_t): Likewise.
15038 (_G_uid_t): Likewise.
15039 (_G_wchar_t): Likewise.
15040 (_G_wint_t): Likewise.
15042 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15044 * malloc/arena.c: Include malloc-sysdep.h.
15045 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15046 is sufficient to shrink the heap or an unmap is needed.
15047 * sysdeps/generic/malloc-sysdep.h: New file. Define
15048 new function check_may_shrink_heap.
15049 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15050 new function check_may_shrink_heap.
15052 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15054 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15057 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15059 * catgets/test-gencat.sh: Add "set -e".
15060 * elf/tst-pathopt.sh: Likewise.
15061 * grp/tst_fgetgrent.sh: Likewise.
15062 * iconvdata/run-iconv-test.sh: Likewise.
15063 * intl/tst-gettext.sh: Likewise.
15064 * intl/tst-gettext2.sh: Likewise.
15065 * intl/tst-gettext4.sh: Likewise.
15066 * intl/tst-gettext6.sh: Likewise.
15067 * intl/tst-translit.sh: Likewise.
15068 * io/ftwtest-sh: Likewise.
15069 * libio/test-freopen.sh: Likewise.
15070 * malloc/tst-mtrace.sh: Likewise.
15071 * posix/globtest.sh: Likewise.
15072 * posix/tst-getconf.sh: Likewise.
15073 * posix/wordexp-tst.sh: Likewise.
15074 * stdio-common/tst-printf.sh: Likewise.
15075 * stdio-common/tst-unbputc.sh: Likewise.
15076 * stdlib/tst-fmtmsg.sh: Likewise.
15077 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15078 * catgets/Makefile: Do not specify -e option when running
15079 testsuite shell scripts.
15080 * elf/Makefile: Likewise.
15081 * grp/Makefile: Likewise.
15082 * iconvdata/Makefile: Likewise.
15083 * intl/Makefile: Likewise.
15084 * io/Makefile: Likewise.
15085 * libio/Makefile: Likewise.
15086 * malloc/Makefile: Likewise.
15087 * posix/Makefile: Likewise.
15088 * stdio-common/Makefile: Likewise.
15089 * stdlib/Makefile: Likewise.
15090 * sysdeps/x86_64/Makefile: Likewise.
15092 * io/ftwtest-sh: Add copyright header.
15093 * posix/globtest.sh: Likewise.
15094 * posix/tst-getconf.sh: Likewise.
15095 * posix/wordexp-tst.sh: Likewise.
15096 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15098 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15101 * Makeconfig (+link): Defined as $(+link-static) if
15102 $(build-shared) isn't yes.
15103 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15105 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15107 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15110 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15111 new chunk size with MALLOC_ALIGN_MASK.
15113 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15116 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15118 (__printf_fphex): Determine rounding using get_rounding_mode and
15120 * stdio-common/tst-printf-round.c (struct hex_test): New
15122 (hex_tests): New variable.
15123 (test_hex_in_one_mode): New function.
15124 (do_test): Also run tests for hex float output.
15126 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15128 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15129 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15130 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15131 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15133 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15134 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15135 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15137 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15139 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15140 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15141 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15142 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15144 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15147 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15149 * elf/tst-rtld-load-self.sh: New test.
15150 * elf/Makefile: Run it.
15152 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15154 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15155 (tst-writev-ENV): Remove.
15156 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15158 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15160 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15162 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15164 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15166 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15168 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15169 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15170 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15173 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15176 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15177 * config.make.in (have-cpp-asm-debuginfo): Removed.
15178 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15179 * configure: Regenerated.
15181 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15184 * stdio-common/printf_fp.c: Include <stdbool.h> and
15186 (___printf_fp): Determine rounding using get_rounding_mode and
15188 * stdio-common/tst-printf-round.c: New file.
15189 * stdio-common/Makefile (tests): Add tst-printf-round.
15190 (link-libm): New variable.
15191 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15193 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15196 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15197 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15199 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15202 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15204 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15205 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15206 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15209 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15212 * include/rounding-mode.h: New file.
15213 * sysdeps/generic/get-rounding-mode.h: Likewise.
15214 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15215 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15216 (MAX_VALUE): New macro.
15217 (MIN_VALUE): Likewise.
15218 (overflow_value): New function.
15219 (underflow_value): Likewise.
15220 (round_and_return): Use overflow_value and underflow_value to
15221 determine return values in overflow and underflow cases. Use
15222 round_away to determine rounding depending on rounding mode.
15223 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15224 determine return values in overflow and underflow cases.
15225 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15226 (struct test_results): New structure.
15227 (struct test): Use struct test_results to store expected results
15228 for all rounding modes.
15229 (TEST): Include expected results for all rounding modes.
15230 (test_in_one_mode): New function.
15231 (do_test): Use test_in_one_mode to compute and check results.
15232 Check results for all rounding modes.
15233 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15236 2012-12-09 Allan McRae <allan@archlinux.org>
15238 * sysdeps/i386/fpu/libm-test-ulps: Update
15240 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15242 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15243 (_G_int32_t): Likewise.
15244 (_G_uint16_t): Likewise.
15245 (_G_uint32_t): Likewise.
15246 (_G_HAVE_BOOL): Likewise.
15247 (_G_HAVE_ATEXIT): Likewise.
15248 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15249 (_G_HAVE_IO_FILE_OPEN): Likewise.
15250 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15251 (_G_int32_t): Likewise.
15252 (_G_uint16_t): Likewise.
15253 (_G_uint32_t): Likewise.
15254 (_G_HAVE_BOOL): Likewise.
15255 (_G_HAVE_ATEXIT): Likewise.
15256 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15257 (_G_HAVE_IO_FILE_OPEN): Likewise.
15258 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15259 (_G_int32_t): Likewise.
15260 (_G_uint16_t): Likewise.
15261 (_G_uint32_t): Likewise.
15262 (_G_HAVE_BOOL): Likewise.
15263 (_G_HAVE_ATEXIT): Likewise.
15264 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15265 (_G_HAVE_IO_FILE_OPEN): Likewise.
15267 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15269 * csu/libc-tls.c: Update copyright years.
15271 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15273 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15274 [!_G_USING_THUNKS]: Remove conditional code.
15275 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15276 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15278 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15279 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15280 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15281 (_G_VTABLE_LABEL_PREFIX): Likewise.
15282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15283 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15285 (_G_VTABLE_LABEL_PREFIX): Likewise.
15286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15287 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15288 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15289 (_G_VTABLE_LABEL_PREFIX): Likewise.
15290 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15292 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15294 * libio/Makefile: Include ../Makeconfig before tests.
15295 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15296 only if $(build-shared) is yes.
15298 * iconv/gconv_db.c: Update copyright years.
15300 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15302 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15303 unwind info if defined PIC. Fix special cases description.
15304 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15306 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15308 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15310 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15312 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15314 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15317 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15318 (LDLIBS-tst-chk4): This.
15319 (LDFLAGS-tst-chk5): Renamed to ...
15320 (LDLIBS-tst-chk5): This.
15321 (LDFLAGS-tst-chk6): Renamed to ...
15322 (LDLIBS-tst-chk6): This.
15323 (LDFLAGS-tst-lfschk4): Renamed to ...
15324 (LDLIBS-tst-lfschk4): This.
15325 (LDFLAGS-tst-lfschk5): Renamed to ...
15326 (LDLIBS-tst-lfschk5): This.
15327 (LDFLAGS-tst-lfschk6): Renamed to ...
15328 (LDLIBS-tst-lfschk6): This.
15330 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15331 on $(common-objpfx)soversions.mk.
15333 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15336 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15339 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15341 * malloc/arena.c (arena_get_retry): New function that gets
15342 another arena for the caller to try its request on.
15343 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15344 current arena cannot fulfill the request.
15345 (__libc_memalign): Likewise.
15346 (__libc_memalign): Likewise.
15347 (__libc_pvalloc): Likewise.
15348 (__libc_calloc): Likewise.
15350 2012-09-05 John Tobey <john.tobey@gmail.com>
15353 * manual/arith.texi (Operations on Complex): Fix description
15354 of carg branch cut.
15356 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15359 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15363 * manual/memory.texi (Memory): Make order of menu items match
15366 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15368 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15369 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15370 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15372 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15374 * csu/libc-tls.c (static_dtv): Renamed to ...
15375 (_dl_static_dtv): This. Make it global.
15376 (_dl_initial_dtv): Removed.
15377 (__libc_setup_tls): Updated.
15378 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15379 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15382 2012-09-06 Petr Machata <pmachata@redhat.com>
15384 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15385 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15386 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15387 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15389 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15392 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15393 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15396 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15399 * Makeconfig (link-static-before-libc): Replace $(+prector)
15401 (link-static-after-libc): Replace $(+postctor) with
15403 (link-bounded): Replace $(+prector)/$(+postctor) with
15404 $(+prectorT)/$(+postctorT).
15405 (+prectorT): New macro.
15406 (+postctorT): Likewise.
15408 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15410 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15411 (round_str): Handle values above the maximum for IBM long double
15413 * stdlib/tst-strtod-round.c (tests): Regenerated.
15415 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15417 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15419 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15420 zarch_nohighgprs around the zarch optimized routines.
15421 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15422 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15426 2012-09-05 David S. Miller <davem@davemloft.net>
15428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15430 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15431 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15432 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15436 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15438 * malloc/arena.c: Fold copyright years.
15439 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15441 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15443 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15445 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15447 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15449 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15451 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15452 change internal state upon failure.
15454 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15456 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15457 * malloc/memusage.c (mmap): Likewise.
15458 (mmap64, mremap): Likewise. Adjust name in comment.
15460 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15462 * libio/fileops.c: Fix typos in comments.
15463 * libio/oldfileops.c: Likewise.
15464 * libio/wfileops.c: Likewise.
15466 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15469 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15470 (tst-malloc-usable-ENV): Set environment for test case.
15471 * malloc/hooks.c (malloc_check_get_size): New function to get
15473 * malloc/malloc.c (musable): Use malloc_check_get_size.
15474 * malloc/tst-malloc-usable.c: New test case.
15476 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15478 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15480 2012-09-05 Allan McRae <allan@archlinux.org>
15483 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15484 determine header location.
15485 * configure: Regenerated.
15487 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15489 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15491 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15492 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15494 (test): Regenerate.
15496 2012-09-04 David S. Miller <davem@davemloft.net>
15498 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15499 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15502 2012-09-04 Florian Weimer <fweimer@redhat.com>
15504 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15507 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15509 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15512 * libio/iogetdelim.c: Include <limits.h>.
15513 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15514 + len + 1 would overflow.
15516 2012-09-03 Andreas Jaeger <aj@suse.de>
15518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15519 * sysdeps/i386/fpu/libm-test-ulps: Update.
15521 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15523 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15524 Add s_sinf-sse2, s_conf-sse2.
15526 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15527 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15528 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15529 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15531 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15532 for using routine as __sinf_ia32.
15533 Use macro for function declaration and weak_alias.
15534 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15535 for using routine as __cosf_ia32.
15536 Use macro for function declaration and weak_alias.
15538 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15539 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15541 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15542 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15545 * math/libm-test.inc (cos_test): Add more test cases.
15546 (sin_test): Likewise.
15547 (sincos_test): Likewise.
15549 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15552 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15556 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15559 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15560 first element of the GOT.
15561 (elf_machine_load_address): Return the difference between
15562 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15564 2012-09-01 Allan McRae <allan@archlinux.org>
15567 * configure.in (AWK): Require gawk version 3.0 or later.
15568 * configure: Regenerated.
15570 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15572 * sysdeps/unix/sysv/linux/kernel-features.h
15573 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15575 [__NR_clock_getres]: Make code unconditional.
15576 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15577 (clock_getcpuclockid): Remove code left unreachable by removal of
15579 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15580 code unconditional.
15581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15583 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15584 Make code unconditional.
15585 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15586 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15587 * sysdeps/unix/sysv/linux/clock_settime.c
15588 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15590 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15591 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15593 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15596 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15597 scripts/test-installation.pl.
15599 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15600 and $ld_so_version if it is set.
15602 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15606 failure if reading from procfs failed.
15607 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15609 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/unix/sysv/linux/kernel-features.h
15612 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15613 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15614 Remove conditional code.
15615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15616 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15617 Remove conditional code.
15618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15619 * sysdeps/unix/sysv/linux/i386/fxstat.c
15620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15622 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15625 * sysdeps/unix/sysv/linux/i386/lxstat.c
15626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15628 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15629 Remove conditional code.
15630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15631 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15632 Remove conditional code.
15633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15634 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15635 <kernel-features.h>.
15636 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15638 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15639 Remove conditional code.
15640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15641 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15642 Remove conditional.
15644 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15647 * NEWS: Add fixed bug number.
15649 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15652 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15653 underflowing exponent in case of negative sign.
15654 * stdlib/tst-strtod-round-data: Add more tests.
15655 * stdlib/tst-strtod-round.c (tests): Regenerated.
15658 * stdlib/strtod_l.c (NDIG): Remove.
15659 (HEXNDIG): Likewise.
15660 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15661 smallest representable value.
15662 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15663 lie within an exact representation of 1/2 ulp of the result.
15664 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15666 (TENS_P9_IDX): Define unconditionally.
15667 (TENS_P9_SIZE): Likewise.
15668 (TENS_P10_IDX): Likewise.
15669 (TENS_P10_SIZE): Likewise.
15670 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15671 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15673 entries for 10^2^13 and 10^2^14.
15674 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15675 (TENS_P13_IDX): Define.
15676 (TENS_P13_SIZE): Likewise.
15677 (TENS_P14_IDX): Likewise.
15678 (TENS_P14_SIZE): Likewise.
15679 (_fpioconst_pow10): Change array size to
15680 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15682 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15683 1024]: Add entries for 10^2^13 and 10^2^14.
15684 [LAST_POW10 > _LAST_POW10]: Remove #error.
15685 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15686 (_fpioconst_pow10): Change array size to
15687 FPIOCONST_POW10_ARRAY_SIZE.
15688 * stdlib/gen-fpioconst.c: New file.
15689 * stdlib/gen-tst-strtod-round.c: Likewise.
15690 * stdlib/tst-strtod-round-data: Likewise.
15691 * stdlib/tst-strtod-round.c: Likewise.
15692 * stdlib/Makefile (tests): Add tst-strtod-round.
15695 * stdlib/strtod_l.c: Include <stdint.h>.
15696 (NDEBUG): Do not define.
15697 (round_and_return): Change EXPONENT parameter to type intmax_t.
15698 Rearrange calculations to avoid internal overflow possibilities.
15699 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15700 Rearrange calculations to avoid internal overflow possibilities.
15701 Assert that number fits inside MPNSIZE limbs.
15702 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15703 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15704 calculations and add assertions to avoid internal overflow
15705 possibilities. Add casts to avoid signed/unsigned operations.
15706 * stdlib/tst-strtod-overflow.c: New file.
15707 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15709 2012-08-25 Marek Polacek <polacek@redhat.com>
15711 * time/time.h: Fix some typos in comments.
15713 2012-08-23 Roland McGrath <roland@hack.frob.com>
15715 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15716 * posix/tst-rfc3484-2.c: Likewise.
15717 * posix/tst-rfc3484-3.c: Likewise.
15719 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15721 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15722 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15724 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15726 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15727 #include of fxstatat64.c.
15729 2012-08-22 Roland McGrath <roland@hack.frob.com>
15731 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15732 * shadow/getspent_r.c: Likewise.
15733 * shadow/getspnam.c: Likewise.
15734 * shadow/getspnam_r.c: Likewise.
15735 * gshadow/getsgent.c: Likewise.
15736 * gshadow/getsgent_r.c: Likewise.
15737 * gshadow/getsgnam.c: Likewise.
15738 * gshadow/getsgnam_r.c: Likewise.
15739 * inet/getnetbyad.c: Likewise.
15740 * inet/getnetbyad_r.c: Likewise.
15741 * inet/getnetbynm.c: Likewise.
15742 * inet/getnetbynm_r.c: Likewise.
15743 * inet/getnetent.c: Likewise.
15744 * inet/getnetent_r.c: Likewise.
15745 * inet/getproto.c: Likewise.
15746 * inet/getproto_r.c: Likewise.
15747 * inet/getprtent.c: Likewise.
15748 * inet/getprtent_r.c: Likewise.
15749 * inet/getprtname.c: Likewise.
15750 * inet/getprtname_r.c: Likewise.
15751 * inet/getrpcbyname.c: Likewise.
15752 * inet/getrpcbyname_r.c: Likewise.
15753 * inet/getrpcbynumber.c: Likewise.
15754 * inet/getrpcbynumber_r.c: Likewise.
15755 * inet/getrpcent.c: Likewise.
15756 * inet/getrpcent_r.c: Likewise.
15757 * inet/getaliasent.c: Likewise.
15758 * inet/getaliasent_r.c: Likewise.
15759 * inet/getaliasname.c: Likewise.
15760 * inet/getaliasname_r.c: Likewise.
15761 * nscd/getgrgid_r.c: Likewise.
15762 * nscd/getgrnam_r.c: Likewise.
15763 * nscd/gethstbyad_r.c: Likewise.
15764 * nscd/gethstbynm3_r.c: Likewise.
15765 * nscd/getpwnam_r.c: Likewise.
15766 * nscd/getpwuid_r.c: Likewise.
15767 * nscd/getsrvbynm_r.c: Likewise.
15768 * nscd/getsrvbypt_r.c: Likewise.
15769 * nscd/gai.c: Likewise.
15771 * configure.in (build_nscd): New substituted variable, set
15772 by --disable-build-nscd and defaults to $use_nscd.
15773 * configure: Regenerated.
15774 * config.make.in (build-nscd): New substituted variable.
15775 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15776 Change conditional to require [$(build-nscd) = yes] as well.
15777 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15780 * configure.in (use_nscd): New substituted variable, set by
15781 --disable-nscd. If enabled, define USE_NSCD.
15782 * configure: Regenerated.
15783 * config.h.in: Add USE_NSCD.
15784 * config.make.in (use-nscd): New substituted variable.
15785 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15786 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15787 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15788 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15789 (CFLAGS-getgrnam_r.c): Likewise.
15790 (CFLAGS-initgroups.c): Likewise.
15791 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15792 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15794 * inet/getnetgrent_r.c
15795 (nscd_setnetgrent): New function, broken out of ...
15796 (setnetgrent): ... here. Call it.
15797 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15798 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15799 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15800 * nscd/Makefile (routines, aux): Move definitions after include of
15801 Makeconfig. Conditionalize on [$(use-nscd) != no].
15802 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15803 Conditionalize on [USE_NSCD].
15804 (is_nscd, nscd_init_cb): Likewise.
15805 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15806 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15807 * nss/nss_db/db-init.c: Likewise.
15808 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15810 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15811 (make_request): Use it.
15812 (cache_valid_p): New function.
15813 (__check_pf): Use it.
15814 * NEWS: Add item for --disable-nscd.
15816 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15818 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15819 to support sed >= 4.2.1-20-ga9bf076.
15820 * configure: Regenerated.
15822 2012-08-22 Roland McGrath <roland@hack.frob.com>
15824 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15825 Conditionalize whole body on [IREL].
15827 2012-08-22 Jeff Law <law@redhat.com>
15830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15831 if the family is PF_UNSPEC.
15833 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15835 * Makerules (lib-version): Rename from V.
15836 (install-lib-nosubdir): Change V to lib-version.
15838 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15841 * powerpc32/power6/wcschr.c: New file.
15842 * powerpc32/power6/wcscpy.c: New file.
15843 * powerpc32/power6/wcsrchr.c: New file.
15844 * powerpc64/power6/wcschr.c: New file.
15845 * powerpc64/power6/wcscpy.c: New file.
15846 * powerpc64/power6/wcsrchr.c: New file.
15848 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15850 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15851 (two_way_short_needle): Use it.
15852 * string/strstr.c (AVAILABLE1_USES_J): Define.
15853 * string/strcasestr.c: Likewise.
15855 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15857 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15860 * NEWS: Add an entry.
15861 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15862 define their defaults.
15863 (two_way_short_needle): Detect end-of-string on-the-fly.
15864 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15865 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15866 * string/bug-strcasestr1.c: New test.
15867 * string/Makefile: Run it.
15869 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15872 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15873 the first character.
15875 2012-08-21 Roland McGrath <roland@hack.frob.com>
15877 * csu/elf-init.c (__libc_csu_irel): Function removed.
15878 * csu/libc-start.c (apply_irel): New function.
15879 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15881 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15883 * sysdeps/unix/sysv/linux/kernel-features.h
15884 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15885 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15886 <kernel-features.h>.
15887 [__NR_fadvise64_64]: Make code unconditional.
15888 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15889 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15890 !__NR_fadvise64_64)]: Likewise.
15891 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15892 !__NR_fadvise64_64))]: Likewise.
15893 [__NR_fadvise64]: Make code unconditional.
15894 [!__NR_fadvise64]: Remove conditional code.
15895 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15896 <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/powerpc/powerpc32/posix_fadvise64.c: Do
15902 not include <kernel-features.h>.
15903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15907 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15908 include <kernel-features.h>.
15909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15914 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15917 slight instruction rearrangements per scrollpipe analysis.
15918 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15920 2012-08-20 Roland McGrath <roland@hack.frob.com>
15922 * manual/syslog.texi (syslog; vsyslog, closelog):
15923 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15924 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15926 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15927 DSOCAPS to match condition on defining it.
15929 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15931 * sysdeps/unix/sysv/linux/kernel-features.h
15932 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15944 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15946 * sysdeps/unix/sysv/linux/kernel-features.h
15947 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15948 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15950 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15951 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15952 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15953 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15954 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15955 Make code unconditional.
15956 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15957 (__mmap64) [!__NR_mmap2]: Likewise.
15958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15959 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15960 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15962 [__NR_mmap2]: Make code unconditional.
15963 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15964 (__mmap64) [!__NR_mmap2]: Likewise.
15966 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15968 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15970 2012-08-18 Andreas Jaeger <aj@suse.de>
15972 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15974 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15976 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15977 * include/unistd.h (__have_sock_cloexec): Likewise.
15978 (__have_pipe2): Likewise.
15979 (__have_dup3): Likewise.
15981 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15984 * include/unistd.h (__have_pipe2): Change define into an extern int.
15985 (__have_dup3): Likewise.
15986 * socket/have_sock_cloexec.c: Include fcntl.h.
15987 (__have_pipe2): New variable.
15988 (__have_dup3): Likewise.
15990 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15992 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15994 2012-08-17 Marek Polacek <polacek@redhat.com>
15996 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15997 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15999 2012-08-17 Roland McGrath <roland@hack.frob.com>
16001 * configure.in: Add AC_SUBST for sysheaders.
16002 * configure: Regenerated.
16003 * config.make.in (sysheaders): New substituted variable.
16005 * sysdeps/unix/mkfifo.c: Moved ...
16006 * sysdeps/posix/mkfifo.c: ... here.
16007 * sysdeps/unix/mkfifoat.c: Moved ...
16008 * sysdeps/posix/mkfifoat.c: ... here.
16010 * sysdeps/unix/utime.c: Moved ...
16011 * sysdeps/posix/utime.c: ... here.
16013 * sysdeps/unix/time.c: Moved ...
16014 * sysdeps/posix/time.c: ... here.
16015 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16016 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16018 * sysdeps/unix/nice.c: Moved ...
16019 * sysdeps/posix/nice.c: ... here.
16021 * sysdeps/unix/alarm.c: Moved ...
16022 * sysdeps/posix/alarm.c: ... here.
16024 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16026 2012-08-17 Jeff Law <law@redhat.com>
16028 * intl/Makefile (codeset_mo): New variable.
16029 ($(codeset_mo)): New target.
16030 (tst-codeset.out): Depend on that. Remove explicit rule.
16031 (tst-gettext3.out, tst-gettext5.out): Likewise.
16032 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16033 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16034 * intl/tst-codeset.sh: Remove.
16035 * intl/tst-gettext3.sh: Likewise.
16036 * intl/tst-gettext5.sh: Likewise.
16038 2012-08-17 Roland McGrath <roland@hack.frob.com>
16040 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16041 * sysdeps/unix/syscalls.list: ... here.
16043 * sysdeps/posix/getaddrinfo.c
16044 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16045 (gaiconf_init, gaiconf_reload): Use them.
16046 [!_STATBUF_ST_NSEC]
16047 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16048 Define using time_t rather than struct timespec.
16050 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16051 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16053 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16055 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16056 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16059 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16060 __libc_cleanup_push argument.
16062 * bits/param.h: New file.
16063 * misc/sys/param.h: New file.
16064 * include/sys/param.h: New file.
16065 * misc/Makefile (headers): Add bits/param.h.
16066 * sysdeps/generic/sys/param.h: File removed.
16067 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16068 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16069 * sysdeps/mach/hurd/bits/param.h: New file.
16070 * sysdeps/mach/hurd/sys/param.h: File removed.
16072 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16075 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16077 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16078 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16081 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16082 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16083 rather than -D_IO_MTSAFE_IO conditionally.
16084 * stdio-common/Makefile (CPPFLAGS): Likewise.
16085 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16086 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16087 Use $(libio-mtsafe).
16088 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16089 of -D_IO_MTSAFE_IO.
16090 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16091 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16092 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16093 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16094 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16095 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16096 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16097 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16098 (CFLAGS-fread_u_chk.c): Likewise.
16099 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16100 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16101 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16102 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16103 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16104 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16105 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16106 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16107 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16109 * libio/Makefile: Test [$(libc-reentrant) = yes]
16110 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16113 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16114 * sysdeps/pthread/configure: File removed.
16115 * sysdeps/pthread/Makeconfig: New file.
16116 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16117 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16119 2012-08-16 Gary Benson <gbenson@redhat.com>
16121 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16122 unmapping the first object in a namespace.
16124 2012-08-16 Roland McGrath <roland@hack.frob.com>
16126 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16127 (__internal_setnetgrent): ... this. Add internal_function to
16128 definition. Add libc_hidden_def.
16129 (setnetgrent): Update caller.
16130 (internal_endnetgrent): Renamed to ...
16131 (__internal_endnetgrent): ... this. Add internal_function to
16132 definition. Add libc_hidden_def.
16133 (endnetgrent): Update caller.
16134 (internal_getnetgrent_r): Renamed to ...
16135 (__internal_getnetgrent_r): ... this. Add internal_function to
16136 definition. Add libc_hidden_def.
16137 (__getnetgrent_r): Update caller.
16138 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16140 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16142 * stdlib/longlong.h: Update from GCC.
16144 2012-08-16 Roland McGrath <roland@hack.frob.com>
16146 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16147 on _QL, which is set by umul_ppmm but never used.
16148 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16149 variables, which are set by GMP macros but never used.
16150 * stdio-common/_itowa.c (_itowa): Likewise.
16151 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16152 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16154 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16156 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16157 struct La_sh_regs is not constant.
16158 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16159 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16160 and struct La_sparc64_regs are not constant.
16162 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16164 * sysdeps/unix/sysv/linux/kernel-features.h
16165 (__ASSUME_POSIX_TIMERS): Remove.
16166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16168 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16169 Make code unconditional.
16170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16171 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16172 Make code unconditional.
16173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16174 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16175 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16177 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16178 Make code unconditional.
16179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16180 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16181 (__libc_missing_posix_timers): Remove.
16183 2012-08-15 Roland McGrath <roland@hack.frob.com>
16185 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16186 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16188 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16190 * elf/dl-sym.c: Include <stdlib.h>.
16192 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16193 constants, which avoids warnings in 32-bit builds.
16195 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16196 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16198 * misc/lseek.c: File moved to ...
16199 * io/lseek.c: ... here.
16201 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16203 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16204 shifting LEN more than 31 bits at once.
16206 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16209 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16210 segmentation fault for a case of two empty input strings.
16211 * string/test-strncasecmp.c (check1): Renamed to...
16212 (bz12205): ...this.
16213 (bz14195): Add new testcase for two empty input strings and N > 0.
16214 (test_main): Call new testcase, adapt for renamed function.
16216 2012-08-15 Andreas Jaeger <aj@suse.de>
16219 * crypt/md5test2.c: New test, based on test supplied by Serge
16220 Belyshev <belyshev@depni.sinp.msu.ru>.
16221 * crypt/Makefile (xtests): Add md5test-giant..
16222 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16224 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16227 * crypt/md5.c (md5_process_block): Don't assume the buffer
16228 length is less than 2**32.
16229 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16230 length is less than 2**64.
16232 2012-08-15 Roland McGrath <roland@hack.frob.com>
16234 * string/str-two-way.h: Include <sys/param.h>.
16235 (MAX): Macro removed.
16237 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16238 Move #define and #undef of memmove to just before and after
16239 including <string.h>.
16241 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16242 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16243 and after including <string.h>. Move declarations of
16244 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16245 to before #include "string/memmove.c".
16247 * include/dirent.h: Declare __getdirentries.
16249 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16250 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16252 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16254 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16255 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16256 * sysdeps/i386/configure: Regenerated.
16257 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16258 STABS_CURRENT_FILE, and STABS_FUN.
16259 (END): Remove call to STABS_FUN_END.
16260 (STABS_CURRENT_FILE1): Delete.
16261 (STABS_CURRENT_FILE): Likewise.
16262 (STABS_FUN): Likewise.
16263 (STABS_FUN_END): Likewise.
16264 (STABS_FUN2): Likewise.
16265 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16266 * sysdeps/x86_64/configure: Regenerated.
16268 2012-08-14 Roland McGrath <roland@hack.frob.com>
16270 * elf/dl-open.c: Include <atomic.h>.
16271 * elf/dl-lookup.c: Likewise.
16273 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16275 * sysdeps/unix/sysv/linux/kernel-features.h
16276 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16277 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16279 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16281 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16282 condition on __ASSUME_CLONE_THREAD_FLAGS.
16284 2012-08-14 Andreas Jaeger <aj@suse.de>
16286 * sysdeps/i386/fpu/libm-test-ulps: Update.
16288 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16290 * include/atomic.h (atomic_exchange_and_add): Split into ...
16291 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16294 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16298 2012-08-13 Jeff Law <law@redhat.com>
16300 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16301 null byte in the output string.
16303 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16305 * sysdeps/unix/sysv/linux/kernel-features.h
16306 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16307 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16308 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16310 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16311 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16312 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16314 2012-08-09 Jeff Law <law@redhat.com>
16317 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16318 When avoid_arena is set, don't retry in the that arena. Pick the
16319 next one, whatever it might be.
16320 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16321 (arena_lock): Pass in new parameter to arena_get2.
16322 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16324 (__libc_malloc): Unify retrying after main arena failure with
16325 __libc_memalign version.
16326 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16328 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16331 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16332 to __redirect_strstr.
16333 (__strstr_sse42): Use typeof __redirect_strstr.
16334 (__strstr_ia32): Likewise.
16335 (__libc_strstr): New prototype.
16336 (strstr): Renamed to ...
16337 (__libc_strstr): This.
16338 (strstr): New strong alias of __libc_strstr.
16339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16340 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16343 (__libc_time): New prototype.
16344 (time_ifunc): Replace time with __libc_time.
16345 (time): New strong alias and hidden definition of __libc_time.
16346 (__GI_time): Remove strong alias.
16347 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16348 Include <stddef.h>.
16349 (memmove): Redefined to __redirect_memmove.
16350 (__memmove_sse2): Use typeof __redirect_memmove.
16351 (__memmove_ssse3): Likewise.
16352 (__memmove_ssse3_back): Likewise.
16353 (__libc_memmove): New prototype.
16354 (memmove): Renamed to ...
16355 (__libc_memmove): This.
16356 (memmove): New strong alias of __libc_memmove.
16358 2012-08-08 Mark Salter <msalter@redhat.com>
16361 (R_MN10300_TLS_GD): Define.
16362 (R_MN10300_TLS_LD): Likewise.
16363 (R_MN10300_TLS_LDO): Likewise.
16364 (R_MN10300_TLS_GOTIE): Likewise.
16365 (R_MN10300_TLS_IE): Likewise.
16366 (R_MN10300_TLS_LE): Likewise.
16367 (R_MN10300_TLS_DTPMOD): Likewise.
16368 (R_MN10300_TLS_DTPOFF): Likewise.
16369 (R_MN10300_TLS_TPOFF): Likewise.
16370 (R_MN10300_SYM_DIFF): Likewise.
16371 (R_MN10300_ALIGN): Likewise.
16372 (R_MN10300_NUM): Update.
16374 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16379 2012-08-08 Roland McGrath <roland@hack.frob.com>
16381 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16383 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16384 sysdeps/unix -> sysdeps/posix move.
16385 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16387 2012-08-07 Allan McRae <allan@archlinux.org>
16390 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16391 (SUNOS_CPP): Likewise.
16392 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16394 (open_input): Call CPP using execvp.
16396 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16398 * sysdeps/unix/sysv/linux/kernel-features.h
16399 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16400 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16401 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16402 (__ASSUME_WAITID_SYSCALL): Likewise.
16403 * sysdeps/unix/sysv/linux/dl-execstack.c
16404 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16405 code unconditional.
16406 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16408 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16409 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16410 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16412 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16414 [__ASSUME_WAITID_SYSCALL]: Likewise.
16415 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16417 2012-08-07 Roland McGrath <roland@hack.frob.com>
16419 * sysdeps/unix/closedir.c: Renamed to ...
16420 * sysdeps/posix/closedir.c: ... here.
16421 * sysdeps/unix/dirfd.c: Renamed to ...
16422 * sysdeps/posix/dirfd.c: ... here.
16423 * sysdeps/unix/dirstream.h: Renamed to ...
16424 * sysdeps/posix/dirstream.h: ... here.
16425 * sysdeps/unix/fdopendir.c: Renamed to ...
16426 * sysdeps/posix/fdopendir.c: ... here.
16427 * sysdeps/unix/opendir.c: Renamed to ...
16428 * sysdeps/posix/opendir.c: ... here.
16429 * sysdeps/unix/readdir.c: Renamed to ...
16430 * sysdeps/posix/readdir.c: ... here.
16431 * sysdeps/unix/readdir_r.c: Renamed to ...
16432 * sysdeps/posix/readdir_r.c: ... here.
16433 * sysdeps/unix/rewinddir.c: Renamed to ...
16434 * sysdeps/posix/rewinddir.c: ... here.
16435 * sysdeps/unix/seekdir.c: Renamed to ...
16436 * sysdeps/posix/seekdir.c: ... here.
16437 * sysdeps/unix/telldir.c: Renamed to ...
16438 * sysdeps/posix/telldir.c: ... here.
16439 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16440 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16441 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16442 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16444 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16445 * bits/fcntl.h: ... here.
16447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16449 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16450 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16451 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16452 (struct flock): Move l_start, l_len to the beginning.
16453 Use __pid_t for l_pid.
16454 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16455 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16456 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16457 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16458 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16459 [__USE_LARGEFILE64] (struct flock64): New type.
16460 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16462 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16463 * bits/dirent.h: ... here.
16465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16466 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16468 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16471 Change from 2.6.0 to 2.6.16.
16472 * sysdeps/unix/sysv/linux/configure: Regenerated.
16473 * sysdeps/unix/sysv/linux/kernel-features.h
16474 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16475 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16477 (__ASSUME_UTIMES): Likewise.
16478 (__ASSUME_CLONE_STOPPED): Remove.
16479 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16480 architectures, not kernel version.
16481 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16482 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16483 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16484 (__ASSUME_WAITID_SYSCALL): Likewise.
16485 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16486 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16487 * README: State 2.6.16 as minimum Linux kernel version. Do not
16488 refer to older versions.
16490 2012-08-06 Roland McGrath <roland@hack.frob.com>
16492 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16493 Define alphasort64 as an alias.
16494 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16495 Define versionsort64 as an alias.
16496 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16497 Define scandir64 as an alias.
16498 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16499 Define scandirat64 as an alias.
16500 * dirent/alphasort64.c (alphasort64):
16501 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16502 * dirent/versionsort64.c: Likewise.
16503 * dirent/scandir64.c: Likewise.
16504 * dirent/scandirat64.c: Likewise.
16505 * sysdeps/wordsize-64/alphasort.c: File removed.
16506 * sysdeps/wordsize-64/alphasort64.c: File removed.
16507 * sysdeps/wordsize-64/scandir.c: File removed.
16508 * sysdeps/wordsize-64/scandir64.c: File removed.
16509 * sysdeps/wordsize-64/scandirat.c: File removed.
16510 * sysdeps/wordsize-64/scandirat64.c: File removed.
16511 * sysdeps/wordsize-64/versionsort.c: File removed.
16512 * sysdeps/wordsize-64/versionsort64.c: File removed.
16513 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16514 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16516 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16518 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16519 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16522 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16524 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16526 [defined __arch64__ || defined __sparcv9]
16527 (__INO_T_MATCHES_INO64_T): New macro.
16528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16529 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16530 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16531 * sysdeps/unix/sysv/linux/bits/dirent.h
16532 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16533 (_DIRENT_MATCHES_DIRENT64): New macro.
16535 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16536 Define lockf64 as an alias.
16537 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16538 Define fseeko64 as an alias.
16539 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16540 Define ftello64 as an alias.
16541 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16542 Define _IO_fgetpos64 and fgetpos64 as aliases.
16543 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16544 Define _IO_fsetpos64 and fsetpos64 as aliases.
16545 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16546 Conditionalize body on this.
16547 * libio/fseeko64.c: Likewise.
16548 * libio/ftello64.c: Likewise.
16549 * libio/iofgetpos64.c: Likewise.
16550 * libio/iofsetpos64.c: Likewise.
16551 * sysdeps/wordsize-64/lockf.c: File removed.
16552 * sysdeps/wordsize-64/lockf64.c: File removed.
16553 * sysdeps/wordsize-64/fseeko.c: File removed.
16554 * sysdeps/wordsize-64/fseeko64.c: File removed.
16555 * sysdeps/wordsize-64/ftello.c: File removed.
16556 * sysdeps/wordsize-64/ftello64.c: File removed.
16557 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16558 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16559 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16560 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16569 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16570 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16572 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16574 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16576 [defined __arch64__ || defined __sparcv9]
16577 (__OFF_T_MATCHES_OFF64_T): New macro.
16578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16579 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16581 (__OFF_T_MATCHES_OFF64_T): New macro.
16583 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16585 * stdlib/secure-getenv.c (__secure_getenv): Replace
16586 GLIBC_2_16 with GLIBC_2_17.
16588 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16593 2012-08-03 David S. Miller <davem@davemloft.net>
16595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16597 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16599 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16601 (__ASSUME_CORRECT_SI_PID): Likewise.
16602 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16603 (__ASSUME_TMPFS_NAME): Likewise.
16604 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16605 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16606 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16607 (HAVE_AUX_SECURE): Make definition unconditional.
16608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16609 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16611 2012-08-03 Roland McGrath <roland@hack.frob.com>
16613 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16614 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16615 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16616 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16617 __eloop_threshold instead of SYMLOOP_MAX.
16619 * sysdeps/generic/eloop-threshold.h: New file.
16620 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16622 * elf/chroot_canon.c (chroot_canon): Likewise.
16624 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16628 Change to 2.6.0 everywhere.
16629 * sysdeps/unix/sysv/linux/configure: Regenerated.
16630 * sysdeps/unix/sysv/linux/kernel-features.h
16631 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16632 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16634 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16635 (__ASSUME_FUTEX_REQUEUE): Remove.
16636 (__ASSUME_STATFS64): Define unconditionally.
16637 (__ASSUME_AT_SECURE): Likewise.
16638 (__ASSUME_CORRECT_SI_PID): Likewise.
16639 (__ASSUME_TGKILL): Define without depending on kernel version for
16641 (__ASSUME_UTIMES): Likewise.
16642 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16644 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16645 (__ASSUME_TMPFS_NAME): Likewise.
16646 * README: Update reference to Linux kernel versions.
16648 2012-08-02 Marek Polacek <polacek@redhat.com>
16651 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16652 libc_cv_asm_type_prefix with %.
16653 * configure: Regenerated.
16654 * include/libc-symbols.h: Remove comment about
16655 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16656 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16657 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16658 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16659 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16660 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16661 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16662 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16663 * elf/tst-unique2mod1.c: Likewise.
16664 * elf/tst-unique1mod2.c: Likewise.
16665 * elf/tst-unique1mod1.c: Likewise.
16666 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16667 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16668 Replace ASM_TYPE_DIRECTIVE with .type.
16669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16670 * sysdeps/i386/sysdep.h: Likewise.
16671 * sysdeps/x86_64/sysdep.h: Likewise.
16672 * sysdeps/sh/sysdep.h: Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16674 Do not define ASM_TYPE_DIRECTIVE.
16675 * sysdeps/powerpc/sysdep.h: Likewise.
16676 * sysdeps/powerpc/powerpc32/sysdep.h:
16677 Replace ASM_TYPE_DIRECTIVE with .type.
16678 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16679 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16680 * sysdeps/i386/fpu/e_powf.S: Likewise.
16681 * sysdeps/i386/fpu/e_expl.S: Likewise.
16682 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16684 * sysdeps/i386/fpu/e_pow.S: Likewise.
16685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16689 * sysdeps/i386/fpu/e_log2.S: Likewise.
16690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16692 * sysdeps/i386/fpu/e_powl.S: Likewise.
16693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16695 * sysdeps/i386/fpu/e_logl.S: Likewise.
16696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16697 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16698 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16699 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16701 * sysdeps/i386/fpu/e_log.S: Likewise.
16702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16703 * sysdeps/i386/fpu/e_logf.S: Likewise.
16704 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16705 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16706 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16707 * sysdeps/i386/fpu/e_log10.S: Likewise.
16708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16713 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16714 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16715 * sysdeps/i386/i686/strtok.S: Likewise.
16716 * sysdeps/i386/i386-mcount.S: Likewise.
16717 * sysdeps/i386/strtok.S: Likewise.
16718 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16719 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16721 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16722 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16724 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16725 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16727 * sysdeps/x86_64/_mcount.S: Likewise.
16728 * sysdeps/x86_64/strtok.S: Likewise.
16729 * sysdeps/sh/_mcount.S: Likewise.
16731 2012-08-01 Roland McGrath <roland@hack.frob.com>
16733 * libio/iofopen.c: Include <fcntl.h>.
16734 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16735 (_IO_fopen64, fopen64): Define as aliases.
16736 * libio/iofopen64.c: Include <fcntl.h>.
16737 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16738 Conditionalize body on this.
16739 * sysdeps/wordsize-64/iofopen.c: File removed.
16740 * sysdeps/wordsize-64/iofopen64.c: File removed.
16742 2012-08-01 Marek Polacek <polacek@redhat.com>
16744 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16745 Use dlfcn directly instead of a variable.
16746 (binfmt-subdir): Do not define.
16749 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16752 Remove all definitions.
16753 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16754 <kernel-features.h>.
16755 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16756 (miss_F_GETOWN_EX): Remove all definitions.
16757 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16759 [!__ASSUME_FCNTL64]: Remove conditional code.
16760 [__ASSUME_FCNTL64]: Make code unconditional.
16761 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16762 <kernel-features.h>.
16763 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16764 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16765 (lockf64) [__NR_fcntl64]: Make code unconditional.
16766 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16768 * sysdeps/unix/sysv/linux/kernel-features.h
16769 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16770 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16771 Make code unconditional.
16772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16775 [__NR_vfork]: Make code unconditional.
16776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16779 [__NR_vfork]: Make code unconditional.
16780 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16781 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16783 2012-08-01 Roland McGrath <roland@hack.frob.com>
16785 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16786 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16788 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16789 Define mkstemp64 as an alias.
16790 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16791 Define mkstemps64 as an alias.
16792 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16793 Define mkostemp64 as an alias.
16794 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16795 Define mkostemps64 as an alias.
16796 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16797 Conditionalize body on this.
16798 * misc/mkostemp64.c: Likewise.
16799 * misc/mkostemps64.c: Likewise.
16800 * misc/mkstemps64.c: Likewise.
16801 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16802 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16803 * sysdeps/wordsize-64/mkostemp.c: File removed.
16804 * sysdeps/wordsize-64/mkstemp.c: File removed.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16811 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16812 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16813 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16814 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16816 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16817 compat_symbol macros from <shlib-compat.h> rather than the underlying
16818 default_symbol_version and symbol_version macros, so that DEFAULT
16819 lines in shlib-versions are respected.
16820 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16822 2012-08-01 Florian Weimer <fweimer@redhat.com>
16824 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16825 Declare with warn_unused_result.
16826 (setgid, setregid, setegid, setresgid): Likewise.
16827 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16829 * WUR-REPORT: Remove set*id functions.
16831 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16833 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16835 2012-07-31 Roland McGrath <roland@hack.frob.com>
16838 * include/sys/socket.h (__libc_accept, __libc_accept4):
16839 Add attribute_hidden.
16840 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16844 * inet/getnetgrent_r.c (setup): Likewise.
16846 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16848 2012-07-31 David S. Miller <davem@davemloft.net>
16850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16852 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16855 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16856 value between 1.0 and 2.0 and smaller part has absolute value less
16858 * math/s_clog10.c (__clog10): Likewise.
16859 * math/s_clog10f.c (__clog10f): Likewise.
16860 * math/s_clog10l.c (__clog10l): Likewise.
16861 * math/s_clogf.c (__clogf): Likewise.
16862 * math/s_clogl.c (__clogl): Likewise.
16863 * math/libm-test.inc (clog_test): Add more tests.
16864 (clog10_test): Likewise.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16868 2012-07-31 Florian Weimer <fweimer@redhat.com>
16870 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16871 Exit with zero in case no suitable GID is found, and write a
16872 message to standard error.
16874 2012-07-30 Roland McGrath <roland@hack.frob.com>
16876 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16878 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16879 (MAXPATHLEN): Removed.
16880 (NOGROUP, NODEV): New macros.
16881 (setbit, clrbit, isset, isclr): New macros.
16882 (howmany, roundup, powerof2): New macros.
16883 (DEV_BSIZE): New macro.
16885 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16886 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16888 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16889 definition on [!__NO_LONG_DOUBLE_MATH].
16891 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16892 PTR_MANGLE and PTR_DEMANGLE.
16894 * socket/accept4.c (accept4): Rename to __libc_accept4.
16895 Define accept4 as a weak alias.
16897 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16898 on [_DIRENT_HAVE_D_TYPE].
16899 * io/ftw.c (ftw_dir): Likewise.
16901 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16903 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16905 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16906 Use the BSD numbers rather than the arbitrary ones we had.
16907 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16908 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16909 (SIGXCPU, SIGXFSZ): New macros.
16912 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16913 initializer on [_LIBC_REENTRANT].
16915 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16916 definitions inside [_POSIX_MAPPED_FILES].
16918 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16920 * dirent/opendir.c: Include <fcntl.h>.
16922 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16923 (__libc_getspecific): Likewise.
16924 (__libc_key_create): Likewise.
16926 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16927 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16928 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16929 (tmpfile64): Define as alias.
16930 * sysdeps/wordsize-64/tmpfile.c: File removed.
16931 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16935 * stdio-common/vfscanf.c: Include <stdbool.h>.
16936 * nss/makedb.c: Likewise.
16937 * stdio-common/_i18n_number.h: Likewise.
16938 * argp/argp-help.c: Likewise.
16939 * posix/wordexp.c: Likewise.
16940 * sysdeps/posix/spawni.c: Likewise.
16941 * nss/nss_files/files-initgroups.c: Likewise.
16942 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16943 * nss/nss_files/files-initgroups.c: Likewise.
16944 * nss/nss_db/db-netgrp.c: Likewise.
16945 * nss/nss_db/db-initgroups.c: Likewise.
16946 * io/fchmodat.c: Include <sys/stat.h>.
16948 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16949 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16951 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16954 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16955 Add multiple inclusion protection.
16957 2012-07-27 David S. Miller <davem@davemloft.net>
16959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16961 2012-07-27 Gary Benson <gbenson@redhat.com>
16964 * elf/rtld.c: Include <stap-probe.h>.
16965 (dl_main): Added static probes "init_start" and "init_complete".
16966 * elf/dl-load.c: Include <stap-probe.h>.
16967 (lose): Take new parameter "nsid".
16968 Added static probe "map_failed".
16969 (_dl_map_object_from_fd): Pass namespace id to lose.
16970 Added static probe "map_start".
16971 (open_verify): Pass namespace id to lose.
16972 * elf/dl-open.c: Include <stap-probe.h>.
16973 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16974 and "reloc_complete".
16975 * elf/dl-close.c: Include <stap-probe.h>.
16976 (_dl_close_worker): Added static probes "unmap_start" and
16978 * elf/rtld-debugger-interface.txt: New file documenting the above.
16980 2012-07-26 Roland McGrath <roland@hack.frob.com>
16982 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16983 rather than a string variable.
16984 * sunrpc/rpc_main.c (h_output): Likewise.
16985 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16987 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16989 * inet/check_native.c: New file.
16991 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16994 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16995 if larger part has absolute value 1.0.
16996 * math/s_clog10.c (__clog10): Likewise.
16997 * math/s_clog10f.c (__clog10f): Likewise.
16998 * math/s_clog10l.c (__clog10l): Likewise.
16999 * math/s_clogf.c (__clogf): Likewise.
17000 * math/s_clogl.c (__clogl): Likewise.
17001 * math/libm-test.inc (clog_test): Add more tests.
17002 (clog10_test): Likewise.
17003 * sysdeps/i386/fpu/libm-test-ulps: Update.
17004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17007 (pltexit): Likewise.
17008 (La_regs): Likewise.
17009 (La_retval): Likewise.
17010 (int_retval): Likewise.
17011 Update #error for removed macros to refer only to definitions in
17013 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17015 (pltexit): Likewise.
17016 (La_regs): Likewise.
17017 (La_retval): Likewise.
17018 (int_retval): Likewise.
17019 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17021 (pltexit): Likewise.
17022 (La_regs): Likewise.
17023 (La_retval): Likewise.
17024 (int_retval): Likewise.
17025 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17027 (pltexit): Likewise.
17028 (La_regs): Likewise.
17029 (La_retval): Likewise.
17030 (int_retval): Likewise.
17031 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17033 (pltexit): Likewise.
17034 (La_regs): Likewise.
17035 (La_retval): Likewise.
17036 (int_retval): Likewise.
17037 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17039 (pltexit): Likewise.
17040 (La_regs): Likewise.
17041 (La_retval): Likewise.
17042 (int_retval): Likewise.
17043 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17045 (pltexit): Likewise.
17046 (La_regs): Likewise.
17047 (La_retval): Likewise.
17048 (int_retval): Likewise.
17049 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17050 macro definitions in tst-audit.h.
17051 * sysdeps/i386/tst-audit.h: New file.
17052 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17053 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17054 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17055 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17056 * sysdeps/sh/tst-audit.h: Likewise.
17057 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17058 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17059 * sysdeps/x86_64/tst-audit.h: Likewise.
17061 2012-07-26 Andreas Jaeger <aj@suse.de>
17063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17066 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17067 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17068 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17070 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17071 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17074 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17077 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17079 (si_call_addr, si_syscall, si_arch): Define new macro.
17080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17082 (si_call_addr, si_syscall, si_arch): Define new marcro.
17083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17085 (si_call_addr, si_syscall, si_arch): Define new macro.
17086 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17088 (si_call_addr, si_syscall, si_arch): Define new macro.
17090 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17094 Change to 2.4.21 where previously 2.4.1.
17095 * sysdeps/unix/sysv/linux/configure: Regenerated.
17096 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17097 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17098 Linux kernel version.
17099 (__ASSUME_STD_AUXV): Remove.
17100 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17102 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17103 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17104 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17105 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17106 (__ASSUME_NETLINK_SUPPORT): Likewise.
17107 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17108 (__no_netlink_support): Remove conditional definition.
17109 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17111 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17112 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17113 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17114 (if_nameindex_ioctl): Remove.
17115 (if_nameindex_netlink): Do not handle __no_netlink_support.
17116 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17118 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17119 Remove conditional code.
17120 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17122 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17124 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17125 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17126 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17128 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17129 [!__ASSUME_STD_AUXV]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17131 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17132 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17134 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17135 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17137 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17139 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17140 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17142 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17144 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17147 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17150 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17151 code unconditional.
17152 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17154 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17156 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17159 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17161 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17164 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17165 code unconditional.
17166 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17168 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17170 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17173 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17174 code unconditional.
17175 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17177 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17179 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17182 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17184 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17185 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17186 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17187 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17188 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17189 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17190 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17191 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17192 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17193 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17194 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17195 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17196 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17197 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17198 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17199 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17200 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17202 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17204 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17205 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17208 2012-07-25 Florian Weimer <fweimer@redhat.com>
17210 * Versions.def: Add GLIBC_2.17.
17211 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17212 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17213 Introduce __libc_secure_getenv.
17214 * stdlib/Versions (2.17): Add secure_getenv
17215 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17216 * stdlib/secure-getenv.c: Rename __secure_getenv to
17217 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17218 symbol __secure_getenv for GLIBC_2.0.
17219 * stdlib/tst-secure-getenv.c: New.
17220 * stdlib/Makefile (tests): Add testcase.
17221 * manual/startup.texi (Environment Access): Document
17223 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17224 __libc_secure_getenv.
17225 * inet/ruserpass.c (ruserpass): Likewise.
17226 * malloc/mtrace.c (mtrace): Likewise.
17227 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17228 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17229 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17230 * sysdeps/posix/tempname.c: Likewise. Evaluate
17231 HAVE_SECURE_GETENV.
17232 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17233 __secure_getenv to __libc_secure_getenv.
17234 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17247 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17249 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17250 (struct La_i86_retval): Likewise.
17251 (struct La_x86_64_regs): Likewise.
17252 (struct La_x86_64_retval): Likewise.
17253 (struct La_x32_regs): Likewise.
17254 (struct La_x32_retval): Likewise.
17255 (struct La_ppc32_regs): Likewise.
17256 (struct La_ppc32_retval): Likewise.
17257 (struct La_ppc64_regs): Likewise.
17258 (struct La_ppc64_retval): Likewise.
17259 (struct La_sh_regs): Likewise.
17260 (struct La_sh_retval): Likewise.
17261 (struct La_s390_32_regs): Likewise.
17262 (struct La_s390_32_retval): Likewise.
17263 (struct La_s390_64_regs): Likewise.
17264 (struct La_s390_64_retval): Likewise.
17265 (struct La_sparc32_regs): Likewise.
17266 (struct La_sparc32_retval): Likewise.
17267 (struct La_sparc64_regs): Likewise.
17268 (struct La_sparc64_retval): Likewise.
17269 (struct audit_ifaces): Remove architecture-specific pltenter and
17271 * sysdeps/i386/ldsodefs.h: New file.
17272 * sysdeps/powerpc/ldsodefs.h: Likewise.
17273 * sysdeps/s390/ldsodefs.h: Likewise.
17274 * sysdeps/sh/ldsodefs.h: Likewise.
17275 * sysdeps/sparc/ldsodefs.h: Likewise.
17276 * sysdeps/x86_64/ldsodefs.h: Likewise.
17278 2012-07-25 Marek Polacek <polacek@redhat.com>
17281 * math/libm-test.inc (yn_test): Add another test.
17282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17283 to ERANGE when the result is +-Inf.
17284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17286 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17287 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17289 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17291 * conform/data/time.h-data (NULL): Use macro-constant. Require
17293 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17295 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17297 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17299 * configure.in <sysdeps resolving>: Correct printing
17301 * configure: Regenerate.
17303 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17305 * math/w_ilogb.c: Include <limits.h>.
17306 * math/w_ilogbl.c: Likewise.
17308 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17310 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17311 va_copy. Document allowing for unavailable va_copy only as
17312 pre-C99 compatibility.
17313 * manual/string.texi (Copying and Concatenation): Use va_copy
17314 instead of __va_copy in concat example.
17316 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17318 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17319 (__sendto): Use create_address_port. Initialize APORT and deallocate
17322 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17323 with O_NOLINK passed to __file_name_lookup.
17325 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17326 with O_NOLINK passed to __file_name_lookup.
17328 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17329 negative N or less than NGIDS.
17331 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17332 type to string_t. Set ERANGE as errno and return it if NAME is not big
17333 enough. Use memcpy instead of strncpy.
17335 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17337 * elf/Makefile (check-data): Remove.
17338 (localplt.data): New vpath directive.
17339 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17340 instead of $(check-data).
17341 * scripts/data/localplt-generic.data: Move to ...
17342 * sysdeps/generic/localplt.data: ... here.
17343 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17344 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17345 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17348 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17351 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17354 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17357 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17360 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17364 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17366 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17367 PPC32 and PPC64 files.
17368 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17369 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17371 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17373 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17374 __makecontext_ret to ...
17375 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17376 ... here and call exit if uc_link is NULL. New file.
17377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17378 __makecontext_ret.S.
17379 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17380 __makecontext_ret to ...
17381 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17382 ... here and call exit if uc_link is NULL. New file.
17383 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17384 __makecontext_ret.S.
17386 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17388 * elf/elf.h (R_390_IRELATIVE): New definition.
17389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17390 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17391 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17393 (elf_machine_lazy_rel): Likewise.
17394 * sysdeps/s390/dl-irel.h: New file.
17395 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17396 * sysdeps/s390/s390-64/memset.S: New asm code.
17397 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17398 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17399 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17400 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17401 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17402 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17403 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17404 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17405 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17406 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17407 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17408 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17409 * sysdeps/s390/s390-32/memset.S: New asm code.
17410 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17412 2012-07-17 Marek Polacek <polacek@redhat.com>
17415 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17416 * sysdeps/s390/s390-64/configure.in: Likewise.
17417 * sysdeps/sparc/configure.in: Likewise.
17418 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17419 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17420 * sysdeps/i386/configure.in: Likewise.
17421 * sysdeps/x86_64/configure.in: Likewise.
17422 * sysdeps/sh/configure.in: Likewise.
17423 * sysdeps/s390/s390-32/configure: Regenerated.
17424 * sysdeps/s390/s390-64/configure: Likewise.
17425 * sysdeps/x86_64/configure: Likewise.
17426 * sysdeps/sh/configure: Likewise.
17427 * sysdeps/powerpc/powerpc64/configure: Likewise.
17428 * sysdeps/powerpc/powerpc32/configure: Likewise.
17429 * sysdeps/sparc/configure: Likwise.
17430 * sysdeps/i386/configure: Likewise.
17432 * elf/dl-open.c: Comment fixes.
17434 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17436 * Makefile [CXX] (check-data): Remove.
17437 [CXX] (c++-types.data): New vpath directive.
17438 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17439 vpath. Do not allow for C++ type data being missing.
17440 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17441 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17442 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17443 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17444 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17445 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17446 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17449 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17452 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17455 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17458 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17461 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17464 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17467 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17470 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17471 definitions to architecture-specific files.
17472 (TLS_IE): Likewise.
17473 (TLS_LD): Likewise.
17474 (TLS_GD): Likewise.
17475 * sysdeps/i386/tls-macros.h: New file.
17476 * sysdeps/powerpc/tls-macros.h: Likewise.
17477 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17478 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17479 * sysdeps/sh/tls-macros.h: Likewise.
17480 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17481 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17482 * sysdeps/x86_64/tls-macros.h: Likewise.
17484 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17486 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17487 zero value for regular exit case.
17489 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17490 (__start_context): Preserve zero value for regular exit case.
17492 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17493 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17495 * manual/setjmp.texi (setcontext): Clarify normal process
17496 termination when uc_link is the null pointer.
17497 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17500 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17502 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17503 preprocessor. Test for each exception mask separately.
17505 2012-07-16 Andreas Jaeger <aj@suse.de>
17507 * po/ru.po: Update from translation team.
17509 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17511 * conform/data/string.h-data (NULL): Use macro-constant. Require
17513 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17514 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17515 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17516 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17519 2012-07-13 Andreas Jaeger <aj@suse.de>
17521 * po/fr.po: Update from translation team.
17523 2012-07-12 Marek Polacek <polacek@redhat.com>
17526 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17530 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17534 Change to 2.4.1 where previously 2.4.0.
17535 * sysdeps/unix/sysv/linux/configure: Regenerated.
17536 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17537 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17539 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17540 (__ASSUME_AT_CLKTCK): Remove.
17541 (__ASSUME_AT_PAGESIZE): Likewise.
17542 (__ASSUME_AT_XID): Likewise.
17543 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17544 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17545 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17547 (HAVE_AUX_PAGESIZE): Likewise.
17548 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17549 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17550 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17552 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17556 the temporary buffer used to invoke __gethostbyname2_r,
17557 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17558 host_data / struct gaih_addrtuple.
17559 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17560 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17561 header file nss/nsswitch.h.
17562 * nss/nsswitch.h (global scope): Add definition of implementation
17563 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17564 resolv/nss_dns/dns-host.c).
17566 2012-07-11 Andreas Jaeger <aj@suse.de>
17568 * po/fr.po: Update from translation team.
17570 * po/sv.po: Update from translation team
17571 * po/fr.po: Another update from translation team.
17573 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17576 for subnormals or multiply small sinh result by itself.
17577 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17580 2012-07-11 David S. Miller <davem@davemloft.net>
17582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17584 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17587 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17588 (INTERNAL_MARK): Shift it here.
17590 2012-07-10 Marek Polacek <polacek@redhat.com>
17593 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17594 libc_cv_asm_global_directive with .globl.
17595 * configure: Regenerated.
17596 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17598 * sysdeps/i386/configure: Regenerated.
17599 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17601 * sysdeps/x86_64/configure: Regenerated.
17602 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17603 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17604 * elf/tst-unique2mod2.c: Likewise.
17605 * elf/tst-unique2mod1.c: Likewise.
17606 * elf/tst-unique1mod2.c: Likewise.
17607 * elf/tst-unique1mod1.c: Likewise.
17608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17612 * sysdeps/mach/sysdep.h: Likewise.
17613 * sysdeps/i386/sysdep.h: Likewise.
17614 * sysdeps/i386/i386-mcount.S: Likewise.
17615 * sysdeps/x86_64/_mcount.S: Likewise.
17616 * sysdeps/x86_64/sysdep.h: Likewise.
17617 * sysdeps/sh/_mcount.S: Likewise.
17618 * sysdeps/sh/sysdep.h: Likewise.
17619 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17620 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17621 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17623 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17624 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17625 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17626 * locale/localeinfo.h: Likewise.
17627 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17628 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17630 2012-07-09 Roland McGrath <roland@hack.frob.com>
17633 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17635 * manual/message.texi (The Uniforum approach): Likewise.
17636 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17637 (glibc iconv Implementation): Likewise.
17639 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17642 * math/s_clog.c (__clog): Avoid scaling a value down where that
17643 could result in underflow.
17644 * math/s_clog10.c (__clog10): Likewise.
17645 * math/s_clog10f.c (__clog10f): Likewise.
17646 * math/s_clog10l.c (__clog10l): Likewise.
17647 * math/s_clogf.c (__clogf): Likewise.
17648 * math/s_clogl.c (__clogl): Likewise.
17649 * math/libm-test.inc (clog_test): Add more tests.
17650 (clog10_test): Likewise.
17651 * sysdeps/i386/fpu/libm-test-ulps: Update.
17652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17654 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17657 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17658 by 7 not 8 to examine high bit of fractional part.
17661 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17662 for call to __mcount_internal.
17663 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17664 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17665 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17667 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17670 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17671 approximation for values within 0x1p-13f of an odd multiple of
17673 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17674 exception. Add more tests.
17675 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17679 inputs and return -1 for them. Do not check for +Inf in case not
17680 reachable for +Inf.
17681 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17682 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17684 and return -1 for them. Do not check for +Inf in case not
17685 reachable for +Inf.
17686 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17689 and return -1 for them. Do not check for +Inf in case not
17690 reachable for +Inf.
17691 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17692 spurious underflow.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17696 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17698 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17700 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17704 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17705 could result in spurious underflow. Scale down values above
17706 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17707 * math/s_csqrtf.c (__csqrtf): Likewise.
17708 * math/s_csqrtl.c (__csqrtl): Likewise.
17709 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17710 spurious underflow.
17711 * sysdeps/i386/fpu/libm-test-ulps: Update.
17712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17714 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17716 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17718 * catgets/xopen-msg.awk: New file.
17719 * catgets/xopen-msg.sed: Removed.
17721 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17723 * intl/po2test.awk: New file.
17724 * intl/po2test.sed: Removed.
17726 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17729 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17730 or multiply small sinh result by itself.
17731 * math/s_ctanf.c (__ctanf): Likewise.
17732 * math/s_ctanh.c (__ctanh): Likewise.
17733 * math/s_ctanhf.c (__ctanhf): Likewise.
17734 * math/s_ctanhl.c (__ctanhl): Likewise.
17735 * math/s_ctanl.c (__ctanl): Likewise.
17736 * math/libm-test.inc (ctan_test_tonearest): New function.
17737 (ctan_test_towardzero): Likewise.
17738 (ctan_test_downward): Likewise.
17739 (ctan_test_upward): Likewise.
17740 (ctanh_test_tonearest): Likewise.
17741 (ctanh_test_towardzero): Likewise.
17742 (ctanh_test_downward): Likewise.
17743 (ctanh_test_upward): Likewise.
17744 (main): Call these new functions.
17745 * sysdeps/i386/fpu/libm-test-ulps: Update.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17750 * .gitignore: Delete /ports entry.
17752 2012-07-03 Andreas Jaeger <aj@suse.de>
17754 * po/bg.po: Update from translation team.
17755 * po/cs.po: Likewise.
17756 * po/de.po: Likewise.
17757 * po/hr.po: Likewise.
17758 * po/nl.pl: Likewise.
17759 * po/pl.po: Likewise.
17760 * po/vi.po: Likewise.
17762 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17764 * Makeconfig [!+link] (+link-before-libc): New variable.
17765 [!+link] (+link-after-libc): Likewise.
17766 [!+link] (+link-tests): Likewise.
17767 [!+link] (+link): Define in terms of $(+link-before-libc) and
17768 $(+link-after-libc).
17769 [!+link-static] (+link-static-before-libc): New variable.
17770 [!+link-static] (+link-static-after-libc): Likewise.
17771 [!+link-static] (+link-static-tests): Likewise.
17772 [!+link-static] (+link-static): Define in terms of
17773 $(+link-static-before-libc) and $(+link-static-after-libc).
17774 [build-shared] (link-libc-before-gnulib): New variable.
17775 [build-shared] (link-libc-tests): Likewise.
17776 [build-shared] (link-libc): Define in terms of
17777 $(link-libc-before-gnulib).
17778 [!build-shared] (link-libc-tests): New variable.
17779 (link-libc-static-tests): New variable.
17780 [!gnulib] (gnulib-arch): New variable.
17781 [!gnulib] (gnulib-tests): Likewise.
17782 [!gnulib] (static-gnulib-arch): Likewise.
17783 [!gnulib] (static-gnulib-tests): Likewise.
17784 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17785 Define with "=" instead of ":=".
17786 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17787 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17788 * Rules (binaries-all-notests): New variable.
17789 (binaries-all-tests): Likewise.
17790 (binaries-static-notests): Likewise.
17791 (binaries-static-tests): Likewise.
17792 (binaries-all): Define using $(binaries-all-notests) and
17793 $(binaries-all-tests).
17794 (binaries-static): Define using $(binaries-static-notests) and
17795 $(binaries-static-tests).
17796 (binaries-shared-tests): New variable.
17797 (binaries-shared-notests): Likewise.
17798 (binaries-shared): Remove variable.
17799 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17800 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17801 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17802 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17803 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17804 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17805 * elf/Makefile (sln-modules): New variable.
17806 (extra-objs): Add $(sln-modules:=.o).
17807 (ldconfig-modules): Add static-stubs.
17808 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17809 * elf/static-stubs.c: New file.
17812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17813 by 7 not 8 to examine high bit of fractional part. Use volatile
17814 variables when splitting into final array of floats if
17815 __FLT_EVAL_METHOD__ != 0.
17816 * math/libm-test.inc (cos_test): Add another test.
17817 (sin_test): Likewise.
17818 * sysdeps/i386/fpu/libm-test-ulps: Update.
17821 * math/libm-test.inc (cosh_test): Add more tests.
17823 * version.h (RELEASE): Set to "development".
17824 (VERSION): Set to "2.16.90".
17826 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17828 * NEWS: Update copyright. Remove last-updated date.
17829 Mention math library bug fixes and timezone data changes.
17830 * README: Mention GNU/Hurd, x32, and HPPA support status.
17832 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17834 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17836 2012-06-27 Andreas Jaeger <aj@suse.de>
17838 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17840 2012-06-25 Andreas Jaeger <aj@suse.de>
17842 * sysdeps/s390/fpu/libm-test-ulps: Update.
17844 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17845 Thomas Schwinge <thomas@codesourcery.com>
17847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17848 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17852 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17854 * sysdeps/mach/start.c: Remove file.
17855 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17856 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17857 * sysdeps/sh/init-first.c: Likewise.
17859 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17860 registers for frame unwinding purposes, add CFI directives.
17861 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17863 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17866 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17867 __fortify_fail returning.
17868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17871 sysdeps/sh/____longjmp_chk.S.
17872 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17873 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17874 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17875 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17877 * sysdeps/sh/abort-instr.h: New file.
17878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17879 process in case exit returns.
17881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17882 initialize the GOT register before use.
17884 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17885 calculation of ARGC > 4.
17887 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17888 meaningful names to some local labels.
17890 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17891 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17894 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17895 (__arch_compare_and_exchange_val_16_acq): Likewise.
17896 (__arch_compare_and_exchange_val_32_acq): Likewise.
17897 (atomic_exchange_and_add): Fix gUSA sequence.
17898 (atomic_add): Likewise.
17899 (atomic_add_negative): Likewise.
17900 (atomic_add_zero): Likewise.
17901 (atomic_bit_test_set): Likewise.
17903 2012-06-22 Andreas Schwab <schwab@redhat.com>
17906 * include/link.h (struct link_map): Add l_free_initfini.
17907 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17909 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17910 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17911 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17914 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17916 * configure.in: Use AC_LANG_SOURCE.
17917 * configure: Regenerate.
17919 2012-06-22 Roland McGrath <roland@hack.frob.com>
17921 * configure.in (libc_cv_localstatedir): New substituted variable.
17922 * configure: Regenerated.
17923 * config.make.in (localstatedir): New variable, substituted from
17924 libc_cv_localstatedir.
17925 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17926 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17927 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17928 * sysdeps/gnu/configure: Regenerated.
17930 2012-06-21 Jeff Law <law@redhat.com>
17933 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17934 free. Simplify list management for _LIBC case.
17936 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17939 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17940 Clear sign bit of 64-bit integer value before comparing against
17943 * sysdeps/mach/configure: Regenerated.
17945 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17948 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17950 2012-06-21 Jeff Law <law@redhat.com>
17953 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17954 uint16_t for elements in the "seen" array to avoid char overflows.
17955 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17956 * elf/dl-open.c (dl_open_worker): Likewise.
17958 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17960 * scripts/list-sources.sh: Scan PORTS for translations.
17961 * po/libc.pot: Regenerated.
17963 2012-06-21 Andreas Jaeger <aj@suse.de>
17966 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17968 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17969 * bits/byteswap-16.h (__bswap_16): Likewise.
17970 * bits/byteswap.h (__bswap_constant_16): Likewise.
17972 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17975 * sysdeps/i386/fpu_control.h: Removed.
17976 * sysdeps/x86_64/fpu_control.h: Moved to ...
17977 * sysdeps/x86/fpu_control.h: Here.
17979 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17980 (_FPU_SETCW): Likewise.
17982 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17985 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17986 * sysdeps/x86/fpu/bits/mathinline.h: This.
17987 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17991 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17992 functions if __x86_64__ is defined.
17994 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17996 * string/endian.h: Add !__ASSEMBLER__ condition for including
17997 conversion interfaces.
17999 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18003 of ABS(x) in calculating zero to negative powers other than odd
18005 * math/libm-test.inc (pow_test): Add more tests.
18007 2012-06-15 Andreas Jaeger <aj@suse.de>
18009 * manual/contrib.texi (Contributors): Update entry of Liubov
18010 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18013 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18015 * string/string.h: Add __wur to GNU version of strerror_r.
18017 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18020 * string/Makefile (tests): Add tst-strtok_r.
18021 * string/tst-strtok_r.c: New file.
18022 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18023 RAX_LP/RDX_LP on SAVE_PTR.
18025 2012-06-14 Roland McGrath <roland@hack.frob.com>
18027 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18029 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18031 * libm_test.inc (csqrt_test): Allow more spurious underflow
18033 (j0_test): Likewise.
18034 (j1_test): Likewise.
18035 (y0_test): Likewise.
18036 (y1_test): Likewise.
18038 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18040 * po/Makefile (libc.pot): Use UTF-8 charset.
18042 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18045 Suppress sign-conversion warning from FD_SET.
18046 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18047 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18048 not unsigned long int.
18049 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18051 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18055 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18056 __extern_always_inline instead of __extern_inline.
18057 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18058 (__signbit): Likewise.
18059 (__signbitl): Support C++ namespace.
18060 (lrintf): New inline function.
18062 (llrintf): Likewise.
18063 (llrint): Likewise.
18073 (floorf): Likewise.
18074 (nearbyint): Likewise.
18075 (nearbyintf): Likewise.
18077 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18080 non-default versions.
18082 2012-06-11 Roland McGrath <roland@hack.frob.com>
18085 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18087 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18089 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18090 (FE_UPWARD, FE_DOWNWARD): Don't define.
18091 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18094 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18096 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18099 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18101 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18103 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18106 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18109 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18110 * sysdeps/i386/fpu/Implies: New file.
18111 * sysdeps/x86_64/fpu/Implies: Likewise.
18112 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18113 * sysdeps/x86/fpu/bits/fenv.h: This.
18115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18118 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18121 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18122 character 0xffff that matches the last element of the
18125 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18130 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18133 values higher than 25.6283.
18135 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18138 subnormal exponent extraction and add some __builtin_expect.
18139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18140 Fix for subnormal mantissa calculation.
18142 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18144 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18145 cpu2 is -1 and errno is not ENOSYS.
18147 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18150 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18151 * sysdeps/x86/bits/string.h: This.
18152 * sysdeps/x86_64/bits/string.h: Removed.
18154 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18155 if not compiling for x86-64, but compiling for >= i486.
18157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18158 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18160 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18161 New macro from Linux kernel 3.4.0.
18162 (FP_XSTATE_MAGIC2): Likewise.
18163 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18164 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18165 (struct _fpx_sw_bytes): New struct.
18166 (struct _xsave_hdr): Likewise.
18167 (struct _ymmh_state): Likewise.
18168 (struct _xstate): Likewise.
18170 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18171 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18172 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18173 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18175 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18177 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18178 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18179 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18180 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18181 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18182 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18184 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18187 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18188 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18189 (sysdep_headers): Include sys/platform/ppc.h.
18190 * sysdeps/powerpc/test-gettimebase.c: Test for
18191 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18192 * manual/Makefile (appendices): Include platform.texi.
18193 * manual/contrib.texi (Contributors): Update @node pointers.
18194 * manual/maint.texi (Maintenance): Likewise.
18195 (Platform): New node.
18196 * manual/platform.texi: New file. Document the new features.
18198 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18199 Jakub Jelinek <jakub@redhat.com>
18202 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18203 where __builtin_expect is unavailable.
18205 2012-06-03 David S. Miller <davem@davemloft.net>
18207 * stdlib/longlong.h: Updated from GCC.
18209 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18212 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18213 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18216 (GLIBC_2.16): Likewise.
18218 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18220 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18222 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18225 (default-abi): New variable.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18227 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18229 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18231 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18233 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18236 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18237 definition. Document in comment.
18239 2012-06-01 David S. Miller <davem@davemloft.net>
18241 * stdlib/longlong.h: Updated from GCC.
18243 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18246 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18247 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18248 sys/debugreg.h sys/io.h here.
18249 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18250 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18252 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18253 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18254 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18255 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18256 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18257 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18260 Define only if __x86_64__ is defined.
18262 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18266 Use int64_t for variable i.
18267 * math/libm-test.inc (fmod_test): Add more tests.
18269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18270 z computation is not scheduled after fetestexcept.
18271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18272 Use math_force_eval instead of asm to ensure calculation scheduled
18273 before exception test.
18274 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18275 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18277 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18280 computation is not scheduled after fetestexcept.
18282 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18285 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18288 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18290 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18291 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18293 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18296 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18298 (__WCHAR_MIN): Support __WORDSIZE == 64.
18299 (__WCHAR_MAX): Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18306 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18309 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18313 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18316 Defined to 1 if __x86_64__ isn't defined.
18317 (_STAT_VER_LINUX_OLD): New.
18318 (st_atime): Remove duplicate.
18319 (st_mtime): Likewise.
18320 (st_ctime): Likewise.
18322 2012-05-31 David S. Miller <davem@davemloft.net>
18324 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18327 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18329 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18333 * elf/dl-reloc.c: Include <_itoa.h>.
18334 (_dl_reloc_bad_type): Remove use of INTUSE.
18335 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18336 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18337 * stdio-common/psiginfo.c (psiginfo): Likewise.
18338 * stdio-common/psignal.c (psignal): Likewise.
18339 * string/strsignal.c (strsignal): Likewise.
18340 * include/signal.h (_sys_siglist): Declare hidden proto.
18341 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18342 INTVARDEF with libc_hidden_data_def.
18343 * stdio-common/itoa-udigits.c: Likewise.
18344 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18345 (_itoa_lower_digits_internal): Remove declaration.
18346 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18347 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18348 (_sys_sigabbrev_internal): Remove aliases.
18349 (_sys_siglist): Define hidden alias.
18351 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18356 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18359 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18360 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18362 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18363 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18364 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18365 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18367 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18369 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18370 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18371 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18373 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18381 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18385 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18386 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18387 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18388 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18389 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18390 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18392 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18393 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18395 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18396 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18402 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18403 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18405 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18407 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18408 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18409 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18411 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18413 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18415 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18417 * math/math.h (M_El): Use two more decimal places.
18418 (M_LOG2El): Likewise.
18419 (M_LOG10El): Likewise.
18420 (M_LN2l): Likewise.
18421 (M_LN10l): Likewise.
18423 (M_PI_2l): Likewise.
18424 (M_PI_4l): Likewise.
18425 (M_1_PIl): Likewise.
18426 (M_2_PIl): Likewise.
18427 (M_2_SQRTPIl): Likewise.
18428 (M_SQRT2l): Likewise.
18429 (M_SQRT1_2l): Likewise.
18431 2012-05-31 David S. Miller <davem@davemloft.net>
18433 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18434 values between float registers.
18435 * sysdeps/sparc/sparc64/memset.S: Likewise.
18436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18438 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18440 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18441 -D_FORTIFY_SOURCE=1.
18442 (CPPFLAGS-tst-longjmp_chk.c): Define.
18443 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18444 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18445 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18446 CFLAGS-tst-wchar-h.c.
18448 2012-05-31 Marek Polacek <polacek@redhat.com>
18451 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18452 __endmntent_internal): Remove declaration.
18453 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18454 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18455 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18457 2012-05-30 David S. Miller <davem@davemloft.net>
18459 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18460 (___Q_simulate_exceptions): Use real FP ops rather than writing
18462 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18465 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18468 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18469 * sysdeps/x86/bits/xtitypes.h: This.
18471 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18472 * sysdeps/x86/bits/wordsize.h: This.
18474 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18475 * sysdeps/x86/bits/huge_vall.h: This.
18477 * sysdeps/i386/bits/select.h: Removed.
18478 * sysdeps/x86_64/bits/select.h: Renamed to ...
18479 * sysdeps/x86/bits/select.h: This.
18481 * sysdeps/i386/bits/setjmp.h: Removed.
18482 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18483 * sysdeps/x86/bits/setjmp.h: This.
18485 * sysdeps/i386/bits/mathdef.h: Removed.
18486 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18487 * sysdeps/x86/bits/mathdef.h: This.
18489 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18492 * include/sys/socket.h (__connect_internal)
18493 (__libc_sa_len_internal): Remove declaration.
18494 (__connect, __libc_sa_len): Declare hidden_proto.
18495 (SA_LEN): Remove use of INTUSE.
18496 * socket/connect.c: Add libc_hidden_def.
18497 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18498 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18499 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18501 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18503 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18504 of adding _internal alias.
18506 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18509 * sysdeps/i386/bits/link.h: Removed.
18510 * sysdeps/i386/bits/linkmap.h: Likewise.
18511 * sysdeps/x86_64/bits/link.h: Renamed to ...
18512 * sysdeps/x86/bits/link.h: This.
18513 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18514 * sysdeps/x86/bits/linkmap.h: This.
18516 * sysdeps/i386/bits/endian.h: Removed.
18517 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18518 * sysdeps/x86/bits/endian.h: This.
18520 * sysdeps/i386/bits/byteswap.h: Removed.
18521 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18522 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18523 * sysdeps/x86/bits/byteswap.h: This.
18524 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18525 * sysdeps/x86/bits/byteswap-16.h: This.
18526 * sysdeps/i386/Implies: Add x86.
18527 * sysdeps/x86_64/Implies: Likewise.
18529 2012-05-30 David S. Miller <davem@davemloft.net>
18531 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18532 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18534 (FP_TRAPPING_EXCEPTIONS): Define.
18535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18536 (FP_TRAPPING_EXCEPTIONS): Define.
18537 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18538 subnormals only when inexact has been signalled or underflow
18539 exceptions are enabled.
18540 (_FP_PACK_CANONICAL): Likewise.
18542 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18546 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18548 2012-05-30 Richard Henderson <rth@twiddle.net>
18550 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18551 with #ifndef NOT_IN_libc.
18553 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18554 marked to avoid plt entry.
18556 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18559 * Makeconfig (default-abi): New macro.
18560 (abi-includes): Likewise.
18561 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18562 $(abi-$(default-abi)-lib-soname) for soname if defined.
18563 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18565 * Makefile (installed-stubs): Likewise.
18566 * include/stubs-biarch.h: Removed.
18567 * scripts/lib-names.awk: Only handle one library at a time.
18568 * scripts/soversions.awk: Remove WORDSIZE support.
18569 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18573 (syscall-list-default-condition): Likewise.
18574 (syscall-list-default-condition): Likewise.
18575 (syscall-list-includes): Likewise.
18576 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18577 syscall-list-* with abi-*. Handle undefined abi-variants.
18578 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18579 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18580 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18581 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18582 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18583 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18585 (syscall-list-32-options): Likewise.
18586 (syscall-list-32-condition): Likewise.
18587 (syscall-list-64-options): Likewise.
18588 (syscall-list-64-condition): Likewise.
18589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18591 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18594 (abi-64-ld-soname): New macro.
18595 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18599 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18600 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18602 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18604 * sysdeps/unix/sysv/linux/kernel-features.h
18605 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18606 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18625 include <kernel-features.h>.
18626 [!__NR_ftruncate64]: Remove conditional code.
18627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18628 [__NR_ftruncate64]: Make code unconditional.
18629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18631 * configure.in (libc_cv_fpie): Weaken to a compile test using
18632 LIBC_TRY_CC_OPTION.
18633 * configure: Regenerated.
18635 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18650 2012-05-27 David S. Miller <davem@davemloft.net>
18652 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18654 (__Q_simulate_exceptions): Return void. Change to simulate
18655 exceptions by writing into the %fsr.
18656 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18657 (__Qp_handle_exceptions): Likewise.
18659 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18660 __Qp_handle_exceptions.
18661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18662 __Qp_handle_exceptions.
18663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18664 as unused and give dummy FP_RND_NEAREST initializer.
18665 (FP_INHIBIT_RESULTS): Define.
18666 (___Q_simulate_exceptions): Update declaration.
18667 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18670 as unused and give dummy FP_RND_NEAREST initializer.
18671 (__Qp_handle_exceptions): Update declaration.
18672 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18675 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18677 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18678 the temporary FPU control word.
18679 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18680 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18681 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18682 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18684 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18685 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18686 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18687 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18688 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18691 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18693 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18696 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18698 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18699 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18700 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18701 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18703 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18704 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18707 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18709 * po/h.po: Update from translation team.
18711 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18713 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18715 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18716 handling of denormals.
18717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18718 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18719 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18726 2012-05-26 Marek Polacek <polacek@redhat.com>
18729 * math/libm-test.inc (fma_test): Don't always expect underflow
18732 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 * elf/tst-execstack.c: Include stackinfo.h.
18736 (do_test): Adjust test case to ensure that pthread_getattr_np
18737 behaviour remains the same after marking stack executable.
18739 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18741 * sysdeps/unix/sysv/linux/kernel-features.h
18742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18745 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18746 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18747 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18749 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18750 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18752 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18754 * configure.in: Define the default includes to being none.
18755 * configure: Regenerated.
18757 2012-05-25 Roland McGrath <roland@hack.frob.com>
18759 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18760 * sysdeps/x86_64/setjmp.S: Likewise.
18761 * sysdeps/i386/bsd-setjmp.S: Likewise.
18762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18763 * sysdeps/i386/setjmp.S: Likewise.
18764 * sysdeps/i386/__longjmp.S: Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18768 * include/stap-probe.h: New file.
18769 * configure.in: Handle --enable-systemtap.
18770 * configure: Regenerated.
18771 * config.h.in (USE_STAP_PROBE): New #undef.
18772 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18773 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18774 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18776 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18780 to 2.4.0 where earlier.
18781 * sysdeps/unix/sysv/linux/configure: Regenerated.
18782 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18783 <kernel-features.h>.
18784 [__ASSUME_32BITUIDS]: Make code unconditional.
18785 [!__ASSUME_32BITUIDS]: Remove conditional code.
18786 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18787 <kernel-features.h>.
18788 [__ASSUME_32BITUIDS]: Make code unconditional.
18789 [!__ASSUME_32BITUIDS]: Remove conditional code.
18790 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18791 [__ASSUME_32BITUIDS]: Make code unconditional.
18792 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18793 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18794 <kernel-features.h>.
18795 [__ASSUME_32BITUIDS]: Make code unconditional.
18796 [!__ASSUME_32BITUIDS]: Remove conditional code.
18797 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18798 <kernel-features.h>.
18799 [__ASSUME_32BITUIDS]: Make code unconditional.
18800 [!__ASSUME_32BITUIDS]: Remove conditional code.
18801 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18802 <kernel-features.h>.
18803 [__ASSUME_32BITUIDS]: Make code unconditional.
18804 [!__ASSUME_32BITUIDS]: Remove conditional code.
18805 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18806 <kernel-features.h>.
18807 [__ASSUME_32BITUIDS]: Make code unconditional.
18808 [!__ASSUME_32BITUIDS]: Remove conditional code.
18809 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18810 <kernel-features.h>.
18811 [__ASSUME_32BITUIDS]: Make code unconditional.
18812 [!__ASSUME_32BITUIDS]: Remove conditional code.
18813 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18814 <kernel-features.h>.
18815 [__ASSUME_32BITUIDS]: Make code unconditional.
18816 [!__ASSUME_32BITUIDS]: Remove conditional code.
18817 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18818 <kernel-features.h>.
18819 [__ASSUME_32BITUIDS]: Make code unconditional.
18820 [!__ASSUME_32BITUIDS]: Remove conditional code.
18821 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18822 <kernel-features.h>.
18823 [__ASSUME_32BITUIDS]: Make code unconditional.
18824 [!__ASSUME_32BITUIDS]: Remove conditional code.
18825 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18826 <kernel-features.h>.
18827 [__ASSUME_32BITUIDS]: Make code unconditional.
18828 [!__ASSUME_32BITUIDS]: Remove conditional code.
18829 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18830 <kernel-features.h>.
18831 [__ASSUME_32BITUIDS]: Make code unconditional.
18832 [!__ASSUME_32BITUIDS]: Remove conditional code.
18833 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18834 <kernel-features.h>.
18835 [__NR_setresgid] (__setresgid): Do not declare.
18836 [__ASSUME_32BITUIDS]: Make code unconditional.
18837 [!__ASSUME_32BITUIDS]: Remove conditional code.
18838 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18839 <kernel-features.h>.
18840 [__NR_setresuid] (__setresuid): Do not declare.
18841 [__ASSUME_32BITUIDS]: Make code unconditional.
18842 [!__ASSUME_32BITUIDS]: Remove conditional code.
18843 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18844 <kernel-features.h>.
18845 [__ASSUME_32BITUIDS]: Make code unconditional.
18846 [!__ASSUME_32BITUIDS]: Remove conditional code.
18847 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18848 <kernel-features.h>.
18849 [__ASSUME_32BITUIDS]: Make code unconditional.
18850 [!__ASSUME_32BITUIDS]: Remove conditional code.
18851 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18852 <kernel-features.h>.
18853 [__ASSUME_32BITUIDS]: Make code unconditional.
18854 [!__ASSUME_32BITUIDS]: Remove conditional code.
18855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18856 <kernel-features.h>.
18857 [__ASSUME_32BITUIDS]: Make code unconditional.
18858 [!__ASSUME_32BITUIDS]: Remove conditional code.
18859 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18860 <kernel-features.h>.
18861 [__ASSUME_32BITUIDS]: Make code unconditional.
18862 [!__ASSUME_32BITUIDS]: Remove conditional code.
18863 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18864 <kernel-features.h>.
18865 [__ASSUME_32BITUIDS]: Make code unconditional.
18866 [!__ASSUME_32BITUIDS]: Remove conditional code.
18867 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18868 <kernel-features.h>.
18869 [__ASSUME_32BITUIDS]: Make code unconditional.
18870 [!__ASSUME_32BITUIDS]: Remove conditional code.
18871 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18872 <kernel-features.h>.
18873 [__ASSUME_32BITUIDS]: Make code unconditional.
18874 [!__ASSUME_32BITUIDS]: Remove conditional code.
18875 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18876 <kernel-features.h>.
18877 [__ASSUME_32BITUIDS]: Make code unconditional.
18878 [!__ASSUME_32BITUIDS]: Remove conditional code.
18879 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18880 <kernel-features.h>.
18881 [__ASSUME_32BITUIDS]: Make code unconditional.
18882 [!__ASSUME_32BITUIDS]: Remove conditional code.
18883 * sysdeps/unix/sysv/linux/kernel-features.h
18884 (__ASSUME_SETRESUID_SYSCALL): Remove.
18885 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18886 (__ASSUME_32BITUIDS): Likewise.
18887 (__ASSUME_LDT_WORKS): Likewise.
18888 (__ASSUME_O_DIRECTORY): Likewise.
18889 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18890 architecture but not kernel version.
18891 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18892 (__ASSUME_MMAP2_SYSCALL): Likewise.
18893 (__ASSUME_STAT64_SYSCALL): Likewise.
18894 (__ASSUME_IPC64): Likewise.
18895 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18896 <kernel-features.h>.
18897 [__ASSUME_32BITUIDS]: Make code unconditional.
18898 [!__ASSUME_32BITUIDS]: Remove conditional code.
18899 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18900 <kernel-features.h>.
18901 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18902 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18903 132096]: Remove conditional code.
18904 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18905 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18906 <kernel-features.h>.
18907 [__ASSUME_32BITUIDS]: Make code unconditional.
18908 [!__ASSUME_32BITUIDS]: Remove conditional code.
18909 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18910 <kernel-features.h>.
18911 [__ASSUME_32BITUIDS]: Make code unconditional.
18912 [!__ASSUME_32BITUIDS]: Remove conditional code.
18913 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18914 <kernel-features.h>.
18915 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18917 (__setresgid): Do not declare.
18918 [__ASSUME_32BITUIDS]: Make code unconditional.
18919 [!__ASSUME_32BITUIDS]: Remove conditional code.
18920 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18921 <kernel-features.h>.
18922 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18924 (__setresuid): Do not declare.
18925 [__ASSUME_32BITUIDS]: Make code unconditional.
18926 [!__ASSUME_32BITUIDS]: Remove conditional code.
18927 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18928 <kernel-features.h>.
18929 [__ASSUME_32BITUIDS]: Make code unconditional.
18930 [!__ASSUME_32BITUIDS]: Remove conditional code.
18931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18932 <kernel-features.h>.
18933 [__ASSUME_32BITUIDS]: Make code unconditional.
18934 [!__ASSUME_32BITUIDS]: Remove conditional code.
18936 2012-05-25 Richard Henderson <rth@twiddle.net>
18938 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18939 dl_hwcap to ifunc resolver.
18940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18942 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18943 dl_hwcap to ifunc resolver.
18944 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18946 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18949 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18950 for |x| <= 2**-26, not 2**-57.
18951 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18954 2012-05-24 Jeff Law <law@redhat.com>
18956 * stdio-common/Makefile (tests): Add bug25.
18957 * stdio-common/bug25.c: New test.
18959 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18962 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18963 multiple of MALLOC_ALIGNMENT in size.
18964 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18966 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18968 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18970 (FILENAME_MAX): Use macro-int-constant.
18971 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18972 (_IOFBF): Use macro-int-constant.
18973 (_IOLBF): Likewise.
18974 (_IONBF): Likewise.
18975 (SEEK_CUR): Likewise.
18976 (SEEK_END): Likewise.
18977 (SEEK_SET): Likewise.
18978 (TMP_MAX): Likewise.
18979 (EOF): Use macro-int-constant. Require < 0.
18980 (NULL): Use macro-constant. Require == 0.
18981 (stdin): Require type to be FILE *.
18982 (stdout): Likewise.
18983 (stderr): Likewise.
18984 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18985 macro-int-constant.
18986 (EXIT_SUCCESS): Likewise.
18987 (NULL): Use macro-constant. Require == 0.
18988 (RAND_MAX): Use macro-int-constant.
18989 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18990 [C99-based standards] (strtof): Require function.
18991 [C99-based standards] (strtold): Likewise.
18992 [C99-based standards] (strtoll): Likewise.
18993 [C99-based standards] (strtoull): Likewise.
18994 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18995 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18996 [ISO || ISO99 || ISO11] (math.h): Likewise.
18997 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18998 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19001 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19004 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19005 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19006 * intl/dgettext.c (DCGETTEXT): Likewise.
19007 * intl/gettext.c (DCGETTEXT): Likewise.
19008 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19009 * posix/regex_internal.h (gettext): Likewise.
19010 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19011 Remove declaration.
19012 * include/argz.h (__argz_count_internal)
19013 (__argz_stringify_internal): Remove declaration.
19014 (__argz_count, __argz_stringify): Declare hidden proto.
19015 * intl/dcgettext.c: Remove use of INTDEF.
19016 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19017 * string/argz-stringify.c: Likewise.
19018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19020 Declare hidden proto.
19021 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19022 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19023 Declare hidden proto.
19024 * include/stdio.h (__asprintf_internal): Don't declare.
19025 (__asprintf): Don't define as macro. Declare hidden proto.
19026 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19027 (__fsetlocking): Declare hidden proto.
19028 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19029 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19031 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19032 (_IO_setlinebuf): Remove use of INTUSE.
19033 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19034 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19035 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19036 Remove declaration.
19037 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19038 (_IO_do_flush): Remove use of INTUSE.
19039 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19040 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19041 (_IO_adjust_column, _IO_least_wmarker)
19042 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19043 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19044 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19045 (_IO_default_doallocate, _IO_wdefault_doallocate)
19046 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19047 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19048 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19049 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19050 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19051 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19052 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19053 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19054 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19055 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19056 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19057 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19058 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19060 (_IO_flush_all_internal, _IO_adjust_column_internal)
19061 (_IO_default_uflow_internal, _IO_default_finish_internal)
19062 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19063 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19064 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19065 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19066 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19067 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19068 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19069 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19070 (_IO_file_close_internal, _IO_file_close_it_internal)
19071 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19072 (_IO_file_init_internal, _IO_file_attach_internal)
19073 (_IO_file_fopen_internal, _IO_file_read_internal)
19074 (_IO_file_sync_internal, _IO_file_seek_internal)
19075 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19076 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19077 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19078 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19079 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19080 (_IO_list_all_internal, _IO_link_in_internal)
19081 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19082 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19083 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19084 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19085 (_IO_do_write_internal, _IO_padn_internal)
19086 (_IO_getline_info_internal, _IO_getline_internal)
19087 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19088 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19089 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19090 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19091 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19092 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19093 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19094 with libc_hidden_ver, remove use of INTUSE.
19095 * libio/genops.c: Likewise.
19096 * libio/freopen.c: Likewise.
19097 * libio/freopen64.c: Likewise.
19098 * libio/iofclose.c: Likewise.
19099 * libio/iofdopen.c: Likewise.
19100 * libio/iofflush.c: Likewise.
19101 * libio/iofflush_u.c: Likewise.
19102 * libio/iofgets.c: Likewise.
19103 * libio/iofgets_u.c: Likewise.
19104 * libio/iofopen.c: Likewise.
19105 * libio/iofopncook.c: Likewise.
19106 * libio/iofread.c: Likewise.
19107 * libio/iofread_u.c: Likewise.
19108 * libio/ioftell.c: Likewise.
19109 * libio/iofwrite.c: Likewise.
19110 * libio/iogetline.c: Likewise.
19111 * libio/iogets.c: Likewise.
19112 * libio/iogetwline.c: Likewise.
19113 * libio/iopadn.c: Likewise.
19114 * libio/iopopen.c: Likewise.
19115 * libio/ioseekoff.c: Likewise.
19116 * libio/ioseekpos.c: Likewise.
19117 * libio/iosetbuffer.c: Likewise.
19118 * libio/iosetvbuf.c: Likewise.
19119 * libio/ioungetc.c: Likewise.
19120 * libio/ioungetwc.c: Likewise.
19121 * libio/iovdprintf.c: Likewise.
19122 * libio/iovsprintf.c: Likewise.
19123 * libio/iovsscanf.c: Likewise.
19124 * libio/memstream.c: Likewise.
19125 * libio/obprintf.c: Likewise.
19126 * libio/oldfileops.c: Likewise.
19127 * libio/oldiofclose.c: Likewise.
19128 * libio/oldiofdopen.c: Likewise.
19129 * libio/oldiofopen.c: Likewise.
19130 * libio/oldiopopen.c: Likewise.
19131 * libio/oldstdfiles.c: Likewise.
19132 * libio/putc.c: Likewise.
19133 * libio/setbuf.c: Likewise.
19134 * libio/setlinebuf.c: Likewise.
19135 * libio/stdfiles.c: Likewise.
19136 * libio/strops.c: Likewise.
19137 * libio/vasprintf.c: Likewise.
19138 * libio/vscanf.c: Likewise.
19139 * libio/vsnprintf.c: Likewise.
19140 * libio/vswprintf.c: Likewise.
19141 * libio/wfiledoalloc.c: Likewise.
19142 * libio/wfileops.c: Likewise.
19143 * libio/wgenops.c: Likewise.
19144 * libio/wmemstream.c: Likewise.
19145 * libio/wstrops.c: Likewise.
19146 * libio/__fpurge.c: Likewise.
19147 * libio/__fsetlocking.c: Likewise.
19148 * assert/assert.c: Likewise.
19149 * debug/fgets_chk.c: Likewise.
19150 * debug/fgets_u_chk.c: Likewise.
19151 * debug/fread_chk.c: Likewise.
19152 * debug/fread_u_chk.c: Likewise.
19153 * debug/gets_chk.c: Likewise.
19154 * debug/obprintf_chk.c: Likewise.
19155 * debug/vasprintf_chk.c: Likewise.
19156 * debug/vdprintf_chk.c: Likewise.
19157 * debug/vsnprintf_chk.c: Likewise.
19158 * debug/vsprintf_chk.c: Likewise.
19159 * malloc/mtrace.c: Likewise.
19160 * misc/error.c: Likewise.
19161 * misc/syslog.c: Likewise.
19162 * stdio-common/asprintf.c: Likewise.
19163 * stdio-common/fxprintf.c: Likewise.
19164 * stdio-common/getw.c: Likewise.
19165 * stdio-common/isoc99_fscanf.c: Likewise.
19166 * stdio-common/isoc99_scanf.c: Likewise.
19167 * stdio-common/isoc99_vfscanf.c: Likewise.
19168 * stdio-common/isoc99_vscanf.c: Likewise.
19169 * stdio-common/isoc99_vsscanf.c: Likewise.
19170 * stdio-common/printf-prs.c: Likewise.
19171 * stdio-common/printf_fp.c: Likewise.
19172 * stdio-common/printf_fphex.c: Likewise.
19173 * stdio-common/printf_size.c: Likewise.
19174 * stdio-common/putw.c: Likewise.
19175 * stdio-common/scanf.c: Likewise.
19176 * stdio-common/sprintf.c: Likewise.
19177 * stdio-common/tmpfile.c: Likewise.
19178 * stdio-common/vfprintf.c: Likewise.
19179 * stdio-common/vfscanf.c: Likewise.
19180 * stdlib/strfmon_l.c: Likewise.
19181 * sunrpc/openchild.c: Likewise.
19182 * sunrpc/xdr_stdio.c: Likewise.
19183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19184 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19186 2012-05-24 Roland McGrath <roland@hack.frob.com>
19188 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19190 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19191 in the third column, to generate for the shared library an IFUNC
19192 that uses _dl_vdso_vsym.
19193 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19194 * Makeconfig (object-suffixes-noshared): New variable.
19196 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19197 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19198 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19199 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19202 * include/sys/time.h (__gettimeofday): Remove macro.
19203 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19204 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19206 (__gettimeofday): Add libc_hidden_def.
19207 (gettimeofday): Add libc_hidden_weak.
19208 * sysdeps/mach/gettimeofday.c: Likewise.
19209 * sysdeps/posix/gettimeofday.c: Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19211 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19213 (__gettimeofday_internal): Remove strong_alias.
19214 (__gettimeofday): Add libc_hidden_def.
19215 (gettimeofday): Add libc_hidden_weak.
19216 * sysdeps/unix/syscalls.list (gettimeofday):
19217 Remove __gettimeofday_internal alias.
19219 2012-05-24 Daniel Jacobowitz <drow@false.org>
19220 H.J. Lu <hongjiu.lu@intel.com>
19223 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19224 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19225 (largebin_index_32_big): New.
19226 (largebin_index): Use it for 16-byte alignment.
19227 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19228 correction with front_misalign.
19230 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19258 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19259 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19261 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19265 * math/libm-test.inc (exp_test): Add test from bug 14036.
19266 (pow_test): Add test from bug 10846.
19268 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19270 (special_function): Do not include flags in test name.
19271 (parse_args): Likewise.
19272 * sysdeps/i386/fpu/libm-test-ulps: Update.
19273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19274 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19278 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19280 * math/libm-test.inc ("Philosophy"): Update comment about
19282 (UNDERFLOW_EXCEPTION): New macro.
19283 (UNDERFLOW_EXCEPTION_OK): Likewise.
19284 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19285 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19286 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19287 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19288 (INVALID_EXCEPTION_OK): Update value.
19289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19290 (OVERFLOW_EXCEPTION_OK): Likewise.
19291 (IGNORE_ZERO_INF_SIGN): Likewise.
19292 (test_exceptions): Handle underflow exceptions.
19293 (acos_test): Update for underflow exception expectations.
19294 (cexp_test): Likewise.
19295 (clog_test): Likewise.
19296 (clog10_test): Likewise.
19297 (csqrt_test): Likewise.
19298 (ctan_test): Likewise.
19299 (ctanh_test): Likewise.
19300 (exp_test): Likewise.
19301 (exp10_test): Likewise.
19302 (exp2_test): Likewise.
19303 (expm1_test): Likewise.
19304 (fma_test): Likewise.
19305 (j0_test): Likewise.
19306 (jn_test): Likewise.
19307 (nexttoward_test): Likewise.
19308 (pow_test): Likewise.
19309 (scalbn_test): Likewise.
19310 (scalbln_test): Likewise.
19311 (tan_test): Likewise.
19312 (y1_test): Likewise.
19313 * sysdeps/i386/fpu/libm-test-ulps: Update.
19314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19316 2012-05-23 David S. Miller <davem@davemloft.net>
19318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19319 (__libc_sigaction): Remove unused local variables.
19321 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19323 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19325 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19327 mktime: avoid signed integer overflow
19328 * time/mktime.c (__mktime_internal): Do not mishandle the case
19329 where diff == INT_MIN.
19331 mktime: simplify computation of average
19332 * time/mktime.c (ranged_convert): Use new time_t_avg function
19333 instead of rolling our own (probably-slower) code.
19335 mktime: do not assume signed right shift propagates sign bit
19336 * time/mktime.c (isdst_differ): New static function.
19337 (__mktime_internal): No need to normalize tm_isdst now.
19338 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19341 mktime: merge another wrapv change from gnulib
19342 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19343 from some compilers.
19345 mktime: remove incorrect attempt at unusual arithmetics
19346 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19347 The code didn't really work on such machines anyway.
19348 (TYPE_MINIMUM): Assume two's complement.
19349 (twos_complement_arithmetic): Verify that long_int and time_t
19350 are two's complement (or unsigned, in the latter case).
19352 mktime: check signed shifts on long_int and time_t, too
19353 * time/mktime.c (SHR): Check that shifts work as desired
19354 on the types long_int and time_t too, as SHR is used on
19357 mktime: do not assume 'long' is wide enough
19358 * time/mktime.c (verify): Move decl up.
19359 (long_int): New type.
19360 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19361 to remove assumption in the code that 'long' is wide enough to
19362 store year values. This assumption is not true on x32 and on
19363 some non-glibc platforms.
19365 mktime: merge wrapv change from gnulib
19366 * time/mktime.c (WRAPV): New macro.
19367 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19368 (guess_time_tm, __mktime_internal): Do not assume that signed
19369 integer overflow wraps around; modern compilers generate code
19370 where this assumption is no longer valid.
19372 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19374 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19375 Replace "jmp L(pseudo_end)" with "ret".
19376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19379 2012-05-23 Andreas Jaeger <aj@suse.de>
19381 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19382 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19384 2012-05-23 Andreas Jaeger <aj@suse.de>
19385 Maximilian Attems <max@stro.at>
19387 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19390 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19393 code so that pseudo_end is just ret and the stack pointer is
19394 correct also for static library in error case.
19396 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19398 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19399 move to syscalls.list.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19405 * manual/install.texi (Running make install): Do not mention Linux
19406 kernel version for which pt_chown is not needed.
19407 (Linux): Do not mention problems with nscd with 2.0 kernels.
19408 * INSTALL: Regenerated.
19410 2012-05-23 Andreas Jaeger <aj@suse.de>
19412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19413 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19415 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19417 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19419 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19425 * sysdeps/unix/sysv/linux/bits/in.h
19426 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19428 2012-05-22 Roland McGrath <roland@hack.frob.com>
19430 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19431 (PREPARE_VERSION): Just use assert instead, it will be elided
19432 under [NDEBUG] anyway.
19434 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19436 * sysdeps/unix/sysv/linux/Makefile: Include
19437 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19438 (sysdep_routines): Remove sysctl.
19439 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19440 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19441 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19442 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19443 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19445 2012-05-22 Andreas Jaeger <aj@suse.de>
19447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19448 that pseudo_end is just ret and the stack pointer is correct also
19449 for static library in error case.
19451 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19454 * nss/nsswitch.c (defconfig_entries): New variable.
19455 (__nss_database_lookup): Don't leak defconfig entries.
19456 (nss_parse_service_list): Don't leak on error paths.
19457 (free_database_entries): New function.
19458 (free_defconfig): New function.
19459 (free_mem): Move common code to free_database_entries.
19461 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19465 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19467 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19468 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19471 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19472 (INTERNAL_SYSCALL_TYPES): Likewise.
19473 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19474 (LOAD_REGS_TYPES_[1-6]): Likewise.
19475 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19476 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19478 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19481 copysignl for GLIBC_2_0.
19482 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19483 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19485 logbl for GLIBC_2_0.
19486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19489 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19494 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19497 * time/mktime.c: Update copyright years.
19499 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19501 mktime: merge comment-quoting-style change from gnulib
19502 * time/mktime.c: Quote 'like this' in comments.
19503 The GNU coding standards suggest that we no longer quote `like this',
19504 as "`" and "'" are typically rendered asymmetrically nowadays.
19505 The typical gnulib style is to quote 'like this' when quoting
19506 code, and "like this" when quoting English.
19508 * time/mktime.c (compile-command): Add "-I.".
19510 mktime: merge mktime-internal.h change from gnulib
19511 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19513 mktime: merge time_r change from gnulib
19514 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19516 mktime: merge DEBUG change from gnulib
19517 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19518 case system <time.h> has a #define.
19520 mktime: merge <sys/types.h> change from gnulib
19521 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19522 since <time.t> is now guaranteed to define time_t.
19524 mktime: merge HAVE_CONFIG_H change from gnulib
19525 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19527 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19532 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19534 (struct rusage): Use anonymous union to pad each field to
19537 2012-05-21 David S. Miller <davem@davemloft.net>
19539 * Makefules (o-iterator): Remove .s cases.
19540 (compile-command.s): Delete.
19541 (COMPILE.s): Delete.
19542 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19544 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19546 * configure.in (libc_cv_predef_stack_protector): Only consider
19547 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19548 * configure: Regenerated.
19550 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19553 New macro. Use R*LP on int and pointer.
19554 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19555 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19556 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19557 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19559 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19560 [__WORDSIZE_TIME64_COMPAT32] instead of
19561 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19562 (struct utmp): Likewise.
19563 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19564 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19566 (__WORDSIZE_TIME64_COMPAT32): This.
19567 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19568 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19569 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19570 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19571 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19572 (__WORDSIZE_TIME64_COMPAT32): New macro.
19574 2012-05-21 Andreas Jaeger <aj@suse.de>
19576 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19577 only if [SHARED]. Add prototype for __wcschr_ia32.
19579 2012-05-21 Roland McGrath <roland@hack.frob.com>
19581 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19582 of %rbp unmolested in the jmp_buf while mangling the low bits.
19583 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19584 unmolested high bits of %rbp while demangling the low bits.
19585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19587 2012-05-21 Andreas Jaeger <aj@suse.de>
19589 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19590 * sunrpc/svc_simple.c: Use it for registerrpc.
19591 * sunrpc/xcrypt.c: Use it for passwd2des.
19593 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19595 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19597 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19598 Don't define if [__SYSCALL_WORDSIZE != 32].
19599 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19602 2012-05-21 Bruno Haible <bruno@clisp.org>
19603 Andreas Jaeger <aj@suse.de>
19605 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19606 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19607 inptr and inend for must_buffer_ch.
19608 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19609 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19610 * stdio-common/Makefile (tests): Remove bug15.
19611 (bug15-ENV): Remove macro.
19612 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19615 2012-05-19 Andreas Jaeger <aj@suse.de>
19616 Roland McGrath <roland@hack.frob.com>
19618 * manual/contrib.texi: Completely rewritten. It contains now an
19619 alphabetical list of contributors and their contributions.
19621 2012-05-21 Richard Henderson <rth@twiddle.net>
19623 * misc/getauxval.c (__getauxval): Use unsigned long int.
19624 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19625 (getauxval): Use unsigned long int.
19627 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19629 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19631 2012-05-21 Roland McGrath <roland@hack.frob.com>
19633 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19634 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19635 __alignof__ (long double).
19637 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19641 2012-05-20 Richard Henderson <rth@twiddle.net>
19643 * misc/getauxval.c: New file.
19644 * misc/sys/auxv.h: New file.
19645 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19646 (routines): Add getauxval.
19647 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19648 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19649 * elf/dl-sysdep.c (_dl_auxv): Remove.
19650 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19651 * elf/dl-support.c (_dl_auxv): New variable.
19652 (_dl_aux_init): Initialize it.
19653 * manual/startup.texi (Auxiliary Vector): New node.
19654 * sysdeps/generic/bits/hwcap.h: New file.
19655 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19656 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19657 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19658 * sysdeps/sparc/sysdep.h: ... here. Include it.
19659 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19672 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19676 2012-05-19 David S. Miller <davem@davemloft.net>
19678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19680 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19683 * math/s_ccosh.c: Include <float.h>
19684 (__ccosh): Avoid internal overflow calculating sinh and cosh
19685 values before multiplying by sin and cos values.
19686 * math/s_ccoshf.c: Likewise.
19687 * math/s_ccoshl.c: Likewise.
19688 * math/s_csin.c: Likewise.
19689 * math/s_csinf.c: Likewise.
19690 * math/s_csinl.c: Likewise.
19691 * math/s_csinh.c: Likewise.
19692 * math/s_csinhf.c: Likewise.
19693 * math/s_csinhl.c: Likewise.
19694 * math/libm-test.inc (ccos_test): Add more tests.
19695 (ccosh_test): Likewise.
19696 (csin_test): Likewise.
19697 (csinh_test): Likewise.
19698 * sysdeps/i386/fpu/libm-test-ulps: Update.
19699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19701 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19703 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19704 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19706 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19708 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19710 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19711 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19712 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19713 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19714 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19715 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19716 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19717 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19718 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19719 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19720 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19721 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19722 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19723 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19724 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19725 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19726 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19727 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19728 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19729 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19730 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19731 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19732 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19733 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19734 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19735 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19736 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19737 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19738 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19739 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19740 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19742 2012-05-18 Andreas Jaeger <aj@suse.de>
19744 * csu/.gitignore: Delete.
19746 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19748 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19749 (timex): Use __syscall_slong_t.
19751 2012-05-18 Andreas Jaeger <aj@suse.de>
19752 Carlos O'Donell <carlos_odonell@mentor.com>
19754 * manual/install.texi (Configuring and compiling): Update
19755 description about files modified in the source directory.
19756 * INSTALL: Regenerated.
19758 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19760 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19761 value. Use "or" to set return value to -1.
19762 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19763 negate return value.
19765 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19767 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19768 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19769 failure if the compiler has Graphite support disabled.
19770 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19772 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19773 CFLAGS-memmove.c): Likewise.
19774 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19777 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19779 * sysdeps/x86_64/x32/_itoa.h: New file.
19781 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19782 getdents system call only if kernel and user dirents have the
19783 same d_ino and d_off.
19785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19786 LLONG_MAX != LONG_MAX.
19787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19788 (_fitoa_word): Likewise.
19790 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19793 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19797 include <bits/wordsize.h>. Check __x86_64__ instead of
19799 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19800 if __x86_64__ is defined. Use anonymous union on fpstate.
19802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19805 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19807 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19808 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19809 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19810 Refer to _rtld_local_ro instead of _rtld_global_ro.
19811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19813 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19815 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19817 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19818 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19819 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19821 * sysdeps/powerpc/powerpc32/dl-machine.c
19822 (__elf_machine_runtime_setup) [PROF]: Don't reference
19825 2012-05-18 Andreas Jaeger <aj@suse.de>
19827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19828 function only available for GCCs before 3.4 since GCC 3.4
19829 introduced a builtin.
19831 (llrintf): Likewise.
19832 (llrint): Likewise.
19839 (nearbyint): Likewise.
19840 (nearbyintf): Likewise.
19844 (floorf): Likewise.
19846 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19849 on both fields and cast pointer to __syscall_ulong_t.
19851 * bits/types.h (__fsword_t): New type.
19852 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19853 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19855 (__FSWORD_T_TYPE): Likewise.
19856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19857 (__FSWORD_T_TYPE): Likewise.
19858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19859 (__FSWORD_T_TYPE): Likewise.
19860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19861 (__FSWORD_T_TYPE): Likewise.
19862 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19863 __SWORD_TYPE with __fsword_t.
19864 (statfs64): Likewise.
19866 2012-05-17 David S. Miller <davem@davemloft.net>
19868 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19870 2012-05-17 Andreas Jaeger <aj@suse.de>
19872 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19875 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19877 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19879 2012-05-17 Andreas Jaeger <aj@suse.de>
19881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19884 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19886 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19888 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19890 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19891 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19893 2012-05-17 Andreas Jaeger <aj@suse.de>
19894 Carlos O'Donell <carlos_odonell@mentor.com>
19897 * sysdeps/x86_64/multiarch/init-arch.h
19898 (bit_YMM_Usable): Rename to...
19899 (bit_AVX_Usable): ... this.
19900 (bit_FMA4_Usable): New macro.
19901 (bit_XMM_state): New macro.
19902 (bit_YMM_state): New macro.
19903 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19904 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19905 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19906 (CPUID_OSXSAVE): New macro.
19907 (CPUID_AVX): New macro.
19908 (CPUID_FMA4): New macro.
19909 (index_YMM_Usable): Rename to...
19910 (index_AVX_Usable): ... this.
19911 (HAS_AVX): Use HAS_ARCH_FEATURE.
19912 (HAS_FMA4): Likewise.
19913 (HAS_YMM_USABLE): Remove.
19914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19915 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19917 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19918 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19919 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19920 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19921 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19923 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19925 * math/libm-test.c: Support platforms without multiple rounding modes.
19926 * math/bug-nextafter.c: Support platforms without FP exceptions.
19927 * math/bug-nexttoward.c: Likewise.
19928 * math/test-fenv.c: Likewise.
19929 * math/test-misc.c: Likewise.
19930 * stdlib/bug-getcontext.c: Likewise.
19932 2012-05-17 Andreas Jaeger <aj@suse.de>
19934 * manual/examples/search.c (critter_cmp): Change signature to
19936 * manual/string.texi (Collation Functions): Likewise.
19938 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19940 * bits/types.h: Fold copyright years.
19941 * bits/typesizes.h: Likewise.
19942 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19946 * time/time.h: Likewise.
19948 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19951 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19952 in instead of returning them. Return void.
19953 (__libc_mallinfo): Accumulate over all arenas.
19954 (__malloc_stats): Adjust for change in int_mallinfo interface.
19956 2012-05-16 Roland McGrath <roland@hack.frob.com>
19959 * configure.in (NM): Add AC_CHECK_TOOL for it.
19960 (libc_extra_cflags): New substituted variable.
19961 Check for -fstack-protector being used implicitly.
19962 * configure: Regenerated.
19963 * config.make.in (config-extra-cflags): New variable,
19964 gets @libc_extra_cflags@.
19965 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19968 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19969 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19970 * configure: Regenerated.
19971 * config.make.in (CPPUNDEFS): New substituted variable.
19972 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19973 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19974 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19976 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19978 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19979 (mq_attr): Use __syscall_slong_t.
19981 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19984 Check __x86_64__ instead of __WORDSIZE.
19985 (_STAT_VER_LINUX): Likewise.
19986 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19987 __syscall_ulong_t and __syscall_slong_t.
19988 (stat64): Likewise.
19990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19998 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20000 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20004 include <bits/wordsize.h>. Check __x86_64__ instead of
20006 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20008 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20011 include <bits/wordsize.h>. Check __x86_64__ instead of
20013 (user_regs_struct): Use "__extension__ unsigned long long"
20014 instead of "unsigned long" if __x86_64__ is defined.
20015 (user): Likewise. Pad after pointer field if __ILP32__ is
20018 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20020 * configure.in (makeinfo): Require version 4.5 or later. Allow
20022 * configure: Regenerated.
20023 * manual/install.texi (texinfo): Increase version requirement to
20025 * INSTALL: Regenerated.
20027 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20031 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20033 * sysdeps/x86_64/x32/ffs.c: New file.
20035 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20037 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20038 defined. Use __syscall_ulong_t.
20039 (shminfo): Use __syscall_ulong_t.
20040 (shm_info): Likewise.
20042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20045 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20047 (msgqnum_t): Use __syscall_ulong_t.
20048 (msglen_t): Likewise.
20049 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20052 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20055 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20057 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20058 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20060 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20064 include <bits/wordsize.h>. Check __x86_64__ instead of
20067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20068 "unsigned long long int" if __x86_64__ is defined.
20069 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20073 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20077 (GET_PC): Cast to uintptr_t first.
20078 (GET_FRAME): Likewise.
20079 (GET_STACK): Likewise.
20081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20087 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20088 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20089 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20102 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20103 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20104 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20105 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20111 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20113 * Makerules (+depfiles): Also collect depfiles from .oS in
20115 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20116 .oS, $(libnldbl-routines)).
20118 * Makerules (native-compile-mkdep-flags): Define.
20119 * sunrpc/Makefile (extra-objs): Add $(addprefix
20120 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20121 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20122 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20123 calling $(make-target-directory).
20125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20127 * bits/types.h (__snseconds_t): Removed.
20128 * time/time.h (struct timespec): Replace __snseconds_t with
20130 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20131 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20134 (__SNSECONDS_T_TYPE): Likewise.
20135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20136 (__SNSECONDS_T_TYPE): Likewise.
20137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20138 (__SNSECONDS_T_TYPE): Likewise.
20140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20142 * sysdeps/mach/hurd/bits/typesizes.h
20143 (__SYSCALL_SLONG_TYPE): New macro.
20144 (__SYSCALL_ULONG_TYPE): Likewise.
20146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20148 * bits/types.h (__syscall_slong_t): New type.
20149 (__syscall_ulong_t): Likewise.
20151 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20152 (__SYSCALL_ULONG_TYPE): Likewise.
20153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20154 (__SYSCALL_SLONG_TYPE): Likewise.
20155 (__SYSCALL_ULONG_TYPE): Likewise.
20156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20157 (__SYSCALL_SLONG_TYPE): Likewise.
20158 (__SYSCALL_ULONG_TYPE): Likewise.
20159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20160 (__SYSCALL_SLONG_TYPE): Likewise.
20161 (__SYSCALL_ULONG_TYPE): Likewise.
20163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20165 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20166 Add sigaltstack-offsets.sym.
20167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20168 <sigaltstack-offsets.h>.
20169 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20170 longjmp_msg pointer.
20171 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20172 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20174 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20176 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20178 * elf/stackguard-macros.h: Remove file.
20179 * sysdeps/generic/stackguard-macros.h: New file.
20180 * sysdeps/i386/stackguard-macros.h: Likewise.
20181 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20182 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20183 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20184 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20185 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20186 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20187 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20188 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20189 <elf/stackguard-macros.h>.
20192 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20193 __aligned__ in attribute.
20194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20195 (gregset_t): Likewise.
20197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20199 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20200 * sysdeps/x86_64/64/Implies-after: Here. New file.
20201 * sysdeps/x86_64/x32/Implies-after: New file.
20203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20205 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20206 and access return value for _dl_profile_fixup. Use R10_LP to
20209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20215 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20216 * sysdeps/x86_64/x32/sysdep.h: New file.
20218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20220 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20221 * sysdeps/x86_64/setjmp.S: Likewise.
20223 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20227 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20229 remove unused global constant.
20231 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20233 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20234 include of <not-cancel.h>.
20236 2012-05-15 Roland McGrath <roland@hack.frob.com>
20238 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20240 2012-05-15 Jeff Law <law@redhat.com>
20241 Andreas Jaeger <aj@suse.de>
20244 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20246 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20247 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20249 code changing __hst_map_handle.map.
20251 2012-05-15 Roland McGrath <roland@hack.frob.com>
20253 * configure.in (sysnames): Look for Implies-before and Implies-after
20255 * configure: Regenerated.
20257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20260 8-byte data alignment with LP_SIZE alignment.
20262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20264 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20269 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20273 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20274 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20281 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20282 (stackinfo_sub_sp): Likewise.
20284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20301 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20305 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20306 into R11_LP and load __x86_64_shared_cache_size_half into
20309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20314 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20323 powerpc32/power7/fpu/s_logb.c via #include.
20324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20325 powerpc32/power7/fpu/s_logbf.c via #include.
20326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20327 powerpc32/power7/fpu/s_logbl.c via #include.
20329 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20331 * README.libm: Remove file.
20333 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20335 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20336 count for x32. Use R*_LP and omit operand-size suffix.
20338 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20340 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20341 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20342 * sysdeps/x86_64/x32/shlib-versions: New file.
20344 2012-05-14 Roland McGrath <roland@hack.frob.com>
20346 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20347 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20348 Use _dl_fatal_printf instead.
20350 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20352 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20353 set if not set by the user. Do not allow for being unset.
20354 * sysdeps/unix/sysv/linux/configure: Regenerated.
20356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20358 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20359 the `q' suffix from lea and replace .quad with ASM_ADDR.
20361 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20364 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20366 (PTR_DEMANGLE): Likewise.
20368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20370 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20372 (ASM_ADDR): Likewise.
20373 (RAX_LP): Likewise.
20374 (RBP_LP): Likewise.
20375 (RBX_LP): Likewise.
20376 (RCX_LP): Likewise.
20377 (RDI_LP): Likewise.
20378 (RSI_LP): Likewise.
20379 (RSP_LP): Likewise.
20382 (R10_LP): Likewise.
20383 (R10_LP): Likewise.
20384 (R11_LP): Likewise.
20385 (R12_LP): Likewise.
20386 (R13_LP): Likewise.
20387 (R14_LP): Likewise.
20388 (R15_LP): Likewise.
20390 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20392 * sysdeps/x86_64/x32/dl-machine.h: New file.
20394 2012-05-14 Andreas Jaeger <aj@suse.de>
20396 * manual/Makefile (subdir): Remove export of subdir.
20397 (all): Remove target.
20398 (.PHONY): Remove all from list.
20399 (mkinstalldirs): Remove.
20400 (.PHONY): Remove installdirs from list.
20401 ($(inst_infodir)/libc.info): Use make-target-directory.
20402 (installdirs): Remove.
20403 (subdir_%): Remove.
20404 (glibc-targets): Remove.
20407 ($(objpfx)stubs ../po/manual.pot): Remove.
20408 ($(objpfx)stamp%): Remove.
20409 (make-target-directory): Remove.
20410 (subdir_install): Remove.
20411 (routines): Remove.
20418 * manual/.gitignore: Remove, it's not needed anymore.
20419 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20421 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20423 (texis): Renamed to $(objpfx)texis.
20424 (texis-path): New, contains path to generated files.
20425 (chapters.%): Use texis-path for complete path, add extra argument
20427 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20428 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20429 (summary,texi, stamp-summary): Use complete path of
20430 files. Generate files in build dir.
20431 (dir-add.texi): Build in build dir.
20432 (libm-err.texi,stamp-libm-err): Likewise.
20433 (version.texi, stamp-version): Likewise.
20434 (.%c.texi): Likewise.
20435 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20436 (mostlyclean): Remove target.
20437 (realclean): Remove target.
20438 (generated): Add new variable with contents from mostlyclean and
20439 realclean, remove entries duplicated in common-mostlyclean, add
20440 stamp-libm-err and stamp-version.
20441 (generated-dirs): Add libc directory.
20442 ($(inst_infodir)/libc.info): Install files from build dir.
20444 * manual/install.texi (Configuring and compiling): Adjust since
20445 the info files are not part of the tar ball anymore.
20447 2012-05-14 Andreas Jaeger <aj@suse.de>
20449 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20452 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20456 to 2.2.0 where earlier.
20457 * sysdeps/unix/sysv/linux/configure: Regenerated.
20458 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20459 Remove conditional code.
20460 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20461 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20462 Remove conditional code.
20463 [!__NR_lchown]: Likewise.
20464 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20465 [__NR_lchown]: Likewise.
20466 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20467 comment referencing __ASSUME_LCHOWN_SYSCALL.
20468 * sysdeps/unix/sysv/linux/i386/sigaction.c
20469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20471 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20472 Remove conditional code.
20473 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20474 (__protocol_available): Remove #if 0 code.
20475 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20477 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20478 * sysdeps/unix/sysv/linux/kernel-features.h
20479 (__ASSUME_GETCWD_SYSCALL): Don't define.
20480 (__ASSUME_REALTIME_SIGNALS): Likewise.
20481 (__ASSUME_PREAD_SYSCALL): Likewise.
20482 (__ASSUME_PWRITE_SYSCALL): Likewise.
20483 (__ASSUME_POLL_SYSCALL): Likewise.
20484 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20485 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20487 (__ASSUME_SIOCGIFNAME): Don't define.
20488 (__ASSUME_MSG_NOSIGNAL): Likewise.
20489 (__ASSUME_SENDFILE): Define unconditionally.
20490 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20491 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20493 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20494 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20496 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20498 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20499 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20524 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20525 Remove conditional code.
20526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20527 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20528 Remove conditional code.
20529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20530 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20531 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20532 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20533 Remove conditional code.
20534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20535 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20536 Remove conditional code.
20537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20538 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20539 Remove conditional code.
20540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20541 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20542 Remove conditional code.
20543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20544 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20545 Remove conditional code.
20546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20547 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20550 * sysdeps/unix/sysv/linux/sigaction.c
20551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20553 * sysdeps/unix/sysv/linux/sigpending.c
20554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20556 * sysdeps/unix/sysv/linux/sigprocmask.c
20557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20559 * sysdeps/unix/sysv/linux/sigsuspend.c
20560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20563 (__libc_missing_rt_sigs): Remove.
20564 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20565 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20566 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20567 Remove conditional code.
20568 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20569 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20576 2012-05-14 Andreas Jaeger <aj@suse.de>
20578 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20579 it's not used in glibc.
20580 (__coshm1): Likewise.
20581 (__acosh1p): Likewise.
20584 * manual/string.texi (Copying and Concatenation): Add missing
20585 variable in concat example.
20586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20592 __builtin_clzl with __builtin_clzll.
20594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20597 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20600 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20602 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20603 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20604 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20607 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20609 * NEWS: Update ia64 info.
20611 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20613 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20616 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20618 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20619 * sysdeps/unix/syscalls.list (dup3): Likewise.
20620 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20621 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20623 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20625 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20626 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20628 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20630 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20632 (TLS_IE): Use mov/add instead of movq/addq to load thread
20634 (TLS_GD_PREFIX): New.
20637 2012-05-11 David S. Miller <davem@davemloft.net>
20639 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20640 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20641 (_FPU_SETCW): Likewise.
20643 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20645 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20646 is 32-byte aligned.
20648 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20651 * iconvdata/gb18030.c: Update tables.
20652 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20653 characters specially.
20654 (BODY for TO_LOOP): Add encoding of missing ranges.
20656 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20659 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20660 * sysdeps/mach/hurd/dup3.c: Likewise.
20661 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20662 * sysdeps/powerpc/memmove.c:: Likewise.
20664 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20667 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20669 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20671 * elf/elf.h (R_X86_64_RELATIVE64): New.
20672 (R_X86_64_NUM): Updated.
20673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20674 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20675 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20676 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20677 tst-quad1pie tst-quad2pie
20678 (modules-names): Add tst-quadmod1 tst-quadmod2.
20679 ($(objpfx)tst-quad1): New dependency.
20680 ($(objpfx)tst-quad2): Likewise.
20681 ($(objpfx)tst-quad1pie): Likewise.
20682 ($(objpfx)tst-quad2pie): Likewise.
20683 * sysdeps/x86_64/tst-quad1.c: New file.
20684 * sysdeps/x86_64/tst-quad1pie.c: New file.
20685 * sysdeps/x86_64/tst-quad2.c: Likewise.
20686 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20687 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20688 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20689 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20690 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20694 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20695 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20696 * streams/stropts.h (t_scalar_t): Define type.
20698 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20699 (_PATH_PRESERVE): Set to "/var/lib".
20700 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20702 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20705 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20706 if __dir_mkfile succeeded.
20708 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20709 checking for _hurd_dtablesize. Unlock it right after having
20710 finished _hurd_dtable allocation.
20712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20714 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20715 * sysdeps/mach/hurd/configure: Regenerated.
20716 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20717 special-casing to...
20718 * sysdeps/gnu/configure.in: ... this new file.
20719 * sysdeps/unix/sysv/linux/configure: Regenerated.
20720 * sysdeps/gnu/configure: New generated file.
20722 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20723 for Linux: use nsec instead of usec, as well as:
20724 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20725 members of type struct timespec.
20726 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20728 (struct stat64): Likewise.
20729 (_STATBUF_ST_NSEC): New macro.
20730 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20732 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20733 __strtoul_internal rather than strtoul.
20735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20737 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20742 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20743 which preserves existing values.
20744 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20746 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20748 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20749 TIMEOUT values. Return EINVAL for NFDS values either negative or
20750 greater than FD_SETSIZE.
20752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20754 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20755 allocated, call __vm_protect to finish enabling the existing space, and
20756 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20757 allocate the remainder.
20759 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20761 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20762 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20766 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20767 sysdeps/mach/hurd/readlink.c.
20769 * posix/tst-sysconf.c (posix_options): Only use
20770 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20771 _POSIX_SYNCHRONIZED_IO when they are defined
20772 * sysdeps/mach/hurd/bits/posix_opt.h:
20773 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20774 (_XOPEN_REALTIME): Undefine macro.
20775 (_XOPEN_REALTIME_THREADS): Undefine macro.
20776 (_XOPEN_SHM): Undefine macro.
20777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20781 (_POSIX_ASYNC_IO): Undefine macro.
20782 (_POSIX_PRIORITIZED_IO): Undefine macro.
20783 (_POSIX_SPIN_LOCKS): Define macro to -1.
20785 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20786 SA_NODEFER, SA_RESETHAND.
20787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20788 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20793 * elf/Makefile (pldd-modules): Define unconditionally.
20795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20797 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20801 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20802 Return ENOENT when name is empty.
20803 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20807 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20809 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20813 Fix mlock in all cases except non-readable pages.
20814 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20815 instead of VM_PROT_ALL as parameter to __vm_wire function.
20817 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20818 (__mkdir): When path is `/', just fail with EEXIST.
20819 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20823 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20824 <sys/uio.h> (for writev).
20825 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20826 and <sys/param.h> (for MIN).
20828 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20830 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20831 REQUESTED_TIME. Properly set the remaining time and return EINTR
20834 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20836 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20837 Depend on against $(link-rpcuserlibs).
20839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20841 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20842 (__libc_stack_end): Do not use attribute_relro.
20843 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20844 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20845 to libthread-provided value.
20846 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20852 * bits/libc-lock.h (__libc_once_get): New macro.
20853 * sysdeps/mach/bits/libc-lock.h: Likewise.
20854 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20856 instead of using implementation details.
20858 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20859 * libio/freopen.c: Likewise.
20860 * libio/freopen64.c: Likewise.
20861 * misc/syslog.c: Likewise.
20862 * nscd/connections.c: Likewise.
20863 * nscd/netgroupcache.c: Likewise.
20864 * sysdeps/posix/getcwd.c: Likewise.
20866 2012-05-10 Roland McGrath <roland@hack.frob.com>
20868 * math/w_ilogbf.c: Add #include <limits.h>.
20870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20872 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20873 path instead of returning without unlocking.
20875 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20876 immediate-write ioctls.
20877 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20881 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20882 __builtin_frame_address instead of making assumptions about the
20883 location of the return address relative to DATA. Force early load of
20884 the return address.
20885 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20886 __builtin_frame_address.
20889 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20890 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20891 implement dup3 and do some further code clean-ups.
20892 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20893 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20897 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20899 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20900 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20901 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20902 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20903 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20906 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20907 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20908 when handler == SIG_ERR, not when handler != SIG_ERR.
20910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20912 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20913 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20916 accept4 for GNU Hurd.
20917 * include/sys/socket.h (__libc_accept4): New prototype.
20918 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20919 to implement __libc_accept4.
20920 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20922 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20924 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20925 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20926 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20927 signal-defines.sym.
20929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20931 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20935 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20936 assertion on O_CLOEXEC flag.
20937 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20938 * hurd/intern-fd.c: Likewise.
20939 * hurd/port2fd.c: Likewise.
20941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20944 * bits/in.h (IPV6_PKTINFO): Define new macro.
20945 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20947 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20952 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20954 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20957 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20958 * math/libm-test.inc (logb_test) : Additional logb tests.
20960 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20961 Andreas Jaeger <aj@suse.de>
20963 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20964 * configure: Regenerated.
20965 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20966 * config.make.in (link-obsolete-rpc): New substituted variable.
20967 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20968 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20969 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20970 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20971 so that libc.a contains the symbols.
20972 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20973 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20974 * sunrpc/auth_none.c: Likewise.
20975 * sunrpc/auth_unix.c: Likewise.
20976 * sunrpc/authdes_prot.c: Likewise.
20977 * sunrpc/authuxprot.c: Likewise.
20978 * sunrpc/clnt_gen.c: Likewise.
20979 * sunrpc/clnt_perr.c: Likewise.
20980 * sunrpc/clnt_raw.c: Likewise.
20981 * sunrpc/clnt_simp.c: Likewise.
20982 * sunrpc/clnt_tcp.c: Likewise.
20983 * sunrpc/clnt_udp.c: Likewise.
20984 * sunrpc/clnt_unix.c: Likewise.
20985 * sunrpc/des_crypt.c: Likewise.
20986 * sunrpc/des_soft.c: Likewise.
20987 * sunrpc/get_myaddr.c: Likewise.
20988 * sunrpc/key_call.c: Likewise.
20989 * sunrpc/key_prot.c: Likewise.
20990 * sunrpc/netname.c: Likewise.
20991 * sunrpc/pm_getmaps.c: Likewise.
20992 * sunrpc/pm_getport.c: Likewise.
20993 * sunrpc/pmap_clnt.c: Likewise.
20994 * sunrpc/pmap_prot.c: Likewise.
20995 * sunrpc/pmap_prot2.c: Likewise.
20996 * sunrpc/pmap_rmt.c: Likewise.
20997 * sunrpc/publickey.c: Likewise.
20998 * sunrpc/rpc_cmsg.c: Likewise.
20999 * sunrpc/rpc_common.c: Likewise.
21000 * sunrpc/rpc_dtable.c: Likewise.
21001 * sunrpc/rpc_prot.c: Likewise.
21002 * sunrpc/rpc_thread.c: Likewise.
21003 * sunrpc/rtime.c: Likewise.
21004 * sunrpc/svc.c: Likewise.
21005 * sunrpc/svc_auth.c: Likewise.
21006 * sunrpc/svc_raw.c: Likewise.
21007 * sunrpc/svc_run.c: Likewise.
21008 * sunrpc/svc_tcp.c: Likewise.
21009 * sunrpc/svc_udp.c: Likewise.
21010 * sunrpc/svc_unix.c: Likewise.
21011 * sunrpc/svcauth_des.c: Likewise.
21012 * sunrpc/xcrypt.c: Likewise.
21013 * sunrpc/xdr.c: Likewise.
21014 * sunrpc/xdr_array.c: Likewise.
21015 * sunrpc/xdr_float.c: Likewise.
21016 * sunrpc/xdr_intXX_t.c: Likewise.
21017 * sunrpc/xdr_mem.c: Likewise.
21018 * sunrpc/xdr_rec.c: Likewise.
21019 * sunrpc/xdr_ref.c: Likewise.
21020 * sunrpc/xdr_sizeof.c: Likewise.
21021 * sunrpc/xdr_stdio.c: Likewise.
21023 2012-05-10 Roland McGrath <roland@hack.frob.com>
21025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21026 change. Update copyright years.
21028 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21030 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21032 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21033 Joseph Myers <joseph@codesourcery.com>
21034 Paul Pluzhnikov <ppluzhnikov@google.com>
21037 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21039 [cross-compiling] (extra-libs): Likewise.
21040 [cross-compiling] (extra-libs-others): Likewise.
21041 [cross-compiling] (librpcsvc-routines): Likewise.
21042 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21043 [cross-compiling] (omit-deps): Likewise.
21044 (sunrpc-CPPFLAGS): New variable.
21045 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21046 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21047 (cross-rpcgen-objs): New variable.
21048 (extra-objs): Append $(cross-rpcgen-objs).
21049 ($(cross-rpcgen-objs)): New rule.
21050 ($(objpfx)cross-rpcgen): Likewise.
21051 (rpcgen-cmd): Define to use $(built-program-file). Expand
21053 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21054 ($(objpfx)x%.stmp): Likewise.
21055 * sunrpc/proto.h [IS_IN_build] (_): Define.
21056 [IS_IN_build] (_libc_intl_domainname): Likewise.
21058 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21061 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21062 and R_X86_64_TPOFF64.
21064 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21066 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21067 sysdeps/unix/sysv/syscalls.list.
21070 * sysdeps/unix/sysv/syscalls.list: Remove file.
21072 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21075 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21076 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21077 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21078 (__LC_IDENTIFICATION): Make these macros useful in #if
21079 expressions, as required by C99.
21081 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21083 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21084 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21087 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21089 * stdlib/longlong.h: Updated from GCC.
21091 2012-05-09 Andreas Jaeger <aj@suse.de>
21093 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21094 default is first entry.
21095 (run_mode): Set type.
21096 (main): Remove informal message about syslog.
21097 (options): Fix typo.
21100 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21103 (llrintf): Likewise.
21104 (llrint): Likewise.
21107 (nearbyint): Likewise.
21108 (nearbyintf): Likewise.
21110 2012-05-09 Andreas Jaeger <aj@suse.de>
21111 Pedro Alves <palves@redhat.com>
21113 * nscd/nscd.c (run_mode): Use enum.
21114 (main): Cleanup coding style issue.
21116 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21117 Andreas Jaeger <aj@suse.de>
21119 * nscd/nscd.c (go_background): Replaced with...
21120 (run_mode): ... this.
21121 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21122 (options): Add -F --foreground.
21123 (main): Implement it.
21124 (parse_opt): Parse it.
21126 2012-05-09 Andreas Jaeger <aj@suse.de>
21129 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21130 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21131 -Wconversion warning.
21132 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21135 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21137 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21139 (LC_ALL): Use macro-int-constant.
21140 (LC_COLLATE): Likewise.
21141 (LC_CTYPE): Likewise.
21142 (LC_MESSAGES): Likewise.
21143 (LC_MONETARY): Likewise.
21144 (LC_NUMERIC): Likewise.
21145 (LC_TIME): Likewise.
21146 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21147 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21149 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21151 [C99-based standards] (float_t): Expect type.
21152 [C99-based standards] (double_t): Expect type.
21153 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21155 [C99-based standards] (HUGE_VALL): Likewise.
21156 [C99-based standards] (INFINITY): Likewise.
21157 [C99-based standards] (NAN): Likewise.
21158 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21159 [C99-based standards] (FP_NAN): Likewise.
21160 [C99-based standards] (FP_NORMAL): Likewise.
21161 [C99-based standards] (FP_SUBNORMAL): Likewise.
21162 [C99-based standards] (FP_ZERO): Likewise.
21163 [C99-based standards] (FP_FAST_FMA): Use
21164 optional-macro-int-constant. Specify type. Require == 1.
21165 [C99-based standards] (FP_FAST_FMAF): Likewise.
21166 [C99-based standards] (FP_FAST_FMAL): Likewise.
21167 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21168 [C99-based standards] (FP_ILOGBNAN): Likewise.
21169 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21171 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21172 [C99-based standards] (math_errhandling): Specify type.
21173 [ISO99 || ISO11] (signgam): Do not allow.
21174 [non-C99-based standards] (copysignf): Do not allow.
21175 [non-C99-based standards] (exp2f): Likewise.
21176 [non-C99-based standards] (log2f): Likewise.
21177 [non-C99-based standards] (modff): Allow.
21178 [non-C99-based standards] (erff): Do not allow.
21179 [non-C99-based standards] (erfcf): Likewise.
21180 [non-C99-based standards] (gammaf): Likewise.
21181 [non-C99-based standards] (hypotf): Likewise.
21182 [non-C99-based standards] (j0f): Likewise.
21183 [non-C99-based standards] (j1f): Likewise.
21184 [non-C99-based standards] (jnf): Likewise.
21185 [non-C99-based standards] (lgammaf): Likewise.
21186 [non-C99-based standards] (tgammaf): Likewise.
21187 [non-C99-based standards] (y0f): Likewise.
21188 [non-C99-based standards] (y1f): Likewise.
21189 [non-C99-based standards] (ynf): Likewise.
21190 [non-C99-based standards] (isnanf): Likewise.
21191 [non-C99-based standards] (acoshf): Likewise.
21192 [non-C99-based standards] (asinhf): Likewise.
21193 [non-C99-based standards] (atanhf): Likewise.
21194 [non-C99-based standards] (cbrtf): Likewise.
21195 [non-C99-based standards] (expm1f): Likewise.
21196 [non-C99-based standards] (ilogbf): Likewise.
21197 [non-C99-based standards] (log1pf): Likewise.
21198 [non-C99-based standards] (logbf): Likewise.
21199 [non-C99-based standards] (nextafterf): Likewise.
21200 [non-C99-based standards] (remainderf): Likewise.
21201 [non-C99-based standards] (rintf): Likewise.
21202 [non-C99-based standards] (scalbf): Likewise.
21203 [non-C99-based standards] (copysignl): Likewise.
21204 [non-C99-based standards] (exp2l): Likewise.
21205 [non-C99-based standards] (log2l): Likewise.
21206 [non-C99-based standards] (modfl): Allow.
21207 [non-C99-based standards] (erfl): Do not allow.
21208 [non-C99-based standards] (erfcl): Likewise.
21209 [non-C99-based standards] (gammal): Likewise.
21210 [non-C99-based standards] (hypotl): Likewise.
21211 [non-C99-based standards] (j0l): Likewise.
21212 [non-C99-based standards] (j1l): Likewise.
21213 [non-C99-based standards] (jnl): Likewise.
21214 [non-C99-based standards] (lgammal): Likewise.
21215 [non-C99-based standards] (tgammal): Likewise.
21216 [non-C99-based standards] (y0l): Likewise.
21217 [non-C99-based standards] (y1l): Likewise.
21218 [non-C99-based standards] (ynl): Likewise.
21219 [non-C99-based standards] (isnanl): Likewise.
21220 [non-C99-based standards] (acoshl): Likewise.
21221 [non-C99-based standards] (asinhl): Likewise.
21222 [non-C99-based standards] (atanhl): Likewise.
21223 [non-C99-based standards] (cbrtl): Likewise.
21224 [non-C99-based standards] (expm1l): Likewise.
21225 [non-C99-based standards] (ilogbl): Likewise.
21226 [non-C99-based standards] (log1pl): Likewise.
21227 [non-C99-based standards] (logbl): Likewise.
21228 [non-C99-based standards] (nextafterl): Likewise.
21229 [non-C99-based standards] (remainderl): Likewise.
21230 [non-C99-based standards] (rintl): Likewise.
21231 [non-C99-based standards] (scalbl): Likewise.
21232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21233 [non-C99-based standards] (FP_*): Do not allow.
21234 [C99-based standards] (FP_*): Change to
21235 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21236 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21238 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21239 (SIG_ERR): Likewise.
21240 [X/Open-based standards] (SIG_HOLD): Likewise.
21241 (SIG_IGN): Likewise.
21242 (SIGABRT): Use macro-int-constant. Specify type. Require
21244 (SIGFPE): Likewise.
21245 (SIGILL): Likewise.
21246 (SIGINT): Likewise.
21247 (SIGSEGV): Likewise.
21248 (SIGTER): Likewise.
21249 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21266 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21267 [X/Open-based standards] (SIGTRAP): Likewise.
21268 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21269 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21270 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21271 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21272 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21275 2012-05-08 Ian Wienand <ianw@vmware.com>
21278 * time/tzset.c (__tzset_parse_tz): Update default rules for
21279 daylight time changes in the Energy Policy Act of 2005.
21281 2012-05-09 Andreas Jaeger <aj@suse.de>
21284 * elf/ldconfig.c (parse_conf): Change string to make clear that
21285 ldconfig only issued a warning if ld.so.conf does not exist.
21287 2012-05-08 David S. Miller <davem@davemloft.net>
21289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21290 movxtod instead of popping the value on the stack.
21292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21294 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21296 * config.h.in: Add HAVE_ARM_PCS_VFP.
21298 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21301 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21302 checking but the checks are disabled for any reason.
21304 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21306 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21307 and ELF64_R_TYPE with ELFW(R_TYPE).
21309 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21311 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21312 (ulimit): Likewise.
21314 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21315 (settimeofday): Likewise.
21317 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21319 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21320 a struct th_u2 inside the union, and move tu_block/tu_code into
21321 a new th_u3 union of tu_block/tu_code inside of that. Move
21322 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21323 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21324 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21325 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21326 (th_stuff): Change to th_u1.tu_stuff.
21328 (th_msg): Change to th_u1.th_u2.tu_data.
21330 2012-05-07 David S. Miller <davem@davemloft.net>
21332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21335 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21336 (SETUP_PIC_REG): Use it.
21337 (SETUP_PIC_REG_LEAF): Use it.
21339 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21343 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21345 (EXPL_FINITE): Likewise.
21346 (FLDLOG): Likewise.
21347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21348 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21352 (EXPL_FINITE): Likewise.
21353 (FLDLOG): Likewise.
21354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21355 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21357 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21358 test of -max_value argument for long double.
21359 * sysdeps/i386/fpu/libm-test-ulps: Update.
21360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21362 2012-05-06 David S. Miller <davem@davemloft.net>
21364 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21365 quad soft-float symbols whose references which are compiler
21367 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21369 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21375 (EXPL_FINITE): Likewise.
21376 (FLDLOG): Likewise.
21379 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21380 Adjust comments for base varying.
21381 (__expl_finite): Change alias to EXPL_FINITE.
21382 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21384 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21385 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21387 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21390 (EXPL_FINITE): Likewise.
21391 (FLDLOG): Likewise.
21394 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21395 Adjust comments for base varying.
21396 (__expl_finite): Change alias to EXPL_FINITE.
21397 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21402 * math/libm-test.inc (check_float_internal): Correct ulp
21403 calculation for subnormal expected results.
21405 2012-05-06 Andreas Jaeger <aj@suse.de>
21407 * Makeconfig (+math-flags): New, set to -frounding-math.
21408 (+cflags): Add +math-flags so that all of glibc gets compiled with
21411 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21413 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21415 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21421 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21422 (__ieee754_expl): Allow for and saturate large arguments.
21423 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21424 (u_threshold): Likewise.
21425 (__exp): Call __ieee754_exp before checking for overflow and
21427 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21428 (u_threshold): Likewise.
21429 (__expf): Call __ieee754_expf before checking for overflow and
21431 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21432 (u_threshold): Likewise.
21433 (__expl): Call __ieee754_expl before checking for overflow and
21435 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21436 (__ieee754_expl): Allow for and saturate large arguments.
21437 * math/libm-test.inc (exp_test): Add another test. Do not allow
21438 missing overflow exception on overflow.
21439 (expm1_test): Do not allow missing overflow exception on overflow.
21441 * sysdeps/i386/fpu/e_expl.c: Move to ...
21442 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21443 rather than using inline asm.
21444 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21445 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21446 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21448 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21451 (signal): Likewise.
21455 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21457 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21458 sysdeps/unix/common/syscalls.list.
21459 (fchmod): Likewise.
21460 (fchown): Likewise.
21461 (ftruncate): Likewise.
21462 (getrusage): Likewise.
21463 (gettimeofday): Likewise.
21464 (setpgid): Likewise.
21465 (setregid): Likewise.
21466 (setreuid): Likewise.
21467 (sigaction): Likewise.
21468 (truncate): Likewise.
21469 (vhangup): Likewise.
21470 * sysdeps/unix/common/syscalls.list: Remove file.
21471 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21472 * sysdeps/unix/sysv/linux/Implies: Likewise.
21474 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21476 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21478 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21508 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21511 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21515 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21519 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21521 * sysdeps/unix/common/bits/dirent.h: Remove file.
21522 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21524 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21525 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21526 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21527 * sysdeps/unix/bsd/isatty.c: Likewise.
21528 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21529 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21530 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21532 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21536 long double comparison inaccuracies.
21537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21540 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21542 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21545 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21549 nonzero digits before rounding a hex value.
21550 * stdlib/tst-strtod.c (tests): Add another test.
21552 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21554 * sysdeps/s390/fpu/libm-test-ulps: Update.
21556 2012-05-03 Andreas Jaeger <aj@suse.de>
21558 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21559 does not get optimized out.
21560 (malloc_opt_barrier): New.
21562 2012-05-03 Andreas Jaeger <aj@suse.de>
21563 Roland McGrath <roland@hack.frob.com>
21565 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21566 intermediate file deletion.
21567 (generated): Add .symlist files.
21569 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21572 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21573 Redirect under this condition.
21574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21575 [__USE_GNU] (__dprintf_chk): Not under this condition.
21576 [__USE_GNU] (__vdprintf_chk): Likewise.
21577 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21578 under this condition.
21579 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21580 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21581 [__USE_XOPEN2K8] (vdprintf): Likewise.
21582 [__USE_GNU] (__dprintf_chk): Not under this condition.
21583 [__USE_GNU] (__vdprintf_chk): Likewise.
21584 [__USE_GNU] (dprintf): Likewise.
21585 [__USE_GNU] (vdprintf): Likewise.
21587 2012-05-03 Roland McGrath <roland@hack.frob.com>
21589 * elf/Makefile (common-generated): Set this instead of generated for
21590 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21591 $(all-built-dso)-derived lists.
21593 2012-05-03 Andreas Jaeger <aj@suse.de>
21595 * sysdeps/i386/fpu/libm-test-ulps: Update.
21598 * FAQ.in: Likewise.
21599 * scripts/gen-FAQ.pl: Likewise.
21600 * manual/install.texi (Installation): Point to online location of
21602 * Makefile (files-for-dist): Remove FAQ.
21605 2012-05-02 Allan McRae <allan@archlinux.org>
21607 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21608 (LDFLAGS-reldepmod5.so): Likewise.
21609 (LDFLAGS-reldep6mod1.so): Likewise.
21610 (LDFLAGS-reldep6mod4.so): Likewise.
21611 (LDFLAGS-reldep8mod3.so): Likewise.
21612 (LDFLAGS-unload4mod1.so): Likewise.
21613 (LDFLAGS-unload4mod2.so): Likewise.
21614 (LDFLAGS-tst-initorder): Likewise.
21615 (LDFLAGS-tst-initordera2.so): Likewise.
21616 (LDFLAGS-tst-initordera3.so): Likewise.
21617 (LDFLAGS-tst-initordera4.so): Likewise.
21618 (LDFLAGS-tst-initorderb2.so): Likewise.
21619 (LDFLAGS-noload): Likewise.
21620 (LDFLAGS-next): Likewise.
21621 (LDFLAGS-order2mod1.so): Likewise.
21622 (LDFLAGS-order2mod2.so): Likewise.
21623 (LDFLAGS-tst-initorder2): Likewise.
21624 (LDFLAGS-tst-initorder2a.so): Likewise.
21625 (LDFLAGS-tst-initorder2b.so): Likewise.
21626 (LDFLAGS-tst-initorder2c.so): Likewise.
21627 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21629 2012-05-02 David S. Miller <davem@davemloft.net>
21631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21633 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21636 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21638 2012-05-02 Andreas Jaeger <aj@suse.de>
21640 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21641 since we manipulate rounding mode.
21642 (CPPFLAGS-test-idouble.c): Likewise.
21643 (CPPFLAGS-test-ifloat.c): Likewise.
21644 (CFLAGS-test-ldouble.c): Likewise.
21645 (CFLAGS-test-double.c): Likewise.
21646 (CFLAGS-test-float.c): Likewise.
21647 (CFLAGS-test-misc.c): Likewise.
21648 (CFLAGS-test-test-fenv.c): Likewise.
21650 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21655 comparisons to determine direction to adjust input.
21657 2012-05-01 Roland McGrath <roland@hack.frob.com>
21659 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21660 output to the target.
21662 * scripts/localplt.awk: New file.
21663 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21664 (check-localplt-CFLAGS): Variable removed.
21665 ($(all-built-dso:=.jmprel)): New static pattern rule.
21666 (generated): Add those targets.
21667 (localplt-built-dso): New variable.
21668 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21670 * elf/check-localplt.c: File removed.
21672 * scripts/check-execstack.awk: New file.
21673 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21674 (check-execstack-CFLAGS): Variable removed.
21675 ($(objpfx)check-execstack.h): Target removed.
21676 ($(objpfx)execstack-default): New target.
21677 (generated): Add that instead of check-execstack.h.
21678 ($(all-built-dso:=.phdr)): New static pattern rule.
21679 (generated): Add those targets.
21680 * elf/check-execstack.c: File removed.
21682 * scripts/check-textrel.awk: New file.
21683 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21684 (check-textrel-CFLAGS): Variable removed.
21685 (all-built-dso): Use := to define.o
21686 ($(all-built-dso:=.dyn)): New static pattern rule.
21687 (generated): Add those targets.
21688 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21689 * config.make.in (READELF): New substituted variable.
21690 * elf/check-textrel.c: File removed.
21692 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21694 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21696 * conform/data/ctype.h-data [C99-based standards] (isblank):
21698 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21699 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21701 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21702 Specify type. Require positive value.
21703 (EILSEQ): Likewise.
21704 (ERANGE): Likewise.
21705 [ISO || POSIX] (EILSEQ): Do not expect.
21706 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21707 Specify type. Require positive value.
21708 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21709 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21710 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21711 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21712 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21713 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21714 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21715 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21716 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21717 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21718 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21719 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21720 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21721 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21722 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21723 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21724 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21725 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21726 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21727 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21728 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21729 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21730 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21731 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21732 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21733 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21734 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21735 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21736 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21737 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21738 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21739 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21744 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21745 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21746 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21747 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21748 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21749 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21750 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21751 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21752 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21753 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21754 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21755 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21756 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21757 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21758 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21759 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21760 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21761 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21762 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21763 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21764 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21765 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21766 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21767 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21768 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21769 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21770 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21771 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21772 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21773 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21774 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21775 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21776 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21777 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21778 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21779 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21780 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21781 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21782 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21783 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21784 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21786 (FLT_ROUNDS): Expect as macro, not constant.
21787 (FLT_MANT_DIG): Use macro-int-constant.
21788 (DBL_MANT_DIG): Likewise.
21789 (LDBL_MANT_DIG): Likewise.
21790 (FLT_DIG): Likewise.
21791 (DBL_DIG): Likewise.
21792 (LDBL_DIG): Likewise.
21793 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21794 (DBL_MIN_EXP): Likewise.
21795 (LDBL_MIN_EXP): Likewise.
21796 (FLT_MAX_EXP): Use macro-int-constant.
21797 (DBL_MAX_EXP): Likewise.
21798 (LDBL_MAX_EXP): Likewise.
21799 (FLT_MAX_10_EXP): Likewise.
21800 (DBL_MAX_10_EXP): Likewise.
21801 (LDBL_MAX_10_EXP): Likewise.
21802 (FLT_MAX): Use macro-constant.
21803 (DBL_MAX): Likewise.
21804 (LDBL_MAX): Likewise.
21805 (FLT_EPSILON): Use macro-constant. Give upper bound.
21806 (DBL_EPSILON): Likewise.
21807 (LDBL_EPSILON): Likewise.
21808 (FLT_MIN): Likewise.
21809 (DBL_MIN): Likewise.
21810 (LDBL_MIN): Likewise.
21811 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21812 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21813 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21814 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21815 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21816 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21817 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21818 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21819 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21820 [ISO11] (FLT_TRUE_MIN): Likewise.
21821 [ISO11] (LDBL_TRUE_MIN): Likewise.
21822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21823 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21824 (SCHAR_MIN): Use macro-int-constant. Specify type.
21825 (SCHAR_MAX): Likewise.
21826 (UCHAR_MAX): Likewise.
21827 (CHAR_MIN): Likewise.
21828 (CHAR_MAX): Likewise.
21829 (MB_LEN_MAX): Use macro-int-constant.
21830 (SHRT_MIN): Use macro-int-constant. Specify type.
21831 (SHRT_MAX): Likewise.
21832 (USHRT_MAX): Likewise.
21833 (INT_MAX): Likewise.
21834 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21836 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21838 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21840 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21841 bound negative. Suffix upper bound with "L".
21842 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21844 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21846 [C99-based standards] (LLONG_MAX): Likewise.
21847 [C99-based standards] (ULLONG_MAX): Likewise.
21848 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21850 [ISO11] (max_align_t): Require type.
21851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21853 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21854 from $CFLAGS, without defining away __attribute__ calls.
21855 (checknamespace): Use $CFLAGS_namespace.
21857 * conform/conformtest.pl (@keywords): Only include C99 keywords
21858 for standards based on C99 or C11.
21860 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21862 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21865 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21866 usability of symbols in #if.
21868 * conform/conformtest.pl: If macro or constant types start
21869 "promoted:", expect the symbol to be of the following type
21870 promoted by the integer promotions.
21872 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21873 in one place. Also handle "macro-constant".
21875 * conform/conformtest.pl: Only accept expected macro values with
21876 "==". Parse all "macro" lines in one place.
21877 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21879 * conform/conformtest.pl: Handle braced types on "constant" lines
21880 instead of handling "typed-constant".
21881 * conform/data/signal.h-data: Use "constant" instead of
21884 * conform/conformtest.pl: Handle "optional-" at start of lines in
21885 one place rather than duplicating several cases. Handle each
21886 format of "macro" line with initial "optional-".
21888 * conform/conformtest.pl: Only accept expected constant or
21889 optional-constant values with "==". Parse all "constant" lines in
21890 one place. Parse all "optional-constant" lines in one place.
21891 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21892 * conform/data/fmtmsg.h-data: Likewise.
21893 * conform/data/netinet/in.h-data: Likewise.
21894 * conform/data/tar.h-data: Likewise.
21895 * conform/data/limits.h-data: Use "==" form on "constant" and
21896 "optional-constant" lines.
21898 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21899 Use -std=c99 for XOPEN2K.
21900 (@knownproblems): Remove.
21901 (newtoken): Don't check %isknown.
21903 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21904 Do not expect macro.
21905 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21906 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21907 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21908 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21909 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21910 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21911 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21912 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21913 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21914 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21915 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21916 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21917 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21918 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21919 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21920 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21921 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21922 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21923 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21924 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21925 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21927 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21929 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21930 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21931 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21932 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21933 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21934 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21935 [XPG3] (acosh): Likewise.
21936 [XPG3] (asinh): Likewise.
21937 [XPG3] (atanh): Likewise.
21938 [XPG3] (cbrt): Likewise.
21939 [XPG3] (expm1): Likewise.
21940 [XPG3] (ilogb): Likewise.
21941 [XPG3] (log1p): Likewise.
21942 [XPG3] (logb): Likewise.
21943 [XPG3] (nextafter): Likewise.
21944 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21945 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21946 [XPG3] (remainder): Likewise.
21947 [XPG3] (rint): Likewise.
21948 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21949 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21950 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21951 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21952 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21953 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21954 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21955 [UNIX98 || XOPEN2K] (scalb): Expect.
21956 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21957 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21958 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21959 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21960 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21961 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21962 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21963 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21964 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21965 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21966 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21967 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21968 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21969 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21970 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21971 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21972 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21973 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21974 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21975 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21976 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21977 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21978 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21979 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21980 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21981 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21982 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21983 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21984 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21985 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21986 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21987 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21988 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21989 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21990 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21991 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21992 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21993 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21994 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21995 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21996 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21997 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21998 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21999 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22000 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22001 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22002 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22003 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22004 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22005 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22006 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22007 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22008 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22009 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22010 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22011 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22012 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22013 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22014 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22015 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22016 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22017 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22018 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22019 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22020 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22021 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22022 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22023 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22024 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22025 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22026 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22027 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22028 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22029 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22030 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22031 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22032 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22033 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22034 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22035 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22036 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22037 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22038 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22039 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22040 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22041 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22042 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22043 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22044 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22045 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22046 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22047 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22048 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22049 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22050 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22051 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22052 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22053 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22054 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22055 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22057 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22058 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22059 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22060 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22061 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22062 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22063 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22064 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22065 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22066 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22067 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22068 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22075 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22076 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22080 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22081 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22084 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22085 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22086 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22087 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22088 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22089 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22090 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22091 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22092 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22094 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22095 _XOPEN_SOURCE_EXTENDED for XPG4.
22097 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22099 * Makeconfig (localtime): Remove variable.
22100 (inst_localtime-file): Likewise.
22102 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22123 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22127 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22128 comparisons to determine direction to adjust input.
22129 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22130 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22140 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22142 * math/libm-test.inc (nexttoward_test): Add more tests.
22144 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22148 in version GLIBC_2.1, not GLIBC_2.0.
22149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22152 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22157 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22158 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22159 * math/libm-test.inc (acos_test): Add more tests.
22160 (asin_test): Likewise.
22161 * sysdeps/i386/fpu/libm-test-ulps: Update.
22162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22167 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22169 * math/libm-test.inc (acos_test_tonearest): New function.
22170 (acos_test_towardzero): Likewise.
22171 (acos_test_downward): Likewise.
22172 (acos_test_upward): Likewise.
22173 (asin_test_tonearest): Likewise.
22174 (asin_test_towardzero): Likewise.
22175 (asin_test_downward): Likewise.
22176 (asin_test_upward): Likewise.
22177 (main): Call the new functions.
22178 * sysdeps/i386/fpu/libm-test-ulps: Update.
22179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22183 * math/e_exp10.c: Include <float.h>.
22184 (__ieee754_exp10): Handle underflow here rather than multiplying
22185 large negative argument by M_LN10.
22186 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22188 * math/e_exp10l.c: Include <float.h>.
22189 (__ieee754_exp10l): Handle underflow here rather than multiplying
22190 large negative argument by M_LN10l.
22191 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22192 spurious overflow exception on underflow.
22194 2012-04-29 Marek Polacek <polacek@redhat.com>
22196 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22197 (__fortify_function): New macro.
22198 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22199 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22200 __extern_always_inline.
22201 * libio/bits/stdio2.h: Likewise.
22202 * libio/bits/stdio.h: Likewise.
22203 * string/string.h: Likewise.
22204 * string/bits/string3.h: Likewise.
22205 * include/stdio.h: Likewise.
22206 * stdlib/bits/stdlib.h: Likewise.
22207 * stdlib/stdlib.h: Likewise.
22208 * rt/bits/mqueue2.h: Likewise.
22209 * rt/mqueue.h: Likewise.
22210 * posix/bits/unistd.h: Likewise.
22211 * posix/unistd.h: Likewise.
22212 * io/bits/poll2.h: Likewise.
22213 * io/bits/fcntl2.h: Likewise.
22214 * io/fcntl.h: Likewise.
22215 * io/sys/poll.h: Likewise.
22216 * misc/bits/syslog.h: Likewise.
22217 * misc/bits/syslog-ldbl.h: Likewise.
22218 * misc/sys/syslog.h: Likewise.
22219 * socket/bits/socket2.h: Likewise.
22220 * socket/sys/socket.h: Likewise.
22221 * debug/tst-chk1.c: Likewise.
22222 * wcsmbs/bits/wchar2.h: Likewise.
22223 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22224 * wcsmbs/wchar.h: Likewise.
22226 2012-04-29 Andreas Jaeger <aj@suse.de>
22228 * Makerules (tests): Remove enable-check-abi protection.
22229 (check-abi-warn): Remove.
22230 (check-abi-%): Remove check-abi-warn usage.
22232 * configure.in: Remove check-abi configure option.
22233 * configure: Regenerated.
22234 * config.make.in (enable-check-abi): Remove.
22236 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22239 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22240 double functions to double *_finite functions.
22243 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22244 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22246 * stdio-common/Makefile (tests): Add tst-sprintf3.
22247 * stdio-common/tst-sprintf3.c: New file.
22249 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22250 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22252 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22254 * conform/conformtest.pl: Remove duplicate typed-constant
22257 2012-04-28 David S. Miller <davem@davemloft.net>
22259 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22260 (check-abi-%): Remove AWK script prerequisite and explicit
22262 (check-abi): Rewrite to just diff the symlist with the abilist.
22263 (config-tls, config-abi-config): Delete, no longer used.
22264 (update-abi-%): Remove AWK script and explicit abilist directory.
22265 (update-abi): Rewrite to simply compare and conditionally copy the
22266 symlist and the sysdep abilist file. Remove update-abi-config
22268 * abilist/ld.abilist: Remove.
22269 * abilist/libBrokenLocale.abilist: Remove.
22270 * abilist/libanl.abilist: Remove.
22271 * abilist/libcrypt.abilist: Remove.
22272 * abilist/libdl.abilist: Remove.
22273 * abilist/librt.abilist: Remove.
22274 * abilist/libthread_db.abilist: Remove.
22275 * abilist/libutil.abilist: Remove.
22276 * scripts/extract-abilist.awk: Remove.
22277 * scripts/merge-abilist.awk: Remove.
22278 * sysdeps/generic/libcidn.abilist: New file.
22279 * sysdeps/generic/libnss_compat.abilist: New file.
22280 * sysdeps/generic/libnss_db.abilist: New file.
22281 * sysdeps/generic/libnss_dns.abilist: New file.
22282 * sysdeps/generic/libnss_files.abilist: New file.
22283 * sysdeps/generic/libnss_hesiod.abilist: New file.
22284 * sysdeps/generic/libnss_nis.abilist: New file.
22285 * sysdeps/generic/libnss_nisplus.abilist: New file.
22286 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22287 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22288 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22291 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22292 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22293 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22294 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22295 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22296 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22297 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22298 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22300 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22301 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22302 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22303 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22305 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22307 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22309 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22310 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22312 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22313 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22316 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22420 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22421 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22424 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22425 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22426 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22427 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22429 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22431 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22432 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22484 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22486 * conform/conformtest.pl: Fix typo in handling typed-constant from
22489 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22491 * README: Cut down references to pre-2.6 Linux kernels and
22492 Linuxthreads. Update lists of configurations in libc and ports
22493 and sort alphabetically. Say "or newer" with Linux kernel version
22496 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22498 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22501 * math/libm-test.inc (logb_test_downward): New test to expose
22502 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22505 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22508 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22510 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22511 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22513 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22515 * sysdeps/unix/i386/brk.S: Remove file.
22516 * sysdeps/unix/i386/dl-brk.S: Likewise.
22517 * sysdeps/unix/i386/pipe.S: Likewise.
22518 * sysdeps/unix/i386/sigreturn.S: Likewise.
22519 * sysdeps/unix/i386/syscall.S: Likewise.
22520 * sysdeps/unix/i386/vfork.S: Likewise.
22521 * sysdeps/unix/i386/wait.S: Likewise.
22523 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22524 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22526 * configure.in (arm*-none*): Do not allow without
22527 --enable-hacker-mode.
22528 (netbsd*): Remove case setting base_os.
22529 (386bsd*): Likewise.
22530 (freebsd*): Likewise.
22533 (sunos*): Likewise.
22534 (ultrix*): Likewise.
22535 (newsos*): Likewise.
22536 (dynix*): Likewise.
22542 (minix*): Likewise.
22543 (irix4*): Likewise.
22544 (irix6*): Likewise.
22545 (solaris[2-9]*): Likewise.
22547 * configure: Regenerated.
22549 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22553 overflow or cancellation in calculating denominator.
22554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22556 down expression to avoid unexpected rounding in newer GCCs.
22557 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22559 2012-04-26 David S. Miller <davem@davemloft.net>
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22562 long-double compat symbols.
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22577 2012-04-25 David S. Miller <davem@davemloft.net>
22579 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22580 HWCAP_* values only after the memory barriers have been defined.
22581 (atomic_full_barrier): Define.
22582 (atomic_read_barrier): Define.
22583 (atomic_write_barrier): Define.
22585 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22587 * shlib-versions: Add libgcc_s version information.
22588 * sysdeps/generic/libgcc_s.h: Remove.
22589 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22591 * sysdeps/gnu/unwind-resume.c: Likewise.
22592 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22594 2012-04-25 David S. Miller <davem@davemloft.net>
22596 * sysdeps/unix/sparc/brk.S: Delete.
22597 * sysdeps/unix/sparc/dl-brk.S: Delete.
22598 * sysdeps/unix/sparc/pipe.S: Delete.
22599 * sysdeps/unix/sparc/sysdep.S: Delete.
22600 * sysdeps/unix/sparc/sysdep.h: Delete.
22601 * sysdeps/unix/sparc/vfork.S: Delete.
22602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22603 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22605 ret_ERRVAL, r0, r1, MOVE): Define.
22606 (JUMPTARGET): Remove.
22607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22608 sysdeps/unix/sparc/sysdep.h
22609 (ENTRY, END): Remove.
22610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22612 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22614 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22615 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22618 * timezone/README: Update upstream location and email address for
22620 * timezone/zdump.c: Update from tzcode 2012b.
22621 * timezone/zic.c: Likewise.
22623 * configure.in (libc_cv_as_needed): Remove test.
22624 * configure: Regenerated.
22625 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22626 conditional definition.
22627 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22628 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22629 * config.make.in (have-as-needed): Remove variable.
22631 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22632 Paul Pluzhnikov <ppluzhnikov@google.com>
22634 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22637 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22639 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22640 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22641 * sysdeps/sh/strlen.S: Likewise.
22643 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22645 * sysdeps/unix/fork.S: Remove file.
22646 * sysdeps/unix/i386/fork.S: Likewise.
22647 * sysdeps/unix/sparc/fork.S: Likewise.
22649 * sysdeps/unix/system.c: Remove file.
22650 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22652 * sysdeps/unix/getegid.S: Remove file.
22653 * sysdeps/unix/geteuid.S: Likewise.
22655 2012-04-24 Roland McGrath <roland@hack.frob.com>
22657 * scripts/check-localplt.awk: New file.
22658 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22660 * scripts/data/localplt-generic.data: Add a comment.
22662 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22663 NODE when __dir_mkfile failed.
22664 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22665 Reported by Ludovic Courtès <ludo@gnu.org>.
22667 2012-04-24 Andreas Jaeger <aj@suse.de>
22669 * Makerules (common-clean): Also remove gen-as-const-headers
22672 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22674 * Makerules (native-compile): Do not change working directory for
22675 build. Use $(OUTPUT_OPTION) in command.
22676 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22678 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22681 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22682 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22683 * math/libm-test.inc (floor_test): Add more tests.
22684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22686 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22688 * sysdeps/unix/getdents.c: Remove file.
22689 * sysdeps/unix/sysv/getdents.c: Likewise.
22690 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22692 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22693 sysdeps/unix/mman/syscalls.list.
22695 (mprotect): Likewise.
22697 (munmap): Likewise.
22698 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22699 * sysdeps/unix/mman/syscalls.list: Remove.
22700 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22702 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22703 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22704 * configure: Regenerated.
22705 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22706 $(libgcc_s_suffix).
22707 * config.make.in (libgcc_s_suffix): Remove variable.
22709 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22711 * sysdeps/unix/sysv/gethostname.c: Move to ...
22712 * sysdeps/posix/gethostname.c: ... here.
22714 * sysdeps/unix/execve.S: Remove file.
22716 * sysdeps/unix/_exit.S: Remove file.
22718 2012-04-23 Andreas Jaeger <aj@suse.de>
22721 * manual/Makefile: Remove make dist support, there's no
22722 need for a stand-alone documentation tar ball.
22723 (TEXI2DVI): Define always, it's not in Makeconfig.
22726 (edition): Removed.
22727 (glibc-doc-$(edition).tar): Removed
22731 (ETAGS): Remove, it's in Makeconfig.
22732 (move-if-change): Remove, it's in Makeconfig.
22734 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22737 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22738 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22739 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22740 (strtod_l, strtof_l, strtold_l): Remove __wur.
22741 It is not necessarily an error to ignore strtol's return value.
22742 One can reliably look at the stored endptr to decide whether
22743 the number had valid syntax.
22745 2012-04-21 Andreas Jaeger <aj@suse.de>
22748 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22750 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22752 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22753 * sysdeps/unix/sysv/Versions: Remove file.
22755 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22760 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22764 version from __vm86.
22766 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22768 * sysdeps/unix/common/lxstat.c: Remove file.
22769 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22771 * sysdeps/unix/sysv/Makefile: Remove file.
22773 * sysdeps/unix/sysv/direct.h: Remove file.
22775 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22776 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22777 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22778 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22779 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22780 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22781 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22783 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22785 * sysdeps/unix/xmknod.c: Remove file.
22786 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22788 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22790 * sysdeps/unix/sysv/i386/time.S: Remove file.
22792 * sysdeps/unix/fxstat.c: Remove file.
22793 * sysdeps/unix/xstat.c: Likewise.
22794 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22796 * sysdeps/unix/sysv/sigaction.c: Remove file.
22798 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22799 (sysdep_headers): Remove variable.
22800 [termio.h not in sysdep_headers] (generated): Likewise.
22801 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22802 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22803 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22804 * sysdeps/unix/sysv/tcflow.c: Likewise.
22805 * sysdeps/unix/sysv/tcflush.c: Likewise.
22806 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22807 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22808 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22809 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22810 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22812 * sysdeps/unix/siglist.c: Remove file.
22814 * sysdeps/unix/getppid.S: Remove file.
22816 * sysdeps/unix/mkdir.c: Remove file.
22817 * sysdeps/unix/rmdir.c: Likewise.
22819 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22821 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22824 errlist-compat value.
22826 2012-04-18 David S. Miller <davem@davemloft.net>
22828 * sysdeps/generic/memcopy.h (reg_char): Delete.
22829 * debug/strcat_chk.c: Use char, not reg_char.
22830 * debug/strcpy_chk.c: Likewise.
22831 * debug/strncat_chk.c: Likewise.
22832 * debug/strncpy_chk.c: Likewise.
22833 * string/memchr.c: Likewise.
22834 * string/memrchr.c: Likewise.
22835 * string/rawmemchr.c: Likewise.
22836 * string/strcat.c: Likewise.
22837 * string/strchr.c: Likewise.
22838 * string/strchrnul.c: Likewise.
22839 * string/strcmp.c: Likewise.
22840 * string/strcpy.c: Likewise.
22841 * string/strncat.c: Likewise.
22842 * string/strncmp.c: Likewise.
22843 * string/strncpy.c: Likewise.
22845 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22847 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22848 __builtin_memcopy is called when src and dest ranges are known to not
22851 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22854 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22855 fwd_align_merge macro call.
22856 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22857 bwd_align_merge macro call.
22858 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22860 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22863 bwd_align_merge macros.
22864 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22865 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22868 2012-04-18 David S. Miller <davem@davemloft.net>
22870 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22872 2012-04-18 Andreas Jaeger <aj@suse.de>
22875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22876 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22879 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22880 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22881 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22883 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22884 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22885 Adjust for changed ldbl-128 files.
22887 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22888 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22891 2012-04-17 David S. Miller <davem@davemloft.net>
22893 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22895 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22897 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22898 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22899 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22900 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22901 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22902 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22904 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22907 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22908 * math/libm-test.inc: Add ilogb errno and exception tests.
22909 * math/w_ilogb.c: New file: ilogb wrapper.
22910 * math/w_ilogbf.c: New file: ilogbf wrapper.
22911 * math/w_ilogbl.c: New file: ilogbl wrapper.
22912 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22913 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22914 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22915 exception being thrown with 0.0 as argument.
22916 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22917 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22918 exception being thrown with 0.0 as argument.
22919 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22920 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22921 exception being thrown with 0.0 as argument.
22922 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22923 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22924 exception being thrown with 0.0 as argument.
22925 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22926 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22928 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22931 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22932 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22933 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22935 2012-04-17 Petr Baudis <pasky@ucw.cz>
22937 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22940 2012-04-16 Marek Polacek <polacek@redhat.com>
22942 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22944 2012-04-16 Marek Polacek <polacek@redhat.com>
22946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22947 operands of fdivp instruction.
22949 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22951 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22952 * elf/tst-auditmod3b.c: Likewise.
22953 * elf/tst-auditmod4b.c: Likewise.
22954 * elf/tst-auditmod5b.c: Likewise.
22955 * elf/tst-auditmod6b.c: Likewise.
22956 * elf/tst-auditmod6c.c: Likewise.
22957 * elf/tst-auditmod7b.c: Likewise.
22958 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22959 * sysdeps/x86_64/preconfigure.in: Likewise.
22960 * sysdeps/x86_64/preconfigure: Regenerated.
22962 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22967 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22970 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22972 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22975 * locale/iso-639.def: Fix gl language name. Spotted by
22978 2012-04-12 Roland McGrath <roland@hack.frob.com>
22981 * libio/libio.h (__io_write_fn): Update comment.
22983 2012-04-12 Petr Baudis <pasky@ucw.cz>
22986 * stdio.texi (Hook Functions): The user provided writer function
22987 is not allowed to return -1.
22989 2012-04-11 David S. Miller <davem@davemloft.net>
22991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22993 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22995 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22996 Add a leading slash to rtkaio.
22998 2012-04-11 Jim Meyering <meyering@redhat.com>
23001 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23002 It is not necessarily an error to ignore fwrite's return
23003 value. One can reliably use ferror to test for errors after
23006 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23008 * bits/types.h (__snseconds_t): New type.
23009 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23011 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23013 (__SNSECONDS_T_TYPE): Likewise.
23014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23015 (__SNSECONDS_T_TYPE): Likewise.
23016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23017 (__SNSECONDS_T_TYPE): Likewise.
23019 2012-04-10 Andreas Jaeger <aj@suse.de>
23022 * manual/time.texi (Processor Time): Return type of times is
23023 elapsed real time since an arbitrary point in the past.
23024 (CPU Time): Move CLK_TCK from here...
23025 (Processor Time): ...to here. Correct description.
23026 * manual/conf.texi (Constants for Sysconf): Correct description of
23029 2012-04-10 David S. Miller <davem@davemloft.net>
23032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23033 where the is a gap between DT_REL(A) and DT_JMPREL.
23035 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23037 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23038 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23039 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23041 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23043 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23044 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23045 (dl_main): Handle --inhibit-cache.
23046 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23048 * elf/dl-load.c (_dl_map_object): Use it.
23049 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23051 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23054 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23055 (__ieee754_powl): Saturate large exponents rather than testing for
23056 overflow of y*log2(x).
23057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23058 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23062 * math/s_ctan.c: Include <float.h>.
23063 (__ctan): Avoid internal overflow or cancellation in calculating
23065 * math/s_ctanf.c: Likewise.
23066 * math/s_ctanl.c: Likewise.
23067 * math/s_ctanh.c: Likewise.
23068 * math/s_ctanhf.c: Likewise.
23069 * math/s_ctanhl.c: Likewise.
23070 * math/libm-test.inc (ctan_test): Add more tests.
23071 (ctanh_test): Likewise.
23072 * sysdeps/i386/fpu/libm-test-ulps: Update.
23073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23075 2012-04-09 Andreas Jaeger <aj@suse.de>
23078 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23079 is an optional BSD extension.
23082 * manual/stdio.texi (Opening Streams): Document additional fopen
23085 2012-04-09 Roland McGrath <roland@hack.frob.com>
23087 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23088 %eax without telling the compiler.
23090 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23093 * manual/install.texi: Use sourceware.org.
23095 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23098 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23099 (__ieee754_pow): Generate overflow and underflow using huge*huge
23100 and tiny*tiny rather than just returning constant infinity or zero
23101 for large exponents.
23102 * math/libm-test.inc (pow_test): Require overflow exceptions for
23103 applicable cases of large exponents.
23106 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23107 (__ieee754_pow): Use iterative multiplication algorithm only for
23108 integer exponents with absolute value below 1024. Check for odd
23109 integer exponents when using algorithm for real exponents.
23110 * math/libm-test.inc (pow_test): Add more tests.
23111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23113 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23116 * math/libm-test.inc (exp_test): Do not allow overflow exception
23119 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23122 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23123 instead of __kernel_standard_f.
23125 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23127 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23128 * sysdeps/x86_64/memset_chk.S: Likewise.
23130 2012-04-08 Andreas Jaeger <aj@suse.de>
23133 * manual/startup.texi (Environment Access): Describe return value
23134 for putenv and setenv.
23137 * manual/filesys.texi (Directory Entries): Add description for
23141 * manual/filesys.texi (Directory Entries): Clarify that it's file
23142 system not operating system in the description of DT_UNKNOWN.
23145 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23147 2012-04-08 Stephen Compall <s11@member.fsf.org>
23150 * manual/llio.texi (Opening and Closing Files): Add cross
23151 reference to explain mode argument.
23153 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23155 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23156 * sysdeps/x86_64/memset_chk.S: Likewise.
23158 2012-04-07 David S. Miller <davem@davemloft.net>
23160 * elf/elf.h (R_SPARC_WDISP10): Define.
23161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23164 R_SPARC_SIZE64 and R_SPARC_H34.
23166 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23169 conditions and remove no longer applicable assertion.
23171 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23173 * bits/byteswap.h: Include <features.h>.
23174 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23175 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23177 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23179 * bits/byteswap.h (__bswap_16): Removed.
23180 Include <bits/byteswap-16.h> to get __bswap_16.
23181 * sysdeps/i386/bits/byteswap.h: Likewise.
23182 * sysdeps/s390/bits/byteswap.h: Likewise.
23183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23184 * bits/byteswap-16.h: New file.
23185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23186 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23187 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23188 * string/Makefile (headers): Add bits/byteswap-16.h.
23190 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23193 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23195 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23196 * nss/tst-nss-static.c: New.
23198 2012-04-06 Robert Millan <rmh@gnu.org>
23201 * manual/llio.texi (File Position Primitive): lseek
23202 refers to WHENCE when it really means OFFSET.
23204 2012-04-06 Andreas Jaeger <aj@suse.de>
23206 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23207 strncmp declarations.
23209 * abilist/libc.abilist: Add __poll and __ppoll.
23211 2012-04-05 David S. Miller <davem@davemloft.net>
23213 * scripts/check-local-headers.sh: Accept a host triplet in the
23214 path matched by the exclude regexp.
23216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23218 * sysdeps/powerpc/powerpc32/dl-machine.h
23219 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23220 * sysdeps/s390/s390-32/dl-machine.h
23221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23222 * sysdeps/sparc/sparc32/dl-machine.h
23223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23224 * sysdeps/sparc/sparc64/dl-machine.h
23225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23227 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23229 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23230 undefined symbol errors.
23232 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23235 2012-04-05 Michael Matz <matz@suse.de>
23238 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23240 2012-04-05 Andreas Jaeger <aj@suse.de>
23243 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23246 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23249 which ROUND is no valid rounding mode.
23251 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23255 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23260 an exception using FPU order intentionally.
23262 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23264 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23265 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23266 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23267 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23269 2012-04-05 Simon Josefsson <simon@josefsson.org>
23272 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23273 EINVAL when BUFLEN is too smal.
23275 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23278 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23279 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23281 2012-04-03 Andreas Jaeger <aj@suse.de>
23284 * manual/setjmp.texi (System V contexts): Fix sentence.
23287 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23288 New macro for this case.
23289 [!__GNUC__] (__bswap_64): New inline function for this case.
23290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23291 * bits/byteswap.h: Likewise.
23292 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23293 ull, guard with __GLIBC_HAVE_LONG_LONG.
23295 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23296 __GLIBC_HAVE_LONG_LONG.
23298 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23299 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23301 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23304 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23305 inptr and inend, rather than using last_ch.
23307 2012-04-02 David S. Miller <davem@davemloft.net>
23309 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23310 * stdio-common/printf-parse.h (read_int): Change return type to
23311 'int', return -1 on INT_MAX overflow.
23312 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23313 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23314 overflows INT_MAX. Check for overflow of in-format-string precision
23315 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23316 SIZE_MAX not INT_MAX for integer overflow test.
23317 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23318 skip the construct in the format string but do not record anything.
23319 * stdio-common/bug22.c: Adjust to test both width/prevision
23320 INT_MAX overflow as well as total length INT_MAX overflow. Check
23321 explicitly for proper errno values.
23323 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23325 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23327 * string/test-strcmp.c [! WIDE]: Likewise.
23328 * time/tst-mktime2.c: Likewise for INT_MAX.
23329 * string/test-string.h: #include <sys/param.h> for MIN.
23331 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23332 * sysdeps/i386/init-first.c (init): Likewise.
23333 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23334 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23335 * sysdeps/sh/init-first.c (init): Likewise.
23337 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23339 * po/ru.po: Update from translation team.
23340 * po/vi.po: Likewise.
23342 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23344 * resolv/nss_dns/dns-host.c: Merge copyright years.
23346 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23349 Optimize memcpy with prefetch if
23350 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23351 src, dst pointers have unequal 16 byte alignments.
23353 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23356 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23357 from a CNAME entry and return the minimum ttl for the query.
23358 (gaih_getanswer_slice): Likewise.
23360 2012-03-30 Jeff Law <law@redhat.com>
23362 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23364 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23365 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23367 * resolv/nss_dns/dns-host.c: Update copyright year.
23369 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23371 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23372 requests to save a system call. Fix check that all bytes are sent.
23374 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23375 comments for sendmmsg.
23377 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23380 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23381 with only 1 character between 0x0041 and 0x01b0.
23382 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23383 * wcsmbs/tst-mbsnrtowcs.c: New file.
23385 2012-03-29 David S. Miller <davem@davemloft.net>
23387 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23388 small copies by hand.
23390 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23393 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23394 _nss_compat_initgroups_dyn): Fall back to malloc/free
23395 for large group memberships.
23397 2012-03-28 David S. Miller <davem@davemloft.net>
23399 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23400 that branches into memcpy.
23401 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23404 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23407 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23408 implementation too.
23409 * sysdeps/sparc/mempcpy.S: New file.
23411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23412 the IFUNC routine in the libc case.
23413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23415 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23417 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23418 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23419 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23420 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23421 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23422 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23424 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23425 loop to 256 bytes instead of 64 bytes and fix test signedness.
23427 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23428 * sysdeps/sparc/sparc32/Makefile: rather than here...
23429 * sysdeps/sparc/sparc64/Makefile: and here.
23431 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23433 * malloc/mallocbug.c: Avoid warnings about unused variables.
23435 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23438 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23439 in the right place. Discard and retry query if response is
23440 larger than input buffer size.
23442 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23448 x for large integer exponent.
23449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23450 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23451 sign of result as needed afterwards.
23452 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23454 result for underflowing pow the same as for overflow.
23455 (__kernel_standard_l): Handle powl overflow and underflow here
23456 rather than calling __kernel_standard.
23457 * math/libm-test.inc (pow_test): Add more tests.
23472 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23473 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23474 (__kernel_standard_l): New function.
23475 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23477 * math/w_acosl.c (__acosl): Likewise.
23478 * math/w_asinl.c (__asinl): Likewise.
23479 * math/w_atan2l.c (__atan2l): Likewise.
23480 * math/w_atanhl.c (__atanhl): Likewise.
23481 * math/w_coshl.c (__coshl): Likewise.
23482 * math/w_exp10l.c (__exp10l): Likewise.
23483 * math/w_exp2l.c (__exp2l): Likewise.
23484 * math/w_fmodl.c (__fmodl): Likewise.
23485 * math/w_hypotl.c (__hypotl): Likewise.
23486 * math/w_j0l.c (__j0l, __y0l): Likewise.
23487 * math/w_j1l.c (__j1l, __y1l): Likewise.
23488 * math/w_jnl.c (__jnl, __ynl): Likewise.
23489 * math/w_lgammal.c (__lgammal): Likewise.
23490 * math/w_log10l.c (__log10l): Likewise.
23491 * math/w_log2l.c (__log2l): Likewise.
23492 * math/w_logl.c (__logl): Likewise.
23493 * math/w_powl.c (__powl): Likewise.
23494 * math/w_remainderl.c (__remainderl): Likewise.
23495 * math/w_scalbl.c (sysv_scalbl): Likewise.
23496 * math/w_sinhl.c (__sinhl): Likewise.
23497 * math/w_sqrtl.c (__sqrtl): Likewise.
23498 * math/w_tgammal.c (__tgammal): Likewise.
23499 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23500 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23501 * math/libm-test.inc (acos_test): Add more tests.
23502 (acosh_test): Likewise.
23503 (asin_test): Likewise.
23504 (atanh_test): Likewise.
23505 (exp_test): Likewise.
23506 (exp10_test): Likewise.
23507 (exp2_test): Likewise.
23508 (expm1_test): Likewise.
23509 (lgamma_test): Likewise.
23510 (log_test): Likewise.
23511 (log10_test): Likewise.
23512 (log1p_test): Likewise.
23513 (log2_test): Likewise.
23514 (pow_test): Do not allow some spurious overflow exceptions.
23515 (sqrt_test): Add more tests.
23516 (tgamma_test): Likewise.
23517 (y0_test): Likewise.
23518 (y1_test): Likewise.
23519 (yn_test): Likewise.
23521 2012-03-27 Anton Blanchard <anton@samba.org>
23523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23525 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23529 2012-03-27 David S. Miller <davem@davemloft.net>
23531 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23533 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23534 have-as-vis3 check.
23536 2012-03-27 Andreas Jaeger <aj@suse.de>
23538 * sysdeps/x86_64/elf/configure.in: Moved to ...
23539 * sysdeps/x86_64/configure.in: ... here.
23540 * sysdeps/x86_64/elf/start.S: Moved to ...
23541 * sysdeps/x86_64/start.S: ... here.
23542 * sysdeps/x86_64/elf/configure: Delete.
23544 * sysdeps/x86_64/configure.in: Merge contents from
23545 sysdeps/i386/configure.in (without i686 check).
23547 * sysdeps/i386/elf/Versions: Merge into ...
23548 * sysdeps/i386/Versions: ... this.
23549 * sysdeps/i386/elf/Versions: Delete file.
23550 * sysdeps/i386/elf/start.S: Moved to ...
23551 * sysdeps/i386/start.S: ...here.
23552 * sysdeps/i386/elf/configure.in: Merge into...
23553 * sysdeps/i386/configure.in: ...here.
23554 * sysdeps/i386/elf/configure.in: Delete file.
23555 * sysdeps/i386/elf/configure: Delete file.
23557 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23558 * debug/backtracesyms.c: ... here.
23559 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23560 * debug/backtracesymsfd.c: ... here.
23561 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23562 * sysdeps/generic/ifunc-sel.h: ... here.
23564 * sysdeps/unix/i386/start.c: Delete file.
23565 * sysdeps/unix/sparc/start.c: Delete file.
23566 * sysdeps/unix/start.c: Delete file.
23568 * sysdeps/sh/elf/configure.in: Moved to ...
23569 * sysdeps/sh/configure.in: ... here.
23570 * sysdeps/sh/elf/start.S: Moved to ...
23571 * sysdeps/sh/start.S: ... here.
23572 * sysdeps/sh/elf/configure: Delete file.
23574 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23575 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23576 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23577 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23578 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23579 * sysdeps/powerpc/powerpc64/start.S: here.
23580 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23581 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23582 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23583 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23584 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23586 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23587 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23588 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23589 * sysdeps/powerpc/powerpc32/start.S: ... here.
23590 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23591 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23592 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23594 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23595 * sysdeps/powerpc/ifunc-sel.h: ... here.
23596 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23597 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23599 * sysdeps/sparc/elf/configure.in: Moved to ...
23600 * sysdeps/sparc/configure.in: ... here.
23601 * sysdeps/sparc/elf/configure: Delete file.
23602 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23603 * sysdeps/sparc/sparc32/start.S: ... here.
23604 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23605 * sysdeps/sparc/sparc64/start.S: ... here.
23606 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23607 * sysdeps/sparc/sparc32/Makefile: ... this.
23608 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23609 * sysdeps/sparc/sparc64/Makefile: ... this.
23611 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23612 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23613 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23614 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23615 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23616 * sysdeps/s390/s390-32/setjmp.S: ... here.
23617 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23618 * sysdeps/s390/s390-32/configure.in: ... here.
23619 * sysdeps/s390/s390-32/elf/configure: Delete file.
23620 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23621 * sysdeps/s390/s390-32/start.S: ... here.
23623 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23624 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23625 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23626 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23627 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23628 * sysdeps/s390/s390-64/setjmp.S: ... here.
23629 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23630 * sysdeps/s390/s390-64/configure.in: ... here
23631 * sysdeps/s390/s390-64/elf/configure: Delete file.
23632 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23633 * sysdeps/s390/s390-64/start.S: ... here.
23634 * sysdeps/s390/s390-64/elf/configure: Delete.
23636 * configure.in: Remove support for elf directories in sysdeps.
23638 * configure: Regenerated.
23639 * sysdeps/i386/configure: Regenerated.
23640 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23641 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23642 * sysdeps/s390/s390-32/configure: Regenerated.
23643 * sysdeps/s390/s390-64/configure: Regenerated.
23644 * sysdeps/sh/configure: Regenerated.
23645 * sysdeps/sparc/configure: Regenerated.
23646 * sysdeps/x86_64/configure: Regenerated.
23648 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23653 denormal result into account.
23655 2012-03-25 Roland McGrath <roland@hack.frob.com>
23657 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23658 Reported by Allan McRae <allan@archlinux.org>.
23660 2012-03-23 Jeff Law <law@redhat.com>
23662 * nss/getnssent.c (__nss_getent): Fix typo.
23664 2012-03-23 David S. Miller <davem@davemloft.net>
23666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23668 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23670 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23671 to pad to uint64_t for each field.
23672 (dl_tls_index): Replace unsigned long with uint64_t.
23674 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23675 Paul Pluzhnikov <ppluzhnikov@google.com>
23678 * grp/Makefile (otherlibs): Don't set it.
23679 * inet/Makefile (otherlibs): Likewise.
23680 * login/Makefile (otherlibs): Likewise.
23681 * nscd/Makefile (otherlibs): Likewise.
23682 * posix/Makefile (otherlibs): Likewise.
23683 * pwd/Makefile (otherlibs): Likewise.
23684 * rt/Makefile (otherlibs): Likewise.
23685 * sunrpc/Makefile (otherlibs): Likewise.
23686 * nss/Makefile (otherlibs): Likewise.
23687 Add libnss_files to routines and static-only-routines.
23688 ($(objpfx)getent): Remove rule.
23689 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23690 static-only-routines.
23692 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23695 * math/s_cexp.c: Include <float.h>.
23696 (__cexp): Handle exp result overflowing not necessarily
23697 overflowing both real and imaginary parts of result.
23698 * math/s_cexpf.c: Likewise.
23699 * math/s_cexpl.c: Likewise.
23700 * math/libm-test.inc (cexp_test): Add more tests.
23701 * sysdeps/i386/fpu/libm-test-ulps: Update.
23702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23704 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23706 * include/link.h (ELFW): New macro.
23707 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23708 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23712 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23717 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23719 (struct La_x32_retval): Likewise.
23721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23723 * sysdeps/x86_64/preconfigure.in: New file.
23724 * sysdeps/x86_64/preconfigure: New generated file.
23726 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23729 * math/e_exp2l.c: Include <float.h>.
23730 (__ieee754_exp2l): Handle overflow and underflow cases
23731 separately. Only pass fractional part of argument to
23733 * math/libm-test.inc (exp2_test): Add more tests.
23735 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23736 negating x to take absolute value.
23737 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23742 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23743 computing low part if x was negated.
23744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23746 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23748 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23749 la_x32_gnu_pltexit.
23750 (pltexit): Cast int_retval to ptrdiff_t.
23751 * elf/tst-auditmod3b.c: Likewise.
23752 * elf/tst-auditmod4b.c: Likewise.
23753 * elf/tst-auditmod5b.c: Likewise.
23754 * elf/tst-auditmod6b.c: Likewise.
23755 * elf/tst-auditmod6c.c: Likewise.
23756 * elf/tst-auditmod7b.c: Likewise.
23758 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23759 and x32_gnu_pltexit.
23761 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23762 __ELF_NATIVE_CLASS.
23763 (La_x32_regs): New macro.
23764 (La_x32_retval): Likewise.
23765 (la_x32_gnu_pltenter): New function prototype.
23766 (la_x32_gnu_pltexit): Likewise.
23768 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23775 * configure.in (libc_cv_cc_nofma): Check for option to disable
23776 generation of FMA instructions.
23777 * configure: Regenerate.
23778 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23779 * sysdeps/ieee754/dbl-64/Makefile: New file.
23780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23781 Remove brandred-fma4.
23782 (CFLAGS-brandred-fma4.c): Remove.
23783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23789 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23792 LLONG_MAX != LONG_MAX.
23793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23794 (_fitoa_word): Likewise.
23795 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23796 LLONG_MAX != LONG_MAX.
23797 * stdio-common/_itowa.h: Include <_itoa.h>.
23798 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23799 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23800 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23801 only if not defined.
23802 (_ITOA_WORD_TYPE): Likewise.
23803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23804 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23806 2012-03-21 David S. Miller <davem@davemloft.net>
23808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23810 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23812 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23813 of x86_64 when setting libc_cv_slibdir, libdir and
23815 * sysdeps/unix/sysv/linux/configure: Regenerated.
23817 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23819 * manual/lang.texi (Old Varargs): Remove section.
23820 (How Variadic): Update menu.
23821 (va_start): Do not mention varargs.h.
23823 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23824 Joseph Myers <joseph@codesourcery.com>
23826 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23828 * configure: Regenerated.
23830 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23832 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23833 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23836 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23839 * Makefile (files-for-dist): Remove NOTES.
23840 (NOTES): Remove rule.
23841 * README: Don't refer to NOTES.
23842 * manual/creature.texi: Don't include macros.texi.
23843 * manual/intro.texi (creature.texi): Remove comment referring to
23846 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23847 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23848 * configure: Regenerated.
23849 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23850 LIBC_TRY_CC_OPTION.
23851 (libc_cv_as_i686): Likewise.
23852 (libc_cv_cc_avx): Likewise.
23853 (libc_cv_cc_sse2avx): Likewise.
23854 (libc_cv_cc_fma4): Likewise.
23855 (libc_cv_cc_novzeroupper): Likewise.
23856 * sysdeps/i386/configure: Regenerated.
23859 * sysdeps/i386/fpu/s_cexp.S: Remove.
23860 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23861 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23862 * math/libm-test.inc (cexp_test): Add more tests.
23863 * sysdeps/i386/fpu/libm-test-ulps: Update.
23864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23866 2012-03-21 Allan McRae <allan@archlinux.org>
23868 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23870 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23873 * math/w_exp2.c: Do not include <float.h>.
23874 (o_threshold, u_threshold): Remove.
23875 (__exp2): Calculate result before checking finiteness and calling
23877 * math/w_exp2f.c: Likewise.
23878 * math/w_exp2l.c: Likewise.
23879 * math/libm-test.inc (exp2_test): Require overflow exception for
23883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23884 range of signed 64-bit integers before using fistpll. Remove
23885 checks for whether integers fit in mantissa bits.
23886 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23887 the range of signed 32-bit integers before using fistpl. Remove
23888 checks for whether integers fit in mantissa bits.
23889 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23894 divide-by-zero is raised for zero to large negative powers.
23895 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23896 (__ieee754_powl): Test for y outside the range of signed 64-bit
23897 integers before using fistpll. Reduce 64-bit values to 63-bit
23899 * math/libm-test.inc (pow_test): Add more tests.
23901 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23903 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23904 <stdio-common/_itoa.h>.
23905 * debug/segfault.c: Likewise.
23906 * elf/dl-cache.c: Likewise.
23907 * elf/dl-minimal.c: Likewise.
23908 * elf/dl-misc.c: Likewise.
23909 * elf/dl-sysdep.c: Likewise.
23910 * elf/dl-version.c: Likewise.
23911 * elf/rtld.c: Likewise.
23912 * hurd/hurdsock.c: Likewise.
23913 * hurd/lookup-retry.c: Likewise.
23914 * malloc/malloc.c: Likewise.
23915 * malloc/mtrace.c: Likewise.
23916 * nscd/nscd_getgr_r.c: Likewise.
23917 * nscd/nscd_getpw_r.c: Likewise.
23918 * nscd/nscd_getserv_r.c: Likewise.
23919 * posix/getopt_init.c: Likewise.
23920 * posix/wordexp.c: Likewise.
23921 * stdio-common/_itoa.c: Likewise.
23922 * stdio-common/printf_fphex.c: Likewise.
23923 * stdio-common/vfprintf.c: Likewise.
23924 * string/_strerror.c: Likewise.
23925 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23926 * sysdeps/i386/i686/hp-timing.h: Likewise.
23927 * sysdeps/mach/_strerror.c: Likewise.
23928 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23929 * sysdeps/mach/hurd/sethostid.c: Likewise.
23930 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23931 * sysdeps/mach/xpg-strerror.c: Likewise.
23932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23934 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23935 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23937 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23939 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23941 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23942 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23943 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23944 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23946 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23948 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23949 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23950 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23951 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23952 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23954 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23956 * stdio-common/_itoa.h: Moved to ...
23957 * sysdeps/generic/_itoa.h: Here.
23959 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23961 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23962 instead of "_itoa.h" and "_itowa.h".
23963 * stdio-common/vfprintf.: Likewise.
23965 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23967 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23969 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23970 (__signbit): Likwise.
23971 (llrintf): Likwise.
23974 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23976 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23979 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23981 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23982 OVERFLOW_EXCEPTION_OK.
23983 * math/libm-test.inc ("Philosophy"): Update comment about
23985 (OVERFLOW_EXCEPTION): Define.
23986 (OVERFLOW_EXCEPTION_OK): Likewise.
23987 (INVALID_EXCEPTION_OK): Renumber.
23988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23989 (IGNORE_ZERO_INF_SIGN): Likewise.
23990 (test_exceptions): Handle FE_OVERFLOW.
23991 (exp10_test): Expect overflow exceptions.
23992 (exp2_test): Likewise.
23993 (expm1_test): Likewise.
23994 (nextafter_test): Likewise.
23995 (pow_test): Likewise.
23996 (scalbn_test): Likewise.
23997 (scalbln_test): Likewise.
23999 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24001 * sysdeps/x86_64/bits/atomic.h
24002 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24004 (atomic_exchange_acq): Likewise.
24005 (__arch_exchange_and_add_body): Likewise.
24006 (__arch_add_body): Likewise.
24007 (atomic_add_negative): Likewise.
24008 (atomic_add_zero): Likewise.
24010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24012 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24013 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24015 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24017 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24018 Check __x86_64__ instead of __WORDSIZE.
24020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24022 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24024 2012-03-19 David S. Miller <davem@davemloft.net>
24026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24028 * sysdeps/sparc/fpu/fenv_private.h: New file.
24029 * sysdeps/sparc/fpu/math_private.h: Use it.
24030 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24032 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24033 (libc_feholdexcept_setroundl): Remove.
24034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24036 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24037 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24039 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24041 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24042 int64_t instead of long int.
24043 (INSERT_WORDS64): Likwise.
24045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24047 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24048 _Unwind_GetCFA return to _Unwind_Ptr first.
24050 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24053 * math/s_clog.c: Include <float.h>.
24054 (__clog): Scale large or subnormal inputs.
24055 * math/s_clogf.c: Likewise.
24056 * math/s_clogl.c: Likewise.
24057 * math/s_clog10.c: Include <float.h>.
24058 (M_LOG10_2): Define.
24059 (__clog10): Scale large or subnormal inputs.
24060 * math/s_clog10f.c: Likewise.
24061 * math/s_clog10l.c: Likewise.
24062 * math/libm-test.inc (clog_test): Add more tests.
24063 (clog10_test): Likewise.
24064 * sysdeps/i386/fpu/libm-test-ulps: Update.
24065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24070 * math/libm-test.inc (atan2_test): Add another test.
24072 * Makerules (common-objdir-compile): Remove.
24073 * sysdeps/unix/Makefile (config-generated): Do not add
24074 $(unix-generated) to variable.
24075 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24076 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24078 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24080 [generic bits/local_lim.h] (before-compile): Do not append to
24082 [generic bits/local_lim.h] (common-generated): Likewise.
24083 [generic sys/param.h] (before-compile): Do not append to variable.
24084 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24085 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24086 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24087 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24089 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24090 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24091 [generic sys/param.h] ($(addprefix
24092 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24093 [generic sys/param.h] (common-generated): Do not append to
24095 [generic sys/param.h] (sysdep_headers): Likewise.
24096 [generic bits/errno.h] (before-compile): Do not append to
24098 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24100 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24101 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24102 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24103 [generic bits/errno.h] (common-generated): Do not append to
24105 [generic bits/ioctls.h] (before-compile): Do not append to
24107 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24109 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24110 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24114 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24115 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24116 [generic bits/ioctls.h] (common-generated): Do not append to
24118 [generic sys/syscall.h] (syscall.h): Remove variable.
24119 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24121 [generic sys/syscall.h] (before-compile): Do not append to
24123 [generic sys/syscall.h] (common-generated): Likewise.
24124 * sysdeps/unix/errnos-tmpl.c: Remove file.
24125 * sysdeps/unix/errnos.awk: Likewise.
24126 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24127 * sysdeps/unix/ioctls.awk: Likewise.
24128 * sysdeps/unix/mk-local_lim.c: Likewise.
24129 * sysdeps/unix/snarf-ioctls: Likewise.
24131 2012-03-19 Richard Henderson <rth@twiddle.net>
24133 * sysdeps/i386/fpu/fenv_private.h: New file.
24134 * sysdeps/i386/fpu/math_private.h: Use it.
24135 (math_opt_barrier, math_force_eval): Remove.
24136 (libc_feholdexcept_setround_53bit): Remove.
24137 (libc_feupdateenv_53bit): Remove.
24138 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24139 (math_opt_barrier, math_force_eval): Remove.
24140 (libc_feholdexcept): Remove.
24141 (libc_feholdexcept_setround): Remove.
24142 (libc_fetestexcept, libc_fesetenv): Remove.
24143 (libc_feupdateenv_test): Remove.
24144 (libc_feupdateenv, libc_feholdsetround): Remove.
24145 (libc_feresetround): Remove.
24147 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24148 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24150 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24151 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24152 (libc_feupdateenv_testl): New.
24153 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24154 (libc_feupdateenv_testf): New.
24155 (libc_feupdateenv): Use libc_feupdateenv_test.
24156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24159 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24160 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24161 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24162 (libc_feresetround_noex): New.
24163 (libc_feresetround_noexf): New.
24164 (libc_feresetround_noexl): New.
24165 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24166 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24167 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24173 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24175 SET_RESTORE_ROUND_NOEX.
24176 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24177 SET_RESTORE_ROUND_NOEXF.
24178 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24179 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24180 (libc_feholdsetroundf): New.
24181 (libc_feresetround, libc_feresetroundf): New.
24183 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24184 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24185 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24187 * sysdeps/generic/math_private.h: Include <fenv.h>.
24188 (default_libc_feholdexcept): New.
24189 (default_libc_feholdexcept_setround): New.
24190 (default_libc_fesetenv, default_libc_feupdateenv): New.
24191 (libc_feholdexcept): Only define if undefined.
24192 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24194 (libc_feholdexcept_setroundl): Likewise.
24195 (libc_feholdexcept_setround_53bit): Likewise.
24196 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24199 (libc_feupdateenv_53bit): Likewise.
24200 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24201 (libc_feholdexcept): Convert from macro to inline function.
24202 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24203 (libc_fesetenv, libc_feupdateenv): Likewise.
24205 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24206 not previously defined.
24207 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24208 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24209 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24210 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24211 * sysdeps/ieee754/flt-32/math_private.h: New file.
24212 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24213 math_private.h below SET_FLOAT_WORD.
24214 (__isnan, __isinf_ns, __finite): Remove.
24215 (__isnanf, __isinf_nsf, __finitef): Remove.
24217 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24221 2012-03-17 David S. Miller <davem@davemloft.net>
24224 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24227 2012-03-16 David S. Miller <davem@davemloft.net>
24229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24235 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24237 sysdep_routines when subdir is sysvipc.
24238 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24239 __getshmlba helper.
24241 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24243 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24245 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24248 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24251 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24252 (__lround): Renamed to ...
24253 (__llround): This. Replace long int with long long int.
24254 Define lround functions as aliases of llround functions.
24255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24259 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24260 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24261 adresses to uintptr_t. Replace "long int" and "unsigned long
24262 int" with "greg_t" on va_arg.
24264 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24266 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24267 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24269 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24270 Move e_machine check before EI_CLASS check. Handle x32
24271 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24272 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24273 SKIP_EM_IA_64 and include
24274 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24276 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24277 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24278 (add_system_dir): New macro.
24280 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24283 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24294 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24296 * math/w_j0f.c (j0f): Likewise.
24298 * math/w_j0l.c (__j0l): Likewise.
24300 * math/w_j1.c (j1): Likewise.
24302 * math/w_j1f.c (j1f): Likewise.
24304 * math/w_j1l.c (__j1l): Likewise.
24306 * math/w_jn.c (jn): Likewise.
24308 * math/w_jnf.c (jnf): Likewise.
24310 * math/w_jnl.c (__jnl): Likewise.
24312 * math/libm-test.inc (j0_test): Add more tests.
24313 (j1_test): Likewise.
24314 (jn_test): Likewise. Add trailing semicolon to existing test.
24315 (y0_test): Likewise.
24316 (y1_test): Likewise.
24317 * sysdeps/i386/fpu/libm-test-ulps: Update.
24318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24323 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24324 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24326 (__tanl): Set errno for infinite argument.
24327 * sysdeps/i386/fpu/mptan.c: Remove.
24328 * sysdeps/i386/fpu/s_tan.S: Likewise.
24329 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24330 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24331 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24332 * math/libm-test.inc (tan_test): Add more tests and enable more
24333 tests for double and long double.
24334 * sysdeps/i386/fpu/libm-test-ulps: Update.
24335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24337 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24339 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24340 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24342 2012-03-16 Roland McGrath <roland@hack.frob.com>
24344 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24345 * configure.in: Use it for both main tree and add-ons.
24346 * configure: Regenerated.
24348 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24350 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24352 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24354 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24358 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24359 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24364 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24366 != 0 for prec == 2.
24367 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24368 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24369 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24370 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24371 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24372 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24373 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24374 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24375 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24376 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24377 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24378 * math/libm-test.inc (cos_test): Add more tests and enable more
24379 tests for long double.
24380 (sin_test): Likewise.
24381 (sincos_test): Likewise.
24382 * sysdeps/i386/fpu/libm-test-ulps: Update.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24385 2012-03-16 David S. Miller <davem@davemloft.net>
24387 * sysdeps/sparc/fpu/math_private.h: New file.
24389 2012-03-15 David S. Miller <davem@davemloft.net>
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24405 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24406 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24408 * sysdeps/sparc/sparc-ifunc.h: New file.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24454 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24456 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24460 2012-03-15 Andreas Jaeger <aj@suse.de>
24463 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24464 ieee754/flt-32 implementation for sin, cos and sincos.
24465 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24466 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24467 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24468 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24469 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24470 ieee754/flt-32 implementation for tan.
24472 * math/libm-test.inc (cos_test): Enable some large input tests for
24474 (sin_test): Likewise.
24475 (sincos_test): Likewise.
24476 (tan_test): Add tests for large input.
24478 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 2012-03-15 Andreas Jaeger <aj@suse.de>
24483 * math/libm-test.inc (cos_test): Add more test cases.
24484 (sin_test): Likewise.
24485 (sincos_test): Likewise.
24487 2012-03-15 Andreas Jaeger <aj@suse.de>
24490 * math/libm-test.inc (cos_test): Add a test case for large input
24492 (sin_test): Likewise.
24493 (sincos_test): Likewise.
24495 2012-03-15 Andreas Jaeger <aj@suse.de>,
24496 Joseph Myers <joseph@codesourcery.com>
24499 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24500 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24501 * sysdeps/i386/fpu/branred.c: Likewise.
24502 * sysdeps/i386/fpu/dosincos.c: Likewise.
24503 * sysdeps/i386/fpu/mpa.c: Likewise.
24504 * sysdeps/i386/fpu/s_cos.S: Likewise.
24505 * sysdeps/i386/fpu/s_sin.S: Likewise.
24506 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24507 * sysdeps/i386/fpu/sincos32.c: Likewise.
24509 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24511 (libc_feupdateenv_53bit): Define.
24512 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24514 (libc_feupdateenv_53bit): Define.
24516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24517 53 bit (without extend i386 double precision).
24519 * math/libm-test.inc (sincos_test): Add tests for large input.
24523 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24525 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24529 2012-03-15 David S. Miller <davem@davemloft.net>
24531 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24532 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24533 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24534 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24559 fmin/fmax sysdep routines.
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24562 2012-03-14 David S. Miller <davem@davemloft.net>
24564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24641 * sysdeps/sparc/configure.in: New file.
24642 * sysdeps/sparc/configure: Generate.
24643 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24644 * configure: Regenerate.
24645 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24646 * config.make.in (have-as-vis3): New.
24647 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24648 available use -Av9d instead of -Av9a.
24649 * sysdeps/sparc/sparc64/Makefile: Likewise.
24650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24665 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24666 fzeros/fnegs to load 0x80000000 into a float register instead of
24668 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24670 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24674 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24675 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24676 ($(inst_includedir)/bits/syscall.h): Remove rule.
24677 ($(objpfx)bits/syscall.d): Include instead of
24678 $(objpfx)syscall-list.d.
24679 (generated): Change syscall-list.h and syscall-list.d to
24680 bits/syscall.h and bits/syscall.d.
24682 2012-03-14 Roland McGrath <roland@hack.frob.com>
24685 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24687 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24690 * math/s_csqrt.c: Include <float.h>.
24691 (__csqrt): Scale large or subnormal inputs.
24692 * math/s_csqrtf.c: Likewise.
24693 * math/s_csqrtl.c: Likewise.
24694 * math/libm-test.inc (csqrt_test): Add more tests.
24695 * sysdeps/i386/fpu/libm-test-ulps: Update.
24696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24699 * math/libm-test.inc (hypot_test): Add more tests.
24701 2012-03-13 David S. Miller <davem@davemloft.net>
24704 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24705 double-precision for the calculation instead of scaling.
24707 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24709 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24710 manipulate bits before adding and subtracting TWO52[sx].
24711 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24716 2012-03-13 David S. Miller <davem@davemloft.net>
24718 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24719 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24721 rtld-global-offsets.h
24722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24727 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24729 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24730 'err' in the ifdef scope in which it is actually used.
24732 * nss/nss_db/db-init.c: Include string.h
24734 2012-03-12 David S. Miller <davem@davemloft.net>
24736 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24737 masking out of the most significant byte of random value used.
24738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24739 Fix coding style in previous change.
24741 * sysdeps/unix/sysv/linux/kernel-features.h
24742 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24743 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24745 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24748 2012-03-11 David S. Miller <davem@davemloft.net>
24750 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24751 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24753 for 'resultvar' otherwise things get truncated on 64-bit.
24755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24756 Fix masking out of the most significant byte of random value used.
24758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24760 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24764 2012-03-09 David S. Miller <davem@davemloft.net>
24766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24767 variables with appropriate CPP guards.
24768 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24769 frame pointer, not the stack pointer. Correct layout comments. Fix test
24770 on resulting framesize and the management of the outregs buffer for pltexit.
24771 Preserve floating point return values across _dl_call_pltexit call.
24772 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24773 framesize and the management of the outregs buffer for pltexit.
24774 Preserve floating point return values across _dl_call_pltexit
24776 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24777 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24778 (print_exit): Fix format string for return register value.
24780 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24782 * sunrpc/Makefile (others): Add rpcgen.
24783 ($(objpfx)rpcgen): Remove special build rule and dependency on
24785 * sunrpc/rpcgen.c: New file.
24787 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24790 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24791 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24792 * sysdeps/i386/crti.S: Likewise.
24793 * sysdeps/i386/crtn.S: Likewise.
24794 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24795 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24798 * sysdeps/sh/crti.S: Likewise.
24799 * sysdeps/sh/crtn.S: Likewise.
24800 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24803 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24805 * locale/programs/locfile-kw.gperf: Likewise.
24806 * locale/programs/charmap-kw.h: Regenerated.
24807 * locale/programs/locfile-kw.h: Likewise.
24810 * intl/plural.y: Replace FSF snail mail address with URL.
24811 * intl/plural.c: Regenerated.
24813 2012-03-09 Richard Henderson <rth@twiddle.net>
24815 * include/math_private.h: Remove file.
24816 * math/math_private.h: Move file ...
24817 * sysdeps/generic/math_private.h: ... here.
24819 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24820 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24821 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24823 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24824 and <math_private.h>.
24825 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24826 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24827 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24828 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24829 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24830 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24846 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24865 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24869 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24889 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24893 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24894 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24896 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24897 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24903 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24904 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24905 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24907 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24912 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24913 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24914 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24916 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24917 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24918 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24919 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24920 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24921 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24922 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24923 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24924 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24925 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24926 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24927 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24928 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24929 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24930 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24931 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24932 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24933 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24935 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24936 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24937 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24938 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24939 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24941 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24942 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24943 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24944 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24945 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24946 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24948 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24949 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24950 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24951 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24952 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24953 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24954 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24955 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24956 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24957 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24958 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24959 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24960 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24961 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24962 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24963 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24964 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24965 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24966 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24968 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24969 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24970 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24971 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24972 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24973 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24974 * sysdeps/ieee754/k_standard.c: Likewise.
24975 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24978 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24979 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24980 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24986 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24989 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24992 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24995 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24996 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24998 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24999 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25000 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25001 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25002 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25003 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25004 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25006 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25008 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25012 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25018 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25019 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25020 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25021 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25022 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25023 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25024 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25025 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25028 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25031 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25032 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25033 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25035 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25037 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25090 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25091 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25094 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25101 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25102 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25103 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25108 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25112 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25113 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25114 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25121 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25123 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25124 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25131 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25134 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25135 * sysdeps/ieee754/s_lib_version.c: Likewise.
25136 * sysdeps/ieee754/s_matherr.c: Likewise.
25137 * sysdeps/ieee754/s_signgam.c: Likewise.
25138 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25139 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25140 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25141 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25142 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25143 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25144 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25145 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25146 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25147 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25148 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25149 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25150 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25151 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25152 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25155 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25156 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25160 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25162 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25163 * sunrpc/rpc_main.c: Likewise.
25164 * sunrpc/rpc_svcout.c: Likewise.
25166 2012-03-09 David S. Miller <davem@davemloft.net>
25168 * include/math_private.h: New file.
25170 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25172 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25173 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25174 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25175 from <bits/socket_type.h>.
25176 (enum __socket_type): Don't define here.
25177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25179 bits/socket_type.h.
25182 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25183 checking __USE_GNU.
25185 * Makerules ($(inst_includedir)/%.h): New rule.
25186 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25187 (install-others): Remove variable setting.
25188 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25190 2012-03-08 Richard Henderson <rth@twiddle.net>
25192 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25193 from macro to inline function; merge with the
25194 !__LIBC_INTERNAL_MATH_INLINES version.
25195 (__ieee754_sqrtf): Likewise.
25197 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25198 to inline function.
25199 (__rintf, __floor, __floorf): Likewise.
25201 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25202 macro to inline function.
25203 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25205 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25206 not <math/math_private.h>.
25208 2012-03-08 David S. Miller <davem@davemloft.net>
25210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25212 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25214 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25216 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25218 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25219 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25221 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25223 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25224 be defined individually, they must be defined as a block. Define
25225 S for printing a string instead of hidint the different by using a
25226 macro for adding the 'l'.
25227 * stdio-common/tst-fphex-wide.c: Adjust.
25229 2012-03-07 Marek Polacek <polacek@redhat.com>
25231 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25233 2012-03-08 Marek Polacek <polacek@redhat.com>
25236 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25237 * stdio-common/tst-fphex.c: Define a few macros to make the
25238 test reusable. Use them.
25239 * stdio-common/tst-fphex-wide.c: New file.
25241 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25244 * manual/macros.texi (gnusystems): New macro.
25245 (nongnusystems): Likewise.
25246 (gnulinuxhurdsystems): Likewise.
25247 (gnuhurdsystems): Likewise..
25248 (gnulinuxsystems): Likewise.
25249 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25250 variants of the GNU system, not "GNU system".
25251 * manual/conf.texi: Likewise.
25252 * manual/errno.texi: Likewise. Update example of errno macro
25254 * manual/filesys.texi: Likewise.
25255 (getumask): Document as specific to GNU/Hurd.
25256 * manual/install.texi: Likewise. Reword some references to
25258 * manual/intro.texi: Likewise.
25259 * manual/io.texi: Likewise.
25260 (File Name Portability): Detail which constraints are inapplicable
25261 to all GNU systems and which are only inapplicable to GNU/Hurd.
25262 * manual/job.texi: Likewise.
25263 * manual/llio.texi: Likewise.
25264 (O_NOCTTY): Document as present on GNU/Linux.
25265 * manual/maint.texi: Likewise.
25266 * manual/memory.texi: Likewise.
25267 * manual/pattern.texi: Likewise.
25268 * manual/pipe.texi: Likewise.
25269 * manual/process.texi: Likewise.
25270 * manual/resource.texi: Likewise.
25271 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25273 * manual/setjmp.texi: Likewise.
25274 * manual/signal.texi: Likewise.
25275 * manual/startup.texi: Likewise.
25276 * manual/stdio.texi: Likewise.
25277 * manual/terminal.texi: Likewise.
25278 (ONLCR): Document as POSIX.
25279 (OXTABS): Document availability on GNU/Linux as XTABS.
25280 (ONOEOT): Document availability separately from other bits.
25281 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25282 * manual/time.texi: Likewise.
25283 * manual/users.texi: Likewise.
25284 * INSTALL: Regenerated.
25285 * sysdeps/gnu/errlist.c: Regenerated.
25287 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25288 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25289 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25291 * configure: Regenerated.
25293 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25295 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25296 default includes instead of AC_HEADER_CHECK.
25297 * sysdeps/i386/configure: Regenerated.
25300 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25301 * math/s_cacoshf.c (__cacoshf): Likewise.
25302 * math/s_cacoshl.c (__cacoshl): Likewise.
25303 * math/s_casinh.c (__casinh): Set signs of result from argument.
25304 * math/s_casinhf.c (__casinhf): Likewise.
25305 * math/s_casinhl.c (__casinhl): Likewise.
25306 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25307 (casinh_test): Add more tests.
25308 * sysdeps/i386/fpu/libm-test-ulps: Update.
25309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25311 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25313 * po/zh_TW.po: Update from translation team.
25315 * login/Makefile (distribute): Remove variable.
25316 * catgets/Makefile: Likewise.
25317 * mach/Makefile: Likewise.
25318 * malloc/Makefile: Likewise.
25319 * misc/Makefile: Likewise.
25320 * iconv/Makefile: Likewise.
25321 * nscd/Makefile: Likewise.
25322 * hurd/Makefile: Likewise.
25323 * manual/Makefile: Likewise.
25324 * locale/Makefile: Likewise.
25325 * intl/Makefile: Likewise.
25326 * conform/Makefile: Likewise.
25327 * nss/Makefile: Likewise.
25328 * time/Makefile: Likewise.
25329 * soft-fp/Makefile: Likewise.
25330 * dirent/Makefile: Likewise.
25331 * gmon/Makefile: Likewise.
25332 * po/Makefile: Likewise.
25333 * rt/Makefile: Likewise.
25334 * socket/Makefile: Likewise.
25335 * math/Makefile: Likewise.
25336 * signal/Makefile: Likewise.
25337 * debug/Makefile: Likewise.
25338 * elf/Makefile: Likewise.
25339 * timezone/Makefile: Likewise.
25340 * stdlib/Makefile: Likewise.
25341 * iconvdata/Makefile: Likewise.
25342 * sunrpc/Makefile: Likewise.
25343 * io/Makefile: Likewise.
25344 * argp/Makefile: Likewise.
25345 * inet/Makefile: Likewise.
25346 * hesiod/Makefile: Likewise.
25347 * grp/Makefile: Likewise.
25348 * csu/Makefile: Likewise.
25349 * wctype/Makefile: Likewise.
25350 * crypt/Makefile: Likewise.
25351 * libio/Makefile: Likewise.
25352 * string/Makefile: Likewise.
25353 * nis/Makefile: Likewise.
25354 * resolv/Makefile: Likewise.
25355 * stdio-common/Makefile: Likewise.
25356 * wcsmbs/Makefile: Likewise.
25357 * dlfcn/Makefile: Likewise.
25358 * posix/Makefile: Likewise.
25361 * timezone/Makefile: Don't install timezone files, just the programs
25364 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25366 * nss/databases.def: Add missing gshadow entry.
25368 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25370 2012-03-06 Marek Polacek <polacek@redhat.com>
25373 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25374 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25375 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25376 * stdio-common/tst-long-dbl-fphex.c: New file.
25378 2012-03-06 David S. Miller <davem@davemloft.net>
25380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25381 (set_obp_int): New function.
25382 (get_obp_int): New function.
25383 (__get_clockfreq_via_dev_openprom): Likewise.
25384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25385 Avoid unused variable warnings on 'val' and use builtin_expect.
25386 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25388 (INLINE_CLONE_SYSCALL): Likewise.
25390 2012-03-05 David S. Miller <davem@davemloft.net>
25392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25394 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25399 only for |x| >= 40.
25400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25402 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25405 Replace gettimeofday with __vdso_gettimeofday.
25407 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25408 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25409 __vdso_clock_gettime and __vdso_getcpu.
25411 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25412 time with __vdso_time.
25414 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25416 * manual/lang.texi (size_t): Note types to which size_t may be
25417 equivalent with the GNU C Library, but do not describe when
25418 differences between them are significant.
25420 2012-03-05 Andreas Jaeger <aj@suse.de>
25422 * sysdeps/i386/fpu/libm-test-ulps: Update.
25424 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25427 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25428 (__ieee754_pow): Save and restore rounding mode and use
25429 round-to-nearest for main computations.
25430 * math/libm-test.inc (pow_test_tonearest): New function.
25431 (pow_test_towardzero): Likewise.
25432 (pow_test_downward): Likewise.
25433 (pow_test_upward): Likewise.
25434 (main): Call the new functions.
25435 * sysdeps/i386/fpu/libm-test-ulps: Update.
25436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25439 * math/libm-test.inc (cosh_test_tonearest): New function.
25440 (cosh_test_towardzero): Likewise.
25441 (cosh_test_downward): Likewise.
25442 (cosh_test_upward): Likewise.
25443 (sinh_test_tonearest): Likewise.
25444 (sinh_test_towardzero): Likewise.
25445 (sinh_test_downward): Likewise.
25446 (sinh_test_upward): Likewise.
25447 (main): Call the new functions.
25448 * sysdeps/i386/fpu/libm-test-ulps: Update.
25449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25451 2012-03-05 Tom de Vries <tom@codesourcery.com>
25453 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25454 default stack guard is set in last bytes.
25455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25457 2012-03-05 Kees Cook <keescook@chromium.org>
25459 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25462 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25463 possibly allocate from heap instead of stack.
25464 * stdio-common/bug-vfprintf-nargs.c: New file.
25465 * stdio-common/Makefile (tests): Add nargs overflow test.
25467 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25471 2012-03-03 Marek Polacek <polacek@redhat.com>
25473 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25474 * math/math_private.h: Likewise.
25475 * stdlib/tst-strtod.c: Likewise.
25476 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25477 * sysdeps/x86_64/bits/atomic.h: Likewise.
25479 2012-03-02 David S. Miller <davem@davemloft.net>
25481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25485 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25486 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25487 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25488 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25490 2012-03-02 Roland McGrath <roland@hack.frob.com>
25493 * manual/examples/README: New file, says the example source files
25494 can be used under GPL>=2.
25495 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25496 line containing just "*/".
25497 * manual/examples/add.c: Add copyright header (GPL>=2).
25498 * manual/examples/argp-ex1.c: Likewise.
25499 * manual/examples/argp-ex2.c: Likewise.
25500 * manual/examples/argp-ex3.c: Likewise.
25501 * manual/examples/argp-ex4.c: Likewise.
25502 * manual/examples/atexit.c: Likewise.
25503 * manual/examples/db.c: Likewise.
25504 * manual/examples/dir.c: Likewise.
25505 * manual/examples/dir2.c: Likewise.
25506 * manual/examples/execinfo.c: Likewise.
25507 * manual/examples/filecli.c: Likewise.
25508 * manual/examples/filesrv.c: Likewise.
25509 * manual/examples/fmtmsgexpl.c: Likewise.
25510 * manual/examples/genpass.c: Likewise.
25511 * manual/examples/inetcli.c: Likewise.
25512 * manual/examples/inetsrv.c: Likewise.
25513 * manual/examples/isockad.c: Likewise.
25514 * manual/examples/longopt.c: Likewise.
25515 * manual/examples/memopen.c: Likewise.
25516 * manual/examples/memstrm.c: Likewise.
25517 * manual/examples/mkfsock.c: Likewise.
25518 * manual/examples/mkisock.c: Likewise.
25519 * manual/examples/mygetpass.c: Likewise.
25520 * manual/examples/pipe.c: Likewise.
25521 * manual/examples/popen.c: Likewise.
25522 * manual/examples/rprintf.c: Likewise.
25523 * manual/examples/search.c: Likewise.
25524 * manual/examples/select.c: Likewise.
25525 * manual/examples/setjmp.c: Likewise.
25526 * manual/examples/sigh1.c: Likewise.
25527 * manual/examples/sigusr.c: Likewise.
25528 * manual/examples/stpcpy.c: Likewise.
25529 * manual/examples/strdupa.c: Likewise.
25530 * manual/examples/strftim.c: Likewise.
25531 * manual/examples/strncat.c: Likewise.
25532 * manual/examples/subopt.c: Likewise.
25533 * manual/examples/swapcontext.c: Likewise.
25534 * manual/examples/termios.c: Likewise.
25535 * manual/examples/testopt.c: Likewise.
25536 * manual/examples/testpass.c: Likewise.
25537 * manual/examples/timeval_subtract.c: Likewise.
25540 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25542 * manual/timeval_subtract.c.texi: ... here, new file.
25544 2012-03-02 David S. Miller <davem@davemloft.net>
25546 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25548 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25551 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25552 (__sin): Save and restore rounding mode and use round-to-nearest
25553 for all computations.
25554 (__cos): Save and restore rounding mode and use round-to-nearest
25555 for all computations.
25556 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25558 (tan): Save and restore rounding mode and use round-to-nearest for
25560 * math/libm-test.inc (cos_test_tonearest): New function.
25561 (cos_test_towardzero): Likewise.
25562 (cos_test_downward): Likewise.
25563 (cos_test_upward): Likewise.
25564 (sin_test_tonearest): Likewise.
25565 (sin_test_towardzero): Likewise.
25566 (sin_test_downward): Likewise.
25567 (sin_test_upward): Likewise.
25568 (tan_test_tonearest): Likewise.
25569 (tan_test_towardzero): Likewise.
25570 (tan_test_downward): Likewise.
25571 (tan_test_upward): Likewise.
25572 (main): Call the new functions.
25573 * sysdeps/i386/fpu/libm-test-ulps: Update.
25574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25578 small n, then large n, before computing and testing k+n.
25579 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25584 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25585 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25588 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25589 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25592 * math/libm-test.inc (scalbn_test): Add more tests.
25593 (scalbln_test): Likewise.
25595 * manual/filesys.texi (mode_t): Describe constraints on size and
25596 signedness, not exact equivalence to a particular type.
25598 (ino64_t): Likewise.
25600 (nlink_t): Likewise.
25601 (blkcnt_t): Likewise.
25602 (blkcnt64_t): Likewise.
25603 * manual/llio.texi (off_t): Likewise.
25606 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25607 (__ieee754_exp): Save and restore rounding mode and use
25608 round-to-nearest for all computations.
25609 * math/libm-test.inc (exp_test_tonearest): New function.
25610 (exp_test_towardzero): Likewise.
25611 (exp_test_downward): Likewise.
25612 (exp_test_upward): Likewise.
25613 (main): Call the new functions.
25614 * sysdeps/i386/fpu/libm-test-ulps: Update.
25615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25617 2012-03-01 Chris Demetriou <cgd@google.com>
25619 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25620 have predictable order.
25622 2012-03-01 David S. Miller <davem@davemloft.net>
25624 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25626 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25627 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25628 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25629 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25631 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25632 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25633 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25635 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25636 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25637 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25638 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25639 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25643 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25644 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25645 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25647 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25648 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25649 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25650 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25651 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25654 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25655 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25656 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25657 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25660 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25661 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25663 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25664 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25665 * sysdeps/sparc/elf/configure: Regenerated.
25667 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25669 * configure.in (AS, LD): Require binutils 2.20 or later.
25670 * configure: Regenerated.
25671 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25672 as required minimum version.
25673 * INSTALL: Regenerated.
25677 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25678 before squaring exponent.
25679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25680 bottom long double and 27 bits of top long double before squaring
25682 * math/libm-test.inc (erfc_test): Add more tests.
25683 * sysdeps/i386/fpu/libm-test-ulps: Update.
25684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25687 2012-03-01 Kai Tietz <ktietz@redhat.com>
25689 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25690 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25691 containing bit-fields.
25692 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25693 * soft-fp/single.h (_FP_UNION_S): Likewise.
25694 * soft-fp/double.h (_FP_UNION_D): Likewise.
25696 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25699 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25700 not include ../strcmp.S.
25701 [USE_AS_STRNCASECMP_L]: Likewise.
25702 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25703 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25704 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25705 (__strncasecmp_l_ia32): Define as alias to
25706 __strncasecmp_l_nonascii.
25709 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25710 * sysdeps/i386/fpu/libm-test-ulps: Update.
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25713 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716 2012-02-29 Jeff Law <law@redhat.com>
25718 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25719 out of bounds read.
25721 2012-02-29 Marek Polacek <polacek@redhat.com>
25724 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25725 * elf/Makefile: Add rules to run tst-unused-dep.out.
25727 2012-02-28 David S. Miller <davem@davemloft.net>
25729 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25730 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25733 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25734 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25736 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25738 * math/libm-test.inc (llround_test): Move one test from
25739 lround_test. Use TEST_f_L in moved test.
25740 (lround_test): Move misplaced test to llround_test. Add testcase
25743 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25745 * sysdeps/x86_64/fpu/e_expf.S: New file.
25746 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25748 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25751 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25752 of remain_len that may cause incomplete multi-byte character and
25754 * posix/bug-regex33.c: New file.
25755 * posix/Makefile (tests): Add bug-regex33.
25757 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25759 * manual/macros.texi: New file.
25760 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25761 * manual/libc.texinfo: Include macros.texi.
25762 * manual/creatute.texi: Likewise.
25763 * manual/install.texi: Likewise.
25764 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25765 @glibcadj{} in references to the GNU C Library.
25766 * manual/charset.texi: Likewise.
25767 * manual/conf.texi: Likewise.
25768 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25769 when not using those macros.
25770 * manual/creature.texi: Likewise.
25771 * manual/crypt.texi: Likewise.
25772 * manual/errno.texi: Likewise.
25773 * manual/filesys.texi: Likewise.
25774 * manual/header.texi: Likewise.
25775 * manual/install.texi: Likewise.
25776 * manual/intro.texi: Likewise.
25777 * manual/io.texi: Likewise.
25778 * manual/job.texi: Likewise.
25779 * manual/lang.texi: Likewise.
25780 * manual/libc.texiinfo: Likewise.
25781 * manual/llio.texi: Likewise.
25782 * manual/locale.texi: Likewise.
25783 * manual/maint.texi: Likewise.
25784 * manual/math.texi: Likewise.
25785 * manual/memory.texi: Likewise.
25786 * manual/message.texi: Likewise.
25787 * manual/nss.texi: Likewise.
25788 * manual/pattern.texi: Likewise.
25789 * manual/process.texi: Likewise.
25790 * manual/resource.texi: Likewise.
25791 * manual/search.texi: Likewise.
25792 * manual/setjmp.texi: Likewise.
25793 * manual/signal.texi: Likewise.
25794 * manual/socket.texi: Likewise.
25795 * manual/startup.texi: Likewise.
25796 * manual/stdio.texi: Likewise.
25797 * manual/string.texi: Likewise.
25798 * manual/sysinfo.texi: Likewise.
25799 * manual/syslog.texi: Likewise.
25800 * manual/terminal.texi: Likewise.
25801 * manual/time.texi: Likewise.
25802 * manual/users.texi: Likewise.
25803 * INSTALL: Regenerated.
25804 * NOTES: Regenerated.
25805 * sysdeps/gnu/errlist.c: Regenerated.
25807 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25809 * include/dirent.h: Include <dirstream.h> before
25812 2012-02-28 David S. Miller <davem@davemloft.net>
25814 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25815 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25816 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25819 2012-02-27 David S. Miller <davem@davemloft.net>
25821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25823 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25824 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25827 frame pointer instead of stack pointer relative arg slot.
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25829 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25830 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25832 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25835 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25837 2012-02-27 David S. Miller <davem@davemloft.net>
25839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25845 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25846 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25848 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25850 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25851 later. Allow versions 5-9.
25852 * configure: Regenerated.
25853 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25854 required minimum version and 4.6 as recommended version. Do not
25855 mention bugs in GCC 2.7 and 2.8.
25856 * INSTALL: Regenerated.
25858 2012-02-27 David S. Miller <davem@davemloft.net>
25860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25864 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25865 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25866 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25867 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25869 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25870 manipulate bits before adding and subtracting TWO112[sx].
25871 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25873 2012-02-27 Roland McGrath <roland@hack.frob.com>
25876 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25877 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25878 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25879 being in POSIX, because they are in 1003.1-2008.
25881 * rt/tst-aio.c: Include <fcntl.h>.
25882 * rt/tst-aio7.c: Likewise.
25883 * rt/tst-aio64.c: Likewise.
25885 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25887 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25889 * manual/install.texi (--with-headers): Describe headers as
25890 interface headers, not private headers.
25891 (Specific advice for GNU/Linux systems): Describe use of headers
25892 from "make headers_install", not private headers from older
25894 * INSTALL: Regenerated.
25895 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25897 * sysdeps/unix/sysv/linux/configure: Regenerated.
25899 * manual/llio.texi (fclean): Remove documentation.
25901 * manual/Makefile (libc-texi-generated): New variable. Include
25903 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25904 $(libc-texi-generated), not duplicated list of files.
25905 (version.texi, stamp-version): New rules.
25906 (realclean): Remove $(libc-texi-generated), not individual files
25907 from that list. Do not remove dir-add.texinfo.
25908 * manual/libc.texinfo: Comment out uses of edition numbers and
25909 references to printed manual. Remove last-updated dates.
25910 (EDITION): Comment out.
25912 (VERSION, UPDATED): Remove.
25913 (version.texi): Include.
25915 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25917 * sysdeps/posix/spawni.c: Include <signal.h>.
25918 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25919 * sysdeps/pthread/aio_fsync.c: Likewise.
25921 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25923 * conform/Makefile (tests): Run only when not cross-compiling and
25924 when fast-check is not defined.
25926 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25927 * conform/data/limits.h-data: Fixes for POSIX2008.
25928 * conform/run-conformtest.sh: Run all tests.
25929 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25931 * include/bits/dlfcn.h: Likewise.
25932 * include/langinfo.h: Likewise.
25933 * include/monetary.h: Likewise.
25934 * include/sys/poll.h: Likewise.
25936 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25938 * posix/spawn.h: Define __need_sigset_t.
25939 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25940 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25941 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25942 to get sigevent_t only.
25943 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25944 only for __USE_GNU.
25945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25946 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25947 process_vm_writev only for __USE_GNU.
25948 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25950 * conform/Makefile: For now ignore errors from run-conformtest.
25951 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25952 POSIX to avoid namespace pollution. Don't prepend headers.
25953 * conform/data/aio.h-data: Fixes for POSIX testing.
25954 * conform/data/fcntl.h-data: Likewise.
25955 * conform/data/glob.h-data: Likewise.
25956 * conform/data/grp.h-data: Likewise.
25957 * conform/data/pthread.h-data: Likewise.
25958 * conform/data/pwd.h-data: Likewise.
25959 * conform/data/signal.h-data: Likewise.
25960 * conform/data/spawn.h-data: Likewise.
25961 * conform/data/stdio.h-data: Likewise.
25962 * conform/data/stdlib.h-data: Likewise.
25963 * conform/data/stropts.h-data: Likewise.
25964 * conform/data/sys/mman.h-data: Likewise.
25965 * conform/data/sys/stat.h-data: Likewise.
25966 * conform/data/sys/types.h-data: Likewise.
25967 * conform/data/sys/wait.h-data: Likewise.
25968 * conform/data/time.h-data: Likewise.
25969 * conform/data/unistd.h-data: Likewise.
25970 * conform/data/utime.h-data: Likewise.
25972 * io/sys/stat.h: fchmod was always in POSIX.
25973 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25974 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25975 * rt/aio.h: Define __need_timespec before including <time.h>.
25976 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25977 struct. Add forward declaration of pthread_attr_t and use it in
25979 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25981 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25982 always remove CLK_TCK definition.
25984 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25986 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25988 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25990 * conform/run-conformtest.sh: New file.
25991 * conform/Makefile: Run run-conformtest for tests.
25992 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25995 * conform/data/uchar.h-data: New file.
25996 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25997 * conform/data/arpa/inet.h-data: Likewise.
25998 * conform/data/assert.h-data: Likewise.
25999 * conform/data/complex.h-data: Likewise.
26000 * conform/data/cpio.h-data: Likewise.
26001 * conform/data/ctype.h-data: Likewise.
26002 * conform/data/dirent.h-data: Likewise.
26003 * conform/data/dlfcn.h-data: Likewise.
26004 * conform/data/errno.h-data: Likewise.
26005 * conform/data/fcntl.h-data: Likewise.
26006 * conform/data/float.h-data: Likewise.
26007 * conform/data/fmtmsg.h-data: Likewise.
26008 * conform/data/fnmatch.h-data: Likewise.
26009 * conform/data/ftw.h-data: Likewise.
26010 * conform/data/glob.h-data: Likewise.
26011 * conform/data/grp.h-data: Likewise.
26012 * conform/data/iconv.h-data: Likewise.
26013 * conform/data/inttypes.h-data: Likewise.
26014 * conform/data/langinfo.h-data: Likewise.
26015 * conform/data/libgen.h-data: Likewise.
26016 * conform/data/limits.h-data: Likewise.
26017 * conform/data/locale.h-data: Likewise.
26018 * conform/data/math.h-data: Likewise.
26019 * conform/data/monetary.h-data: Likewise.
26020 * conform/data/mqueue.h-data: Likewise.
26021 * conform/data/ndbm.h-data: Likewise.
26022 * conform/data/net/if.h-data: Likewise.
26023 * conform/data/netdb.h-data: Likewise.
26024 * conform/data/netinet/in.h-data: Likewise.
26025 * conform/data/nl_types.h-data: Likewise.
26026 * conform/data/poll.h-data: Likewise.
26027 * conform/data/pthread.h-data: Likewise.
26028 * conform/data/pwd.h-data: Likewise.
26029 * conform/data/regex.h-data: Likewise.
26030 * conform/data/sched.h-data: Likewise.
26031 * conform/data/search.h-data: Likewise.
26032 * conform/data/semaphore.h-data: Likewise.
26033 * conform/data/setjmp.h-data: Likewise.
26034 * conform/data/signal.h-data: Likewise.
26035 * conform/data/spawn.h-data: Likewise.
26036 * conform/data/stdarg.h-data: Likewise.
26037 * conform/data/stdio.h-data: Likewise.
26038 * conform/data/stdlib.h-data: Likewise.
26039 * conform/data/string.h-data: Likewise.
26040 * conform/data/strings.h-data: Likewise.
26041 * conform/data/stropts.h-data: Likewise.
26042 * conform/data/sys/ipc.h-data: Likewise.
26043 * conform/data/sys/mman.h-data: Likewise.
26044 * conform/data/sys/msg.h-data: Likewise.
26045 * conform/data/sys/resource.h-data: Likewise.
26046 * conform/data/sys/select.h-data: Likewise.
26047 * conform/data/sys/sem.h-data: Likewise.
26048 * conform/data/sys/shm.h-data: Likewise.
26049 * conform/data/sys/socket.h-data: Likewise.
26050 * conform/data/sys/stat.h-data: Likewise.
26051 * conform/data/sys/statvfs.h-data: Likewise.
26052 * conform/data/sys/time.h-data: Likewise.
26053 * conform/data/sys/timeb.h-data: Likewise.
26054 * conform/data/sys/times.h-data: Likewise.
26055 * conform/data/sys/types.h-data: Likewise.
26056 * conform/data/sys/uio.h-data: Likewise.
26057 * conform/data/sys/un.h-data: Likewise.
26058 * conform/data/sys/utsname.h-data: Likewise.
26059 * conform/data/sys/wait.h-data: Likewise.
26060 * conform/data/syslog.h-data: Likewise.
26061 * conform/data/tar.h-data: Likewise.
26062 * conform/data/termios.h-data: Likewise.
26063 * conform/data/utime.h-data: Likewise.
26064 * conform/data/utmpx.h-data: Likewise.
26065 * conform/data/varargs.h-data: Likewise.
26066 * conform/data/wchar.h-data: Likewise.
26067 * conform/data/wctype.h-data: Likewise.
26068 * conform/data/wordexp.h-data: Likewise.
26070 * include/stropts.h: New file.
26071 * include/uchar.h: New file.
26072 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26073 * include/assert.h: Likewise.
26074 * include/ctype.h: Likewise.
26075 * include/dirent.h: Likewise.
26076 * include/dlfcn.h: Likewise.
26077 * include/fcntl.h: Likewise.
26078 * include/fnmatch.h: Likewise.
26079 * include/glob.h: Likewise.
26080 * include/grp.h: Likewise.
26081 * include/libio.h: Likewise.
26082 * include/locale.h: Likewise.
26083 * include/math.h: Likewise.
26084 * include/net/if.h: Likewise.
26085 * include/netdb.h: Likewise.
26086 * include/netinet/in.h: Likewise.
26087 * include/pthread.h: Likewise.
26088 * include/pwd.h: Likewise.
26089 * include/regex.h: Likewise.
26090 * include/sched.h: Likewise.
26091 * include/search.h: Likewise.
26092 * include/setjmp.h: Likewise.
26093 * include/signal.h: Likewise.
26094 * include/stdio.h: Likewise.
26095 * include/stdlib.h: Likewise.
26096 * include/string.h: Likewise.
26097 * include/sys/cdefs.h: Likewise.
26098 * include/sys/mman.h: Likewise.
26099 * include/sys/msg.h: Likewise.
26100 * include/sys/resource.h: Likewise.
26101 * include/sys/select.h: Likewise.
26102 * include/sys/socket.h: Likewise.
26103 * include/sys/stat.h: Likewise.
26104 * include/sys/statvfs.h: Likewise.
26105 * include/sys/time.h: Likewise.
26106 * include/sys/times.h: Likewise.
26107 * include/sys/uio.h: Likewise.
26108 * include/sys/utsname.h: Likewise.
26109 * include/sys/wait.h: Likewise.
26110 * include/termios.h: Likewise.
26111 * include/time.h: Likewise.
26112 * include/ulimit.h: Likewise.
26113 * include/unistd.h: Likewise.
26114 * include/utime.h: Likewise.
26115 * include/wchar.h: Likewise.
26116 * include/wctype.h: Likewise.
26117 * include/wordexp.h: Likewise.
26119 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26121 * time/time.h: TIME_UTC must be a macro.
26122 Make timespec_get available for ISO C11 only as well.
26124 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26126 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26127 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26129 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26131 * configure.in: Use -o not -a in test for unsupported multi-arch.
26133 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26135 * manual/texinfo.tex: Update to version 2012-01-19.16.
26137 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26139 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26141 2012-02-24 Roland McGrath <roland@hack.frob.com>
26144 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26145 * manual/fdl-1.3.texi: New file.
26146 * manual/fdl-1.1.texi: File removed.
26149 * manual/libc.texinfo (FDL_VERSION): New @set.
26150 Use it for mention of FDL in cover text.
26151 (Documentation License): Use it in @include file name.
26153 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26154 Roland McGrath <roland@hack.frob.com>
26157 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26158 not LONG_LONG_MAX and LONG_LONG_MIN.
26159 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26160 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26162 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26164 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26168 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26169 manipulate bits before adding and subtracting TWO23[sx].
26170 * math/libm-test.inc (nearbyint_test): Add more tests.
26172 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26175 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26176 bits before adding and subtracting TWO23[sx].
26177 * math/libm-test.inc (rint_test): Add more tests.
26178 (rint_test_tonearest): Likewise.
26179 (rint_test_towardzero): Likewise.
26180 (rint_test_downward): Likewise.
26181 (rint_test_upward: Likewise.
26183 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26186 * include/stdc-predef.h: New file. Extracted from features.h.
26187 * include/features.h: Include stdc-predef.h.
26188 * Makefile (headers): Add stdc-predef.h.
26189 * CONFORMANCE (Compiler limitations): Update.
26191 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26193 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26195 2012-02-21 David S. Miller <davem@davemloft.net>
26197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26200 2012-02-20 David S. Miller <davem@davemloft.net>
26202 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26203 using a normal save/restore sequence, rather than allocating a
26204 dummy stack frame just to store a frame pointer and restore.
26205 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26207 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26209 * manual/install.texi: Fix stray word in line-wrapped comment.
26211 2012-02-20 David S. Miller <davem@davemloft.net>
26213 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26214 both binutils and gcc support GOTDATA.
26216 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26217 "rd %pc" in the PIC register setup sequences.
26219 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26220 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26221 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26222 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26223 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26225 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26228 (SYSCALL_ERROR_HANDLER): Likewise.
26229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26232 (SYSCALL_ERROR_HANDLER): Likewise.
26234 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26235 (HAVE_GCC_GOTDATA): New.
26236 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26237 relocation support in both binutils and gcc.
26238 * sysdeps/sparc/elf/configure: Regenerate.
26240 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26241 * sysdeps/sparc/sparc32/elf/configure: Delete.
26242 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26243 * sysdeps/sparc/sparc64/elf/configure: Delete.
26244 * sysdeps/sparc/elf/configure.in: New file.
26245 * sysdeps/sparc/elf/configure: Generate.
26247 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26248 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26249 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26250 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26251 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26253 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26255 * manual/install.texi: Do not mention specific glibc version
26257 * manual/libc.texinfo (VERSION, UPDATED): Update.
26258 (@copying): Use @copyright{} and range of years.
26260 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26263 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26264 [crti.S not in sysdirs] (generated): Do not append.
26265 [crti.S not in sysdirs] (omit-deps): Likewise.
26266 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26267 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26268 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26269 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26270 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26272 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26273 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26274 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26275 * csu/defs.awk: Remove file.
26276 * sysdeps/generic/initfini.c: Likewise.
26277 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26279 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26282 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26284 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26285 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26286 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26287 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26288 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26289 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26291 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26292 (__EPOLL_PACKED): Define to empty if not defined by
26294 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26298 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26300 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26301 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26303 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26305 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26309 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26311 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26314 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26318 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26320 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26321 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26323 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26325 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26326 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26328 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26330 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26333 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26335 * math/w_acos.c: Use non-signaling floating-point comparisons.
26336 * math/w_acosf.c: Likewise.
26337 * math/w_acosh.c: Likewise.
26338 * math/w_acoshf.c: Likewise.
26339 * math/w_acoshl.c: Likewise.
26340 * math/w_acosl.c: Likewise.
26341 * math/w_asin.c: Likewise.
26342 * math/w_asinf.c: Likewise.
26343 * math/w_asinl.c: Likewise.
26344 * math/w_atanh.c: Likewise.
26345 * math/w_atanhf.c: Likewise.
26346 * math/w_atanhl.c: Likewise.
26347 * math/w_exp2.c: Likewise.
26348 * math/w_exp2f.c: Likewise.
26349 * math/w_exp2l.c: Likewise.
26350 * math/w_j0.c: Likewise.
26351 * math/w_j0f.c: Likewise.
26352 * math/w_j0l.c: Likewise.
26353 * math/w_j1.c: Likewise.
26354 * math/w_j1f.c: Likewise.
26355 * math/w_j1l.c: Likewise.
26356 * math/w_jn.c: Likewise.
26357 * math/w_jnf.c: Likewise.
26358 * math/w_log.c: Likewise.
26359 * math/w_log10.c: Likewise.
26360 * math/w_log10f.c: Likewise.
26361 * math/w_log10l.c: Likewise.
26362 * math/w_log2.c: Likewise.
26363 * math/w_log2f.c: Likewise.
26364 * math/w_log2l.c: Likewise.
26365 * math/w_logf.c: Likewise.
26366 * math/w_logl.c: Likewise.
26367 * math/w_sqrt.c: Likewise.
26368 * math/w_sqrtf.c: Likewise.
26369 * math/w_sqrtl.c: Likewise.
26370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26371 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26373 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26374 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26376 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26379 * manual/string.texi (strnlen): Use correct parameter name in
26380 equivalent expression.
26382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26385 * manual/users.texi (seteuid): Consistently use neweuid for
26388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26391 * manual/nss.texi (Services in the NSS configuration): Correct
26392 list of services in example configuration file.
26394 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26397 * manual/arith.texi: Remove statements about negative zero
26398 behaving identically to zero.
26400 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26403 * manual/install.texi: Do not document upgrading from libc5.
26405 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26408 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26410 2012-02-18 David S. Miller <davem@davemloft.net>
26412 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26413 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26414 %o7 across the call.
26415 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26418 SETUP_PIC_REG_LEAF.
26419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26420 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26421 * sysdeps/sparc/crtn.S: Likewise.
26423 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26425 * aout/Makefile: Remove.
26427 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26430 * manual/examples/argp-ex1.c (main): Format definition in GNU
26432 * manual/examples/argp-ex2.c (main): Likewise.
26433 * manual/examples/argp-ex3.c (main): Likewise.
26434 * manual/examples/argp-ex4.c (main): Likewise.
26435 * manual/examples/longopt.c (main): Use new-style prototype
26437 * manual/examples/strncat.c (main): Specify return type and use
26438 (void) for arguments.
26439 * manual/examples/subopt.c (main): Use char **argv argument.
26441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26444 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26447 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26450 * manual/string.texi (strchr): Change when strchrnul is
26453 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26456 * manual/locale.texi (setlocale): Document LOCPATH.
26458 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26461 * manual/process.texi (execle): Move @dots{} before last argument.
26463 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26466 * manual/charset.texi (Generic Charset Conversion): Fix typo
26467 (LC_TYPE -> LC_CTYPE).
26469 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26472 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26473 (scalbnf): Likewise.
26474 (scalbnl): Likewise.
26475 (scalbln): Likewise.
26476 (scalblnf): Likewise.
26477 (scalblnl): Likewise.
26478 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26479 (vwarnx): Likewise.
26482 * manual/filesys.texi (telldir): Use braces around return type.
26483 * manual/llio.texi (mmap): Add space after comma.
26484 (mmap64): Likewise.
26485 * manual/math.texi (jn): Use @var{} on parameter names.
26491 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26493 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26495 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26496 (sched_get_priority_max): Likewise.
26497 * manual/signal.texi (sigvec): Add space after comma.
26498 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26500 (if_indextoname): Likewise.
26501 (if_freenameindex): Likewise.
26502 (sendto): Use ',' instead of '.' in prototype.
26503 * manual/startup.texi (syscall): Use @dots{} instead of literal
26505 * manual/stdio.texi (__fpending): Separate initial words of
26506 paragraph from @deftypefun line.
26507 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26509 (vsyslog): Use @var{} on parameter names.
26510 * manual/terminal.texi (stty): Use @var{} on parameter names.
26511 * manual/users.texi (getutmp): Use @var{} on parameter names.
26512 (getutmpx): Likewise.
26514 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26517 * manual/stdio.texi (fopen): Fix typos in description of
26520 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26523 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26524 get clock_id definition.
26526 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26529 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26530 (madvise): Cast every argument to void on its own.
26532 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26535 * manual/startup.texi (Exit Status): Fix typo.
26537 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26540 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26541 * manual/examples/argp-ex2.c: Likewise.
26542 * manual/examples/argp-ex3.c: Likewise.
26544 2012-02-16 Richard Henderson <rth@redhat.com>
26546 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26547 * sysdeps/s390/s390-32/initfini.c: Remove.
26548 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26549 * sysdeps/s390/s390-64/initfini.c: Remove.
26551 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26553 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26554 compiler output for sysdeps/generic/initfini.c.
26555 * sysdeps/sh/elf/initfini.c: Remove file.
26557 2012-02-16 David S. Miller <davem@davemloft.net>
26560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26562 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26563 * sysdeps/sparc/crti.S: New file.
26564 * sysdeps/sparc/crtn.S: New file.
26565 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26566 * sysdeps/sparc/sparc64/Makefile: Likewise.
26568 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26571 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26573 2012-02-15 Roland McGrath <roland@hack.frob.com>
26576 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26578 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26579 (write, read, close): Likewise.
26580 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26582 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26584 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26585 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26586 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26587 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26589 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26593 2012-02-14 Marek Polacek <polacek@redhat.com>
26595 * sysdeps/x86_64/crti.S: New file.
26596 * sysdeps/x86_64/crtn.S: New file.
26597 * sysdeps/x86_64/elf/initfini.c: Remove file.
26599 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26601 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26602 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26603 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26604 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26606 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26610 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26612 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26613 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26614 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26615 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26617 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26621 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26623 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26624 __feraiseexcept instead of feraiseexcept.
26626 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26627 nanosleep invocations.
26628 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26629 strings, and add error checking for a nanosleep invocations.
26631 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26633 Replace FSF snail mail address with URLs, as per GNU coding standards.
26634 Most of the snail mail addresses were wrong anyway, and omitting
26635 them makes the source code easier to maintain. Almost all of the
26636 changes are to license notices and to locale LC_IDENTIFICATION
26637 addresses, except for this one:
26638 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26639 not its snail mail address.
26641 2012-02-09 Richard Henderson <rth@twiddle.net>
26643 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26644 of kernel-features.h.
26646 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26648 2012-02-08 Marek Polacek <polacek@redhat.com>
26650 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26651 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26652 * sysdeps/gnu/_G_config.h: Likewise.
26653 * sysdeps/generic/_G_config.h: Likewise.
26655 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26657 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26661 * sysdeps/powerpc/powerpc32/crti.S: New file.
26662 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26663 * sysdeps/powerpc/powerpc64/crti.S: New file.
26664 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26666 * Makeconfig (have-initfini): Don't set.
26667 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26668 * configure.in (nopic_initfini): Don't substitute.
26669 * config.h.in (HAVE_INITFINI): Don't #undef.
26670 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26671 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26673 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26675 Support crti.S and crtn.S provided directly by architectures.
26676 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26677 [crti.S in sysdirs] (omit-deps): Likewise.
26678 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26679 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26680 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26681 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26682 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26683 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26684 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26685 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26686 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26687 compiler output for sysdeps/generic/initfini.c.
26688 * sysdeps/i386/elf/Makefile: Remove file.
26689 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26691 2012-02-07 Marek Polacek <polacek@redhat.com>
26693 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26694 * sysdeps/gnu/_G_config.h: Likewise.
26695 * sysdeps/mach/hurd/_G_config.h: Likewise.
26697 2012-02-07 Marek Polacek <polacek@redhat.com>
26699 * math/Makefile (tests): Add tst-CMPLX2.
26700 * math/tst-CMPLX2.c: New file.
26702 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26704 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26706 * math/libm-test.inc (jn_test): Add missing L suffix.
26708 2012-02-06 Marek Polacek <polacek@redhat.com>
26710 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26711 * sysdeps/i386/fpu/e_powf.S: Likewise.
26712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26713 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26715 * sysdeps/i386/fpu/e_pow.S: Likewise.
26716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26720 * sysdeps/i386/fpu/e_log2.S: Likewise.
26721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26723 * sysdeps/i386/fpu/e_powl.S: Likewise.
26724 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26726 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26727 * sysdeps/i386/fpu/e_logl.S: Likewise.
26728 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26729 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26730 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26731 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26734 * sysdeps/i386/fpu/e_log.S: Likewise.
26735 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26736 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26737 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26738 * sysdeps/i386/fpu/e_logf.S: Likewise.
26739 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26740 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26741 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26742 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26743 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26744 * sysdeps/i386/fpu/e_log10.S: Likewise.
26745 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26746 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26747 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26748 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26750 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26751 * sysdeps/i386/asm-syntax.h: Likewise.
26752 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26755 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26756 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26758 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26759 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26761 * sysdeps/powerpc/sysdep.h: Likewise.
26762 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26765 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26768 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26770 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26772 * sysdeps/i386/sysdep.h: Include <features.h>.
26773 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26776 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26778 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26780 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26783 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26785 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26786 (SETUP_PIC_REG): Use GET_PC_THUNK.
26787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26790 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26793 for non-PIC compilation.
26794 (SETUP_PIC_REG): Add .p2align directive.
26795 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26796 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26797 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26798 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26801 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26802 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26803 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26804 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26805 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26806 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26807 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26808 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26809 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26810 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26811 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26812 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26813 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26814 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26815 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26817 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26818 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26819 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26821 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26822 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26823 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26824 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26825 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26826 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26828 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26829 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26830 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26831 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26832 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26833 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26834 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26835 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26837 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26839 * math/tst-CMPLX.c: Include <stdio.h>.
26841 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26843 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26845 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26846 * sysdeps/sparc/bits/mathdef.h: Likewise.
26848 2012-01-31 Marek Polacek <polacek@redhat.com>
26850 * libio/libio.h: Don't define _PARAMS.
26851 * locale/programs/config.h: Don't define PARAMS.
26852 * stdlib/strtol_l.c: Likewise.
26853 (__strtol_l): Remove PARAMS from the prototype.
26855 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26857 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26858 names. Just use the correct names. Remove unnecessary wrapper
26860 * malloc/arena.c: Likewise.
26861 * malloc/hooks.c: Likewise.
26863 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26864 ARENA_TEST says not to. Simplify test for creation of a new arena.
26865 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26867 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26869 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26871 (update_get_addr): New function.
26872 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26873 GET_ADDR_MODULE parameter.
26875 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26877 * crypt/cert.c: Remove __STDC__ conditionals.
26878 * crypt/crypt-entry.c: Likewise.
26879 * crypt/crypt_util.c: Likewise.
26880 * libio/filedoalloc.c: Likewise.
26881 * libio/fileops.c: Likewise.
26882 * libio/genops.c: Likewise.
26883 * libio/iofclose.c: Likewise.
26884 * libio/iofdopen.c: Likewise.
26885 * libio/iofopen.c: Likewise.
26886 * libio/iofopen64.c: Likewise.
26887 * libio/iogetdelim.c: Likewise.
26888 * libio/iopopen.c: Likewise.
26889 * libio/obprintf.c: Likewise.
26890 * libio/oldfileops.c: Likewise.
26891 * libio/oldiofclose.c: Likewise.
26892 * libio/oldiofdopen.c: Likewise.
26893 * libio/oldiofopen.c: Likewise.
26894 * libio/oldiopopen.c: Likewise.
26895 * libio/wfiledoalloc.c: Likewise.
26896 * libio/wgenops.c: Likewise.
26897 * locale/programs/xmalloc.c: Likewise.
26898 * misc/syslog.c: Likewise.
26899 * stdio-common/xbug.c: Likewise.
26900 * string/memchr.c: Likewise.
26901 * string/memcmp.c: Likewise.
26902 * string/memrchr.c: Likewise.
26903 * string/rawmemchr.c: Likewise.
26904 * sysdeps/posix/getcwd.c: Likewise.
26905 * time/strftime_l.c: Likewise.
26907 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26909 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26910 * config.make.in (config-cflags-sse2avx): Define.
26911 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26914 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26916 * scripts/config.guess: Update from upstream config git repository.
26917 * scripts/config.sub: Likewise.
26919 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26921 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26923 (R_TILEPRO_*, R_TILEGX_*): New macros.
26925 * scripts/firstversions.awk: Fix bug in version range handling.
26927 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26929 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26931 * include/sys/epoll.h: New file.
26932 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26935 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26937 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26938 Avoid unnecessary __WORDSIZE == 64 test.
26939 (fmaxf): Use VEX format if possible.
26944 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26945 * math/math_private.h: Remove libc_fegetround* and
26947 * sysdeps/i386/configure.in: Check for -msse2avx.
26948 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26949 also if SSE2AVX is defined.
26950 Remove libc_fegetround* and libc_fesetround*.
26951 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26952 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26961 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26963 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26965 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26967 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26969 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26972 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26974 * Makeconfig (libm): Define.
26975 * elf/Makefile: Add rules to build and run tst-relsort1.
26976 * elf/tst-relsort1.c: New file.
26977 * elf/tst-relsort1mod1.c: New file.
26978 * elf/tst-relsort1mod2.c: New file.
26980 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26982 * math/s_ldexp.c: Remove __STDC__ conditionals.
26983 * math/s_ldexpf.c: Likewise.
26984 * math/s_ldexpl.c: Likewise.
26985 * math/s_nextafter.c: Likewise.
26986 * math/s_nexttowardf.c: Likewise.
26987 * math/s_significand.c: Likewise.
26988 * math/s_significandf.c: Likewise.
26989 * math/s_significandl.c: Likewise.
26990 * math/w_jnl.c: Likewise.
26991 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26992 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26993 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26994 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26995 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27012 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27017 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27018 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27019 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27020 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27021 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27022 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27023 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27025 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27026 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27028 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27029 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27030 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27031 * sysdeps/ieee754/k_standard.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27072 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27088 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27093 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27098 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27101 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27102 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27103 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27104 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27105 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27106 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27107 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27108 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27109 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27110 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27111 * sysdeps/ieee754/s_matherr.c: Likewise.
27112 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27113 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27117 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27119 * crypt/md5.h: Remove __STDC__ conditionals.
27120 * libio/libioP.h: Likewise.
27121 * locale/programs/config.h: Likewise.
27122 * sysdeps/generic/sysdep.h: Likewise.
27123 * sysdeps/i386/asm-syntax.h: Likewise.
27124 * sysdeps/s390/asm-syntax.h: Likewise.
27125 * sysdeps/unix/sysdep.h: Likewise.
27126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27129 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27131 * libio/libio.h: Remove __STDC__ conditionals.
27132 * malloc/obstack.h: Likewise.
27133 * math/complex.h: Likewise.
27134 * math/math.h: Likewise.
27135 * sysdeps/generic/_G_config.h: Likewise.
27136 * sysdeps/gnu/_G_config.h: Likewise.
27137 * sysdeps/mach/hurd/_G_config.h: Likewise.
27138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27139 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27140 * sysdeps/sparc/bits/mathdef.h: Likewise.
27142 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27145 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27146 Clean up HAS_* macros.
27147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27148 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27158 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27160 * elf/tst-unique3.cc (gets): Remove declaration.
27161 * elf/tst-unique3lib.cc (gets): Likewise.
27162 * elf/tst-unique3lib2.cc (gets): Likewise.
27163 * elf/tst-unique4.cc (gets): Likewise.
27165 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27167 * include/stdio.h: Add C++ protection. Add gets declarations and
27169 * debug/tst-chk1.c: Don't declare gets here.
27170 * stdio-common/tst-gets.c: Likewise.
27172 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27174 * posix/glob: Remove directory.
27176 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27178 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27180 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27182 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27183 of the non-standard EPFNOSUPPORT.
27185 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27187 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27188 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27189 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27191 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27193 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27195 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27197 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27199 * nscd/grpcache.c (cache_addgr): Likewise.
27200 * nscd/hstcache.c (cache_addhst): Likewise.
27201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27202 * nscd/pwdcache.c (cache_addpw): Likewise.
27203 * nscd/servicescache.c (cache_addserv): Likewise.
27205 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27207 * malloc/malloc.c: Various cleanups.
27208 * malloc/hooks.c: Likewise.
27210 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27211 * stdlib/bug-fmtmsg1.c: New file.
27213 * stdlib/fmtmsg.c (init): Add missing unlock.
27214 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27216 2012-01-12 Marek Polacek <polacek@redhat.com>
27218 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27221 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27223 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27225 macro to ensure uniqueness of label name.
27226 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27227 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27229 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27231 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27233 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27234 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27238 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27240 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27242 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27243 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27244 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27246 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27248 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27249 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27253 * math/bits/math-finite.h: Add ldexp support.
27255 2012-01-10 Marek Polacek <polacek@redhat.com>
27257 * locale/programs/localedef.h (show_archive_content): Add noreturn
27260 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27262 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27264 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27266 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27268 * io/Makefile (headers): Add bits/poll2.h.
27270 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27273 typo #include statement.
27275 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27277 * include/sys/cdefs.h: Define __attribute_alloc_size.
27278 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27279 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27280 * elf/pldd.c: Likewise.
27281 * iconv/iconv_charmap.c: Likewise.
27282 * iconv/iconvconfig.c: Likewise.
27283 * iconv/strtab.c: Likewise.
27284 * locale/programs/locale.c: Likewise.
27285 * locale/programs/localedef.h: Likewise.
27286 * locale/programs/simple-hash.c: Likewise.
27287 * nscd/nscd.h: Likewise.
27288 * nss/makedb.c: Likewise.
27289 * sysdeps/generic/ldconfig.h: Likewise.
27290 * locale/programs/localedef.c: Remove xmalloc prototype.
27291 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27293 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27295 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27298 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27300 * math/Makefile (tests): Add tst-CMPLX.
27301 * math/tst-CMPLX.c: New file.
27303 * math/complex.h (CMPLXL): Fix typo.
27305 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27306 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27308 * debug/tst-chk1.c: Add poll and ppoll tests.
27309 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27310 * include/sys/poll.h: Add hidden proto for ppoll.
27311 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27312 * sysdeps/mach/hurd/ppoll.c: Likewise.
27313 * io/ppoll.c: Likewise.
27314 * debug/poll_chk.c: New file.
27315 * debug/ppoll_chk.c: New file.
27316 * include/bits/poll2.h: New file.
27317 * io/bits/poll2.h: New file.
27320 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27322 * configure.in: static is always set to yes. Remove.
27323 * config.make.in: Don't set build-static.
27324 * Makeconfig: Remove use of build-static.
27325 * dlfcn/Makefile: Likewise.
27326 * elf/Makefile: Likewise.
27327 * math/Makefile: Likewise.
27328 * misc/Makefile: Likewise.
27329 * nptl/Makefile: Likewise.
27330 * sysdeps/mach/hurd/Makefile: Likewise.
27332 * configure.in: PWD_P is not used anymore.
27333 * config.make.in: Remove PWD_P entry.
27335 * configure.in: Remove last remnants of RANLIB.
27336 No need to check for signed size_t anymore.
27337 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27339 Remove __builtin_expect test because we require at least gcc 3.4.
27340 * aclocal.m4: Likewise.
27342 * wcsmbs/mbrtoc16.c: Implement using towc function.
27343 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27344 * wcsmbs/wcsmbsload.c: Likewise.
27345 * iconv/gconv_simple.c: Likewise.
27346 * iconv/gconv_int.h: Likewise.
27347 * iconv/gconv_builtin.h: Likewise.
27348 * iconv/iconv_prog.c: Remove CHAR16 handling.
27350 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27352 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27354 * configure.in: Remove --with-elf and --enable-bounded options.
27355 Dont set base_machine for ia64. More non-ELF conditions removed.
27356 Remove testing and setting of leading underscore information.
27357 * config.make.in (build-bounded): Set to no.
27358 * config.h.in: Remove NO_UNDERSCORES entry.
27359 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27361 * csu/start.c: Remove !NO_UNDERSCORE code.
27362 * locale/localeinfo.h: Likewise.
27363 * sysdeps/generic/machine-gmon.h: Likewise.
27364 * sysdeps/generic/sysdep.h: Likewise.
27365 * sysdeps/i386/sysdep.h: Likewise.
27366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27367 * sysdeps/mach/sysdep.h: Likewise.
27368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27369 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27370 * sysdeps/sh/sysdep.h: Likewise.
27371 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27372 * sysdeps/unix/i386/sysdep.S: Likewise.
27373 * sysdeps/unix/sparc/start.c: Likewise.
27374 * sysdeps/unix/sparc/sysdep.S: Likewise.
27375 * sysdeps/unix/sparc/sysdep.h: Likewise.
27376 * sysdeps/unix/start.c: Likewise.
27377 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27378 * sysdeps/x86_64/sysdep.h: Likewise.
27380 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27383 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27385 * argp/argp-fmtstream.h: Use const instead __const.
27386 * argp/argp.h: Likewise.
27387 * assert/assert.h: Likewise.
27388 * bits/fenv.h: Likewise.
27389 * bits/sched.h: Likewise.
27390 * bits/sigset.h: Likewise.
27391 * bits/sigthread.h: Likewise.
27392 * catgets/nl_types.h: Likewise.
27393 * conform/data/pthread.h-data: Likewise.
27394 * crypt/crypt-private.h: Likewise.
27395 * crypt/crypt.h: Likewise.
27396 * crypt/crypt_util.c: Likewise.
27397 * ctype/ctype.h: Likewise.
27398 * debug/execinfo.h: Likewise.
27399 * debug/mbsnrtowcs_chk.c: Likewise.
27400 * debug/mbsrtowcs_chk.c: Likewise.
27401 * debug/wcsnrtombs_chk.c: Likewise.
27402 * debug/wcsrtombs_chk.c: Likewise.
27403 * debug/wcstombs_chk.c: Likewise.
27404 * dirent/dirent.h: Likewise.
27405 * dlfcn/dlfcn.h: Likewise.
27406 * elf/neededtest4.c: Likewise.
27407 * grp/grp.h: Likewise.
27408 * gshadow/gshadow.h: Likewise.
27409 * iconv/gconv.h: Likewise.
27410 * iconv/gconv_int.h: Likewise.
27411 * iconv/gconv_simple.c: Likewise.
27412 * iconv/iconv.h: Likewise.
27413 * iconv/loop.c: Likewise.
27414 * iconv/skeleton.c: Likewise.
27415 * include/aio.h: Likewise.
27416 * include/aliases.h: Likewise.
27417 * include/argz.h: Likewise.
27418 * include/arpa/inet.h: Likewise.
27419 * include/assert.h: Likewise.
27420 * include/dirent.h: Likewise.
27421 * include/dlfcn.h: Likewise.
27422 * include/execinfo.h: Likewise.
27423 * include/fcntl.h: Likewise.
27424 * include/fenv.h: Likewise.
27425 * include/glob.h: Likewise.
27426 * include/grp.h: Likewise.
27427 * include/libintl.h: Likewise.
27428 * include/mntent.h: Likewise.
27429 * include/netdb.h: Likewise.
27430 * include/pwd.h: Likewise.
27431 * include/rpc/netdb.h: Likewise.
27432 * include/sched.h: Likewise.
27433 * include/search.h: Likewise.
27434 * include/shadow.h: Likewise.
27435 * include/signal.h: Likewise.
27436 * include/stdio.h: Likewise.
27437 * include/stdlib.h: Likewise.
27438 * include/string.h: Likewise.
27439 * include/sys/socket.h: Likewise.
27440 * include/sys/stat.h: Likewise.
27441 * include/sys/statfs.h: Likewise.
27442 * include/sys/statvfs.h: Likewise.
27443 * include/sys/syslog.h: Likewise.
27444 * include/sys/time.h: Likewise.
27445 * include/sys/uio.h: Likewise.
27446 * include/time.h: Likewise.
27447 * include/unistd.h: Likewise.
27448 * include/utmp.h: Likewise.
27449 * include/wchar.h: Likewise.
27450 * include/wctype.h: Likewise.
27451 * inet/aliases.h: Likewise.
27452 * inet/arpa/inet.h: Likewise.
27453 * inet/netinet/ether.h: Likewise.
27454 * inet/netinet/in.h: Likewise.
27455 * intl/libintl.h: Likewise.
27456 * io/bits/fcntl2.h: Likewise.
27457 * io/fcntl.h: Likewise.
27458 * io/ftw.h: Likewise.
27459 * io/sys/poll.h: Likewise.
27460 * io/sys/stat.h: Likewise.
27461 * io/sys/statfs.h: Likewise.
27462 * io/sys/statvfs.h: Likewise.
27463 * io/utime.h: Likewise.
27464 * libio/bits/stdio.h: Likewise.
27465 * libio/bits/stdio2.h: Likewise.
27466 * libio/libio.h: Likewise.
27467 * libio/libioP.h: Likewise.
27468 * libio/stdio.h: Likewise.
27469 * locale/lc-ctype.c: Likewise.
27470 * locale/locale.h: Likewise.
27471 * login/utmp.h: Likewise.
27472 * malloc/arena.c: Likewise.
27473 * malloc/malloc.c: Likewise.
27474 * malloc/malloc.h: Likewise.
27475 * malloc/mcheck.c: Likewise.
27476 * malloc/mtrace.c: Likewise.
27477 * math/bits/mathcalls.h: Likewise.
27478 * math/fenv.h: Likewise.
27479 * math/math_private.h: Likewise.
27480 * misc/bits/error.h: Likewise.
27481 * misc/bits/syslog.h: Likewise.
27482 * misc/err.h: Likewise.
27483 * misc/error.h: Likewise.
27484 * misc/fstab.h: Likewise.
27485 * misc/mntent.h: Likewise.
27486 * misc/regexp.h: Likewise.
27487 * misc/search.h: Likewise.
27488 * misc/sgtty.h: Likewise.
27489 * misc/sys/mman.h: Likewise.
27490 * misc/sys/syslog.h: Likewise.
27491 * misc/sys/uio.h: Likewise.
27492 * misc/sys/xattr.h: Likewise.
27493 * misc/ttyent.h: Likewise.
27494 * nis/rpcsvc/ypclnt.h: Likewise.
27495 * nss/nss.h: Likewise.
27496 * posix/bits/unistd.h: Likewise.
27497 * posix/fnmatch.h: Likewise.
27498 * posix/glob.h: Likewise.
27499 * posix/sched.h: Likewise.
27500 * posix/spawn.h: Likewise.
27501 * posix/sys/wait.h: Likewise.
27502 * posix/unistd.h: Likewise.
27503 * posix/wordexp.h: Likewise.
27504 * pwd/pwd.h: Likewise.
27505 * resolv/netdb.h: Likewise.
27506 * resource/sys/resource.h: Likewise.
27507 * rt/aio.h: Likewise.
27508 * rt/bits/mqueue2.h: Likewise.
27509 * rt/mqueue.h: Likewise.
27510 * shadow/shadow.h: Likewise.
27511 * signal/signal.h: Likewise.
27512 * socket/send.c: Likewise.
27513 * socket/sendto.c: Likewise.
27514 * socket/sys/socket.h: Likewise.
27515 * stdio-common/printf.h: Likewise.
27516 * stdlib/bits/stdlib.h: Likewise.
27517 * stdlib/fmtmsg.h: Likewise.
27518 * stdlib/monetary.h: Likewise.
27519 * stdlib/stdlib.h: Likewise.
27520 * stdlib/ucontext.h: Likewise.
27521 * streams/stropts.h: Likewise.
27522 * string/argz.h: Likewise.
27523 * string/bits/string2.h: Likewise.
27524 * string/string.h: Likewise.
27525 * string/strings.h: Likewise.
27526 * sunrpc/rpc/auth.h: Likewise.
27527 * sunrpc/rpc/auth_des.h: Likewise.
27528 * sunrpc/rpc/clnt.h: Likewise.
27529 * sunrpc/rpc/netdb.h: Likewise.
27530 * sunrpc/rpc/pmap_clnt.h: Likewise.
27531 * sunrpc/rpc/xdr.h: Likewise.
27532 * sysdeps/generic/inttypes.h: Likewise.
27533 * sysdeps/generic/net/if.h: Likewise.
27534 * sysdeps/generic/sys/swap.h: Likewise.
27535 * sysdeps/gnu/net/if.h: Likewise.
27536 * sysdeps/gnu/utmpx.h: Likewise.
27537 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27538 * sysdeps/i386/i486/bits/string.h: Likewise.
27539 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27540 * sysdeps/s390/bits/string.h: Likewise.
27541 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27542 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27543 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27544 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27545 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27546 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27547 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27548 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27549 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27550 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27551 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27552 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27553 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27554 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27555 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27556 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27557 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27560 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27562 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27563 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27564 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27565 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27566 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27567 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27569 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27570 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27571 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27572 * sysvipc/sys/ipc.h: Likewise.
27573 * sysvipc/sys/msg.h: Likewise.
27574 * sysvipc/sys/sem.h: Likewise.
27575 * sysvipc/sys/shm.h: Likewise.
27576 * termios/termios.h: Likewise.
27577 * time/sys/time.h: Likewise.
27578 * time/time.h: Likewise.
27579 * wcsmbs/bits/wchar2.h: Likewise.
27580 * wcsmbs/uchar.h: Likewise.
27581 * wcsmbs/wchar.h: Likewise.
27582 * wctype/wctype.h: Likewise.
27585 * Makeconfig: Remove all but ELF support including AIX support.
27586 * Makerules: Likewise.
27587 * config.h.in: Likewise.
27588 * config.make.in: Likewise.
27589 * configure: Likewise.
27590 * configure.in: Likewise.
27591 * csu/Makefile: Likewise.
27592 * csu/version.c: Likewise.
27593 * debug/Makefile: Likewise.
27594 * dlfcn/Makefile: Likewise.
27595 * elf/Makefile: Likewise.
27596 * extra-lib.mk: Likewise.
27597 * iconv/Makefile: Likewise.
27598 * include/libc-symbols.h: Likewise.
27599 * include/shlib-compat.h: Likewise.
27600 * resolv/Makefile: Likewise.
27601 * resolv/res_libc.c: Likewise.
27602 * rt/Makefile: Likewise.
27603 * sysdeps/i386/asm-syntax.h: Likewise.
27604 * sysdeps/i386/sysdep.h: Likewise.
27605 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27606 * sysdeps/mach/sysdep.h: Likewise.
27607 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27608 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27609 * sysdeps/s390/asm-syntax.h: Likewise.
27610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27612 * sysdeps/sh/sysdep.h: Likewise.
27613 * sysdeps/unix/sparc/sysdep.h: Likewise.
27614 * sysdeps/wordsize-32/divdi3.c: Likewise.
27615 * sysdeps/x86_64/sysdep.h: Likewise.
27617 * argp/Versions: Remove _argp_unlock_xxx.
27620 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27621 * abilist/libBrokenLocale.abilist: Likewise.
27622 * abilist/libanl.abilist: Likewise.
27623 * abilist/libc.abilist: Likewise.
27624 * abilist/libcrypt.abilist: Likewise.
27625 * abilist/libdl.abilist: Likewise.
27626 * abilist/libm.abilist: Likewise.
27627 * abilist/libnsl.abilist: Likewise.
27628 * abilist/libpthread.abilist: Likewise.
27629 * abilist/libresolv.abilist: Likewise.
27630 * abilist/librt.abilist: Likewise.
27631 * abilist/libthread_db.abilist: Likewise.
27632 * abilist/libutil.abilist: Likewise.
27633 * abilist/libnss_db.abilist: New file.
27635 * scripts/abilist.awk: Add support for indirect functions.
27637 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27639 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27641 * shlib-versions: Remove entries for ports architectures.
27643 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27645 * elf/stackguard-macros.h: Remove support for IA-64.
27646 * elf/tst-auditmod1.c: Likewise.
27647 * sysdeps/generic/ldsodefs.h: Likewise.
27649 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27650 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27654 * configure.in: Remove --enable-omitfp support.
27656 * config.make.in: Likewise.
27657 * Makeconfig: Likewise.
27658 * manual/install.texi: Likewise.
27660 In case anyone cares, the IA-64 architecture could move to ports.
27661 * sysdeps/ia64/*: Removed.
27662 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27663 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27666 * configure.in: Remove entries for unsupported architectures.
27669 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27670 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27672 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27673 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27674 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27675 fall back to using wcrtomb.
27676 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27677 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27679 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27680 * wcsmbs/tst-c16c32-1.c: New file.
27682 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27685 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27687 * elf/tst-unique3.cc: Add explicit declaration of gets.
27688 * elf/tst-unique3lib.cc: Likewise.
27689 * elf/tst-unique3lib2.cc: Likewise.
27690 * elf/tst-unique4.cc: Likewise.
27692 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27694 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27697 * assert/assert.h (static_assert): Don't define for C++.
27698 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27699 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27701 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27703 * iconv/loop.c (single loop): Fix assertion in storing of
27706 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27708 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27710 * posix/getconf.c: Update copyright year.
27711 * nss/getent.c: Likewise.
27712 * nss/makedb.c: Likewise.
27713 * iconv/iconvconfig.c: Likewise.
27714 * iconv/iconv_prog.c: Likewise.
27715 * elf/ldconfig.c: Likewise.
27716 * elf/pldd.c: Likewise.
27717 * elf/sotruss.ksh: Likewise.
27718 * catgets/gencat.c: Likewise.
27719 * csu/version.c: Likewise.
27720 * elf/ldd.bash.in: Likewise.
27721 * elf/sprof.c (print_version): Likewise.
27722 * locale/programs/locale.c: Likewise.
27723 * locale/programs/localedef.c: Likewise.
27724 * login/programs/pt_chown.c: Likewise.
27725 * nscd/nscd.c (print_version): Likewise.
27726 * debug/xtrace.sh: Likewise.
27727 * malloc/memusage.sh: Likewise.
27728 * malloc/mtrace.pl: Likewise.
27729 * debug/catchsegv.sh: Likewise.
27731 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27733 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27736 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27739 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27740 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27742 * iconv/gconv_int.h: Likewise.
27743 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27744 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27745 from libc for GLIBC_2.16.
27746 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27747 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27748 * wcsmbs/uchar.h: Really define mbstate_t.
27749 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27750 * wcsmbs/c16rtomb.c: New file.
27751 * wcsmbs/mbrtoc16.c: New file.
27752 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27753 for C/POSIX locale.
27754 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27755 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27757 * wcsmbs/wchar.h: Add missing __restrict.
27759 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27762 * time/Makefile (routines): Add timespec_get.
27763 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27764 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27765 timespec for ISO C11.
27766 * time/timespec_get.c: New file.
27767 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27768 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27771 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27772 * stdlib/stdlib.h: Declare aligned_alloc.
27773 * Versions.def: Add GLIBC_2.16 for libc.
27774 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27777 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27780 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27784 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27787 * assert/assert.h (static_assert): Define.
27789 * version.h: Update for 2.16 development version.
27792 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27795 * version.h (RELEASE): Bump for 2.15 release.
27796 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27798 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27799 Patch by Marek Polacek <mpolacek@redhat.com>.
27801 * bits/byteswap.h: Protect long long constants with __extension__.
27802 * sysdeps/i386/bits/byteswap.h: Likewise.
27803 * sysdeps/ia64/bits/byteswap.h: Likewise.
27804 * sysdeps/s390/bits/byteswap.h: Likewise.
27805 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27807 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27810 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27811 destination buffer.
27812 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27814 2011-12-23 Marek Polacek <polacek@redhat.com>
27816 * elf/dl-addr.c (determine_info): Add inline keyword.
27817 * elf/tst-auditmod4b.c (check_avx): Likewise.
27818 * elf/tst-auditmod6b.c (check_avx): Likewise.
27819 * elf/tst-auditmod6c.c (check_avx): Likewise.
27820 * elf/tst-auditmod7b.c (check_avx): Likewise.
27822 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27827 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27830 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27831 processing for last bytes.
27833 2011-08-06 Bruno Haible <bruno@clisp.org>
27836 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27837 U+0385, not to U+1FEE.
27840 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27841 entry for U+00A5 U+0301.
27843 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27846 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27847 buffer for the output is too small.
27849 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27853 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27854 SSE flags if possible.
27856 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27860 processing for last bytes.
27862 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27864 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27865 (syscall-list-default-options, syscall-list-default-condition)
27866 (syscall-list-includes): Define.
27867 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27868 list of ABIs and options and #if conditions for each ABI. Do not
27869 handle common syscalls between ABIs specially.
27870 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27872 (syscall-list-variants, syscall-list-32bit-options)
27873 (syscall-list-32bit-condition, syscall-list-64bit-options)
27874 (syscall-list-64bit-condition): Define.
27875 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27876 (syscall-list-variants, syscall-list-32bit-options)
27877 (syscall-list-32bit-condition, syscall-list-64bit-options)
27878 (syscall-list-64bit-condition): Define.
27879 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27881 (syscall-list-variants, syscall-list-32bit-options)
27882 (syscall-list-32bit-condition, syscall-list-64bit-options)
27883 (syscall-list-64bit-condition): Define.
27884 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27886 (syscall-list-variants, syscall-list-32bit-options)
27887 (syscall-list-32bit-condition, syscall-list-64bit-options)
27888 (syscall-list-64bit-condition): Define.
27890 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27892 * locale/iso-639.def: Add brx entry.
27895 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27896 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27898 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27899 __feraiseexcept_renamed.
27901 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27904 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27905 EPOLLET with unsigned values.
27906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27909 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27910 to large cancellation.
27911 * math/s_cacoshf.c: Likewise.
27912 * math/s_cacoshl.c: Likewise.
27914 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27918 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27919 * math/s_cacoshf.c: Likewise.
27920 * math/s_cacoshl.c: Likewise.
27922 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27925 * iconv/gconv.h: Define __GCONV_SWAP.
27926 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27927 * iconvdata/utf-16.c: Likewise.
27928 * iconvdata/utf-32.c: Likewise.
27930 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27934 numerator after shifting it by one limb.
27936 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27939 under [__USE_EXTERN_INLINES].
27941 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27944 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27946 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27948 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27949 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27951 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27952 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27953 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27954 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27955 for strncasecmp/strncasecmp_l compilation.
27956 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27957 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27959 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27962 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27965 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27968 * time/tzfile.c (__tzfile_read): Check values from file header.
27970 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27972 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27973 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27974 * powerpc/powerpc32/dl-start.S: Likewise.
27975 * powerpc/powerpc32/elf/start.S: Likewise.
27976 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27977 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27978 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27979 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27980 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27981 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27982 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27983 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27984 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27985 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27986 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27987 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27988 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27989 * powerpc/powerpc32/memset.S: Likewise.
27990 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27991 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27992 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27993 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27994 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27995 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27996 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27997 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27998 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27999 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28000 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28001 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28002 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28004 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28006 * math/libm-test.inc: Added more nearbyint tests.
28007 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28012 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28014 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28017 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28019 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28020 Add wcscpy-ssse3 wcscpy-c.
28021 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28022 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28023 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28024 * sysdeps/x86_64/wcschr.S: New file.
28025 * sysdeps/x86_64/wcsrchr.S: New file.
28026 * string/test-strcmp.c: Remove checking of wcscmp function for
28028 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28029 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28030 wcsrchr-sse2 wcsrchr-c.
28031 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28032 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28033 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28034 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28035 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28036 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28037 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28038 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28039 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28040 * wcsmbc/wcschr.c (WCSCHR): New macro.
28042 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28044 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28045 * wcsmbs/test-wcsrchr.c: New file.
28046 * string/test-strrchr.c: Add wcsrchr support.
28048 * wcsmbs/test-wcscpy.c: New file.
28049 * string/test-strcpy.c: Add wcscpy support.
28052 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28057 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28060 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28062 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28065 Minor optimizations.
28067 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28068 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28069 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28071 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28073 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28074 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28075 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28076 for gcc to avoid warnings.
28077 * inet/Makefile (tests): Add tst-checks.
28078 * inet/tst-checks.c: New file.
28080 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28083 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28086 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28087 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28089 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28091 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28093 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28096 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28098 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28100 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28101 conditional on GCC version.
28102 (__arch_compare_and_exchange_val_8_acq)
28103 (__arch_compare_and_exchange_val_16_acq)
28104 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28105 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28106 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28108 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28110 * sysdeps/sh/backtrace.c: New file.
28112 2011-12-02 Andreas Schwab <schwab@redhat.com>
28114 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28117 2011-12-01 Andreas Schwab <schwab@redhat.com>
28119 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28120 falling back to utime.
28122 2011-11-30 Andreas Schwab <schwab@redhat.com>
28124 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28125 expectations for float.
28127 2011-11-29 Andreas Schwab <schwab@redhat.com>
28129 * locale/weight.h (findidx): Add parameter len.
28130 * locale/weightwc.h (findidx): Likewise.
28131 * posix/fnmatch_loop.c (FCT): Adjust caller.
28132 * posix/regcomp.c (build_equiv_class): Likewise.
28133 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28134 * posix/regexec.c (check_node_accept_bytes): Likewise.
28135 * string/strcoll_l.c (STRCOLL): Likewise.
28136 * string/strxfrm_l.c (STRXFRM): Likewise.
28138 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28140 * Makefile.in: Remove CVSOPT handling.
28141 * configure.in: Remove use of AC_REVISION.
28142 * iconvdata/Makefile (distribute): No need to filter out CVS.
28143 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28146 2011-11-16 Andreas Schwab <schwab@redhat.com>
28148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28149 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28150 [USE_AS_STRNCASECMP_L]: Likewise.
28151 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28152 NO_TLS_DIRECT_SEG_REFS.
28153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28154 Fix argument offsets for non-PIC.
28155 [USE_AS_STRNCASECMP_L]: Likewise.
28156 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28157 NO_TLS_DIRECT_SEG_REFS.
28159 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28161 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28163 * locale/loadlocale.c (_nl_load_locale): Likewise.
28165 2011-11-15 Andreas Schwab <schwab@redhat.com>
28167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28168 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28170 (SYSCALL_GETTIME): Set errno on error.
28172 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28173 count references to noai6ai_cached.
28175 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28177 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28179 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28180 FD_CLOEXEC for /proc/self/maps.
28182 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28183 FD_CLOEXEC for /proc/meminfo.
28185 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28188 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28189 FD_CLOEXEC for given file.
28191 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28193 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28194 FD_CLOEXEC for /etc/hosts.
28195 (_gethtent): Likewise.
28197 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28199 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28200 cancellation and set FD_CLOEXEC for /etc/netgroup.
28202 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28203 reading /etc/publickey.
28205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28206 allow cancellation when reading /etc/group.
28208 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28210 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28212 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28213 when using data file.
28215 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28217 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28218 (write_nis_obj): Use "c" and "e" in fopen.
28220 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28222 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28224 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28226 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28228 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28231 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28233 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28235 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28237 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28238 file parsing and set FD_CLOEXEC.
28240 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28242 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28244 2011-11-14 Andreas Schwab <schwab@redhat.com>
28246 * malloc/arena.c (arena_get2): Don't call reused_arena when
28247 _int_new_arena failed.
28249 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28251 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28252 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28254 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28256 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28257 to compile strcasecmp and strncasecmp.
28258 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28259 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28263 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28266 locale-defines.sym to gen-as-const-headers.
28267 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28268 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28270 to compile strcasecmp and strncasecmp.
28271 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28272 strcasecmp_l and strncasecmp_l.
28273 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28274 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28275 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28276 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28277 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28278 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28279 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28280 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28281 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28282 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28283 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28285 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28287 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28288 result of SYSDEP_GETTIME_CPU to retval.
28289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28290 parameter list to macro. Remove trailing semicolon. Adjust users.
28292 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28295 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28297 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28300 from unused variable.
28302 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28304 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28307 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28310 * sunrpc/rpc_prot.c (rejected): Fix case value.
28312 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28313 unsigned long long int to avoid warnings in shift.
28315 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28317 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28320 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28321 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28324 * nis/nis_table.c (nis_list): Use variable of correct type for
28325 result of __follow_path call.
28327 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28329 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28330 of math functions ceil, trunc, floor, round, and sqrt, when
28331 avaliable on the platform.
28332 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28338 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28340 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28341 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28343 2011-11-11 Roland McGrath <roland@hack.frob.com>
28345 * include/unistd.h: Fix __readlink return type.
28346 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28348 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28350 * stdlib/ucontext.h: Undo last change for makecontext.
28352 2011-11-11 Andreas Schwab <schwab@redhat.com>
28354 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28356 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28357 * setjmp/setjmp.h: Mark functions as non-leaf.
28358 * setjmp/bits/setjmp2.h: Likewise.
28359 * stdlib/ucontext.h: Likewise.
28361 2011-11-10 Andreas Schwab <schwab@redhat.com>
28363 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28364 (reused_arena): Don't check arena limit.
28365 (arena_get2): Atomically check arena limit.
28367 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28369 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28370 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28375 2011-11-07 Andreas Schwab <schwab@redhat.com>
28377 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28378 handler when locking.
28380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28381 Fix size of allocated buffer.
28383 2011-11-04 Andreas Schwab <schwab@redhat.com>
28386 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28387 declarations for long double functions.
28388 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28390 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28392 2011-11-03 Andreas Schwab <schwab@redhat.com>
28394 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28397 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28400 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28402 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28404 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28406 * include/alloca.h (stackinfo_alloca_round): Define.
28407 (extend_alloca): Use it.
28408 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28409 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28412 * scripts/check-local-headers.sh: Ignore libaudit.h.
28414 * nscd/Makefile (extra-objs): Make recursively expanded.
28416 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28418 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28421 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28422 * posix/tst-rfc3484-2.c: Likewise.
28423 * posix/tst-rfc3484-3.c: Likewise.
28425 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28427 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28429 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28430 process_vm_writev from libc using GLIBC_2.15 version.
28432 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28434 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28436 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28439 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28442 * nss/getent.c (initgroups_keys): Show error message in case no group
28445 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28446 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28447 __bump_nl_timestamp.
28448 * nscd/connections (nscd_init): When host database is served open
28449 netlink socket and request notification about configuration changes.
28450 (main_loop_poll): Track netlink file descriptor and bump timestamp
28451 in case data becomes available.
28452 (main_loop_epoll): Likewise.
28453 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28454 (database_pers_head): Add extra_data fileds.
28455 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28456 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28457 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28460 in6ai data, call __free_in6ai.
28461 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28462 Add -DHAVE_NETLINK.
28463 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28464 interface information. Reuse previous data if netlink timestamp
28466 (__bump_nl_timestamp): New function.
28467 (__free_in6ai): New function.
28469 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28471 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28472 close_not_cancel_no_status here.
28473 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28475 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28478 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28481 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28482 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28483 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28485 2011-07-03 Andreas Jaeger <aj@suse.de>
28488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28489 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28490 * math/libm-test.inc (sin_test): Add test case.
28492 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28495 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28496 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28498 * elf/chroot_canon.c (chroot_canon): Cleanups.
28500 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28503 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28504 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28506 * string/test-strchr.c: Make usable for strchrnul testing.
28507 * string/test-strchrnul.c: New file.
28508 * string/Makefile (strop-tests): Add strchrnul.
28510 * po/it.po: Update from translation team.
28511 * po/es.po: Likewise.
28513 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28515 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28516 the three constants needed as parameters. Drop the others.
28517 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28518 __m128i_strloadu_tolower.
28519 Create and initialize variable zero and use it in all the places
28520 where _mm_setzero_si128 was used.
28522 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28523 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28524 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28525 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28527 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28528 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28529 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28530 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28531 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28532 __mpranred, __mptan.
28533 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28534 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28535 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28536 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28537 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28538 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28540 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28541 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28543 2011-10-28 Andreas Schwab <schwab@redhat.com>
28545 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28546 redefine if SHARED.
28547 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28550 wide char related routines to wcsmbs subdir.
28552 2011-10-27 Andreas Schwab <schwab@redhat.com>
28555 * misc/sys/cdefs.h (__THROWNL): Define.
28556 * posix/unistd.h: Use __THREADNL instead of __THREAD
28557 for memory synchronization functions.
28559 2011-10-26 Roland McGrath <roland@hack.frob.com>
28562 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28564 * manual/stdio.texi (Obstack Streams): Node removed.
28566 2011-10-26 Andreas Schwab <schwab@redhat.com>
28568 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28570 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28572 * math/math_private.h (math_force_eval): Allow non-addressable
28574 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28576 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28579 file is not needed.
28581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28584 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28586 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28588 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28590 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28591 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28592 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28593 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28594 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28595 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28596 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28598 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28599 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28600 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28601 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28603 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28604 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28605 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28606 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28607 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28608 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28610 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28611 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28614 place. Use VEX encoding when compiling for AVX.
28616 2011-10-25 Andreas Schwab <schwab@redhat.com>
28618 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28621 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28625 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28626 useless if() expression.
28627 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28638 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28639 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28640 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28642 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28645 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28647 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28649 2011-10-25 Andreas Schwab <schwab@redhat.com>
28651 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28653 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28655 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28657 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28658 .text section. Avoid duplicate constants.
28659 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28663 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28668 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28669 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28670 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28671 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28676 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28679 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28680 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28681 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28682 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28683 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28684 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28685 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28686 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28687 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28689 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28690 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28691 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28692 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28693 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28694 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28695 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28696 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28697 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28698 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28699 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28700 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28701 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28702 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28703 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28705 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28707 * sysdeps/x86_64/dla.h: Move to ...
28708 * sysdeps/x86_64/fpu/dla.h: ...here.
28709 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28710 situations. Use __builtin_fma only for gcc 4.6 and up.
28712 * config.make.in: Add have-mfma4 entry.
28713 * configure.in: Substitute libc_cv_cc_fma4.
28714 * math/Makefile (dbl-only-routines): Add sincostab.
28715 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28716 Use __sincostab not sincos.
28717 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28724 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28725 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28726 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28727 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28729 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28730 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28732 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28733 define aliases when function name is a macro.
28734 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28735 sysdeps/ieee754/dbl-64/sincos.tbl.
28736 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28737 fma4-enabled routines.
28738 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28739 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28740 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28741 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28742 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28743 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28744 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28746 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28747 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28748 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28750 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28751 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28752 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28753 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28754 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28755 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28756 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28757 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28758 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28761 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28763 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28765 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28766 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28767 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28769 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28780 2011-10-24 Andreas Schwab <schwab@redhat.com>
28782 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28784 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28786 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28788 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28792 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28793 Remove unused variable magic_bits.
28794 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28796 * string/strnlen.c: Define and use STRNLEN macro.
28797 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28798 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28800 * wcsmbs/wcslen.c: Define and use WCSLEN.
28801 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28802 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28803 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28804 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28805 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28806 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28807 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28809 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28812 strnlen-sse2-no-bsf.
28813 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28815 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28816 Add strnlen support.
28817 (USE_AS_STRNLEN): New macro.
28818 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28819 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28820 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28821 * sysdeps/x86_64/wcslen.S: New file.
28823 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28826 XMM-moves are used for copying on small sizes.
28828 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28830 * wcsmbs/Makefile (strop-tests): Add wcschr.
28831 * wcsmbs/test-wcschr.c: New file.
28832 * string/test-strchr.c: Update.
28833 Add wcschr support.
28836 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28838 * wcsmbs/Makefile (strop-tests): Add wcslen.
28839 * wcsmbs/test-wcslen.c: New file.
28840 * string/test-strlen.c: Update.
28841 Add wcslen support.
28844 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28846 * po/it.po: Update from translation team.
28848 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28850 * sysdeps/x86_64/wcscmp.S: Update.
28851 Fix wrong comparison semantics.
28852 wcscmp shall use signed comparison not unsigned.
28853 Don't use substraction to avoid overflow bug.
28854 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28855 * wcsmbc/wcscmp.c: Likewise.
28856 * string/test-strcmp.c: Likewise.
28857 Add new tests to check cases with negative values.
28859 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28861 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28862 * sysdeps/x86_64/dla.h: ...here. New file.
28863 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28873 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28876 __ynl_finite aliases.
28878 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28882 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28884 [DLA_FMA] (EMULV): Use DLA_FMA.
28885 [DLA_FMA] (MUL12): Use EMULV.
28886 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28887 that are not needed.
28888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28896 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28898 * math/s_nan.c: Undef __nan.
28899 * math/s_nanf.c: Undef __nanf.
28900 * math/s_nanl.c: Undef __nanl.
28901 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28904 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28906 * math/s_catan.c: Add branch predictions.
28907 * math/s_catanf.c: Likewise.
28908 * math/s_catanh.c: Likewise.
28909 * math/s_catanhf.c: Likewise.
28910 * math/s_catanhl.c: Likewise.
28911 * math/s_catanl.c: Likewise.
28912 * math/s_cexp.c: Likewise.
28913 * math/s_cexpf.c: Likewise.
28914 * math/s_cexpl.c: Likewise.
28915 * math/s_clog.c: Likewise.
28916 * math/s_clog10.c: Likewise.
28917 * math/s_clog10f.c: Likewise.
28918 * math/s_clog10l.c: Likewise.
28919 * math/s_clogf.c: Likewise.
28920 * math/s_clogl.c: Likewise.
28921 * math/s_csqrt.c: Likewise.
28922 * math/s_csqrtf.c: Likewise.
28923 * math/s_csqrtl.c: Likewise.
28924 * math/s_ctanf.c: Likewise.
28925 * math/s_ctanh.c: Likewise.
28926 * math/s_ctanhf.c: Likewise.
28927 * math/s_ctanhl.c: Likewise.
28928 * math/s_ctanl.c: Likewise.
28930 * math/math_private.h: Define __nan, __nanf, __nanl.
28931 * math/s_cacosh.c: Include <math_private.h>.
28932 * math/s_cacoshl.c: Likewise.
28933 * math/s_casinh.c: Likewise.
28934 * math/s_casinhf.c: Likewise.
28935 * math/s_casinhl.c: Likewise.
28936 * math/s_ccos.c: Rely entire on ccosh.
28937 * math/s_ccosf.c: Rely entire on ccoshf.
28938 * math/s_ccosl.c: Rely entirely on ccoshl.
28939 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28940 Remove tests for FE_INVALID.
28941 * math/s_ccoshf.c: Likewise.
28942 * math/s_ccoshl.c: Likewise.
28943 * math/s_csin.c: Likewise.
28944 * math/s_csinf.c: Likewise.
28945 * math/s_csinh.c Likewise.
28946 * math/s_csinhf.c: Likewise.
28947 * math/s_csinhl.c: Likewise.
28948 * math/s_csinl.c: Likewise.
28949 * math/s_ctan.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28951 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28952 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28954 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28957 compilation problems.
28959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28962 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28964 * sysdeps/i386/configure.in: Test for -mfma4 option.
28965 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28966 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28967 COMMON_CPUID_INDEX_80000001.
28968 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28969 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28970 use it if FMA3 is not supported.
28971 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28973 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28974 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28976 2011-10-20 Andreas Schwab <schwab@redhat.com>
28979 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28980 it would create a cycle with a link time dependency.
28982 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28984 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28986 * string/Makefile (strop-tests): Add rawmemchr.
28987 * string/test-rawmemchr.c: New file.
28989 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28991 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28992 when compiling str{,n}casecmp and when AVX is available. Hook up
28993 new optimized code in initializers.
28995 2011-10-19 Andreas Schwab <schwab@redhat.com>
28997 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28998 __feraiseexcept instead of feraiseexcept.
29000 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29002 * math/math_private.h: Define defaults for libc_fetestexcept and
29004 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29005 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29006 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29007 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29008 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29009 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29010 libc_fetestexcept and libc_feupdateenv.
29012 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29013 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29014 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29015 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29016 libc_feholdexcept_setround.
29018 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29019 Add s_nearbyint-c and s_nearbyintf-c.
29020 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29021 nearbyintf inlines.
29022 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29023 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29024 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29025 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29027 * math/math_private.h: Define defaults for libc_fegetround,
29028 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29029 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29030 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29031 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29032 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29033 standard functions.
29034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29035 Remove comments and hacks for old compiler versions.
29036 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29037 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29038 libc_feholdexceptl.
29040 2011-10-18 Andreas Schwab <schwab@redhat.com>
29042 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29043 (__feraiseexcept_renamed): Add __NTH.
29044 (feraiseexcept): Add __NTH. Rename local variables to fix
29045 namespace violations.
29047 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29049 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29051 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29053 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29054 recently added interfaces.
29055 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29057 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29058 about macro parameter expansion.
29060 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29061 __NO_MATH_INLINES is defined. Cleanups.
29063 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29064 and __floorf is target has SSE4.1.
29065 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29067 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29068 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29070 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29072 (floorf): Likewise.
29074 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29076 2011-10-17 Andreas Schwab <schwab@redhat.com>
29078 * misc/sys/cdefs.h: Fix last change.
29080 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29083 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29085 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29087 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29093 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29094 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29096 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29097 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29098 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29099 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29100 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29101 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29102 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29103 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29104 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29105 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29106 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29107 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29108 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29110 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29111 ceil, ceilf, floor, floorf.
29113 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29114 Perform IRELATIVE relocations last.
29116 * elf/do-rel.h: Add another parameter nrelative, replacing the
29117 local variable with the same name. Change name of the function
29118 to end in Rel or Rela (uppercase).
29119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29120 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29121 elf_dynamic_do_##reloc function.
29123 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29125 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29126 is sufficient, at least on modern CPUs.
29128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29130 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29133 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29135 * math/bits/math-finite.h: Add entries for exp.
29136 * math/e_expl.c: Add __*_finite alias.
29137 * sysdeps/i386/fpu/e_exp.S: Likewise.
29138 * sysdeps/i386/fpu/e_expf.S: Likewise.
29139 * sysdeps/i386/fpu/e_expl.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29141 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29145 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29146 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29148 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29149 is sufficient, at least on modern CPUs.
29151 * ctype/ctype-info.c (__ctype_init): Define.
29152 * include/ctype.h (__ctype_init): Declare.
29153 (__ctype_b_loc): The variable is always initialized.
29154 (__ctype_toupper_loc): Likewise.
29155 (__ctype_tolower_loc): Likewise.
29156 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29157 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29159 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29161 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29163 * configure.in: Also look in $cxxmachine/include for C++ system
29166 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29168 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29169 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29170 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29171 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29172 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29173 (USE_AS_WMEMCMP): New macro.
29175 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29176 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29177 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29178 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29180 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29181 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29183 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29184 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29186 (USE_AS_WMEMCMP): New macro.
29187 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29188 * sysdeps/string/test-memcmp.c: Update.
29189 Fix simple_wmemcmp.
29191 * wcsmbs/wmemcmp.c: Update.
29192 (WMEMCMP): New macro.
29195 2011-10-12 Andreas Jaeger <aj@suse.de>
29198 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29200 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29202 * libio/iofwide.c (do_length): Avoid warning.
29204 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29206 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29208 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29210 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29211 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29212 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29213 * sysdeps/i386/i686/fpu/e_log.S: New file.
29214 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29215 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29217 * ctype/ctype.h: Add support for inlined isXXX functions when
29218 compiling C++ code.
29220 2011-10-14 Andreas Schwab <schwab@redhat.com>
29222 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29224 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29226 2011-10-13 Roland McGrath <roland@hack.frob.com>
29229 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29231 2011-10-13 Andreas Schwab <schwab@redhat.com>
29233 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29234 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29237 * sysdeps/x86_64/memrchr.S: Check for zero size.
29239 * string/stratcliff.c: Add memrchr tests.
29241 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29244 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29245 rawmemchr-sse2 rawmemchr-sse2-bsf.
29246 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29247 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29248 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29249 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29250 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29251 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29252 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29253 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29254 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29255 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29256 * string/memrchr.c (MEMRCHR): New macro.
29258 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29260 Add integration with gcc's -ffinite-math-only and optimize wrapper
29262 * Versions.def: Define GLIBC_2.15 version for libm.
29263 * math/Makefile (headers): Add bits/math-finite.h.
29264 * math/bits/math-finite.h: New file.
29265 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29266 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29267 * math/e_acoshl.c: Add __*_finite alias.
29268 * math/e_acosl.c: Likewise.
29269 * math/e_asinl.c: Likewise.
29270 * math/e_atan2l.c: Likewise.
29271 * math/e_atanhl.c: Likewise.
29272 * math/e_coshl.c: Likewise.
29273 * math/e_exp10.c: Likewise.
29274 * math/e_exp10f.c: Likewise.
29275 * math/e_exp10l.c: Likewise.
29276 * math/e_exp2l.c: Likewise.
29277 * math/e_fmodl.c: Likewise.
29278 * math/e_gammal_r.c: Likewise.
29279 * math/e_hypotl.c: Likewise.
29280 * math/e_j0l.c: Likewise.
29281 * math/e_j1l.c: Likewise.
29282 * math/e_jnl.c: Likewise.
29283 * math/e_lgammal_r.c: Likewise.
29284 * math/e_log10l.c: Likewise.
29285 * math/e_log2l.c: Likewise.
29286 * math/e_logl.c: Likewise.
29287 * math/e_powl.c: Likewise.
29288 * math/e_sinhl.c: Likewise.
29289 * math/e_sqrtl.c: Likewise.
29290 * math/e_scalb.c: Completely rewritten and optimized.
29291 * math/e_scalbf.c: Likewise.
29292 * math/e_scalbl.c: Likewise.
29293 * math/w_acos.c: Likewise.
29294 * math/w_acosf.c: Likewise.
29295 * math/w_acosl.c: Likewise.
29296 * math/w_acosh.c: Likewise.
29297 * math/w_acoshf.c: Likewise.
29298 * math/w_acoshl.c: Likewise.
29299 * math/w_asin.c: Likewise.
29300 * math/w_asinf.c: Likewise.
29301 * math/w_asinl.c: Likewise.
29302 * math/w_atan2.c: Likewise.
29303 * math/w_atan2f.c: Likewise.
29304 * math/w_atan2l.c: Likewise.
29305 * math/w_atanh.c: Likewise.
29306 * math/w_atanhf.c: Likewise.
29307 * math/w_atanhl.c: Likewise.
29308 * math/w_exp10.c: Likewise.
29309 * math/w_exp10f.c: Likewise.
29310 * math/w_exp10l.c: Likewise.
29311 * math/w_fmod.c: Likewise.
29312 * math/w_fmodf.c: Likewise.
29313 * math/w_fmodl.c: Likewise.
29314 * math/w_j0.c: Likewise.
29315 * math/w_j0f.c: Likewise.
29316 * math/w_j0l.c: Likewise.
29317 * math/w_j1.c: Likewise.
29318 * math/w_j1f.c: Likewise.
29319 * math/w_j1l.c: Likewise.
29320 * math/w_jn.c: Likewise.
29321 * math/w_jnf.c: Likewise.
29322 * math/w_log.c: Likewise.
29323 * math/w_logf.c: Likewise.
29324 * math/w_logl.c: Likewise.
29325 * math/w_log10.c: Likewise.
29326 * math/w_log10f.c: Likewise.
29327 * math/w_log10l.c: Likewise.
29328 * math/w_log2.c: Likewise.
29329 * math/w_log2f.c: Likewise.
29330 * math/w_log2l.c: Likewise.
29331 * math/w_pow.c: Likewise.
29332 * math/w_powf.c: Likewise.
29333 * math/w_powl.c: Likewise.
29334 * math/w_remainder.c: Likewise.
29335 * math/w_remainderf.c: Likewise.
29336 * math/w_remainderl.c: Likewise.
29337 * math/w_scalb.c: Likewise.
29338 * math/w_scalbf.c: Likewise.
29339 * math/w_scalbl.c: Likewise.
29340 * math/w_sqrt.c: Likewise.
29341 * math/w_sqrtf.c: Likewise.
29342 * math/w_sqrtl.c: Likewise.
29343 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29344 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29346 * math/math_private.h: Declare __kernel_standard_f.
29347 * math/w_cosh.c: Remove cruft and optimize a bit.
29348 * math/w_coshf.c: Likewise.
29349 * math/w_coshl.c: Likewise.
29350 * math/w_exp2.c: Likewise.
29351 * math/w_exp2f.c: Likewise.
29352 * math/w_exp2l.c: Likewise.
29353 * math/w_hypot.c: Likewise.
29354 * math/w_hypotf.c: Likewise.
29355 * math/w_hypotl.c: Likewise.
29356 * math/w_lgamma.c: Likewise.
29357 * math/w_lgamma_r.c: Likewise.
29358 * math/w_lgammaf.c: Likewise.
29359 * math/w_lgammaf_r.c: Likewise.
29360 * math/w_lgammal.c: Likewise.
29361 * math/w_lgammal_r.c: Likewise.
29362 * math/w_sinh.c: Likewise.
29363 * math/w_sinhf.c: Likewise.
29364 * math/w_sinhl.c: Likewise.
29365 * math/w_tgamma.c: Likewise.
29366 * math/w_tgammaf.c: Likewise.
29367 * math/w_tgammal.c: Likewise.
29368 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29370 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29371 Minor optimizations. Pretty printing. Remove cruft.
29372 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29373 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29374 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29376 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29377 * sysdeps/i386/fpu/e_asin.S: Likewise.
29378 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29379 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29380 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29381 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29382 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29385 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29386 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29387 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29388 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29389 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29390 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29391 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29392 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29393 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29394 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29395 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29396 * sysdeps/i386/fpu/e_log.S: Likewise.
29397 * sysdeps/i386/fpu/e_log10.S: Likewise.
29398 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29400 * sysdeps/i386/fpu/e_log2.S: Likewise.
29401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29403 * sysdeps/i386/fpu/e_logf.S: Likewise.
29404 * sysdeps/i386/fpu/e_logl.S: Likewise.
29405 * sysdeps/i386/fpu/e_pow.S: Likewise.
29406 * sysdeps/i386/fpu/e_powf.S: Likewise.
29407 * sysdeps/i386/fpu/e_powl.S: Likewise.
29408 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29409 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29410 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29411 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29414 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29415 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29416 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29417 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29420 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29421 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29422 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29423 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29424 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29427 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29428 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29431 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29433 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29434 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29438 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29441 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29442 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29443 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29444 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29445 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29455 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29456 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29457 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29458 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29482 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29488 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29503 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29508 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29509 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29510 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29511 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29512 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29513 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29514 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29515 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29516 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29517 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29518 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29519 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29520 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29521 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29523 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29525 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29526 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29527 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29528 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29529 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29530 (__isnanf): Likewise.
29531 (__isinf_ns): Likewise.
29532 (__isinf_nsf): Likewise.
29533 (__finite): Likewise.
29534 (__finitef): Likewise.
29535 (__ieee754_sqrt): Define as macro.
29536 (__ieee754_sqrtf): Define as macro.
29537 (__ieee754_sqrtl): Define as macro.
29538 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29540 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29541 __FINITE_MATH_ONLY__ consistent.
29542 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29544 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29546 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29549 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29551 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29553 * po/ja.po: Update from translation team.
29555 2011-10-08 Roland McGrath <roland@hack.frob.com>
29557 * locale/programs/locarchive.c (prepare_address_space): New function.
29558 (create_archive, enlarge_archive, open_archive): Use it.
29560 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29561 inside [SHARED], where it is used.
29563 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29565 * nss/getent.c (netgroup_keys): Remove unused variable.
29566 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29568 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29570 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29571 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29573 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29574 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29575 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29576 * math/Makefile (libm-calls): Add s_isinf_ns.
29577 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29578 * math/multc3.c: Likewise.
29579 * math/s_casin.c: Likewise.
29580 * math/s_casinf.c: Likewise.
29581 * math/s_casinl.c: Likewise.
29582 * math/s_ccos.c: Likewise.
29583 * math/s_ccosf.c: Likewise.
29584 * math/s_ccosl.c: Likewise.
29585 * math/s_ctan.c: Likewise.
29586 * math/s_ctanf.c: Likewise.
29587 * math/s_ctanh.c: Likewise.
29588 * math/s_ctanhf.c: Likewise.
29589 * math/s_ctanhl.c: Likewise.
29590 * math/s_ctanl.c: Likewise.
29591 * math/w_fmod.c: Likewise.
29592 * math/w_fmodf.c: Likewise.
29593 * math/w_fmodl.c: Likewise.
29594 * math/w_remainder.c: Likewise.
29595 * math/w_remainderf.c: Likewise.
29596 * math/w_remainderl.c: Likewise.
29597 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29598 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29601 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29602 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29603 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29604 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29606 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29608 * stdio-common/printf_fphex.c: Likewise.
29609 * stdio-common/printf_size.c: Likewise.
29611 * math/e_exp10.c: Include math_private.h using <...> not "...".
29612 * math/e_exp10f.c: Likewise.
29613 * math/e_exp10l.c: Likewise.
29614 * math/e_exp2l.c: Likewise.
29615 * math/e_j0l.c: Likewise.
29616 * math/e_j1l.c: Likewise.
29617 * math/e_jnl.c: Likewise.
29618 * math/e_lgammal_r.c: Likewise.
29619 * math/e_rem_pio2l.c: Likewise.
29620 * math/e_scalb.c: Likewise.
29621 * math/e_scalbf.c: Likewise.
29622 * math/e_scalbl.c: Likewise.
29623 * math/k_cosl.c: Likewise.
29624 * math/k_sinl.c: Likewise.
29625 * math/k_tanl.c: Likewise.
29626 * math/s_cacoshf.c: Likewise.
29627 * math/s_catan.c: Likewise.
29628 * math/s_catanf.c: Likewise.
29629 * math/s_catanh.c: Likewise.
29630 * math/s_catanhf.c: Likewise.
29631 * math/s_catanhl.c: Likewise.
29632 * math/s_catanl.c: Likewise.
29633 * math/s_ccosh.c: Likewise.
29634 * math/s_ccoshf.c: Likewise.
29635 * math/s_ccoshl.c: Likewise.
29636 * math/s_cexp.c: Likewise.
29637 * math/s_cexpf.c: Likewise.
29638 * math/s_cexpl.c: Likewise.
29639 * math/s_clog.c: Likewise.
29640 * math/s_clog10.c: Likewise.
29641 * math/s_clog10f.c: Likewise.
29642 * math/s_clog10l.c: Likewise.
29643 * math/s_clogf.c: Likewise.
29644 * math/s_clogl.c: Likewise.
29645 * math/s_csin.c: Likewise.
29646 * math/s_csinf.c: Likewise.
29647 * math/s_csinh.c: Likewise.
29648 * math/s_csinhf.c: Likewise.
29649 * math/s_csinhl.c: Likewise.
29650 * math/s_csinl.c: Likewise.
29651 * math/s_csqrt.c: Likewise.
29652 * math/s_csqrtf.c: Likewise.
29653 * math/s_csqrtl.c: Likewise.
29654 * math/s_ctan.c: Likewise.
29655 * math/s_ctanf.c: Likewise.
29656 * math/s_ctanh.c: Likewise.
29657 * math/s_ctanhf.c: Likewise.
29658 * math/s_ctanhl.c: Likewise.
29659 * math/s_ctanl.c: Likewise.
29660 * math/s_ldexp.c: Likewise.
29661 * math/s_ldexpf.c: Likewise.
29662 * math/s_ldexpl.c: Likewise.
29663 * math/s_significand.c: Likewise.
29664 * math/s_significandf.c: Likewise.
29665 * math/s_significandl.c: Likewise.
29666 * math/w_acos.c: Likewise.
29667 * math/w_acosf.c: Likewise.
29668 * math/w_acosh.c: Likewise.
29669 * math/w_acoshf.c: Likewise.
29670 * math/w_acoshl.c: Likewise.
29671 * math/w_acosl.c: Likewise.
29672 * math/w_asin.c: Likewise.
29673 * math/w_asinf.c: Likewise.
29674 * math/w_asinl.c: Likewise.
29675 * math/w_atan2.c: Likewise.
29676 * math/w_atan2f.c: Likewise.
29677 * math/w_atan2l.c: Likewise.
29678 * math/w_atanh.c: Likewise.
29679 * math/w_atanhf.c: Likewise.
29680 * math/w_atanhl.c: Likewise.
29681 * math/w_cosh.c: Likewise.
29682 * math/w_coshf.c: Likewise.
29683 * math/w_coshl.c: Likewise.
29684 * math/w_dremf.c: Likewise.
29685 * math/w_exp10.c: Likewise.
29686 * math/w_exp10f.c: Likewise.
29687 * math/w_exp10l.c: Likewise.
29688 * math/w_exp2.c: Likewise.
29689 * math/w_exp2f.c: Likewise.
29690 * math/w_fmod.c: Likewise.
29691 * math/w_fmodf.c: Likewise.
29692 * math/w_fmodl.c: Likewise.
29693 * math/w_hypot.c: Likewise.
29694 * math/w_hypotf.c: Likewise.
29695 * math/w_hypotl.c: Likewise.
29696 * math/w_j0.c: Likewise.
29697 * math/w_j0f.c: Likewise.
29698 * math/w_j0l.c: Likewise.
29699 * math/w_j1.c: Likewise.
29700 * math/w_j1f.c: Likewise.
29701 * math/w_j1l.c: Likewise.
29702 * math/w_jn.c: Likewise.
29703 * math/w_jnf.c: Likewise.
29704 * math/w_jnl.c: Likewise.
29705 * math/w_lgamma.c: Likewise.
29706 * math/w_lgamma_r.c: Likewise.
29707 * math/w_lgammaf.c: Likewise.
29708 * math/w_lgammaf_r.c: Likewise.
29709 * math/w_lgammal.c: Likewise.
29710 * math/w_lgammal_r.c: Likewise.
29711 * math/w_log.c: Likewise.
29712 * math/w_log10.c: Likewise.
29713 * math/w_log10f.c: Likewise.
29714 * math/w_log10l.c: Likewise.
29715 * math/w_log2.c: Likewise.
29716 * math/w_log2f.c: Likewise.
29717 * math/w_log2l.c: Likewise.
29718 * math/w_logf.c: Likewise.
29719 * math/w_logl.c: Likewise.
29720 * math/w_pow.c: Likewise.
29721 * math/w_powf.c: Likewise.
29722 * math/w_powl.c: Likewise.
29723 * math/w_remainder.c: Likewise.
29724 * math/w_remainderf.c: Likewise.
29725 * math/w_remainderl.c: Likewise.
29726 * math/w_scalb.c: Likewise.
29727 * math/w_scalbf.c: Likewise.
29728 * math/w_scalbl.c: Likewise.
29729 * math/w_sinh.c: Likewise.
29730 * math/w_sinhf.c: Likewise.
29731 * math/w_sinhl.c: Likewise.
29732 * math/w_sqrt.c: Likewise.
29733 * math/w_sqrtf.c: Likewise.
29734 * math/w_sqrtl.c: Likewise.
29735 * math/w_tgamma.c: Likewise.
29736 * math/w_tgammaf.c: Likewise.
29737 * math/w_tgammal.c: Likewise.
29739 * po/ja.po: Update from translation team.
29741 2011-09-29 Andreas Jaeger <aj@suse.de>
29744 * sunrpc/netname.c (netname2host): Fix logic.
29748 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29750 * math/w_remainder.c (__remainder): Likewise.
29751 * math/w_remainderf.c (__remainderf): Likewise.
29752 * math/libm-test.inc (remainder_test): Add test cases.
29754 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29756 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29759 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29761 * string/test-memcmp.c: Avoid unncessary #defines.
29762 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29764 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29766 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29767 Use new sse2 version for core i3 - i7 as it's faster
29768 than sse42 version.
29769 (bit_Prefer_PMINUB_for_stringop): New.
29770 * sysdeps/x86_64/rawmemchr.S: Update.
29771 Replace with faster SSE2 version.
29772 * sysdeps/x86_64/memrchr.S: New file.
29773 * sysdeps/x86_64/memchr.S: Update.
29774 Replace with faster SSE2 version.
29776 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29778 * elf/dl-load.c (lose): Add cast to avoid warning.
29780 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29782 * po/ca.po: Update from translation team.
29784 * inet/getnetgrent_r.c: Hook up nscd.
29785 * nscd/Makefile (routines): Add nscd_netgroup.
29786 (nscd-modules): Add netgroupcache.
29787 (CFLAGS-netgroupcache.c): Define.
29788 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29789 (cache_search): Add const to second parameter.
29790 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29792 (dbs): Add netgrdb entry.
29793 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29794 (verify_persistent_db): Handle netgrdb.
29795 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29796 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29798 (netgroup_response_header): Define.
29799 (innetgroup_response_header): Define.
29800 (datahead): Add netgroup_response_header and innetgroup_response_header
29802 * nscd/nscd.conf: Add entries for netgroup cache.
29803 * nscd/nscd.h (dbtype): Add netgrdb.
29804 (_PATH_NSCD_NETGROUP_DB): Define.
29805 (netgroup_iov_disabled): Declare.
29806 (xmalloc, xcalloc, xrealloc): Move declarations here.
29807 (cache_search): Adjust prototype.
29808 Add netgroup-related prototypes.
29809 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29810 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29811 (__nscd_innetgr): Declare.
29812 * nscd/selinux.c (perms): Use access_vector_t as element type and
29813 add netgroup-related initializers.
29814 * nscd/netgroupcache.c: New file.
29815 * nscd/nscd_netgroup.c: New file.
29816 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29817 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29818 For four parameters use innetgr.
29819 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29820 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29821 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29822 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29824 * nscd/connections.c (register_traced_file): Don't register file
29825 for disabled databases.
29827 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29829 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29831 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29832 from tree and freeing node.
29834 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29836 * nss/nsswitch.c (__nss_database_lookup): Handle
29837 nss_parse_service_list out of memory case.
29839 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29841 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29842 out of memory case.
29844 2011-10-04 Andreas Schwab <schwab@redhat.com>
29846 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29847 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29849 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29850 elf_machine_rela, elf_machine_lazy_rel.
29851 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29852 (ELF_DYNAMIC_DO_REL): Likewise.
29853 (ELF_DYNAMIC_DO_RELA): Likewise.
29854 (ELF_DYNAMIC_RELOCATE): Likewise.
29855 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29856 to ELF_DYNAMIC_DO_REL.
29857 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29858 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29859 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29862 skip_ifunc, don't call ifunc function if non-zero.
29863 (elf_machine_rela): Likewise.
29864 (elf_machine_lazy_rel): Likewise.
29865 (elf_machine_lazy_rela): Likewise.
29866 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29867 (elf_machine_lazy_rel): Likewise.
29868 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29870 (elf_machine_lazy_rel): Likewise.
29871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29873 (elf_machine_lazy_rel): Likewise.
29874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29875 (elf_machine_lazy_rel): Likewise.
29876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29877 (elf_machine_lazy_rel): Likewise.
29878 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29879 (elf_machine_lazy_rel): Likewise.
29880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29881 (elf_machine_lazy_rel): Likewise.
29882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29883 (elf_machine_lazy_rel): Likewise.
29884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29885 (elf_machine_lazy_rel): Likewise.
29887 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29889 * nss/nss_files/files-init.c (_nss_files_init): Use static
29890 initialization for all the *_traced_file variables.
29892 2011-09-28 Andreas Schwab <schwab@redhat.com>
29894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29896 2011-09-27 Roland McGrath <roland@hack.frob.com>
29899 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29901 2011-09-27 Andreas Schwab <schwab@redhat.com>
29903 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29904 Reread the line before reparsing it.
29906 2011-09-26 Andreas Schwab <schwab@redhat.com>
29908 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29910 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29911 Maxim Kuvyrkov <maxim@codesourcery.com>
29912 Joseph Myers <joseph@codesourcery.com>
29914 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29915 if needed for __stack_chk_guard.
29917 2011-09-19 Roland McGrath <roland@hack.frob.com>
29919 * sysdeps/posix/spawni.c (script_execute): Always define it.
29920 It will be optimized away if unused.
29921 (maybe_script_execute): New function.
29922 (__spawni): Call it.
29924 * Makerules: Don't include tls.make.
29925 (config-tls): Always set to thread.
29926 * tls.make.c: File removed.
29928 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29930 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29931 * config.make.in (CPPFLAGS-config): New substituted variable.
29933 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29938 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29939 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29941 2011-09-15 Roland McGrath <roland@hack.frob.com>
29943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29944 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29946 (CALL_FAIL): Likewise.
29947 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29948 (CALL_FAIL): Macro removed.
29949 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29951 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29953 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29954 for __FINITE_MATH_ONLY__ == 1.
29956 2011-09-15 Andreas Schwab <schwab@redhat.com>
29958 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29959 __ieee754_sqrt instead of sqrt.
29960 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29961 __ieee754_sqrtf instead of sqrtf.
29962 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29963 __floorf instead of floorf.
29964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29965 __floorf, __truncf instead of floorf, truncf.
29967 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29969 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29971 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29972 __extern_always_inline.
29973 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29976 2011-09-14 Andreas Schwab <schwab@redhat.com>
29978 * elf/rtld.c (dl_main): Also relocate in dependency order when
29979 doing symbol dependency testing.
29981 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29984 Always define `refsym'.
29986 2011-09-13 Andreas Schwab <schwab@redhat.com>
29988 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29989 (__FD_ELT): Renamed from __FDELT.
29990 * misc/bits/select2.h (__FD_ELT): Likewise.
29991 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29992 __FD_MASK instead of __FDELT, __FDMASK.
29993 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29995 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29998 * elf/Makefile (gen-ldd): Fix pattern.
30000 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30001 (init_tls): Likewise.
30003 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30007 2011-09-12 Andreas Schwab <schwab@redhat.com>
30009 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30010 `struct cmsghdr *' instead of `void *'.
30011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30014 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30016 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30018 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30019 ldd_rewrite_script.
30021 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30023 * configure.in: Remove --with-tls option.
30024 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30025 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30026 out in case it is missing.
30027 * sysdeps/ia64/elf/configure.in: Likewise.
30028 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30029 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30030 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30031 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30032 * sysdeps/sh/elf/configure.in: Likewise.
30033 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30034 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30035 * sysdeps/x86_64/elf/configure.in: Likewise.
30036 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30037 * sysdeps/mach/hurd/tls.h: Likewise.
30040 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30043 * configure.in: Fix use of AC_INIT.
30045 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30047 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30049 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30051 * malloc/hooks.c: Likewise.
30054 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30055 variables statically.
30056 (narenas): Initialize.
30057 (list_lock): Initialize.
30058 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30059 initializtion of main_arena and list_lock. Small cleanups.
30060 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30061 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30062 Add initializers to main_arena and mp_.
30063 (malloc_state): Remove pagesize member. Change all users to use
30066 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30067 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30068 is always initialized.
30070 * malloc/malloc.c: Removed unused configurations and dead code.
30071 * malloc/arena.c: Likewise.
30072 * malloc/hooks.c: Likewise.
30073 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30075 * include/tls.h: Removed. USE___THREAD must always be defined.
30076 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30077 * elf/dl-libc.c: Likewise.
30078 * elf/dl-tsd.c: Likewise.
30079 * include/errno.h: Likewise.
30080 * include/netdb.h: Likewise.
30081 * include/resolv.h: Likewise.
30082 * inet/herrno-loc.c: Likewise.
30083 * inet/herrno.c: Likewise.
30084 * malloc/arena.c: Likewise.
30085 * malloc/hooks.c: Likewise.
30086 * malloc/malloc.c: Likewise.
30087 * resolv/res-state.c: Likewise.
30088 * resolv/res_libc.c: Likewise.
30089 * sysdeps/i386/dl-machine.h: Likewise.
30090 * sysdeps/ia64/dl-machine.h: Likewise.
30091 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30092 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30093 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30094 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30095 * sysdeps/sh/dl-machine.h: Likewise.
30096 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30097 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30098 * sysdeps/unix/i386/sysdep.S: Likewise.
30099 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30100 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30105 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30109 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30110 * sysdeps/x86_64/dl-machine.h: Likewise.
30111 * tls.make.c: Likewise.
30113 * configure.in: Remove --with-__thread option. Make tests for
30114 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30115 tls_model attribute fail if no support is available. Remove
30117 * Makeconfig: Adjust for dropped configure option. All features are
30119 * Makerules: Likewise.
30120 * Versions.def: Likewise.
30121 * argp/argp-fmtstream.c: Likewise.
30122 * argp/argp-fmtstream.h: Likewise.
30123 * argp/argp-help.c: Likewise.
30124 * assert/assert.c: Likewise.
30125 * config.h.in: Likewise.
30126 * config.make.in: Likewise.
30127 * configure: Likewise.
30128 * configure.in: Likewise.
30129 * csu/Versions: Likewise.
30130 * csu/init.c: Likewise.
30131 * elf/tst-audit2.c: Likewise.
30132 * elf/tst-tls10.c: Likewise.
30133 * elf/tst-tls10.h: Likewise.
30134 * elf/tst-tls11.c: Likewise.
30135 * elf/tst-tls12.c: Likewise.
30136 * elf/tst-tls14.c: Likewise.
30137 * elf/tst-tlsmod11.c: Likewise.
30138 * elf/tst-tlsmod12.c: Likewise.
30139 * elf/tst-tlsmod13.c: Likewise.
30140 * elf/tst-tlsmod13a.c: Likewise.
30141 * elf/tst-tlsmod14a.c: Likewise.
30142 * elf/tst-tlsmod15b.c: Likewise.
30143 * elf/tst-tlsmod16a.c: Likewise.
30144 * elf/tst-tlsmod16b.c: Likewise.
30145 * elf/tst-tlsmod7.c: Likewise.
30146 * elf/tst-tlsmod8.c: Likewise.
30147 * elf/tst-tlsmod9.c: Likewise.
30148 * gmon/gmon.c: Likewise.
30149 * grp/fgetgrent_r.c: Likewise.
30150 * grp/putgrent.c: Likewise.
30151 * hurd/fopenport.c: Likewise.
30152 * include/libc-symbols.h: Likewise.
30153 * include/tls.h: Likewise.
30154 * intl/gettextP.h: Likewise.
30155 * intl/loadinfo.h: Likewise.
30156 * locale/global-locale.c: Likewise.
30157 * locale/localeinfo.h: Likewise.
30158 * mach/devstream.c: Likewise.
30159 * malloc/arena.c: Likewise.
30160 * malloc/set-freeres.c: Likewise.
30161 * misc/err.c: Likewise.
30162 * misc/getttyent.c: Likewise.
30163 * misc/mntent_r.c: Likewise.
30164 * posix/getopt.c: Likewise.
30165 * posix/wordexp.c: Likewise.
30166 * pwd/fgetpwent_r.c: Likewise.
30167 * resolv/Versions: Likewise.
30168 * resolv/res_hconf.c: Likewise.
30169 * shadow/fgetspent_r.c: Likewise.
30170 * shadow/putspent.c: Likewise.
30171 * stdio-common/printf_fphex.c: Likewise.
30172 * stdio-common/tmpfile.c: Likewise.
30173 * stdlib/abort.c: Likewise.
30174 * stdlib/fmtmsg.c: Likewise.
30175 * sunrpc/auth_unix.c: Likewise.
30176 * sunrpc/clnt_perr.c: Likewise.
30177 * sunrpc/clnt_tcp.c: Likewise.
30178 * sunrpc/clnt_udp.c: Likewise.
30179 * sunrpc/clnt_unix.c: Likewise.
30180 * sunrpc/openchild.c: Likewise.
30181 * sunrpc/svc_simple.c: Likewise.
30182 * sunrpc/svc_tcp.c: Likewise.
30183 * sunrpc/svc_udp.c: Likewise.
30184 * sunrpc/svc_unix.c: Likewise.
30185 * sunrpc/xdr.c: Likewise.
30186 * sunrpc/xdr_array.c: Likewise.
30187 * sunrpc/xdr_rec.c: Likewise.
30188 * sunrpc/xdr_ref.c: Likewise.
30189 * sunrpc/xdr_stdio.c: Likewise.
30191 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30193 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30195 2011-07-03 Andreas Jaeger <aj@suse.de>
30197 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30198 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30199 regenerate with gen-libm-tests.pl.
30201 2010-05-12 Petr Baudis <pasky@suse.cz>
30204 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30205 around j0() zero points by switching to j1().
30206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30208 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30209 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30211 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30213 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30218 Patch in part by Pavel Roskin <proski@gnu.org>.
30221 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30223 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30224 Free memory block if necessary.
30227 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30228 be NULL. Don't lock in this case.
30230 2011-09-09 Roland McGrath <roland@hack.frob.com>
30232 * elf/elf.h (ELFOSABI_GNU): New macro.
30233 (ELFOSABI_LINUX): Define to that.
30235 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30237 * string/strncat.c (strncat): Undef the symbol in case it has been
30238 defined in bits/string.h.
30240 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30242 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30244 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30247 2011-08-17 Andreas Jaeger <aj@suse.de>
30249 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30251 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30252 Ian Lance Taylor <iant@google.com>
30254 * math/libm-test.inc (lround_test): New testcase.
30255 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30257 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30259 * Makefile: Remove support for automatic cvs check-ins.
30260 * Makerules: Likewise.
30261 * config.make.in: Likewise.
30262 * configure.in: Likewise.
30263 * intl/Makefile: Likewise.
30264 * locale/Makefile: Likewise.
30265 * po/Makefile: Likewise.
30266 * posix/Makefile: Likewise.
30267 * sysdeps/gnu/Makefile: Likewise.
30268 * sysdeps/mach/hurd/Makefile: Likewise.
30269 * sysdeps/sparc/sparc32/Makefile: Likewise.
30272 * posix/Makefile (bug-regex32-ENV): Define.
30273 Patch by John Stanley <jpsinthemix@verizon.net>.
30275 * misc/Makefile (headers): Add bits/select2.h.
30276 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30277 * misc/bits/select2.h: New file.
30278 * include/bits/select2.h: New file.
30279 * debug/Makefile (routines): Add fdelt_chk.
30280 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30281 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30283 * debug/fdelt_chk.c: New file.
30285 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30286 * wcsmbs/test-wmemcmp.c: Likewise.
30287 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30288 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30290 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30292 * string/Makefile (strop-tests): Add memcmp.
30293 * string/test-wmemcmp.c: New file.
30294 * string/test-memcmp.c: Add wmemcmp support.
30296 2011-09-08 Roland McGrath <roland@hack.frob.com>
30299 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30302 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30303 garbage value in a __mach_port_mod_refs call in the cases of the
30304 task-self and thread-self ports.
30306 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30308 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30310 2011-09-08 Andreas Schwab <schwab@redhat.com>
30312 * elf/dl-load.c (lose): Check for non-null L.
30314 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30316 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30318 * elf/dl-libc.c (dlerror_run): Pass back error code from
30322 * elf/dl-load.c (lose): Free l_origin if it is valid.
30324 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30327 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30330 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30331 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30333 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30335 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30336 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30337 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30338 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30339 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30340 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30341 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30342 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30343 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30344 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30346 2011-08-15 Alan Modra <amodra@gmail.com>
30349 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30350 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30351 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30352 ppc_mcount to static-only-routines.
30353 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30355 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30356 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30358 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30360 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30361 for finite and infinity parameters.
30363 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30366 and add nop instructions for throughput optimization.
30367 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30369 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30372 aligned copy for power7 with vector-scalar instructions.
30373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30375 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30380 2011-09-07 Andreas Schwab <schwab@redhat.com>
30383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30386 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30389 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30390 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30391 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30394 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30396 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30397 Forgot to demangle the pointer.
30399 * sysdeps/i386/sysdep.h: Define atom_text_section.
30400 * sysdeps/x86_64/sysdep.h: Likewise.
30401 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30402 section with atom_text_section.
30403 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30405 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30407 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30409 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30410 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30411 already be defined. Change to take two parameters and don't assign
30412 result to variable. Adjust all users.
30413 Define INTERNAL_GETTIME if not already defined.
30414 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30417 HAVE_CLOCK_GETTIME_VSYSCALL.
30418 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30421 gettimeofday vsyscall, just use time.
30423 2011-09-06 Andreas Schwab <schwab@redhat.com>
30425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30428 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30430 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30434 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30436 syscall if possible.
30438 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30440 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30441 e_ident. Don't pass to find_mapsXX.
30442 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30444 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30447 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30448 * sysdeps/x86_64/multiarch/strchr.S: Update.
30449 Check bit_slow_BSF bit.
30450 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30451 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30452 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30454 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30457 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30459 (tryshell): Define.
30460 (__spawni): Change last parameter to be flag. Test
30461 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30462 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30463 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30464 * posix/spawni.c: Likewise.
30465 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30466 * posix/spawnp.c: Likewise. Change normal version to use
30467 SPAWN_XFLAGS_USE_PATH.
30468 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30469 SPAWN_XFLAGS_TRY_SHELL.
30472 * posix/glob.h: Remove gcc 1.x support.
30475 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30477 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30480 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30482 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30483 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30484 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30485 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30486 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30487 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30489 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30491 * sysdeps/x86_64/wcscmp.S: New file.
30493 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30494 wcscmp-c wcscmp-sse2
30495 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30496 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30497 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30498 * wcsmbs/wcscmp.c: Allow renaming.
30500 2011-09-05 David S. Miller <davem@davemloft.net>
30502 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30503 stack slot, rather than the struct return pointer slot.
30504 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30505 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30507 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30509 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30511 * po/ja.po: Update from translation team.
30514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30515 kernel in 64-bit binaries.
30517 2011-09-01 David S. Miller <davem@davemloft.net>
30519 * elf/elf.h (HWCAP_SPARC_*): Move to..
30520 * sysdeps/sparc/sysdep.h: this new file and add new values.
30521 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30522 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30523 _DL_HWCAP_COUNT to 24.
30524 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30526 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30527 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30528 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30530 instead of magic constants.
30531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30533 2011-08-31 David S. Miller <davem@davemloft.net>
30535 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30537 Reimplement to do errno handling inline.
30538 (SYSCALL_ERROR_HANDLER): New macro.
30539 (__SYSCALL_STRING): Do not do errno handling in asm.
30540 (__CLONE_SYSCALL_STRING): Delete.
30541 (__INTERNAL_SYSCALL_STRING): Delete.
30542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30543 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30544 (PSEUDO): Reimplement to do errno handling inline.
30545 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30546 (SYSCALL_ERROR_HANDLER): New macro.
30547 (__SYSCALL_STRING): Do not do errno handling in asm.
30548 (__CLONE_SYSCALL_STRING): Delete.
30549 (__INTERNAL_SYSCALL_STRING): Delete.
30550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30551 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30553 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30554 (inline_syscall*): Add 'err' argument.
30555 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30556 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30557 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30558 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30560 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30561 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30563 2011-08-30 Andreas Schwab <schwab@redhat.com>
30565 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30567 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30569 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30572 2011-08-24 David S. Miller <davem@davemloft.net>
30574 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30576 2011-08-24 Andreas Schwab <schwab@redhat.com>
30578 * elf/Makefile: Add rules to build and run unload8 test.
30579 * elf/unload8.c: New file.
30580 * elf/unload8mod1.c: New file.
30581 * elf/unload8mod1x.c: New file.
30582 * elf/unload8mod2.c: New file.
30583 * elf/unload8mod3.c: New file.
30585 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30588 2011-08-23 David S. Miller <davem@davemloft.net>
30590 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30591 subtract stack bias.
30592 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30593 %sp not %fp in calculations.
30594 (_JMPBUF_UNWINDS_ADJ): Likewise.
30596 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30597 (aio_suspend): Call it to force an exception region around the
30598 AIO_MISC_WAIT() invocation.
30600 2011-08-23 Andreas Schwab <schwab@redhat.com>
30602 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30605 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30607 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30609 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30610 and <dl-machine.h>.
30611 (Elf64_FuncDesc): Remove.
30613 2011-08-22 David S. Miller <davem@davemloft.net>
30615 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30616 sigaltstack check, add missing cfi directives.
30617 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30618 missing cfi directives, and sigaltstack handling.
30620 2011-08-16 Andreas Schwab <schwab@redhat.com>
30623 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30624 object is seen twice.
30625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30627 * elf/Makefile (distribute): Add tst-initorder2.c.
30628 (tests): Add tst-initorder2.
30629 (modules-names): Add tst-initorder2a tst-initorder2b
30630 tst-initorder2c tst-initorder2d. Add rules to build them.
30631 ($(objpfx)tst-initorder2.out): New rule.
30632 * elf/tst-initorder2.c: New file.
30633 * elf/tst-initorder2.exp: New file.
30635 2011-08-22 Andreas Schwab <schwab@redhat.com>
30637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30639 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30640 dependencies back to end of function.
30642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30643 $(elfobjdir)/ld.so.
30645 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30648 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30650 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30651 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30652 of __vdso_gettimeofday.
30653 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30654 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30656 (_libc_vdso_platform_setup): Remove initialization of
30657 __vdso_gettimeofday and __vdso_time.
30659 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30661 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30662 and fgetc_unlocked.
30663 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30666 * elf/dl-open.c (add_to_global): Report additions to the global scope
30667 for LD_DEBUG=scopes.
30668 (dl_open_worker): Also print scope of newly loaded dependencies.
30669 (_dl_show_scope): Indicate if there is no scope.
30672 * stdio-common/Makefile (tests): Add bug24.
30673 * stdio-common/bug24.c: New file.
30675 2011-08-19 Andreas Jaeger <aj@suse.de>
30678 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30679 non-existant file when using close-on-exec mode.
30681 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30684 the very first instruction.
30686 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30687 the CFI state in the end.
30688 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30689 inclusion of dl-trampoline.h.
30690 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30692 2011-08-19 Andreas Schwab <schwab@redhat.com>
30694 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30695 expectations for long double.
30697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30698 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30700 2011-08-14 David S. Miller <davem@davemloft.net>
30702 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30703 artificual limit depends upon the system page size.
30705 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30707 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30708 * resolv/Makefile: Define CFLAGS-libresolv.
30710 2011-08-17 Andreas Schwab <schwab@redhat.com>
30712 * nss/makedb.c (compute_tables): Make variables used in nested
30715 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30717 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30718 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30719 if buffer was too small.
30721 * elf/pldd.c (main): Attach to all threads in the process.
30722 Rewrite /proc handling to use *at functions.
30724 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30726 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30727 specifies first scope to show.
30728 (dl_open_worker): Update callers. Move printing scope of new
30729 object to before the relocation.
30730 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30731 * sysdeps/generic/ldsodefs.h: Update declaration.
30733 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30734 string for the scope number.
30736 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30738 * nscd/servicescache.c (cache_addserv): Make sure written is always
30741 2011-08-14 Roland McGrath <roland@hack.frob.com>
30743 * sysdeps/i386/i486/bits/atomic.h
30744 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30745 statement expression, so as to suppress "set but not used" warning.
30746 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30748 * string/strncat.c (STRNCAT): Use prototype definition.
30750 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30751 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30753 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30754 (localedef-modules): Add localedef.
30755 (locale-modules): Add locale.
30757 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30758 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30759 to avoid a warning.
30761 2011-08-14 David S. Miller <davem@davemloft.net>
30763 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30764 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30766 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30768 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30769 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30770 * elf/rtld.c (dl_main): Set l_name of vDSO.
30771 Call _dl_show_scope when DL_DEBUG_SCOPES.
30772 (process_dl_debug): Recognize scopes flag and also set it for all.
30773 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30774 Declare _dl_show_scope.
30776 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30777 (do_dlopen): Pass caller_dlopen to dl_open.
30778 (__libc_dlopen_mode): Initialize caller_dlopen.
30780 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30781 of libc. Make tolower call locale-independent. Optimize a bit by
30782 using isdigit instead of isalnum.
30783 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30785 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30787 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30788 was a dependency or dynamically loaded.
30790 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30792 * intl/l10nflist.c: Allow architecture-specific pop function.
30793 * sysdeps/x86_64/l10nflist.c: New file.
30795 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30798 2011-08-10 Andreas Schwab <schwab@redhat.com>
30800 * include/dirent.h: Add libc_hidden_proto for scandirat and
30801 scandirat64. Don't declare __scandirat64.
30802 * dirent/scandirat.c: Add libc_hidden_def.
30803 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30804 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30806 2011-08-10 David S. Miller <davem@davemloft.net>
30808 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30812 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30814 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30816 * Versions.def [libc]: Add GLIBC_2.15.
30817 * dirent/Makefile (routines): Add scandirat and scandirat64.
30818 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30820 * dirent/dirent.h: Declare scandirat and scandirat64.
30821 * dirent/scandirat.c: New file.
30822 * dirent/scandirat64.c: New file.
30823 * sysdeps/wordsize-64/scandirat.c: New file.
30824 * sysdeps/wordsize-64/scandirat64.c: New file.
30825 * dirent/opendir.c: Define opendirat.
30826 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30828 * dirent/scandir64.c: Adjust for scandir.c change.
30829 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30830 __scandirat64, and __scandir_cancel_handler.
30831 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30832 additional parameter and use openat instead of open (outside of ld.so).
30833 Add new __opendir as wrapper around __opendirat.
30834 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30835 here without requiring old scandirat implementation.
30837 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30839 * dirent/scandir.c (cancel_handler): Renamed to
30840 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30841 defined. Adjust users.
30842 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30845 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30847 * string/test-string.h (IMPL): Use __STRING to expand name and then
30850 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30853 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30855 * string/Makefile: Update.
30856 (strop-tests): Append strncat.
30857 * string/test-wcscmp.c: New file.
30858 New comprehensive test for wcscmp.
30859 * string/test-strcmp.c: Update.
30860 (WIDE): New define.
30862 2011-07-22 Andreas Schwab <schwab@redhat.com>
30864 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30867 2011-07-26 Andreas Schwab <schwab@redhat.com>
30869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30870 encoding to ACE if AI_IDN.
30872 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30875 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30877 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30880 Fix overflow bug in strncat.
30881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30883 * string/test-strncat.c: Update.
30884 Add new tests for checking overflow bugs.
30886 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30889 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30890 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30891 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30893 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30894 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30895 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30896 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30899 (USE_AS_STRCAT): Define.
30900 Add strcat and strncat support.
30901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30903 2011-07-25 Andreas Schwab <schwab@redhat.com>
30905 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30906 __n bigger than INT_MAX+1.
30907 (__strncmp_g): Likewise.
30909 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30911 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30912 * libio/stido.h: Likewise.
30914 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30919 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30922 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30926 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30931 (_dl_x86_64_save_sse): Likewise.
30933 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30937 (_dl_x86_64_save_sse): Likewise.
30939 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30941 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30943 2011-07-21 Andreas Schwab <schwab@redhat.com>
30945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30947 (_dl_x86_64_save_sse): Use correct AVX check.
30949 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30952 bug in strncpy/strncat.
30953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30955 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30957 * string/tester.c (test_strcat): Add tests for different alignments
30958 of source and destination.
30959 (test_strncat): Likewise.
30961 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30964 * posix/glob.c (glob): Check passed in values before using them in
30965 expressions to avoid some overflows.
30966 (glob_in_dir): Likewise.
30969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30970 check for AVX enablement so that we don't crash with old kernels and
30972 * elf/tst-audit4.c: Add same checks here.
30973 * elf/tst-audit6.c: Likewise.
30975 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30977 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30979 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30981 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30983 * po/cs.po: Update from translation team.
30984 * po/bg.po: Likewise.
30986 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30988 * misc/sys/cdefs.h: Add support for const attribute.
30989 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30990 to gnu_dev_{major,minor,makedev} functions.
30992 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30994 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30996 2011-07-20 Andreas Schwab <schwab@redhat.com>
30998 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31001 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31004 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31005 register in order to avoid conflicts with the soft frame pointer
31006 being held in r11 when necessary.
31007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31008 (INTERNAL_VSYSCALL_NCS): Likewise.
31010 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31012 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31013 * elf/dl-fini.c (_dl_fini): Adjust caller.
31014 * elf/dl-close.c (_dl_close_worker): Likewise.
31015 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31017 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31019 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31020 "aux_cache->nlibs < 0".
31022 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31023 in the reload-count case.
31025 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31028 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31029 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31030 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31031 * sysdeps/x86_64/multiarch/strcat.S: New file.
31032 * sysdeps/x86_64/multiarch/strncat.S: New file.
31033 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31034 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31035 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31036 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31038 (USE_AS_STRCAT): Define.
31039 Add strcat and strncat support.
31040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31042 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31043 * string/strncat.c: Update.
31044 (USE_AS_STRNCAT): Define.
31045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31046 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31048 * sysdeps/x86_64/multiarch/init-arch.h
31049 (bit_Prefer_PMINUB_for_stringop): New.
31050 (index_Prefer_PMINUB_for_stringop): Likewise.
31051 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31052 bit_Prefer_PMINUB_for_stringop.
31054 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31056 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31058 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31059 of casting of buffer.
31060 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31061 buffer32 and buffer64.
31062 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31063 writes instead of casting of buffer.
31064 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31066 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31069 2011-07-19 Andreas Schwab <schwab@redhat.com>
31071 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31073 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31075 * nscd/nscd.c (termination_handler): Don't do anything for a database
31076 if it has not yet been initialized.
31078 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31080 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31082 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31084 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31086 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31088 * po/nl.po: Update from translation team.
31089 * po/sv.po: Likewise.
31091 2011-07-16 Roland McGrath <roland@hack.frob.com>
31093 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31094 now disallowed by GCC.
31096 * configure.in (use-default-link): Default to yes if a test -shared
31097 link meets our qualifications.
31098 * configure: Regenerated.
31100 * config.make.in (output-format): New variable.
31101 * configure.in: Check for ld --print-output-format support.
31102 * configure: Regenerated.
31103 * Makerules ($(common-objpfx)format.lds)
31104 [$(output-format) != unknown]: Just use $(output-format),
31105 instead of the linker-script munging.
31107 2011-07-14 Roland McGrath <roland@hack.frob.com>
31109 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31110 of $(common-objpfx)shlib.lds.
31111 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31113 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31114 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31116 * configure.in (-z relro check): Adjust test code to add a large
31117 writable data section after it.
31118 * configure: Regenerated.
31120 2011-07-11 Roland McGrath <roland@hack.frob.com>
31122 * configure.in (-z relro check): Fix test code to make the variable
31124 * configure: Regenerated.
31126 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31128 * nscd/nscd.h (struct traced_file): Define.
31129 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31130 elements. Add traced_files.
31131 (inotify_fd): Declare.
31132 (register_traced_file): Declare.
31133 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31134 (inotify_fd): Export.
31135 (resolv_conf_descr): Remove.
31136 (nscd_init): Move inotify descriptor creation to main.
31137 Don't register files for notification here.
31138 (register_traced_file): New function.
31139 (invalidate_cache): Don't use reset_res to determine whether to call
31140 res_init, go through the list of registered files.
31141 (main_loop_poll): The inotify descriptors are now stored in the
31142 structures for the traced files.
31143 (main_loop_epoll): Likewise
31144 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31145 to __nss_disable_nscd.
31146 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31147 for a database anymore. Check the records for all the registered
31149 * nss/Makefile (libnss_files-routines): Add files-init.
31150 (libnss_db-routines): Add db-init.
31151 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31152 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31153 * nss/nss_db/db-init.c: New file.
31154 * nss/nss_files/files-init.c: New file.
31155 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31156 __nss_lookup_function.
31157 (__nss_lookup_function): Call nss_load_library.
31158 (nss_load_all_libraries): New function.
31159 (__nss_disable_nscd): Take parameter with callback function for files
31160 to register. Set is_nscd. Load all the DSOs for the NSS modules
31161 used for the cached services.
31162 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31163 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31164 options for features to all the files in nscd.
31166 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31168 2011-07-10 Roland McGrath <roland@hack.frob.com>
31170 * csu/elf-init.c (__libc_csu_init): Comment typo.
31172 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31174 * po/pl.po: Update from translation team.
31175 * po/ja.po: Likewise.
31176 * po/ru.po: Likewise.
31177 * po/ko.po: Likewise.
31178 * po/fr.po: Likewise.
31180 2011-07-09 Roland McGrath <roland@hack.frob.com>
31182 * configure.in (.ctors/.dtors header and trailer check):
31183 Use an empirical test on a built program.
31184 * configure: Regenerated.
31186 * configure.in (-z relro check): Use an empirical test on a built DSO.
31187 Detect, but do not require, on ia64.
31188 * configure: Regenerated.
31190 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31191 Update tests that use readelf to use $READELF instead.
31192 * configure: Regenerated.
31194 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31196 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31197 if the result is not used.
31199 2011-07-05 Andreas Jaeger <aj@suse.de>
31202 * stdlib/tst-strtod.c: Add testcase.
31204 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31206 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31207 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31208 The latter has a higher limit. Take additional parameter to pass to
31210 (__pathconf): Pass file to __statfs_link_max.
31211 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31213 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31217 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31221 (__statfs_filesize_max): Likewise.
31222 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31224 2011-07-05 Andreas Jaeger <aj@suse.de>
31226 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31228 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31230 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31232 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31235 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31237 * Makefile (strop-tests): Add strncat.
31238 * string/test-strncat.c: New file.
31240 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31242 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31244 2011-06-21 Andreas Jaeger <aj@suse.de>
31246 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31247 Copy rule from iconvdata/Makefile.
31249 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31252 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31253 but no long options are defined, just return 'W'.
31255 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31258 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31260 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31262 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31264 (innetgr): Likewise.
31266 2011-07-05 Roland McGrath <roland@hack.frob.com>
31268 * config.make.in (install_root): Default to $(DESTDIR).
31270 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31272 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31274 2011-07-02 Roland McGrath <roland@hack.frob.com>
31276 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31278 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31279 containing directory rather than embedding absolute directory names.
31281 * scripts/check-local-headers.sh: Rewritten using awk.
31282 Match by word, not by line. Print error messages for matches.
31283 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31285 * Makerules [shlib-lds-flags empty]:
31286 ($(common-objpfx)libc_pic.opts): New target.
31287 ($(common-objpfx)libc_pic.os.clean): New target.
31288 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31290 * config.make.in (OBJCOPY): New variable.
31291 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31292 * configure: Regenerated.
31294 * config.make.in (use-default-link): New variable.
31295 * configure.in (use_default_link): Grok --with-default-link to set it.
31296 * configure: Regenerated.
31297 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31298 (shlib-lds, shlib-lds-flags): Define to empty.
31300 * Makerules (shlib-lds): New variable.
31301 (shlib-lds-flags): New variable.
31302 (build-shlib, build-moduile, build-module-asneeded): Use it.
31303 ($(common-objpfx)libc.so): Use $(shlib-lds).
31304 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31305 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31307 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31308 DT_FLAGS/DT_FLAGS_1 with zero flags.
31310 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31311 linker script munging.
31313 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31315 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31317 * crypt/sha512.c (sha512_process_block): Perform total addition using
31318 128-bit if possible.
31319 (__sha512_finish_ctx): Likewise.
31320 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31322 * crypt/sha256.c (SWAP64): Define.
31323 (sha256_process_block): Perform total addition using 64-bit if
31325 (__sha256_finish_ctx): Likewise.
31327 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31329 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31331 * nscd/hstcache.c (cache_addhst): Likewise.
31332 * nscd/grpcache.c (cache_addgr): Likewise.
31333 * nscd/aicache.c (addhstaiX): Likewise
31334 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31336 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31338 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31340 * nscd/hstcache.c (cache_addhst): Likewise.
31341 * nscd/grpcache.c (cache_addgr): Likewise.
31342 * nscd/aicache.c (addhstaiX): Likewise
31344 2011-07-01 Andreas Schwab <schwab@redhat.com>
31346 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31347 domain only when needed.
31349 2011-06-30 Andreas Schwab <schwab@redhat.com>
31351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31352 is always restored.
31354 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31356 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31357 are re-adding the entry.
31358 * nscd/servicescache.c (cache_addserv): Likewise.
31360 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31362 * sysdeps/generic/dl-irel.h: fix protection against multiple
31364 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31366 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31369 * malloc/memusage.sh: Fix quoting in message.
31370 * debug/xtrace.sh: Likewise.
31372 * configure.in: Remove support for --experimental-malloc option, make
31374 * config.make.in: Likewise.
31375 * malloc/Makefile: Likewise.
31377 2011-06-27 Andreas Schwab <schwab@redhat.com>
31379 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31380 two-byte characters.
31382 2011-06-27 Roland McGrath <roland@hack.frob.com>
31384 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31385 AC_CACHE_CHECK invocation.
31386 * configure: Regenerated.
31388 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31390 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31393 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31394 bit from old_res_options.
31396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31398 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31399 value type for setfct.
31401 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31404 __gettimeofday instead of gettimeofday.
31406 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31408 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31410 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31412 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31417 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31420 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31421 strcpy-sse2-unaligned strncpy-sse2-unaligned
31422 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31423 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31424 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31425 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31426 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31429 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31430 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31431 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31432 (STRCPY): Support SSE2 and SSSE3 versions.
31434 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31437 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31438 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31439 kernels which artificially limit size of requests.
31441 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31444 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31445 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31446 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31447 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31448 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31449 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31450 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31453 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31454 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31455 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31456 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31457 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31459 Enable unaligned load optimization for Intel Core i3, i5 and i7
31461 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31463 (index_Fast_Unaligned_Load): Define.
31464 (HAS_FAST_UNALIGNED_LOAD): Define.
31466 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31468 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31470 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31474 until it is clear that the information is realy needed.
31475 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31477 2011-06-22 Andreas Schwab <schwab@redhat.com>
31479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31481 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31484 /sys/devices/system/cpu/online if it is usable.
31486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31487 reading the information from the /proc filesystem to once a second.
31489 2011-06-21 Andreas Jaeger <aj@suse.de>
31491 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31492 NULL after inclusion of kernel headers.
31494 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31496 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31497 calls to internal_setent.
31500 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31501 addresses using gethostbyname4_r ignore IPv4 addresses.
31503 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31504 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31506 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31508 2011-06-20 David S. Miller <davem@davemloft.net>
31510 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31512 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31514 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31515 (elf_irel): Use it.
31516 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31517 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31518 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31519 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31520 * sysdeps/x86_64/dl-irel.h: Likewise.
31522 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31523 * elf/dl-sym.c: Likewise.
31525 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31527 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31528 need to dereference resplen2.
31530 2011-06-14 Andreas Schwab <schwab@redhat.com>
31532 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31534 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31536 * Makeconfig: Define vardbdir and inst_vardbdir.
31537 * nss/Makefile: Add rules to install db-Makefile.
31539 * nss/nss_db/db-XXX.c: Cleanup.
31541 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31542 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31544 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31545 * nss/makedb.c: Implement -g option to specify that value strings
31546 are generated and should not be added to table iterated over for
31548 * nss/nss_db/db-initgroups.c: New file.
31550 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31553 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31554 (internal_getgrouplist): Adjust to name change.
31555 Update use_initgroups_entry if this is not the first call.
31556 * nss/databases.def: Add initgroups entry.
31558 * nss/makedb.c (compute_tables): Check result of multiple hash table
31559 sizes to minimize maximum chain length.
31561 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31563 * Versions.def: Add entry for libnss_db.
31564 * shlib-versions: Likewise.
31565 * nss/Makefile: Add rules to build libnss_db.
31566 * nss/Versions: Add libnss_db information. Organize libnss_files
31568 * nss/db-Makefile: Add gshadow support. Change rules for the new
31569 makedb progra. Some minor improvements to generate smaller files.
31570 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31572 * nss/makedb.c: ...here.
31573 Improve database format to be smaller and require less memory at
31575 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31577 * nss/nss_db/db-netgrp.c: Likewise.
31578 * nss/nss_db/db-open.c: Likewise.
31579 * nss/nss_files/flies-XXX.x: Adjust comments.
31580 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31581 * nss/nss_files/files-grp.c: Likewise.
31582 * nss/nss_files/files-hosts.c: Likewise.
31583 * nss/nss_files/files-network.c: Likewise.
31584 * nss/nss_files/files-proto.c: Likewise.
31585 * nss/nss_files/files-pwd.c: Likewise.
31586 * nss/nss_files/files-rpc.c: Likewise.
31587 * nss/nss_files/files-service.c: Likewise.
31588 * nss/nss_files/files-sgrp.c: Likewise.
31589 * nss/nss_files/files-spwd.c: Likewise.
31590 * nss/nss_db/db-alias.c: Removed.
31591 * nss/nss_db/dummy-db.h: Removed.
31593 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31595 * nss/makedb.c: Rewritten to not use database library.
31596 * nss/Makefile: Update to build new makedb program.
31598 2011-06-14 Andreas Jaeger <aj@suse.de>
31600 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31601 memset declaration.
31603 2011-06-10 Andreas Schwab <schwab@redhat.com>
31605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31608 2011-06-10 Roland McGrath <roland@hack.frob.com>
31610 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31611 * elf/Makefile ($(objpfx)ld.so): Likewise.
31613 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31614 Don't list ld.so twice in dependencies.
31616 * posix/bug-regex31.c: Include <stdlib.h>.
31618 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31620 * nis/nss_compat/compat-spwd.c
31621 (getspent_next_nss_netgr): Remove unused variable.
31622 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31624 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31625 nonmembers" output to use the right array.
31627 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31629 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31631 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31632 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31633 * catgets/gencat.c (read_input_file): Likewise.
31634 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31636 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31637 variable definition inside #if's controlling its use.
31639 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31641 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31643 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31645 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31648 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31650 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31651 * configure: Regenerated.
31653 * Makerules: Revert last change.
31654 * elf/Makefile: Likewise.
31656 2011-06-09 Roland McGrath <roland@hack.frob.com>
31658 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31659 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31660 (reloc-link): Likewise.
31662 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31664 * elf/Makefile: Add rules to build pldd.
31665 * elf/pldd.c: New file.
31666 * elf/pldd-xx.c: New file.
31668 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31670 * version.h: Update for 2.15 development version.
31672 2011-06-07 David S. Miller <davem@davemloft.net>
31674 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31677 elf_machine_lazy_rel): Likewise.
31678 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31680 elf_machine_lazy_rel): Likewise.
31681 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31682 dl_hwcap via passed in argument.
31683 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31686 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31688 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31690 2011-06-06 Roland McGrath <roland@hack.frob.com>
31693 * manual/fdl-1.1.texi: New file, verbatim from:
31694 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31695 * manual/lgpl-2.1.texi: New file, verbatim from:
31696 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31697 * manual/Makefile (licenses): New variable, list those new file names.
31699 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31701 * manual/fdl.texi: File removed.
31702 * manual/lesser.texi: File removed.
31703 * manual/libc.texinfo (Copying, Documentation License):
31704 Use new @include file names, put @appendix directive before @include.
31706 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31709 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31710 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31711 (mq_open): Add __NTH.
31713 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31716 Assume Intel Core i3/i5/i7 processor if AVX is available.
31718 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31723 2011-05-31 Andreas Schwab <schwab@redhat.com>
31725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31726 memory. Use alloca_account. Fix memory leak when retrying.
31728 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31730 * version.h (RELEASE): Bump for 2.14 release.
31731 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31733 * config.make.in (RANLIB): Remove entry.
31735 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31737 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31738 (libc.pot): Work around missing support for .ksh extension in xgettext.
31741 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31742 if both request failed.
31743 (send_dg): In case of server errors clear resplen or *resplen2.
31746 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31747 when there are multiple maps.
31748 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31749 (_dl_fini): Remove test here.
31751 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31753 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31756 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31757 bit from old_res_options.
31758 (gaih_inet): Likewise.
31761 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31764 * resolv/res_init.c (res_setoptions): Make the code more compact.
31767 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31771 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31773 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31776 * malloc/malloc.h: Declare malloc hook variables as volatile.
31778 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31782 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31783 raise in the comment.
31784 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31786 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31788 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31791 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31792 grow the buffers more if it already has to be sufficient.
31793 (build_wcs_upper_buffer): Likewise.
31794 * posix/regexec.c (check_matching): Likewise.
31795 (clean_state_log_if_needed): Likewise.
31796 (extend_buffers): Don't enlarge buffers beyond size of the input
31798 Patches mostly by Emil Wojak <emil@wojak.eu>.
31799 * posix/bug-regex32.c: New file.
31800 * posix/Makefile (tests): Add bug-regex32.
31802 * locale/findlocale.c (_nl_find_locale): Return right away if
31803 _nl_explode_name failed.
31804 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31808 * debug/xtrace.sh: Unify messages.
31809 * malloc/memusage.sh: Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31813 time symbol from vDSO. Substitute with vsyscall if not available.
31814 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31817 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31818 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31819 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31820 Add sendmmsg and internal_sendmmsg.
31821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31822 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31823 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31825 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31826 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31829 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31832 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31833 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31835 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31839 * iconvdata/Makefile (tests): Add bug-iconv9.
31840 * iconvdata/bug-iconv9.c: New file.
31842 2011-05-27 Andreas Schwab <schwab@redhat.com>
31845 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31847 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31850 (struct user_regs_struct): Change intcs field back to cs.
31852 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31854 * po/ja.po: Update from translation team.
31856 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31859 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31862 2011-05-20 Andreas Schwab <schwab@redhat.com>
31864 * stdlib/longlong.h: Update from GCC.
31866 2011-05-23 Andreas Schwab <schwab@redhat.com>
31868 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31870 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31871 Add parameter name.
31872 (__sysconf): Pass it down.
31874 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31877 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31880 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31881 add in in __libc_use_alloca calls. Adjust callers.
31882 (glob): Use malloc in some situations.
31884 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31885 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31888 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31890 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31891 and CLOCK_BOOTTIME_ALARM.
31894 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31897 * string/_strerror.c (__strerror_r): Print negative errors as signed
31901 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31902 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31903 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31905 * configure.in: Fix typo in redirection and correct removal of test
31906 files in two cases.
31909 * locale/setlocale.c (new_composite_name): Fix test to check for
31910 identical name of all categories.
31913 * libio/filedoalloc.c (local_isatty): New function.
31914 (_IO_file_doallocate): Use local_isatty.
31915 * stdio-common/perror.c (perror): In case a new stream is used
31916 forward the stream error.
31917 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31920 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31925 * include/alloca.h (extend_alloca_account): Define.
31928 * posix/regex.h: Fix comments with documentation of user-accessible
31929 fields after compilation and describe correct free'ing of pattern
31930 after re_compile_pattern.
31931 Patch by Reuben Thomas <rrt@sc3d.org>.
31933 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31935 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31936 and -mno-altivec to prevent the compiler from using Altivec and/or
31937 VSX instructions when the corresponding registers are not available.
31939 2011-05-19 Andreas Schwab <schwab@redhat.com>
31941 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31943 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31945 * libio/freopen.c (freopen): Use __dup2, not dup2.
31946 * libio/freopen64.c (freopen64): Likewise.
31948 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31951 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31952 * math/Makefile (tests): Add test-powl.
31953 (CFLAGS-test-powl.c): Define.
31954 * math/test-powl.c: New file.
31956 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31958 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31960 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31963 * iconvdata/gb18030.c: Update to GB18020-2005.
31965 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31967 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31968 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31969 Patch by Aharon Robbins <arnold@skeeve.com>.
31972 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31976 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31977 through underflows.
31980 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31981 point to strings before performing equality test for error_one_per_line
31985 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31989 (struct user_fpregs_struct): Avoid __uint*_t types.
31992 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31993 symbol info. Use it instead of calling _dl_addr locally.
31994 (lock_and_info): New function.
31995 (tr_freehook): Call lock_and_info and pass symbol info as additional
31996 parameter to tr_where.
31997 (tr_mallochook): Likewise.
31998 (tr_reallochook): Likewise.
31999 (tr_memalignhook): Likewise.
32001 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32002 used and couldn't be at all thread-safe.
32004 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32006 * libio/freopen.c (freopen): Don't close old file descriptor
32007 before the new one is opened. Instead dup the new file descriptor
32008 to the old one after the new stream is created.
32009 * libio/freopen64.c (freopen64): Likewise.
32010 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32011 * libio/fileops.c (_IO_new_file_close_it): Handle new
32012 _IO_FLAGS2_NOCLOSE flag.
32013 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32014 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32015 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32016 _IO_FLAGS2_NOCLOSE flag.
32017 * include/unistd.h: Add hidden_proto for dup3.
32018 Define __have_dup3.
32019 * io/dup3.c: Define hidden symbol.
32020 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32023 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32024 when an incomplete long option is used.
32025 * posix/tst-getopt_long1.c: New file.
32026 * posix/Makefile (tests): Add tst-getopt_long1.
32029 * scripts/config.guess: Update from autoconf-2.68.
32030 * scripts/config.sub: Likewise.
32033 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32035 (has_cpuclock): ...this. New function.
32036 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32037 macro here based on has_cpuclock code.
32040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32041 First byte (not low byte) is now always NUL.
32042 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32045 Use non-cancelable interfaces.
32048 * locale/iso-639.def: Add entry for Sorani.
32051 * include/stdlib.h: Move include protection to the right place.
32052 Define abort_msg_s. Declare __abort_msg with it.
32053 * stdlib/abort.c (__abort_msg): Adjust type.
32054 * assert/assert.c (__assert_fail_base): New function. Majority
32055 of code from __assert_fail. Allocate memory for __abort_msg with
32057 (__assert_fail): Now call __assert_fail_base.
32058 * assert/assert-perr.c: Remove bulk of implementation. Use
32059 __assert_fail_base.
32060 * include/assert.hL Declare __assert_fail_base.
32061 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32063 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32065 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32069 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32070 until all modules are registered in the DTV.
32071 * elf/Makefile: Add rules to build and run tst-tls19.
32072 * elf/tst-tls19.c: New file.
32073 * elf/tst-tls19mod1.c: New file.
32074 * elf/tst-tls19mod2.c: New file.
32075 * elf/tst-tls19mod3.c: New file.
32076 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32079 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32083 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32084 two-byte sequence errors.
32085 * iconvdata/Makefile (tests): Add bug-iconv8.
32086 * iconvdata/bug-iconv8.c: New file.
32089 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32092 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32095 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32096 (dummy_getcfa): New function.
32097 (init): Get _Unwind_GetCFA address, use dummy if not found.
32098 (backtrace_helper): In recursion check, also check whether CFA changes.
32099 (__backtrace): Completely initialize arg.
32101 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32102 storing incomplete byte sequence in state object. Avoid testing for
32103 guaranteed too small input if we know there is enough data available.
32105 2011-05-11 Andreas Schwab <schwab@redhat.com>
32107 * Makeconfig (+link-pie): Indent.
32108 * Rules (binaries-pie): Define if $(have-fpie) and
32110 (binaries-shared): Also filter out $(binaries-pie).
32111 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32112 * nscd/Makefile (others-pie): Add nscd.
32113 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32114 ($(objpfx)nscd): Remove command override.
32115 * login/Makefile (others-pie): Add pt_chown.
32116 ($(objpfx)pt_chown): Remove command override.
32117 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32118 remove command overrides.
32120 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32122 * libio/tst_putwc.c: Fix error messages.
32125 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32126 currently writing and seek to current position when not.
32127 * libio/Makefile (tests): Add bug-fclose1.
32128 * libio/bug-fclose1.c: New file.
32130 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32133 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32134 don't set DF_1_NODELETE here.
32135 (do_lookup_x): When entering new entry test for copy relocation
32136 and if necessary set DF_1_NODELETE flag.
32137 * elf/tst-unique4.cc: New file.
32138 * elf/tst-unique4.h: New file.
32139 * elf/tst-unique4lib.cc: New file.
32140 * elf/Makefile: Add rules to build and run tst-unique4.
32141 Patch by Piotr Bury <pbury@goahead.com>.
32143 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32146 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32149 * misc/mntent_r.c (addmntent): Flush the stream after the output
32152 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32153 (is_trusted_path_normalize): Skip initial colon. Append slash
32154 to empty buffer. Duplicate is_trusted_path code but allow
32155 constructed patch to be prefix.
32156 (is_dst): Allow $ORIGIN followed by /.
32157 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32158 Correct testing of result of is_trusted_path_normalize
32159 (decompose_rpath): Fix warning.
32161 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32164 * grp/initgroups.c (internal_getgrouplist): When we found the service
32165 list through the initgroups entry in nsswitch.conf do not always
32166 continue on a successful lookup. Don't always use the
32167 __nss_group_database value if it is set.
32168 * nss/nsswitch.conf (initgroups): Change action for successful db
32169 lookup to continue for compatibility.
32171 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32174 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32176 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32178 * iconvdata/tst-tables.sh: Likewise.
32179 * iconvdata/cp770.c: New file.
32180 * iconvdata/cp771.c: New file.
32181 * iconvdata/cp772.c: New file.
32182 * iconvdata/cp773.c: New file.
32183 * iconvdata/cp774.c: New file.
32184 * iconvdata/testdata/CP770: New file.
32185 * iconvdata/testdata/CP770..UTF8: New file.
32186 * iconvdata/testdata/CP771: New file.
32187 * iconvdata/testdata/CP771..UTF8: New file.
32188 * iconvdata/testdata/CP772: New file.
32189 * iconvdata/testdata/CP772..UTF8: New file.
32190 * iconvdata/testdata/CP773: New file.
32191 * iconvdata/testdata/CP773..UTF8: New file.
32192 * iconvdata/testdata/CP774: New file.
32193 * iconvdata/testdata/CP774..UTF8: New file.
32195 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32197 * iconvdata/gen-8bit-gap.sh: Likewise.
32198 * iconvdata/gen-8bit.sh: Likewise.
32200 * locale/iso-639.def: Add ary entry.
32203 * locale/C-translit.h.in: Add U20A1 transliteration.
32206 * locale/iso-639.def: Add wae entry.
32207 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32210 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32214 * locale/C-translit.h.in: Add entry for U20B9.
32215 Patch by pravin.d.s@gmail.com.
32217 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32220 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32221 ENAMETOOLONG use generic getcwd.
32222 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32223 in rtld. Use *stat64.
32224 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32225 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32226 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32227 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32228 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32229 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32230 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32231 __fstatat64 macros.
32232 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32233 * dirent/rewinddir.c: Add libc_hidden_def.
32234 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32235 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32237 * include/dirent.h (__alloc_dir): Add flags parameter.
32238 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32239 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32241 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32242 from fdopendir if O_CLOEXEC is already set.
32244 2011-03-15 Alan Modra <amodra@gmail.com>
32246 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32247 l_tls_firstbyte_offset non-zero. Save padding offset in
32248 l_tls_firstbyte_offset for later use.
32249 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32250 freeing static tls block.
32252 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32254 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32255 where #ifdef was intended. The intent is to prevent ARG_MAX from
32256 being defined by the kernel headers.
32258 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32261 * resolv/resolv.h: Define RES_NOTLDQUERY.
32262 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32263 no-tld-query and set RES_NOTLDQUERY.
32264 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32265 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32266 modern BIND to search name as TLD unless forbidden.
32268 2011-05-07 Petr Baudis <pasky@suse.cz>
32269 Ulrich Drepper <drepper@gmail.com>
32272 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32273 (is_trusted_path): ...to here.
32274 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32275 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32276 using is_trusted_path_normalize() in setuid scripts.
32278 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32280 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32281 __BEGIN/__END_DECLS.
32283 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32286 NSS_STATUS_NOTFOUND if no record was found.
32288 2011-05-05 Andreas Schwab <schwab@redhat.com>
32290 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32291 (headers-not-in-tirpc): Remove rpc/netdb.h
32292 * resolv/netdb.h: Revert last change.
32294 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32296 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32297 circular dependency between libgcc.a and libc.a.
32299 2011-05-05 Andreas Schwab <schwab@redhat.com>
32301 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32302 * nis/Makefile: Don't install rpcsvc/*.
32303 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32304 instead of <rpc/types.h>.
32305 (MAXHOSTNAMELEN): Define.
32307 2011-05-03 Andreas Schwab <schwab@redhat.com>
32309 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32311 2011-04-28 Maciej Babinski <mbabinski@google.com>
32314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32315 gethostbyname4_r when IPv6 results are possible.
32317 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32320 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32321 _PC_PIPE_BUF handling.
32323 2011-04-30 Bruno Haible <bruno@clisp.org>
32326 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32327 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32329 * inet/getnameinfo.c (getnameinfo): Likewise.
32331 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32333 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32334 to groups setting in database lookup.
32335 * nss/nsswitch.conf: Add initgroups entry.
32337 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32340 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32342 Patch by Eric Blake <eblake@redhat.com>.
32344 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32346 * sunrpc/Makefile (need-export-routines): Add svc_run.
32347 (routines): Remove svc_run.
32348 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32349 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32350 * sunrpc/svc_run.c (svc_run): Likewise.
32351 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32353 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32356 problem in reallocation in last patch.
32358 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32360 * sunrpc/Makefile: Move inclusion of Rules.
32362 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32364 * nss/nss_files/files-initgroups.c: New file.
32365 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32366 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32367 _nss_files_initgroups_dyn.
32369 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32371 * elf/elf.h (R_ARM_IRELATIVE): Define.
32373 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32375 * po/ru.po: Update from translation team.
32377 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32379 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32382 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32385 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32386 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32387 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32388 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32391 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32393 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32395 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32399 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32402 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32404 * stdlib/bug-getcontext.c: New file.
32405 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32407 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32409 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32410 instructions into .machine "z9-109".
32411 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32412 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32414 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32416 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32417 between environment variables and auxiliary vector.
32419 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32421 * Makefile: Add rules to build linkobj/libc.so.
32422 * include/libc-symbols.h: Define libc_hidden_nolink.
32423 * include/rpc/auth.h: Mark functions which are to be hidden.
32424 * include/rpc/auth_des.h: Likewise.
32425 * include/rpc/auth_unix.h: Likewise.
32426 * include/rpc/clnt.h: Likewise.
32427 * include/rpc/des_crypt.h: Likewise.
32428 * include/rpc/key_prot.h: Likewise.
32429 * include/rpc/pmap_clnt.h: Likewise.
32430 * include/rpc/pmap_prot.h: Likewise.
32431 * include/rpc/pmap_rmt.h: Likewise.
32432 * include/rpc/rpc_msg.h: Likewise.
32433 * include/rpc/svc.h: Likewise.
32434 * include/rpc/svc_auth.h: Likewise.
32435 * include/rpc/xdr.h: Likewise.
32436 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32437 * nss/Makefile: Likewise.
32438 * sunrpc/Makefile: Don't install headers. Build library with normal
32439 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32440 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32441 for the compat linking library. Remove use of INTDEF/INTUSE.
32442 * sunrpc/auth_none.c: Likewise.
32443 * sunrpc/auth_unix.c: Likewise.
32444 * sunrpc/authdes_prot.c: Likewise.
32445 * sunrpc/authuxprot.c: Likewise.
32446 * sunrpc/clnt_gen.c: Likewise.
32447 * sunrpc/clnt_perr.c: Likewise.
32448 * sunrpc/clnt_raw.c: Likewise.
32449 * sunrpc/clnt_simp.c: Likewise.
32450 * sunrpc/clnt_tcp.c: Likewise.
32451 * sunrpc/clnt_udp.c: Likewise.
32452 * sunrpc/clnt_unix.c: Likewise.
32453 * sunrpc/des_crypt.c: Likewise.
32454 * sunrpc/des_soft.c: Likewise.
32455 * sunrpc/get_myaddr.c: Likewise.
32456 * sunrpc/key_call.c: Likewise.
32457 * sunrpc/key_prot.c: Likewise.
32458 * sunrpc/netname.c: Likewise.
32459 * sunrpc/pm_getmaps.c: Likewise.
32460 * sunrpc/pm_getport.c: Likewise.
32461 * sunrpc/pmap_clnt.c: Likewise.
32462 * sunrpc/pmap_prot.c: Likewise.
32463 * sunrpc/pmap_prot2.c: Likewise.
32464 * sunrpc/pmap_rmt.c: Likewise.
32465 * sunrpc/publickey.c: Likewise.
32466 * sunrpc/rpc_cmsg.c: Likewise.
32467 * sunrpc/rpc_common.c: Likewise.
32468 * sunrpc/rpc_dtable.c: Likewise.
32469 * sunrpc/rpc_prot.c: Likewise.
32470 * sunrpc/rpc_thread.c: Likewise.
32471 * sunrpc/rtime.c: Likewise.
32472 * sunrpc/svc.c: Likewise.
32473 * sunrpc/svc_auth.c: Likewise.
32474 * sunrpc/svc_authux.c: Likewise.
32475 * sunrpc/svc_raw.c: Likewise.
32476 * sunrpc/svc_run.c: Likewise.
32477 * sunrpc/svc_simple.c: Likewise.
32478 * sunrpc/svc_tcp.c: Likewise.
32479 * sunrpc/svc_udp.c: Likewise.
32480 * sunrpc/svc_unix.c: Likewise.
32481 * sunrpc/svcauth_des.c: Likewise.
32482 * sunrpc/xcrypt.c: Likewise.
32483 * sunrpc/xdr.c: Likewise.
32484 * sunrpc/xdr_array.c: Likewise.
32485 * sunrpc/xdr_float.c: Likewise.
32486 * sunrpc/xdr_intXX_t.c: Likewise.
32487 * sunrpc/xdr_mem.c: Likewise.
32488 * sunrpc/xdr_rec.c: Likewise.
32489 * sunrpc/xdr_ref.c: Likewise.
32490 * sunrpc/xdr_sizeof.c: Likewise.
32491 * sunrpc/xdr_stdio.c: Likewise.
32493 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32496 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32497 * sysdeps/ia64/dl-tls.h: Likewise.
32498 * sysdeps/powerpc/dl-tls.h: Likewise.
32499 * sysdeps/s390/dl-tls.h: Likewise.
32500 * sysdeps/sh/dl-tls.h: Likewise.
32501 * sysdeps/sparc/dl-tls.h: Likewise.
32502 * sysdeps/x86_64/dl-tls.h: Likewise.
32503 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32505 2011-03-14 Andreas Schwab <schwab@redhat.com>
32507 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32508 rpath element also skip the following colon.
32509 (expand_dynamic_string_token): Add is_path parameter and pass
32510 down to DL_DST_REQUIRED and _dl_dst_substitute.
32511 (decompose_rpath): Call expand_dynamic_string_token with
32512 non-zero is_path. Ignore empty rpaths.
32513 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32516 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32521 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32524 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32525 Patch by Filipe David Manana <fdmanana@apache.org>.
32527 2011-04-07 Andreas Schwab <schwab@redhat.com>
32529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32530 Maintain aligned stack.
32531 (CHECK_RSP): Remove unused macro.
32533 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32535 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32538 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32540 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32542 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32544 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32547 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32548 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32549 * sysdeps/x86_64/memmove.c: New file.
32550 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32551 (memcpy): Renamed to ...
32552 (__new_memcpy): This.
32553 (memcpy): Provide GLIBC_2_14 memcpy.
32554 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32555 (memcpy): Provide GLIBC_2_2_5 memcpy.
32557 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32560 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32562 2011-03-30 Andreas Schwab <schwab@redhat.com>
32564 * misc/syncfs.c: New file.
32565 * misc/Makefile (routines): Add syncfs.
32566 * posix/unistd.h: Declare syncfs.
32567 * sysdeps/unix/syscalls.list: Add syncfs.
32569 2011-04-01 Andreas Schwab <schwab@redhat.com>
32571 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32578 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32581 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32584 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32585 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32587 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32591 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32592 sync_file_range.c with -fexceptions.
32593 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32594 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32595 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32596 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32597 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32598 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32600 sync_file_range as cancellation point
32601 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32602 now a wrapper around __call_sync_file_range with cancellation handling.
32603 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32604 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32605 function name to __call_sync_file_range.
32606 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32607 Add call_sync_file_range.
32609 2011-04-01 Andreas Schwab <schwab@redhat.com>
32611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32614 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32616 * iconv/iconv.h: Fix typo in comment.
32617 * io/fcntl.h: Likewise.
32618 * libio/stdio.h: Likewise.
32619 * posix/spawn.h: Likewise.
32620 * posix/unistd.h: Likewise.
32621 * stdlib/stdlib.h: Likewise.
32622 * time/time.h: Likewise.
32623 * wcsmbs/wchar.h: Likewise.
32625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32626 open_by_handle): Add.
32627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32628 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32629 Augment a few comments.
32630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32635 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32638 * io/fcntl.h (AT_EMPTY_PATH): Define.
32640 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32642 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32643 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32644 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32646 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32647 * Versions.def: Add GLIBC_2.14.
32648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32651 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32653 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32655 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32657 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32660 * string/test-strncmp.c (do_page_test): New function.
32661 (check2): Likewise.
32662 (test_main): Call check2.
32663 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32665 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32668 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32669 Handle cache information in CPU leaf 4.
32670 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32672 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32675 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32676 character representation.
32677 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32679 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32681 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32682 END(__isnan) to END(__isnanf) to match function entry point/label
32683 EALIGN(__isnanf,...).
32685 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32687 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32689 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32692 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32693 copy from the symbol referenced in the relocation to initialize the
32695 Patch by Piotr Bury <pbury@goahead.com>.
32696 * elf/Makefile: Add rules to build and tst-unique3.
32697 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32698 * elf/tst-unique3.cc: New file.
32699 * elf/tst-unique3.h: New file.
32700 * elf/tst-unique3lib.cc: New file.
32701 * elf/tst-unique3lib2.cc: New file.
32703 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32705 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32707 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32708 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32711 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32713 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32714 to-be-loaded object along a path to loader is ld.so.
32716 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32717 Ulrich Drepper <drepper@gmail.com>
32719 * sysdeps/x86_64/memset.S: After aligning destination, code
32720 branches to different locations depending on the value of
32721 misalignment, when multiarch is enabled. Fix this.
32723 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32725 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32726 Set _x86_64_preferred_memory_instruction for AMD processsors.
32727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32728 Set bit_Prefer_SSE_for_memop for AMD processors.
32730 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32732 * libio/fmemopen.c (fmemopen): Optimize a bit.
32734 2011-03-03 Andreas Schwab <schwab@redhat.com>
32736 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32738 2011-03-03 Roland McGrath <roland@redhat.com>
32740 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32742 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32744 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32745 __bzero_ultra1 instead of __memset_ultra1.
32747 2011-02-23 Andreas Schwab <schwab@redhat.com>
32748 Ulrich Drepper <drepper@gmail.com>
32751 * include/link.h (struct link_map): Add l_orig_initfini.
32752 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32753 returning unsuccessfully.
32754 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32755 close of a file loaded at startup, restore the original l_initfini
32757 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32758 list, store the pointer.
32759 * elf/Makefile ($(objpfx)noload-mem): New rule.
32760 (noload-ENV): Define.
32761 (tests): Add $(objpfx)noload-mem.
32762 * elf/noload.c: Include <memcheck.h>.
32763 (main): Call mtrace. Close all opened handles.
32765 2011-02-17 Andreas Schwab <schwab@redhat.com>
32768 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32769 dependencies are missing.
32771 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32773 Fix __if_freereq crash: Unlike the generic version which uses free,
32775 * sysdeps/mach/hurd/ifreq.h: New file.
32777 2011-01-27 Petr Baudis <pasky@suse.cz>
32778 Ulrich Drepper <drepper@gmail.com>
32781 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32782 to extend_alloca().
32783 * stdio-common/bug23.c: New file.
32784 * stdio-common/Makefile (tests): Add bug23.
32786 2010-09-28 Andreas Schwab <schwab@redhat.com>
32787 Ulrich Drepper <drepper@gmail.com>
32790 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32791 before performing relro protection. At old place add assertion
32792 to make sure nothing changed.
32794 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32795 Glauber de Oliveira Costa <glommer@gmail.com>
32797 * elf/elf.h: Add new ARM TLS relocs.
32799 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32802 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32804 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32806 * sysdeps/wordsize-64/tst-writev.c: New file.
32808 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32810 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32811 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32812 insns in _dl_start to prevent a TOC reference before relocs are
32815 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32818 * Makeconfig: Remove RANLIB definition.
32819 * Makerules: Don't use RANLIB.
32820 * aclocal.m4: Remove ranlib test.
32821 * configure.in: No need to check for ranlib.
32822 * elf/rtld-Rules: Don't use RANLIB.
32824 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32826 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32828 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32829 inclusion protection macro.
32831 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32832 SIGRTMIN and SIGRTMAX and print information in that case only when
32833 SIGRTMIN is defined.
32835 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32837 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32838 arginfo fn returning -1.
32840 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32841 and thousands string is zero terminated.
32843 2011-02-03 Andreas Schwab <schwab@redhat.com>
32845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32846 sysdeps/unix/sysv/linux/bits/socket.h.
32848 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32850 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32851 (__CPU_COUNT): Remove old macros.
32852 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32853 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32854 (__CPU_ALLOC, __CPU_FREE): Add macros.
32855 (__sched_cpualloc, __sched_cpufree): Add declarations.
32857 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32859 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32860 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32861 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32862 (readdhstai): Return value of addhstaiX call.
32863 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32864 (addgrbyX): Return value returned by cache_addgr.
32865 (readdgrbyname): Return value returned by addgrbyX.
32866 (readdgrbygid): Likewise.
32867 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32868 (addpwbyX): Return value returned by cache_addpw.
32869 (readdpwbyname): Return value returned by addhstbyX.
32870 (readdpwbyuid): Likewise.
32871 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32872 (addservbyX): Return value returned by cache_addserv.
32873 (readdservbyname): Return value returned by addservbyX:
32874 (readdservbyport): Likewise.
32875 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32876 (addhstbyX): Return value returned by cache_addhst.
32877 (readdhstbyname): Return value returned by addhstbyX.
32878 (readdhstbyaddr): Likewise.
32879 (readdhstbynamev6): Likewise.
32880 (readdhstbyaddrv6): Likewise.
32881 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32882 (readdinitgroups): Return value returned by addinitgroupsX.
32883 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32884 (prune_cache): Keep track of timeout value of re-added entries.
32885 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32886 * nscd/nscd.h: Adjust prototypes of readd* functions.
32888 2011-02-04 Roland McGrath <roland@redhat.com>
32890 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32891 (nis_stats): Likewise.
32892 * nis/nis_modify.c (nis_modify): Likewise.
32893 * nis/nis_remove.c (nis_remove): Likewise.
32894 * nis/nis_add.c (nis_add): Likewise.
32896 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32898 * posix/fnmatch_loop.c: Add some consts.
32900 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32902 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32905 * config.make.in (config-cflags-novzeroupper): Define.
32906 * configure.in: Substitute libc_cv_cc_novzeroupper.
32907 * elf/Makefile (AVX-CFLAGS): Define.
32908 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32909 (CFLAGS-tst-auditmod4a.c): Likewise.
32910 (CFLAGS-tst-auditmod4b.c): Likewise.
32911 (CFLAGS-tst-auditmod6b.c): Likewise.
32912 (CFLAGS-tst-auditmod6c.c): Likewise.
32913 (CFLAGS-tst-auditmod7b.c): Likewise.
32914 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32916 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32918 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32919 function to the callback.
32920 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32922 2011-02-02 Andreas Schwab <schwab@redhat.com>
32924 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32927 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32930 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32932 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32934 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32937 * elf/Makefile: Add rules to build and run new test.
32938 * elf/tst-initorder.c: New file.
32939 * elf/tst-initorder.exp: New file.
32940 * elf/tst-initordera1.c: New file.
32941 * elf/tst-initordera2.c: New file.
32942 * elf/tst-initordera3.c: New file.
32943 * elf/tst-initordera4.c: New file.
32944 * elf/tst-initorderb1.c: New file.
32945 * elf/tst-initorderb2.c: New file.
32946 * elf/tst-order-a1.c: New file.
32947 * elf/tst-order-a2.c: New file.
32948 * elf/tst-order-a3.c: New file.
32949 * elf/tst-order-a4.c: New file.
32950 * elf/tst-order-b1.c: New file.
32951 * elf/tst-order-b2.c: New file.
32952 * elf/tst-order-main.c: New file.
32953 New test case by George Gensure <werkt0@gmail.com>.
32955 2010-10-01 Andreas Schwab <schwab@redhat.com>
32957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32958 decoding ACE if AI_CANONIDN.
32960 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32962 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32964 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32966 * version.h (RELEASE): Bump for 2.13 release.
32967 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32969 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32971 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32973 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32976 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32980 * posix/getconf.c: Update copyright year.
32981 * catgets/gencat.c: Likewise.
32982 * csu/version.c: Likewise.
32983 * debug/catchsegv.sh: Likewise.
32984 * debug/xtrace.sh: Likewise.
32985 * elf/ldconfig.c: Likewise.
32986 * elf/ldd.bash.in: Likewise.
32987 * elf/sprof.c (print_version): Likewise.
32988 * iconv/iconv_prog.c: Likewise.
32989 * iconv/iconvconfig.c: Likewise.
32990 * locale/programs/locale.c: Likewise.
32991 * locale/programs/localedef.c: Likewise.
32992 * malloc/memusage.sh: Likewise.
32993 * malloc/mtrace.pl: Likewise.
32994 * nscd/nscd.c (print_version): Likewise.
32995 * nss/getent.c: Likewise.
32997 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32998 PF_CAIF, and PF_ALG.
32999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33001 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33003 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33004 (modules-names): Use them.
33005 (ifunc-test-modules, ifunc-pie-tests): Define.
33006 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33007 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33008 (test-extras): Likewise.
33009 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33010 $(compile-command.c).
33011 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33012 (all-built-dso): Define.
33013 (check-textrel.out, check-execstack.out): Depend on it.
33015 * configure.in: Don't override --enable-multi-arch.
33017 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33020 * nscd/hstcache.c (tryagain): Define.
33021 (cache_addhst): Return tryagain not notfound for temporary errors.
33022 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33025 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33028 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33029 to make the syscall.
33030 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33033 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33034 and fall back to matching as normal character if the string ends before
33035 the matching ']' is found. This is what POSIX requires.
33036 * posix/testfnm.c: Adjust test result.
33037 * posix/globtest.sh: Adjust test result. Add new test.
33038 * posix/tst-fnmatch.input: Likewise.
33039 * posix/tst-fnmatch2.c: Add new test.
33041 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33043 * elf/Makefile (check-execstack): Revert last change. Depend on
33045 (check-execstack.h): New target.
33046 (generated): Add check-execstack.h.
33047 * elf/check-execstack.c: Include "check-execstack.h".
33048 (main): Revert last change.
33049 (handle_file): Return zero if GNU_STACK is absent and
33050 DEFAULT_STACK_PERMS doesn't include PF_X.
33052 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33054 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33055 in child fails because the descriptor is already closed.
33056 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33057 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33058 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33061 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33065 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33066 temporary buffer used to handle multi lookups locally.
33067 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33069 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33071 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33074 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33076 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33077 alignment for SSE2.
33079 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33082 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33083 characters. When rounding increased number of integer digits recompute
33085 * stdio-common/tst-grouping.c: New file.
33086 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33088 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33090 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33091 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33093 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33095 * bits/select.h: Likewise.
33097 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33099 * po/ja.po: Update from translation team.
33101 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33104 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33105 implementation just like for lxstat, fxstatat, et al.
33107 2010-12-27 Jim Meyering <meyering@redhat.com>
33110 * posix/regexec.c (build_trtable): Return failure indication upon
33111 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33113 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33116 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33117 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33118 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33119 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33122 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33125 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33126 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33128 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33130 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33131 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33132 script has SORT_BY_INIT_PRIORITY.
33133 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33134 NO_CTORS_DTORS_SECTIONS is defined.
33135 * elf/soinit.c: Likewise.
33136 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33137 NO_CTORS_DTORS_SECTIONS is defined.
33138 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33139 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33140 * sysdeps/sh/init-first.c: Likewise.
33141 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33143 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33145 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33146 always use the slow path.
33148 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33150 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33151 similar rule which adds the sysdep directories to the header search in
33152 order to pick up the correct platform stackinfo.h.
33153 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33154 perform test if it is, otherwise return successfully without testing.
33155 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33156 DEFAULT_STACK_PERMS define in stackinfo.h.
33157 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33158 defined in stackinfo.h.
33159 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33160 DEFAULT_STACK_PERMS defined in stackinfo.h.
33161 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33162 * sysdeps/ia64/stackinfo.h: Likewise.
33163 * sysdeps/s390/stackinfo.h: Likewise.
33164 * sysdeps/sh/stackinfo.h: Likewise.
33165 * sysdeps/sparc/stackinfo.h: Likewise.
33166 * sysdeps/x86_64/stackinfo.h: Likewise.
33167 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33168 PF_X for powerpc64. Retain PF_X for powerpc32.
33170 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33172 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33174 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33175 GETDENTS_64BIT_ALIGNED.
33177 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33179 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33181 2010-12-10 Andreas Schwab <schwab@redhat.com>
33183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33186 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33187 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33189 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33190 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33192 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33195 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33198 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33200 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33202 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33204 * po/it.po: Update from translation team.
33206 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33211 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33213 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33215 2010-11-24 Andreas Schwab <schwab@redhat.com>
33217 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33219 (gaih_getanswer_slice): Likewise.
33221 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33225 2010-05-31 Petr Baudis <pasky@suse.cz>
33228 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33229 silently even in the chroot mode.
33231 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33234 last patch a bit. Pretty printing
33236 2010-05-31 Petr Baudis <pasky@suse.cz>
33239 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33240 initialization of skip_initgroups_dyn.
33242 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33244 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33245 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33247 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33249 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33251 2010-11-11 Andreas Schwab <schwab@redhat.com>
33253 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33254 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33255 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33256 ($(objpfx)tst-fnmatch-mem): New rule.
33257 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33258 * posix/tst-fnmatch.c (main): Call mtrace.
33260 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33263 Support Intel processor model 6 and model 0x2c.
33265 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33270 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33273 * string/test-strncasecmp.c (check_result): New function.
33274 (do_one_test): Use it.
33275 (check1): New function.
33276 (test_main): Use it.
33277 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33278 Support strcasecmp and strncasecmp.
33280 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33283 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33286 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33288 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33292 * sysdeps/x86_64/multiarch/bzero.S: New file.
33293 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33294 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33295 * sysdeps/x86_64/multiarch/memset.S: New file.
33296 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33298 Set bit_Prefer_SSE_for_memop for Intel processors.
33299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33301 (index_Prefer_SSE_for_memop): Define.
33302 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33304 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33306 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33307 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33309 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33312 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33313 (__x86_64_raw_data_cache_size_half): Likewise.
33314 (__x86_64_raw_shared_cache_size): Likewise.
33315 (__x86_64_raw_shared_cache_size_half): Likewise.
33317 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33318 (__x86_64_raw_data_cache_size_half): Likewise.
33319 (__x86_64_raw_shared_cache_size): Likewise.
33320 (__x86_64_raw_shared_cache_size_half): Likewise.
33321 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33322 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33323 and __x86_64_raw_shared_cache_size_half. Round
33324 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33325 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33326 to multiple of 256 bytes.
33328 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33332 of inacessible symlinks. Verify result of symlink before returning it.
33333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33334 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33336 2010-10-28 Erich Ritz <erichritz@gmail.com>
33338 * math/math.h (isinf): Fix typo in comment.
33340 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33342 * po/da.po: Update from translation team.
33344 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33346 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33347 is added to the list.
33349 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33350 Ulrich Drepper <drepper@gmail.com>
33352 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33353 the global list here. Move code to...
33354 (_dl_add_to_namespace_list): ...here. New function.
33355 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33356 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33357 * elf/dl-load.c (lose): Don't remove the element from the list.
33358 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33359 (_dl_map_object): Likewise.
33361 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33364 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33365 into all bytes of SSE register.
33366 Patch by Richard Li <richardpku@gmail.com>.
33368 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33371 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33374 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33376 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33377 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33378 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33379 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33384 2010-10-22 Andreas Schwab <schwab@redhat.com>
33386 * include/dlfcn.h (__RTLD_SECURE): Define.
33387 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33388 mode & __RTLD_SECURE instead.
33389 (open_path): Rename preloaded parameter to secure.
33390 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33391 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33392 * elf/dl-deps.c (openaux): Likewise.
33393 * elf/rtld.c (struct map_args): Remove is_preloaded.
33394 (map_doit): Don't use it.
33395 (dl_main): Likewise.
33396 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33397 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33399 2010-09-09 Andreas Schwab <schwab@redhat.com>
33401 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33402 (sysd-rules-targets): Remove duplicates.
33403 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33404 rtld-%.$o dependency.
33406 2010-10-18 Andreas Schwab <schwab@redhat.com>
33408 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33409 _dl_map_object do it.
33411 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33413 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33414 fast fma builtins, define the macros in the C99 standard.
33415 (FP_FAST_FMAF): Likewise.
33416 (FP_FAST_FMAL): Likewise.
33417 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33419 * bits/mathdef.h: Update copyright year.
33420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33422 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33424 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33425 builtins, define the macros in the C99 standard.
33426 (FP_FAST_FMAF): Likewise.
33427 (FP_FAST_FMAL): Likewise.
33428 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33430 (FP_FAST_FMAF): Likewise.
33432 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33435 * math/libm-test.inc (fma_test): Some new testcases.
33436 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33437 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33438 y and infinite z. Do multiplication by C already in long double.
33439 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33441 y and infinite z. Do bitwise or of inexact bit into u.d.
33442 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33443 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33444 * sysdeps/i386/fpu/s_fma.S: Removed.
33445 * sysdeps/i386/fpu/s_fmal.S: Removed.
33447 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33450 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33452 computation is not scheduled after fetestexcept. Fix value
33453 of minimum denormal long double.
33455 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33458 * math/libm-test.inc (fma_test): Add some more tests.
33459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33462 2010-10-15 Andreas Schwab <schwab@redhat.com>
33464 * scripts/data/localplt-s390-linux-gnu.data: New file.
33465 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33467 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33470 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33471 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33473 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33475 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33477 if one of x and y is very large and the other is subnormal.
33478 * sysdeps/s390/fpu/s_fmaf.c: New file.
33479 * sysdeps/s390/fpu/s_fma.c: New file.
33480 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33481 * sysdeps/powerpc/fpu/s_fma.S: New file.
33482 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33483 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33484 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33486 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33489 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33491 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33492 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33493 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33494 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33495 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33496 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33499 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33502 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33503 * posix/bug-regex31.input: Add test case.
33505 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33507 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33508 * posix/bug-regex31.input: New file.
33511 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33512 (parse_sub_exp): Fix last change, use postorder.
33514 * posix/bug-regex31.c: New file.
33515 * posix/Makefile: Add rules to build and run bug-regex31.
33517 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33520 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33523 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33524 to have entries in sys_siglist.
33527 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33530 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33533 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33534 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33535 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33536 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33537 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33538 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33539 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33540 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33541 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33542 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33543 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33544 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33545 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33546 * math/ftestexcept.c (fetestexcept): Likewise.
33547 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33548 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33549 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33551 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33552 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33553 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33555 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33558 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33561 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33563 * string/bug-strstr1.c: New file.
33564 * string/Makefile: Add rules to build and run bug-strstr1.
33566 2010-10-05 Eric Blake <eblake@redhat.com>
33569 * string/str-two-way.h (two_way_long_needle): Always clear memory
33570 when skipping input due to the shift table.
33572 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33575 * malloc/mcheck.c: Handle large requests.
33578 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33579 for strncmp and strncasecmp.
33580 * string/stratcliff.c: Add tests for strcmp and strncmp.
33581 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33583 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33585 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33588 2010-09-30 Andreas Jaeger <aj@suse.de>
33590 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33591 (CGROUP_SUPER_MAGIC): Define.
33592 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33593 Handle btrfs and cgroup file systems.
33594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33597 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33599 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33600 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33602 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33605 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33606 trying to locate the ELF header.
33608 2010-09-27 Andreas Schwab <schwab@redhat.com>
33611 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33612 Mask out sign-bit copies when constructing f_fsid.
33614 2010-09-24 Petr Baudis <pasky@suse.cz>
33616 * debug/stack_chk_fail_local.c: Add missing licence exception.
33617 * debug/warning-nop.c: Likewise.
33619 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33621 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33622 implementing getdents64 using getdents syscall, set d_type if
33623 __ASSUME_GETDENTS32_D_TYPE.
33625 2010-09-16 Andreas Schwab <schwab@redhat.com>
33627 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33628 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33630 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33633 * posix/unistd.h: Undo change of feature selection for ftruncate from
33636 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33638 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33641 2010-09-20 Andreas Schwab <schwab@redhat.com>
33643 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33645 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33647 2010-09-14 Andreas Schwab <schwab@redhat.com>
33649 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33650 variables after CHECK_SP call.
33651 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33653 2010-09-13 Andreas Schwab <schwab@redhat.com>
33654 Ulrich Drepper <drepper@redhat.com>
33656 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33657 re-relocationg ld.so.
33658 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33659 _dl_init_paths call.
33660 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33663 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33665 * resolv/res_init.c (__res_vinit): Count the default server we added.
33667 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33668 Ulrich Drepper <drepper@redhat.com>
33671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33672 (____longjmp_chk): Use %ebx for saving value across system call.
33675 2010-09-06 Andreas Schwab <schwab@redhat.com>
33677 * manual/Makefile: Don't mix pattern rules with normal rules.
33679 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33681 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33683 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33684 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33685 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33686 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33690 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33693 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33694 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33696 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33698 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33699 * sysdeps/x86_64/addmul_1.S: Likewise.
33700 * sysdeps/x86_64/lshift.S: Likewise.
33701 * sysdeps/x86_64/mul_1.S: Likewise.
33702 * sysdeps/x86_64/rshift.S: Likewise.
33703 * sysdeps/x86_64/sub_n.S: Likewise.
33704 * sysdeps/x86_64/submul_1.S: Likewise.
33706 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33708 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33709 Define __sched_param instead of SCHED_* and sched_param when
33710 <bits/sched.h> is included with __need_schedparam defined.
33711 * bits/sched.h [__need_schedparam]
33712 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33713 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33714 (__defined_schedparam): Define to 1.
33715 (__sched_param): New structure, identical to sched_param.
33716 (__need_schedparam): Undefine.
33718 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33720 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33721 (epoll_create1): Declare.
33723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33725 2010-08-31 Andreas Schwab <schwab@redhat.com>
33728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33729 shifting retval into place.
33731 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33733 * nis/rpcsvc/nis.h: Update copyright notice.
33734 * nis/rpcsvc/nis.x: Likewise.
33735 * nis/rpcsvc/nis_callback.h: Likewise.
33736 * nis/rpcsvc/nis_callback.x: Likewise.
33737 * nis/rpcsvc/nis_object.x: Likewise.
33738 * nis/rpcsvc/nis_tags.h: Likewise.
33739 * nis/rpcsvc/yp.h: Likewise.
33740 * nis/rpcsvc/yp.x: Likewise.
33741 * nis/rpcsvc/ypupd.h: Likewise.
33742 * nis/yp_xdr.c: Likewise.
33743 * nis/ypupdate_xdr.c: Likewise.
33745 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33746 mainly the body of pmap_getport. Add parameters to specify timeouts.
33747 (pmap_getport): Use __libc_rpc_getport.
33748 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33749 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33750 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33752 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33757 2010-08-27 Roland McGrath <roland@redhat.com>
33759 * sysdeps/i386/i686/multiarch/Makefile
33760 (CFLAGS-varshift.c): New variable.
33762 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33764 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33765 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33769 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33771 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/x86_64/strlen.S: Unroll the loop.
33774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33775 strlen-sse2 strlen-sse2-bsf.
33776 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33777 __strlen_no_bsf if bit_Slow_BSF is set.
33778 (__strlen_sse42): Removed.
33779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33780 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33782 2010-08-25 Roland McGrath <roland@redhat.com>
33784 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33785 * sysdeps/x86_64/multiarch/varshift.c: New file.
33786 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33787 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33788 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33789 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33791 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33794 strlen-sse2 strlen-sse2-bsf.
33795 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33796 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33797 (__strlen_sse2): Removed.
33798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33801 bit_Slow_BSF for Atom.
33802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33803 (index_Slow_BSF): Define.
33804 (HAS_SLOW_BSF): Define.
33806 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33809 * resolv/res_init.c (__res_vinit): When no server address at all
33810 is given default to loopback.
33812 2010-08-24 Roland McGrath <roland@redhat.com>
33814 * configure.in: Remove config-name.h generation.
33815 * configure: Regenerated.
33816 * config-name.in: File removed.
33817 * scripts/config-uname.sh: New file.
33818 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33819 ($(objdir)config-name.h): New target.
33821 * sunrpc/rpc_parse.h: Avoid nested comment.
33823 2010-08-24 Richard Henderson <rth@redhat.com>
33824 Ulrich Drepper <drepper@redhat.com>
33825 H.J. Lu <hongjiu.lu@intel.com>
33827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33829 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33830 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33831 _mm_alignr_epi8 with _mm_loadu_si128.
33832 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33833 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33834 (__m128i_shift_right): Removed.
33835 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33836 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33837 * sysdeps/x86_64/multiarch/varshift.h: New file.
33838 * sysdeps/x86_64/multiarch/varshift.S: New file.
33840 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33842 * configure.in: Move assembler checks to before sysdep dir checking.
33844 2010-08-20 Petr Baudis <pasky@suse.cz>
33846 * LICENSES: Sync the sunrpc license.
33848 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33850 * sunrpc/auth_des.c: Update copyright notice once again.
33851 * sunrpc/auth_none.c: Likewise.
33852 * sunrpc/auth_unix.c: Likewise.
33853 * sunrpc/authdes_prot.c: Likewise.
33854 * sunrpc/authuxprot.c: Likewise.
33855 * sunrpc/bindrsvprt.c: Likewise.
33856 * sunrpc/clnt_gen.c: Likewise.
33857 * sunrpc/clnt_perr.c: Likewise.
33858 * sunrpc/clnt_raw.c: Likewise.
33859 * sunrpc/clnt_simp.c: Likewise.
33860 * sunrpc/clnt_tcp.c: Likewise.
33861 * sunrpc/clnt_udp.c: Likewise.
33862 * sunrpc/clnt_unix.c: Likewise.
33863 * sunrpc/des_crypt.c: Likewise.
33864 * sunrpc/des_soft.c: Likewise.
33865 * sunrpc/get_myaddr.c: Likewise.
33866 * sunrpc/getrpcport.c: Likewise.
33867 * sunrpc/key_call.c: Likewise.
33868 * sunrpc/key_prot.c: Likewise.
33869 * sunrpc/openchild.c: Likewise.
33870 * sunrpc/pm_getmaps.c: Likewise.
33871 * sunrpc/pm_getport.c: Likewise.
33872 * sunrpc/pmap_clnt.c: Likewise.
33873 * sunrpc/pmap_prot.c: Likewise.
33874 * sunrpc/pmap_prot2.c: Likewise.
33875 * sunrpc/pmap_rmt.c: Likewise.
33876 * sunrpc/rpc/auth.h: Likewise.
33877 * sunrpc/rpc/auth_unix.h: Likewise.
33878 * sunrpc/rpc/clnt.h: Likewise.
33879 * sunrpc/rpc/des_crypt.h: Likewise.
33880 * sunrpc/rpc/key_prot.h: Likewise.
33881 * sunrpc/rpc/netdb.h: Likewise.
33882 * sunrpc/rpc/pmap_clnt.h: Likewise.
33883 * sunrpc/rpc/pmap_prot.h: Likewise.
33884 * sunrpc/rpc/pmap_rmt.h: Likewise.
33885 * sunrpc/rpc/rpc.h: Likewise.
33886 * sunrpc/rpc/rpc_des.h: Likewise.
33887 * sunrpc/rpc/rpc_msg.h: Likewise.
33888 * sunrpc/rpc/svc.h: Likewise.
33889 * sunrpc/rpc/svc_auth.h: Likewise.
33890 * sunrpc/rpc/types.h: Likewise.
33891 * sunrpc/rpc/xdr.h: Likewise.
33892 * sunrpc/rpc_clntout.c: Likewise.
33893 * sunrpc/rpc_cmsg.c: Likewise.
33894 * sunrpc/rpc_common.c: Likewise.
33895 * sunrpc/rpc_cout.c: Likewise.
33896 * sunrpc/rpc_dtable.c: Likewise.
33897 * sunrpc/rpc_hout.c: Likewise.
33898 * sunrpc/rpc_main.c: Likewise.
33899 * sunrpc/rpc_parse.c: Likewise.
33900 * sunrpc/rpc_parse.h: Likewise.
33901 * sunrpc/rpc_prot.c: Likewise.
33902 * sunrpc/rpc_sample.c: Likewise.
33903 * sunrpc/rpc_scan.c: Likewise.
33904 * sunrpc/rpc_scan.h: Likewise.
33905 * sunrpc/rpc_svcout.c: Likewise.
33906 * sunrpc/rpc_tblout.c: Likewise.
33907 * sunrpc/rpc_util.c: Likewise.
33908 * sunrpc/rpc_util.h: Likewise.
33909 * sunrpc/rpcinfo.c: Likewise.
33910 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33911 * sunrpc/rpcsvc/key_prot.x: Likewise.
33912 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33913 * sunrpc/rpcsvc/mount.x: Likewise.
33914 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33915 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33916 * sunrpc/rpcsvc/rex.x: Likewise.
33917 * sunrpc/rpcsvc/rstat.x: Likewise.
33918 * sunrpc/rpcsvc/rusers.x: Likewise.
33919 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33920 * sunrpc/rpcsvc/spray.x: Likewise.
33921 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33922 * sunrpc/rtime.c: Likewise.
33923 * sunrpc/svc.c: Likewise.
33924 * sunrpc/svc_auth.c: Likewise.
33925 * sunrpc/svc_authux.c: Likewise.
33926 * sunrpc/svc_raw.c: Likewise.
33927 * sunrpc/svc_run.c: Likewise.
33928 * sunrpc/svc_simple.c: Likewise.
33929 * sunrpc/svc_tcp.c: Likewise.
33930 * sunrpc/svc_udp.c: Likewise.
33931 * sunrpc/svc_unix.c: Likewise.
33932 * sunrpc/svcauth_des.c: Likewise.
33933 * sunrpc/xcrypt.c: Likewise.
33934 * sunrpc/xdr.c: Likewise.
33935 * sunrpc/xdr_array.c: Likewise.
33936 * sunrpc/xdr_float.c: Likewise.
33937 * sunrpc/xdr_mem.c: Likewise.
33938 * sunrpc/xdr_rec.c: Likewise.
33939 * sunrpc/xdr_ref.c: Likewise.
33940 * sunrpc/xdr_sizeof.c: Likewise.
33941 * sunrpc/xdr_stdio.c: Likewise.
33943 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33946 2010-08-19 Andreas Schwab <schwab@redhat.com>
33948 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33950 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33952 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33955 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33956 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33957 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33958 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33959 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33961 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33962 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33963 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33964 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33965 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33967 2010-07-26 Anton Blanchard <anton@samba.org>
33969 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33970 * malloc/arena.c (heap_trim): Likewise.
33972 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33974 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33976 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33977 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33979 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33981 * sysdeps/i386/elf/Makefile: New file.
33983 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33985 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33986 from fanotify_init.
33987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33988 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33990 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33992 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33994 * sysdeps/multiarch/strcmp.S: Likewise.
33996 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33998 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33999 strncase_l-nonascii.
34000 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34001 Add strncase_l-ssse3.
34002 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34003 * sysdeps/x86_64/strcmp.S: Likewise.
34004 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34005 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34006 * sysdeps/x86_64/strncase.S: New file.
34007 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34008 * sysdeps/x86_64/strncase_l.S: New file.
34009 * string/Makefile (strop-tests): Add strncasecmp.
34010 * string/test-strncasecmp.c: New file.
34012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34015 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34016 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34018 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34020 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34022 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34024 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34026 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34028 2010-05-01 Alan Modra <amodra@gmail.com>
34030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34031 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34032 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34033 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34034 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34035 tidying. Don't tail-call __sigjmp_save for static lib.
34036 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34038 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34039 (CALL_MCOUNT): Add eh info, and nop after bl.
34040 (TAIL_CALL_SYSCALL_ERROR): New macro.
34041 (PSEUDO_RET): Use it.
34042 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34043 Correct save location of integer regs and cr.
34044 (_dl_profile_resolve): Correct cr save location. Delete nops
34045 after bl when SHARED. Reduce cfi size a little by better
34046 placement of cfi directives.
34047 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34048 make a stack frame. Instead use parm save area as a temp.
34049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34050 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34052 Don't make a stack frame for parent, use parm save area.
34053 Increase child stack frame to 112 bytes. Don't save unused reg,
34054 and adjust reg usage. Set up cfi on error recovery and
34055 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34057 (__makecontext): Add dummy nop after jump to exit.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34059 Use correct parm save area and cr save, reduce stack frame.
34060 Correct cfi for possible PSEUDO_RET frame setup.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34062 Branch to local label emitted by PSEUDO_RET rather than
34065 2010-08-12 Andreas Schwab <schwab@redhat.com>
34068 * locale/programs/locale.c (print_assignment): New function.
34069 (show_locale_vars): Use it.
34071 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34073 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34075 (struct statfs64): Likewise.
34076 (_STATFS_F_FLAGS): Define.
34077 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34079 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34080 (ST_VALID): Define locally.
34081 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34082 __statvfs_getflags, use the provided value.
34083 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34084 __ASSUME_STATFS_F_FLAGS.
34086 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34088 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34089 Add sys/fanotify.h.
34090 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34091 fanotify_mask for GLIBC_2.13.
34092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34093 fanotify_init and fanotify_mark.
34094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34095 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34097 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34099 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34100 prlimit64 for GLIBC_2.13.
34101 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34103 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34106 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34107 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34108 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34111 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34114 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34115 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34117 * nss/Makefile: Add rules to build and run tst-nss-test1.
34118 * shlib-versions: Add entry for libnss_test1.
34119 * nss/nss_test1.c: New file.
34120 * nss/tst-nss-test1.c: New file.
34122 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34123 (__nss_configure_lookup): Set appropriate entry in
34124 __nss_configure_lookup to true.
34125 * nss/nsswitch.h: Define enum with indeces of databases in
34126 databases and __nss_database_custom arrays. Declare
34127 __nss_database_custom.
34128 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34129 to avoid using nscd when custom rules are installed.
34130 * nss/getXXbyYY_r.c: Likewise.
34131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34133 * nss/nss_files/files-parse.c: Whitespace fixes.
34135 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34138 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34139 * posix/fnmatch_loop.c: Likewise.
34141 2010-07-17 Andi Kleen <ak@linux.intel.com>
34143 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34144 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34145 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34146 * Versions.def [GLIBC_2.13]: Add.
34148 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34151 Also fail if tpwd after pwuid call is NULL.
34153 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34155 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34156 when converting to ms.
34158 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34160 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34161 EOPNOTSUPP errors with ENOTTY.
34162 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34163 EOPNOTSUPP errors with ENOTTY.
34165 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34167 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34168 Add strcasecmp_l-ssse3.
34169 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34171 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34172 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34173 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34175 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34177 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34179 * string/Makefile (strop-tests): Add strcasecmp.
34180 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34181 strcasecmp_l-nonascii.
34182 (gen-as-const-headers): Add locale-defines.sym.
34183 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34184 * sysdeps/x86_64/strcasecmp.S: New file.
34185 * sysdeps/x86_64/strcasecmp_l.S: New file.
34186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34187 * sysdeps/x86_64/locale-defines.sym: New file.
34188 * string/test-strcasecmp.c: New file.
34190 * string/test-strcasestr.c: Test both ends of the range of characters.
34191 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34193 2010-07-29 Roland McGrath <roland@redhat.com>
34196 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34198 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34200 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34203 2010-07-27 Andreas Schwab <schwab@redhat.com>
34205 * manual/memory.texi (Malloc Tunable Parameters): Document
34208 2010-07-26 Roland McGrath <roland@redhat.com>
34211 * configure.in (-fgnu89-inline check): Set and substitute
34212 gnu89_inline, not libc_cv_gnu89_inline.
34213 * configure: Regenerated.
34214 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34216 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34218 * string/test-strnlen.c: New file.
34219 * string/Makefile (strop-tests): Add strnlen.
34220 * string/tester.c (test_strnlen): Add a few more test cases.
34221 * string/tst-strlen.c: Better error reporting.
34223 * sysdeps/x86_64/strnlen.S: New file.
34225 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34228 lower-latency instructions.
34230 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34232 * string/test-strcasestr.c: New file.
34233 * string/test-strstr.c: New file.
34234 * string/Makefile (strop-tests): Add strstr and strcasestr.
34235 * string/str-two-way.h: Don't undefine MAX.
34236 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34238 2010-07-21 Andreas Schwab <schwab@redhat.com>
34240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34241 strcasestr-nonascii.
34242 (CFLAGS-strcasestr-nonascii.c): Define.
34243 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34245 Remove unused attribute.
34247 2010-07-20 Roland McGrath <roland@redhat.com>
34249 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34250 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34251 ld.so.cache was broken. With it, there is no way to disable dsocaps
34252 like LD_HWCAP_MASK can disable hwcaps.
34254 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34256 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34258 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34260 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34261 call in strcasestr.
34262 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34263 __strcasestr_sse42_nonascii.
34264 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34265 strcasestr-nonascii.c.
34266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34268 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34273 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34275 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34277 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34280 2010-07-06 Andreas Schwab <schwab@redhat.com>
34283 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34286 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34288 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34289 _PC_PIPE_BUF using F_GETPIPE_SZ.
34291 2010-07-05 Roland McGrath <roland@redhat.com>
34293 * manual/arith.texi (Rounding Functions): Fix rint description
34294 implicit in round description.
34296 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34298 * elf/Makefile: Fix linking for a few tests to make recent linker
34301 2010-06-30 Andreas Schwab <schwab@redhat.com>
34303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34304 $(common-objpfx)libc_nonshared.a.
34306 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34308 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34309 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34310 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34311 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34312 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34313 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34314 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34315 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34330 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34331 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34332 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34333 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34334 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34335 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34336 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34337 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34338 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34339 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34340 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34341 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34357 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34359 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34360 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34361 * string/memmove.c (memmove): Renamed to ...
34362 (MEMMOVE): ...this. Default to memmove.
34363 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34364 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34367 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34368 mempcpy-ssse3-back memmove-ssse3-back.
34369 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34371 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34372 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34373 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34374 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34375 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34376 * sysdeps/x86_64/multiarch/memmove.c: New file.
34377 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34378 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34379 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34380 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34381 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34382 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34384 (index_Fast_Copy_Backward): Define.
34385 (HAS_ARCH_FEATURE): Define.
34386 (HAS_FAST_REP_STRING): Define.
34387 (HAS_FAST_COPY_BACKWARD): Define.
34389 2010-06-21 Andreas Schwab <schwab@redhat.com>
34391 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34392 Restore proper fallback handling.
34394 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34397 * posix/group_member.c (__group_member): Correct checking loop.
34399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34400 OOM in getpwuid_r correctly. Return error number when the caller
34401 should return, otherwise -1.
34402 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34403 call returning > 0 value.
34404 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34406 2010-06-07 Andreas Schwab <schwab@redhat.com>
34408 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34409 libc_nonshared.a from targets in modules-names.
34411 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34413 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34416 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34419 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34423 2010-06-02 Andreas Schwab <schwab@redhat.com>
34425 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34427 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34438 2010-06-14 Roland McGrath <roland@redhat.com>
34440 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34442 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34444 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34445 __REDIRECT followed by __THROW.
34446 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34447 * posix/getopt.h (getopt): Likewise.
34449 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34451 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34452 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34453 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34455 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34456 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34458 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34460 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34462 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34466 Properly check family and model.
34468 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34470 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34472 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34474 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34476 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34478 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34481 2010-05-19 Andreas Schwab <schwab@redhat.com>
34483 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34486 2010-05-21 Andreas Schwab <schwab@redhat.com>
34488 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34489 and internal_recvmmsg.
34490 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34491 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34492 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34493 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34495 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34496 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34497 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34499 2010-05-20 Andreas Schwab <schwab@redhat.com>
34501 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34503 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34505 POWER7 optimizations.
34506 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34507 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34509 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34511 * version.h: Update for 2.13 development version.
34513 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34515 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34516 exceptions. Return 0.
34518 2010-05-07 Roland McGrath <roland@redhat.com>
34520 * elf/ldconfig.c (main): Add a const.
34522 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34524 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34525 (args_options): Add no-idn option.
34526 (ahosts_keys_int): Add idn_flags to ai_flags.
34527 (parse_option): Handle 'i' option to clear idn_flags.
34529 * malloc/malloc.c (_int_free): Possible race in the most recently
34530 added check. Only act on the data if no current modification
34533 See ChangeLog.17 for earlier changes.